[Cheats] All Console Commands
Don't forget to Rate and Favorite the guide :)
The Commands
DISCLAIMER : I have not tested all of them.
If some of them don't work try adding a value after them. Also, please don't just go in a game you've been at for a long time and use a command for the first time. Try it out in a separate one.
To enter the console press F1, then in the box above where you can write, type hi or hello.
"/" means OR, it doesn't mean the command contains a "/"
- info - returns information about the game (fps, your graphics settings, etc.)
- debug - starts debug mode
- center - centers the camera in the middle of the map
- centerciv + ID - centers the camera on the civ with the corresponding ID (I haven't tested it.)
- scale + value - changes the scale of the map (values from 1-5)
- close/ bye - closes console
- fps - displays an FPS counter
- hi/ hello - returns Hello!
- spin - spins the camera around for a bit
- help - show a couple of commands
- party/ ♥♥♥♥/ ♥♥♥/ flags - shows every flag on screen; can be stacked, stops if you close the console or execute close or bye the hearts are : f.u-c.k and f.u.k
- clear - clears console
- Drew Durnil/drew durnil/ drewdurnil/ drew/ (any variation of Drew Durnil's name)/ noob/ observe/ spectator/ Spectator - Returns : "Games -> New Game -> Options -> Spectator Mode"
- civs - shows ID's for every civilization (and TAGS)
- civ - shows the ID and TAG of the selected civilization (selected province which is part of a civilization)
- province - returns information about the selected province
- showids - shows the province ID's on them provinces (Kind of like showing an army but instead of the army it's the province ID)
- showarmy - I don't know, even after testing I can't tell what it does.
- addplayer - add another player on the selected province (I haven't tested it)
- addciv + name + ideology - "Type addciv then put the country tag you want to add, then put the ideology (like m for monarchy)" - Thanks lappletonjam :)
- technology + value - add technology to the selected civilization; 1000 means give them 1.0;
- population - gives 750 population
- armyset/ setarmy + value - in the selected province changes the army to a selected amount; mind you, it CHANGES it, it doesn't ADD it;
- noliberty - I haven't tested it, I would bet it makes a vassal not want liberty.
- id - gives ID of civilization and selected province
- war ID1 ID2 - start a war between 2 civilizations - "For war, get the countriy code by typing ID. So, in my game, the US is 20 and Spain is 220. TO get them to war, type: war 20 220" - thank you Llama
- peace ID1 ID2 - sign a peace between 2 civilizations at war
- buildport - build a port in a selected province
- buildfort - build a fort in a selected province
- buildtower - build a tower in a selected province
- economy - adds 600 to the selected province's economy
- army - add 300 army to the selected province
- money - adds 450 money
- movement - gives you movement points
- diplomacy - gives diplomacy points
- reloadprovince + ID - reloads a province (more for debugging I guess)
How I found them
You unfortunately can't do this anymore!
In the main folder of the game, next to the .exe, there's the .jar file. I used a decompiler and looked at it a bit. In the section name after the game and the dev there's pretty much everything including AI and Buttons so I snooped and found Commands.
Also, for anyone wanting to figure out addciv :
In the main folder of the game, next to the .exe, there's the .jar file. I used a decompiler and looked at it a bit. In the section name after the game and the dev there's pretty much everything including AI and Buttons so I snooped and found Commands.
Also, for anyone wanting to figure out addciv :
if (tempCommand[0].equals("addciv"))
{
if (tempCommand.length > 1)
{
if ((CFG.game.getActiveProvinceID() >= 0) && (!CFG.game.getProvince(CFG.game.getActiveProvinceID()).getSeaProvince()) && (CFG.game.getProvince(CFG.game.getActiveProvinceID()).getWasteland() < 0) && (!CFG.game.getProvince(CFG.game.getActiveProvinceID()).getIsCapital()))
{
for (int i = 1; i < CFG.game.getCivsSize(); i++) {
if (CFG.game.getCiv(i).getCivTag().equals(tempCommand[1]))
{
IllegalCommand();
addMessage(CFG.game.getCiv(i).getCivName() + ": IS IN THE GAME");
addMessage("");
return;
}
}
CFG.game.getProvince(CFG.game.getActiveProvinceID()).updateArmy(CFG.game.getProvince(CFG.game.getActiveProvinceID()).getCivID(0), 0);
CFG.game.createScenarioAddCivilization(tempCommand[1], CFG.game.getActiveProvinceID(), false, true, true);
if (CFG.FOG_OF_WAR == 2) {
for (int i = 0; i < CFG.game.getPlayersSize(); i++) {
CFG.game.getPlayer(i).addMetCivilization(true);
}
}
int tempPop = CFG.game.getProvince(CFG.game.getActiveProvinceID()).getPopulationData().getPopulation();
CFG.game.getProvince(CFG.game.getActiveProvinceID()).getPopulationData().clearData();
CFG.game.getProvince(CFG.game.getActiveProvinceID()).getPopulationData().setPopulationOfCivID(CFG.game.getProvince(CFG.game.getActiveProvinceID()).getCivID(), tempPop);
CFG.game.getCiv(CFG.game.getProvince(CFG.game.getActiveProvinceID()).getCivID()).setMoney(100L);
CFG.gameAction.updateCivsMovementPoints(CFG.game.getProvince(CFG.game.getActiveProvinceID()).getCivID());
CFG.gameAction.updateCivsDiplomacyPoints(CFG.game.getProvince(CFG.game.getActiveProvinceID()).getCivID());
CFG.gameAction.buildRank_Score(CFG.game.getProvince(CFG.game.getActiveProvinceID()).getCivID());
int tActiveProvince = CFG.game.getActiveProvinceID();
CFG.game.setActiveProvinceID(-1);
CFG.game.setActiveProvinceID(tActiveProvince);
addMessage(CFG.langManager.get("Added") + ": " + CFG.game.getCiv(CFG.game.getProvince(CFG.game.getActiveProvinceID()).getCivID()).getCivName());
}
else
{
IllegalCommand();
CFG.toast.setInView(CFG.langManager.get("ChooseAProvince"), CFG.COLOR_TEXT_MODIFIER_NEGATIVE2);
addMessage(CFG.langManager.get(CFG.langManager.get("ChooseAProvince")));
addMessage("");
}
}
else {
IllegalCommand();
}
return;
}
This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.