playing in development mode
Moderator: Moderator
playing in development mode
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
easiest way:
edit game.lua in tome/class
find
function _M:setupCommands()
add line after it
then 'ctrl + a' in game
edit game.lua in tome/class
find
function _M:setupCommands()
add line after it
Code: Select all
config.settings.cheat =true
You are likely to be eaten by a grue
Re: playing in development mode
that did not work for me
-
- Wayist
- Posts: 20
- Joined: Wed Feb 02, 2011 5:51 pm
Re: playing in development mode
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
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
Re: playing in development mode
added linux path on the wiki
added cheat.cfg
and it worked

How can I test skills if i am doing this much damage >_>
added cheat.cfg
and it worked

How can I test skills if i am doing this much damage >_>
Re: playing in development mode
ctrl+l
then type:
game.player.inc_damage.all=0
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
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: playing in development mode
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?
Judging by this page things fit together rather simple lol

More serious:
how do I take damage again?
Re: playing in development mode
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.
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
Remove godmode invulnerability:
game.player.invulnerable=0
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
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
