Circle of Eight Forum

Go Back   Circle of Eight Forum > Modding > General Modification

Notices

General Modification Here there be modders! In these hallowed halls, you'll find a wealth of ToEE modding info.



View The Keep on the Borderlands on Mod DBDownload Keep on the Borderlands 1.0.1 from Mod DBView The Keep on the Borderlands on Mod DB

Reply
 
Thread Tools
Old May 5th, 2005   #1
Cujo
Mad Hatter
Veteran
 
Cujo's Avatar
 
Join Date: Apr 2005
Location: Te Wai Pounamu
Posts: 3,634
Exclamation List of Console Commands

Welcome to the comprehensive list of console commands

Circle of Eight accepts no liability for game crashes if any of these codes are used.
Use at your own risk


to open the console use

(left)shift+~
[effectively you are typing the upper case character that appears right next to '1' and below 'ESC']

Quote:
key
RoyalBlue = not code (the number as apropriate might be in RoyalBlue)
X = character number from left of screen (remember they start at 0)
Y = number as apropriate
# = number as apropriate


give ####
gives item to selected character
or

import utilities
utilities.create_item_in_inventory(####, game.party[x])


create #####
spawns NPC at selected characters location


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)
or
game.party[X].award_experience(######)
or for the whole party, level at a time
levelup
...will give your entire group a set amount of XP, at higher levels you may need to repeat this proces to gain your next level. Just push the up arrow to go to the last command you entered and hit return. Repeat as neccesary.


game.party[X].stat_base_set(stat_deity,Y)
0 = none
1 = Boccob
2 = Corellon Larethian
3 = Ehlonna
4 = Erythnul
5 = Fharlanghn
6 = Garl Glittergold
7 = Gruumsh
8 = Heironeous
9 = Hextor
10 = Kord
11 = Moradin
12 = Nerull
13 = Obad-Hai
14 = Olidammara
15 = Pelor
16 = St. Cuthbert
17 = Vecna
18 = Wee Jas
19 = Yondalla
20 = Old Faith (Animal, Earth, Plant, Sun)
21 = Zuggtmoy (Earth, Air, Fire, Plant, Water)
22 = Iuz (Chaos, Evil, Trickery)
23 = Lolth (Chaos, Destruction, Evil, Trickery)
24 = Procan (Air, Trickery, Water)
25 = Norebo (Chaos, Luck, Trickery)
26 = Pyremeus (Evil, Fire, Trickery)
27 = Ralishaz (Chaos, Luck, Trickery)



game.party[X].stat_base_set(stat_race,Y)
0 = human
1 = dwarf
2 = elf
3 = gnome
4 = half elf
5 = halforc
6 = halfling



game.party[X].stat_base_set(stat_alignment,Y)
1 = LN
2 = CN
4 = NG
5 = LG
6 = CG
8 = NE
9 = LE
10 = CE



to get money use
give 700#
0 = copper
1 = silver
2 = gold
3 = plat
gives you 50 coins of your chosen type
or

game.party[0].money_adj(####)
Make #### = the amount in copper you want. (you will get plat, but need to add it in copper) 50 copper = 0.5 gp, 50 silver = 5 gp, 50 gold = 50 gp, 50 platinum = 500 gp.


game.party[0].reputation_add(#)
game.party[0].reputation_remove(#)



To teleport back to the Hommlet in from anywhere

game.fade_and_teleport(0,0,0,5007,487,488)


To teleport to the middle of the hallway of the greater temple (Dungeon Level 4)
game.fade_and_teleport(0,0,0,5080,478,507)


game.party[X].has_atoned()
Where X is your paladin PC slot number decresed by 1 (0 for first PC, 1 for second PC, etc.)
It is very useful for an NPC paladin, and he/she had fallen (because NPCs paladin are unable to talk with Terjon)


game.fade_and_teleport(0,0,0,xxxx,Y,Z)

where xxxx is the map number, which you can get from MapList.mes

and Y and Z are the coordinates u want to appear at.
location_to_axis(game.party[0].location) to see the coordinates of your party leaders current location.
use this..


from Co8 import * (or from ed import * in older installs)

then use this..


loc()
to get it working

to change a quests state, you can't set a quest as unknown though, but you can check if a quest is unknown.


game.quests[#].state = qs_unknown
game.quests[#].state = qs_mentioned
game.quests[#].state = qs_botched
game.quests[#].state = qs_accepted
game.quests[#].state = qs_completed

game.quests[#].unbotch()

# is the quest number


remove NPC 'manually'
game.party[0].follower_remove( game.party[X+1])

Using Kobort as an example (in the case where he no longer has a portrait), where are X number of portraits at the bottom of the screen (since the leader is 0, so the last portrait is number X and if Kobort IS considered in the party, he should count as number X+1).


Quote:
Batch Commands
These commands were designed as an aid to mod testing, not as cheats!

To use them open the console and type
from Co8 import *
Then just type in the commands. Here is what they do:

partyxpset(X)
Gives every member of your party X experience points.
EXAMPLE: partyxpset(9386) will set the experience points of every member of your party to 9386.


partylevelset(X)
Gives every member of your party the minimum experience points to reach level X.
EXAMPLE: partylevelset(10) will give each member of your party 45,000 experience points, the minimum required to reach level 10.


partyabset(X,Y)
Sets the ability score X of each member of you party to Y. Ability scores are referred to by number as follows:

Strength = 1
Dexterity = 2
Constitution = 3
Intelligence = 4
Wisdom = 5
Charisma = 6

EXAMPLE: partyabset(4, 20) will set the intelligence of each member of your party to 20.


massabset(X,Y)
Sets all ability scores of party member X to the value Y. Party members are numbered left to right starting with 1 for the leftmost character in the party order at the bottom of the screen.
EXAMPLE: massabset(3, 20) will set all the ability scores of the party member third from the left to 20.


partyhpset(X)
Sets the base hp of every member of the party to X.
EXAMPLE: partyhpset(100) will set the base hp of every member of the party to 100. This is a pre-constitution bonus value. If the character is 3rd level and has a 16 constitution, the resulting hp will be 109.


speedup()
Sets the out-of-combat run speed of the entire party to the same, higher than normal value. This is very useful for completing the Homlett quests and moving around Nulb, as the higher run speed shortens the time it takes to run between locations, and since the whole party is set to the same speed they all stay together.


If there are any that are missing or I've made a mistake PM me so I can update the list.

Finally, not a console code but a helpful cheat sometimes.

This is the method you'd use if you wanted to make a 30 or 35 point buy character although you'll have to keep careful track of the points you spend. Using this method you can make any stat between 8 and 18, before racial changes, or if you want a stat below 8 roll a few times untill you get it and then keep that one.

The Technique.
at the screen where you can role for points (basic) or use point buy system (advanced)
go to the advanced screen and put (for example) strength to 18
click and drag the number 18 to the right and drop it about where the yellow boxes are in the basic screen, the 18 should disapear (it will trade out with the number that was there if you rolled).
go backto the basic screen you'll see the 18 in the yellow box
go to the advanced screen and repeat (on different attributes)
finally when you have you stats at the numbers that you want them at go back to basic screen and drop your numbers in the boxes like you rolled them.
__________________
011101110110100101101110001000000110000100100000
011000110110111101101111011010110110100101100101

Last edited by Cujo; January 12th, 2010 at 08:01 PM.
Cujo is offline   Reply With Quote
Old May 6th, 2005   #2
Olbaid
Skeleton
 
Join Date: Apr 2005
Location: here
Posts: 24
Great stuff.

You can also use the command:

game.party[X].stat_level_get(stat_Y,#)

to edit attributes (strength, etc.) race, allignment, god, gender, or anything else (don't know about feats)

X= PC slot -1, Y= attribute, race, allignment, etc. #= numerical value (where appropriate.)
__________________
Knowledge is power. Power corrupts.
Study hard, be evil.
Olbaid is offline   Reply With Quote
Old May 6th, 2005   #3
Morpheus
Mindflayer
Veteran
 
Morpheus's Avatar
 
Join Date: Nov 2003
Posts: 539
Instead of "import utilities utilities.create_item_in_inventory(####, game.party[x])", you can simply use "give ####". This creates the item with the String ID #### in the inventory of the currently selected character.
Morpheus is offline   Reply With Quote
Old June 23rd, 2005   #4
Old Book
Lizardman
 
Old Book's Avatar
 
Join Date: May 2005
Posts: 837
Re: List of Console Commands

Could someone supply the code for spawning NPCs?
Old Book is offline   Reply With Quote
Old June 23rd, 2005   #5
Drifter
Zombie
 
Drifter's Avatar
 
Join Date: Dec 2004
Posts: 118
Re: List of Console Commands

game.obj_create(#,coordinates)
This sticky has all the info (well, a lot, anyway) on spawning, including method of getting coordinates.
Also to spawn something near active pc, you can type game.leader.location instead of coordinates.
__________________
Fyah fi yu bumbaclots...

Last edited by Drifter; June 23rd, 2005 at 08:08 PM.
Drifter is offline   Reply With Quote
Old June 23rd, 2005   #6
Cujo
Mad Hatter
Veteran
 
Cujo's Avatar
 
Join Date: Apr 2005
Location: Te Wai Pounamu
Posts: 3,634
what is the console command for teleport to a different map?
__________________
011101110110100101101110001000000110000100100000
011000110110111101101111011010110110100101100101
Cujo is offline   Reply With Quote
Old June 23rd, 2005   #7
Old Book
Lizardman
 
Old Book's Avatar
 
Join Date: May 2005
Posts: 837
Re: List of Console Commands

Quote:
Originally Posted by Drifter
game.obj_create(#,coordinates)
This sticky has all the info (well, a lot, anyway) on spawning, including method of getting coordinates.
Also to spawn something near active pc, you can type game.leader.location instead of coordinates.
Much appreciated.
Old Book is offline   Reply With Quote
Old June 23rd, 2005   #8
Shiningted
Addicted to love
Super Moderator
 
Shiningted's Avatar
 
Join Date: Oct 2004
Location: Sydney
Posts: 10,732
Re: List of Console Commands

game.fade_and_teleport(0,0,0,xxxx,Y,Z)

where xxxx is the map number, which you can get from MapList.mes

and Y and Z are the coordinates u want to appear at.
Shiningted is offline   Reply With Quote
Old June 23rd, 2005   #9
Cujo
Mad Hatter
Veteran
 
Cujo's Avatar
 
Join Date: Apr 2005
Location: Te Wai Pounamu
Posts: 3,634
Quick question bout Y and Z, I'm trying to teleport to the fire node, but it seems that I'm ariving outside the map (as far as I can tell) then if I try to move CTD.
__________________
011101110110100101101110001000000110000100100000
011000110110111101101111011010110110100101100101
Cujo is offline   Reply With Quote
Old June 24th, 2005   #10
Shiningted
Addicted to love
Super Moderator
 
Shiningted's Avatar
 
Join Date: Oct 2004
Location: Sydney
Posts: 10,732
Re: List of Console Commands

Start up an old game, go down there to where Darley would be and use location_to_axis(game.party[0].location) to see the coordinates. Otherwise try something in the 400-500's for each and adjust accordingly.

Interesting it is giving you issues. There must be something different about the nodes from all the other maps, for them to have the unique lag problem they do... every little scrap of info brings us closer to a solution (thinks I).
Shiningted is offline   Reply With Quote
Old July 9th, 2005   #11
domonater
I'm banned! YAY!!
 
domonater's Avatar
 
Join Date: Jun 2005
Posts: 9
Re: List of Console Commands

dam i need a list nof all the wepons
domonater is offline   Reply With Quote
Old July 9th, 2005   #12
Allyx
Master Crafter
Super Moderator
 
Allyx's Avatar
 
Join Date: Dec 2004
Location: U.K.
Posts: 3,318
Re: List of Console Commands

weapons? go to your data/rules/mes folder open description.mes with notepad this is a list of names for every item, npc, scenery. Weapons are in the 4000 -4999 range.
Allyx is offline   Reply With Quote
Old July 9th, 2005   #13
Old Book
Lizardman
 
Old Book's Avatar
 
Join Date: May 2005
Posts: 837
Re: List of Console Commands

Quote:
Originally Posted by domonater
dam i need a list nof all the wepons
Alternatively, you could use the handy TOEE Formatted Item List:
http://bobtokyo.robertdorf.com/Chara...tem%20List.htm

Also available in printable three column Word format:
http://bobtokyo.robertdorf.com/Chara...tem%20List.doc

The TOEE Item List: "Because there was nothing on TV"
Old Book is offline   Reply With Quote
Old July 10th, 2005   #14
domonater
I'm banned! YAY!!
 
domonater's Avatar
 
Join Date: Jun 2005
Posts: 9
Thumbs down Re: List of Console Commands

thnx really helped!
domonater is offline   Reply With Quote
Old July 10th, 2005   #15
domonater
I'm banned! YAY!!
 
domonater's Avatar
 
Join Date: Jun 2005
Posts: 9
Re: List of Console Commands

oh shit for gotto tell u tip


what u gotta do is domonate a person
then kill the domonated person
then raise im from da ded
wala u got a permonent ncp player on ur teem!
domonater is offline   Reply With Quote
Old July 14th, 2005   #16
domonater
I'm banned! YAY!!
 
domonater's Avatar
 
Join Date: Jun 2005
Posts: 9
Re: List of Console Commands

ERR...HELLO? DAM CAPS LOCK! dere dats betta sorry for teloportion cheat don`t seem have maps file any links?
domonater is offline   Reply With Quote
Old July 15th, 2005   #17
Shiningted
Addicted to love
Super Moderator
 
Shiningted's Avatar
 
Join Date: Oct 2004
Location: Sydney
Posts: 10,732
Re: List of Console Commands

Quote:
what u gotta do is domonate a person
then kill the domonated person
then raise im from da ded
wala u got a permonent ncp player on ur teem
That gibberish gives me an idea... thanks

Here's a text version of the 'maplist.mes', I can't remember if it is in the game or if u have to extract it so i will just post it up.
Attached Files
File Type: txt maplist.txt (9.4 KB, 190 views)
Shiningted is offline   Reply With Quote
Old July 16th, 2005   #18
domonater
I'm banned! YAY!!
 
domonater's Avatar
 
Join Date: Jun 2005
Posts: 9
Re: List of Console Commands

ok thnx please caan you tell me how to a summon ncp`s the begginers guide thnx bye
domonater is offline   Reply With Quote
Old July 28th, 2005   #19
philodox
Skeleton
 
philodox's Avatar
 
Join Date: Jul 2005
Location: Hamilton, Ontario [Canada]
Posts: 31
Re: List of Console Commands

Any way you can change feats from the console?
__________________
~ philodox ~
home setupeastsound cd-e5 cd player ▪ dimarzio m-path ▪ veda audio dynahi amplifier
akg k340 electrostat-dynamic headphones recabled and modded by headphile
computer setupchaintech av710 ▪ sennheiser hd201 with polk audio rti4's en-route
bus setupplaystation portable / sony srf-s84 modded by fixupshure e4
~ hi-fi audio is my first love, but i am trying to get back into gaming ~
philodox is offline   Reply With Quote
Old August 11th, 2005   #20
the_redmoons
Skeleton
 
Join Date: Aug 2005
Posts: 3
Re: List of Console Commands

"

Any way you can change feats from the console?"

I would like to know this also, I picked up long spear instead of glaive...doh, oh well, its only 2 less damage, heh
the_redmoons is offline   Reply With Quote
Old August 11th, 2005   #21
KillerSonic
Zombie
 
KillerSonic's Avatar
 
Join Date: Aug 2005
Location: Estonia
Posts: 122
Re: List of Console Commands

game.party[X].stat_level_get(stat_Y,#)

to edit attributes (strength, etc.) race, allignment, god, gender, or anything else (don't know about feats)

X= PC slot -1, Y= attribute, race, allignment, etc. #= numerical value (where appropriate.)




(from above)

it might help
KillerSonic is offline   Reply With Quote
Old August 11th, 2005   #22
the_redmoons
Skeleton
 
Join Date: Aug 2005
Posts: 3
Re: List of Console Commands

Quote:
Originally Posted by KillerSonic
game.party[X].stat_level_get(stat_Y,#)

to edit attributes (strength, etc.) race, allignment, god, gender, or anything else (don't know about feats)

X= PC slot -1, Y= attribute, race, allignment, etc. #= numerical value (where appropriate.)




(from above)

it might help

it didnt, at all
the_redmoons is offline   Reply With Quote
Old August 11th, 2005   #23
KillerSonic
Zombie
 
KillerSonic's Avatar
 
Join Date: Aug 2005
Location: Estonia
Posts: 122
Re: List of Console Commands

ahh well...ther are trainers and there was a tutorial about hex editing @ www.sorcerers.net
KillerSonic is offline   Reply With Quote
Old November 6th, 2005   #24
CHFoster
Skeleton
 
Join Date: Nov 2005
Posts: 1
Re: List of Console Commands

Quote
You can also use the command:

game.party[X].stat_level_get(stat_Y,#)

to edit attributes (strength, etc.) race, allignment, god, gender, or anything else (don't know about feats)

X= PC slot -1, Y= attribute, race, allignment, etc. #= numerical value (where appropriate.)
Unquote

Sorry to be dense, but what are the possible values for Y and # (or how do I figure that out)? Also, "get" seems like a command to find current values but I assume it is actually to write new values into the game?

What I am trying to do is to undo a stupid character generation problem. I started a character as a sorcerer but the pc was high INT, should have been a Wizard. So I multiclassed SOR1/WIZ4 (now). But the SOR is useless (wont let me cast any of those spells after the WIZ spells are exhaused. So I'd like to erase the SOR class completely, then gin up the XP to get my WIZ to the right level, fixing most of the silliness.

Any ideas? Cant start fresh, 5th level now.

Thanks in advance!

Craig
CHFoster is offline   Reply With Quote
Old February 18th, 2006   #25
Bjovulf
Skeleton
 
Join Date: Feb 2006
Posts: 1
Re: List of Console Commands

alrighty then, what about the console? I got an european keyboard... or something, it has æ, ø and å, so its danish, how do I make the console work?, I want to try and see how fast one can complete the game with cheats

Okay, ignore that, i just found out how to do it

Now its just, the "give item" code, when I enter it it locks up, so i have to alt-tab out(and that doesn't even work most of the time), any ideas?

Last edited by Bjovulf; February 18th, 2006 at 02:57 PM.
Bjovulf is offline   Reply With Quote
Old February 18th, 2006   #26
Shiningted
Addicted to love
Super Moderator
 
Shiningted's Avatar
 
Join Date: Oct 2004
Location: Sydney
Posts: 10,732
Re: List of Console Commands

Give ####

Where #### is the number of the item from description.mes in your data/mes folder. Sounds like maybe u r giving your item to someone with a full inventory.
Shiningted is offline   Reply With Quote
Old April 7th, 2006   #27
Kneller1
Kobold
 
Kneller1's Avatar
 
Join Date: Feb 2006
Posts: 196
Re: List of Console Commands

for money, just do "give 7003"
for experance do "levelup"
simple.
Note- for lots, you will have to this multiple times.
Kneller1 is offline   Reply With Quote
Old July 27th, 2006   #28
lord_graywolfe
Wolfman
 
lord_graywolfe's Avatar
 
Join Date: Apr 2004
Location: Washington state
Posts: 733
Re: List of Console Commands

ok im trying to find corodinates in the game to spawn new npcs. i tried using the method listed about......location_to_axis(game.party[0].location)........but all i get is traceback string line 1 and no numbers. any idea why that is happening or know any other ways to get corodiantes for spawning?
__________________
Good, bad im the guy with the gun. --Ash
lord_graywolfe is offline   Reply With Quote
Old July 27th, 2006   #29
krunch
moving on in life
 
krunch's Avatar
 
Join Date: Aug 2005
Posts: 3,280
Re: List of Console Commands

use this..

from Co8 import *

then use this..

loc()

in the console to return the x,y coordinates of where the party leader is standing at on a map
krunch is offline   Reply With Quote
Old July 27th, 2006   #30
lord_graywolfe
Wolfman
 
lord_graywolfe's Avatar
 
Join Date: Apr 2004
Location: Washington state
Posts: 733
Re: List of Console Commands

Quote:
Originally Posted by krunch
use this..

from Co8 import *

then use this..

loc()

in the console to return the x,y coordinates of where the party leader is standing at on a map

use what? from Co8 import ? and then loc()

ok ill give it a try


ok tried that and got the samething as before
__________________
Good, bad im the guy with the gun. --Ash
lord_graywolfe is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Our Host!

All times are GMT -5. The time now is 09:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Circle of Eight Design by Ian Miles "Sol Invictus" Cheong