Page 1 of 1
playing in development mode
Posted: Tue Feb 08, 2011 7:59 am
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.
Re: playing in development mode
Posted: Tue Feb 08, 2011 9:21 am
by Graziel
easiest way:
edit game.lua in tome/class
find
function _M:setupCommands()
add line after it
then 'ctrl + a' in game
Re: playing in development mode
Posted: Sun Feb 13, 2011 12:46 am
by marvalis
that did not work for me
Re: playing in development mode
Posted: Sun Feb 13, 2011 10:44 pm
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
Re: playing in development mode
Posted: Mon Feb 14, 2011 1:11 am
by yufra
Feel free to update this wiki page if you do not find it clear:
http://te4.org/wiki/t4modules-debugging
Re: playing in development mode
Posted: Mon Feb 14, 2011 2:19 pm
by marvalis
added linux path on the wiki
added cheat.cfg
and it worked

How can I test skills if i am doing this much damage >_>
Re: playing in development mode
Posted: Mon Feb 14, 2011 2:33 pm
by darkgod
ctrl+l
then type:
game.player.inc_damage.all=0
Re: playing in development mode
Posted: Wed Feb 16, 2011 5:23 am
by marvalis
http://te4.org/wiki/t4modules-engine-structure
Judging by this page things fit together rather simple lol

.
More serious:
how do I take damage again?
Re: playing in development mode
Posted: Wed Feb 16, 2011 6:33 am
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.
Re: playing in development mode
Posted: Wed Feb 16, 2011 9:04 am
by darkgod
Remove godmode invulnerability:
game.player.invulnerable=0