A complete guide to all cheat codes (console commands) in Age of History 2 | Age of Civilizations 2 (AOC2/AOH2).
Age of History 2: Cheat Codes | Console Commands
To activate the cheat console, press the F1 key.
A text box will appear at the top of the screen. In this box, type hi or hello and press Enter to enable cheat commands. You can also type hi in the “Type a Message” box within a country’s diplomacy menu.
| Command | Description |
|---|---|
| addciv [tag] | Adds a civilization in the selected province. |
| addplayer | Adds a new player in the selected country. |
| army | +300 warriors. |
| money | +450 money. |
| population | Adds population to the selected province. |
| civs | Shows tags of all countries. |
| diplomacy | +0.7 movement point. |
| scale + value | Changes the scale of the map (values from 1-5). |
| fps | Displays an FPS counter. |
| war + ID1 + ID2 | Starts a war between two civilizations. |
| peace + ID1 + ID2 | Signs peace between two civilizations at war. |
| buildport | Builds a port in the selected province. |
| buildfort | Builds a fort in the selected province. |
| buildtower | Builds a tower in the selected province. |
| civs | Shows IDs and tags of all civilizations. |
| civ | Shows the ID and tag of the selected civilization (based on the selected province). |
| province | Returns information about the selected province. |
| showids | Shows province IDs on the map (similar to showing an army but with province IDs instead). |
Other Console Commands
To access the cheat console, simply press the F1 key on your keyboard. In the text box that appears, type hi or hello to activate it.
- Always test new commands in a fresh save file to avoid accidentally corrupting a long-running game.
- If a command doesn’t seem to work, it might require a specific value. For example, a command shown as
moneymight actually need a value like money 10000 to grant you resources. - When you see a slash in a command list, it means “OR.” For instance, a command listed as close/bye means you can use either close or bye. Do not type the slash itself.
| Command | Description |
|---|---|
| info | Returns game information (FPS, graphics settings, etc.). |
| debug | Starts debug mode. |
| center | Centers the camera in the middle of the map. |
| centerciv + ID | Centers the camera on the civilization with the corresponding ID. |
| scale + value | Changes the scale of the map (values from 1-5). |
| close / bye | Closes the console. |
| fps | Displays an FPS counter. |
| hi / hello | Returns “Hello!”. |
| spin | Spins the camera around for a bit. |
| help | Shows a list of commands. |
| party / flags | Shows every flag on screen; stops if you close the console or execute close/bye. |
| clear | Clears the console. |
| Drew Durnil / noob / observe / spectator | Returns: “Games -> New Game -> Options -> Spectator Mode”. |
| civs | Shows IDs and tags of all civilizations. |
| civ | Shows the ID and tag of the selected civilization (based on the selected province). |
| province | Returns information about the selected province. |
| showids | Shows province IDs on the map. |
| showarmy | Unknown function, even after testing. |
| addplayer | Adds another player to the selected province. |
| addciv + name | Adds a civilization to a selected province (mechanism unclear). |
| technology + value | Adds technology to the selected civilization (1000 = 1.0 tech level). |
| population | Adds 750 population. |
| armyset / setarmy + value | Sets army size in the selected province (does not add, just changes). |
| noliberty | Possibly prevents a vassal from seeking independence (untested). |
| id | Shows the ID of the civilization and the selected province. |
| war + ID1 + ID2 | Starts a war between two civilizations. |
| peace + ID1 + ID2 | Signs peace between two civilizations at war. |
| buildport | Builds a port in the selected province. |
| buildfort | Builds a fort in the selected province. |
| buildtower | Builds a tower in the selected province. |
| economy | Adds 600 money. |
| army | Adds 300 warriors to the selected province. |
| money | Adds 450 money. |
| movement | Grants movement points. |
| diplomacy | Grants diplomacy points. |
| reloadprovince + ID | Reloads a province (likely for debugging). |