Editing Console

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 7: Line 7:
Console uses numbers as IDs for game elements. Those cannot be accessed directly from game files and require you to have DEBUG MODE on (only available now from TEST build). Any ID refers to its location in the in game arrays. This is why it doesn't exist it the xmls. The only way to find IDs is to have debug text turned on in game options. In the console you would refer to them as a number only.
Console uses numbers as IDs for game elements. Those cannot be accessed directly from game files and require you to have DEBUG MODE on (only available now from TEST build). Any ID refers to its location in the in game arrays. This is why it doesn't exist it the xmls. The only way to find IDs is to have debug text turned on in game options. In the console you would refer to them as a number only.


The only Ids that you can somehow deduce are playerID as in Single Player you are always PlayerID 0. So, depending on how many AI you have in the game, they will get attributed by the game an ID starting with 1.
The only Ids that you can somehow deduce are playerID as in Single Player you are always PlayerID 0. So, depending on how many AI you have in the game, they will get attributed by the game an ID starting with 1. So addmoney 100 0 will give you 100 gold, you cheater !
 
Example :
 
'''addmoney 100 0''' will give you 100 gold, you cheater !

Please note that all contributions to Old World Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Old World Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)