Console Commands
10pages on
this wiki
Add New Page
this wiki
In Hegemony, the console is a debugging tool left by the developers. The console is useful for debugging and quality assurance, as well as using cheat codes.
Using the Console:
Edit
To activate the console, press the tilde (~) key on your keyboard. This should open up a dialogue box with a line for entering text commands.
For UK keyboards, press the ' key (the @ key without shift). For Spanish keyboards, use "ñ" or 2 key left from enter.
List of Console Commands:
Edit
Use the commands without the parentheses.
| Command: | Effect: |
| addbrigade (insertbrigade name here) -faction (faction) -home (home city) -container (container city) -tag (tag name) | adds the named brigade to the container city |
| awardgold (insert gold number here) | adds the amount of gold to the player's income |
| debug on/off | turns the debug mode on or off |
| savegame -xml (name of savegame) | saves your current scenario (game) in a plaintext XML file |
| fadefog 0 0 | turns off fog of war |
| fadefog 1 1 | turns on fog of war |
| capture selected (insert your faction name here) | captured the selected brigade and grants control to the named faction |
| disbandbrigade selected | disbands selected brigade (works on any) |
| convertcapturedcities (insert faction name here) |
Makes specified factions cities under your control stop rebelling |
| expand unit (unit tag) | Increases the number of soliders in the specified unit. |
- To fully explain the addbrigade command, an example is given:
addbrigade phalangitebrigade -faction Macedonia -home Pella -container Pella -tag Phalangites1
- if not playing with default faction add Sandbox to the faction's name.
- Additionally, the brigade can be spawned at the location of the player's cursor by not defining a container.
- An example of the capture command is as follows: capture selected Macedonia (this will grant control of the selected unit to the Macedonian faction if playing on sandbox add it to the faction name)
- Expand unit example - 'expandunit Phalangites1 (This will increase the number of soldiers in the phalangite brigade made in the addbrigade example)'
- convertcapturedcities:' 'if playing sandbox you have to add it to the faction. example: convertcapturedcities IllyriaSandbox (this will convert the Illyrian city to your faction)
- addcargo
- (City Name First Letter In Capital) 1000 this will add 1000 to your specified city.(Supplies food) One other thing you can do is write the name of a city your sieging and then instead of 1000 put -1000 which will take away 1000 from the enemy city. For some cities they will even go into minus.