Useful comprehensive console command list
Posted: Fri Aug 26, 2005 9:57 pm
From Adoniis over at co8 (nothing new, just all in one place for easy reference):
If this is your first time through and you can't get Console Commands to work type (in the console): from utilities import * and hit enter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Console Commands to raise stats, HPs, experience
game.party[X].stat_base_set(stat_strength,Y)
game.party[X].stat_base_set(stat_dexterity,Y)
game.party[X].stat_base_set(stat_constitution,Y)
game.party[X].stat_base_set(stat_intelligence,Y)
game.party[X].stat_base_set(stat_wisdom,Y)
game.party[X].stat_base_set(stat_charisma,Y)
game.party[X].stat_base_set(stat_hp_max,Y)
game.party[X].stat_base_set(stat_experience,Y)
Make X = 0 for PC #1, 1 for #2, 2 for #3, etc.
Make Y = the number you want their new Stat to be.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To add money use
game.party[0].money_adj(####)
Make #### = the amount in copper you want. (you will get plat, but need to add it in copper)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To teleport back to the Hommlet in from anywhere
game.fade_and_teleport(0,0,0,5007,487,488)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To add or remove a reputation
game.party[0].reputation_add(#)
game.party[0].reputation_remove(#)
You'll have to look in the game files and find the value for the reputation you want. Then replace "#" above with it. Thye file is located in the gamereplog.mes file. Default location is "C:\Program Files\Atari\Temple of Elemental Evil\data\mes\gamereplog.mes"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To spawn an NPC
first type: from utilities import* (this only needs done once per game, I think)
Next place your PC in your first slot where you want the NPC to spawn and type: location_to_axis(game.party[0].location)
This will give you two numbers ###L, ###L
Now to spawn said NPC type: game.obj_create(####,location_from_axis(###L,###L) )
The first set of #### is the NPCs ID number. You can find a list of NPC in the description.mes(default is "C:\Program Files\Atari\Temple of Elemental Evil\data\mes\description.mes")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Spawning items is even easier
Just type in the console : give ####
replacing the #### with the item ID number. You can find a list of items in the description.mes(default is "C:\Program Files\Atari\Temple of Elemental Evil\data\mes\description.mes")
You can also find a list of weapons and items HERE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I would add that a nice on-line list of the item codes can be found here:
http://bobtokyo.robertdorf.com/Characte ... 20List.htm
If this is your first time through and you can't get Console Commands to work type (in the console): from utilities import * and hit enter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Console Commands to raise stats, HPs, experience
game.party[X].stat_base_set(stat_strength,Y)
game.party[X].stat_base_set(stat_dexterity,Y)
game.party[X].stat_base_set(stat_constitution,Y)
game.party[X].stat_base_set(stat_intelligence,Y)
game.party[X].stat_base_set(stat_wisdom,Y)
game.party[X].stat_base_set(stat_charisma,Y)
game.party[X].stat_base_set(stat_hp_max,Y)
game.party[X].stat_base_set(stat_experience,Y)
Make X = 0 for PC #1, 1 for #2, 2 for #3, etc.
Make Y = the number you want their new Stat to be.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To add money use
game.party[0].money_adj(####)
Make #### = the amount in copper you want. (you will get plat, but need to add it in copper)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To teleport back to the Hommlet in from anywhere
game.fade_and_teleport(0,0,0,5007,487,488)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To add or remove a reputation
game.party[0].reputation_add(#)
game.party[0].reputation_remove(#)
You'll have to look in the game files and find the value for the reputation you want. Then replace "#" above with it. Thye file is located in the gamereplog.mes file. Default location is "C:\Program Files\Atari\Temple of Elemental Evil\data\mes\gamereplog.mes"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To spawn an NPC
first type: from utilities import* (this only needs done once per game, I think)
Next place your PC in your first slot where you want the NPC to spawn and type: location_to_axis(game.party[0].location)
This will give you two numbers ###L, ###L
Now to spawn said NPC type: game.obj_create(####,location_from_axis(###L,###L) )
The first set of #### is the NPCs ID number. You can find a list of NPC in the description.mes(default is "C:\Program Files\Atari\Temple of Elemental Evil\data\mes\description.mes")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Spawning items is even easier
Just type in the console : give ####
replacing the #### with the item ID number. You can find a list of items in the description.mes(default is "C:\Program Files\Atari\Temple of Elemental Evil\data\mes\description.mes")
You can also find a list of weapons and items HERE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I would add that a nice on-line list of the item codes can be found here:
http://bobtokyo.robertdorf.com/Characte ... 20List.htm