playing in development mode

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
marvalis
Uruivellas
Posts: 683
Joined: Sun Sep 05, 2010 5:11 am

playing in development mode

#1 Post by marvalis »

Someone tell me how do activate cheat mode + commands so I can test some stuff. There should be a sticky here how to do it.

Graziel
Wyrmic
Posts: 234
Joined: Wed Sep 15, 2010 10:32 am

Re: playing in development mode

#2 Post by Graziel »

easiest way:
edit game.lua in tome/class
find

function _M:setupCommands()

add line after it

Code: Select all

config.settings.cheat =true
then 'ctrl + a' in game
You are likely to be eaten by a grue

marvalis
Uruivellas
Posts: 683
Joined: Sun Sep 05, 2010 5:11 am

Re: playing in development mode

#3 Post by marvalis »

that did not work for me

HesDeadJim
Wayist
Posts: 20
Joined: Wed Feb 02, 2011 5:51 pm

Re: playing in development mode

#4 Post by HesDeadJim »

In C:User/Your user name/T-engine/4.0/settings create a .cfg file called cheat.cfg. inside the file write cheat = true. Not all programs can create .cfg I use notepad ++ witch is free online. Then in game press ctrl + a

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: playing in development mode

#5 Post by yufra »

Feel free to update this wiki page if you do not find it clear: http://te4.org/wiki/t4modules-debugging
<DarkGod> lets say it's intended

marvalis
Uruivellas
Posts: 683
Joined: Sun Sep 05, 2010 5:11 am

Re: playing in development mode

#6 Post by marvalis »

added linux path on the wiki
added cheat.cfg
and it worked
Image
How can I test skills if i am doing this much damage >_>

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: playing in development mode

#7 Post by darkgod »

ctrl+l
then type:
game.player.inc_damage.all=0
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

marvalis
Uruivellas
Posts: 683
Joined: Sun Sep 05, 2010 5:11 am

Re: playing in development mode

#8 Post by marvalis »

http://te4.org/wiki/t4modules-engine-structure
Judging by this page things fit together rather simple lol :D.

More serious:
how do I take damage again?

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: playing in development mode

#9 Post by edge2054 »

Just venturing a guess but..

game.player.inc_resist.all=0

Also..

game.player:forceLevelup(50)

That'll get you to 50 without using god mode. It's what I generally use for testing if I don't want my damage spiked or need to test survivability.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: playing in development mode

#10 Post by darkgod »

Remove godmode invulnerability:
game.player.invulnerable=0
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply