Console Commands
Open the console with the tilde (
`) key.| Command | Syntax | Effect |
|---|---|---|
add_money | add_money <amount> | Adds denarii to your treasury. |
add_population | add_population <settlement> <amount> | Adds population to a named settlement. |
create_unit | create_unit "<character or settlement>" "<unit name>" <number> | Creates units for a general/character or in a settlement. |
process_cq | process_cq <settlement> | Completes the building queue in the settlement. |
process_rq | process_rq <settlement> | Completes the recruitment queue in the settlement. |
capture_settlement | capture_settlement <settlement> | You immediately control the named city. |
kill_character | kill_character "<character>" | Eliminates the specified character. |
give_trait | give_trait "<character>" <trait> <level> | Gives a trait to a character at a chosen level (often 1–5). |
give_trait_points | give_trait_points "<character>" <amount> | Adds trait points to a character. |
give_ancillary | give_ancillary "<character>" "<ancillary>" | Gives an ancillary/retinue to a character. |
season | season <summer|winter> | Sets the season on the campaign map. |
date | date <year> | Sets the current campaign year. |
Jericho | Jericho | In siege battles, enemy walls collapse. |
jericho | jericho | Lowercase variant also reported. |
toggle_fow | toggle_fow | Toggles the Fog of War. |
auto_win | auto_win <attacker|defender> | Forces the next autoresolve to win for that side. |
toggle_perfect_spy | toggle_perfect_spy | Spies provide perfect, global information. |
move_character | move_character "<character>" <X,Y> | Moves a named character to world coordinates. |
list_characters | list_characters | Lists all characters. |
list_units | list_units | Lists units in the selected army (contextual). |
list_traits | list_traits | Lists all traits. |
clear_messages | clear_messages | Clears queued in‑game messages. |
disable_ai | disable_ai | Disables AI turns for other factions. |
run_ai | run_ai | Re‑enables AI after disable_ai. |
bestbuy | bestbuy | Recruitment becomes cheaper (legacy/rumored). |
character_reset | character_reset "<character>" | Resets character to original stats (legacy). |
invulnerable_general | invulnerable_general "<general>" | Makes the general invulnerable (legacy). |
filter_coastlines | filter_coastlines | Toggles coastlines filtering (visual/debug). |
toggle_coastlines | toggle_coastlines | Alternate coastline toggle (visual/debug). |
reload_textures | reload_textures | Reloads textures (debug/graphics). |
reload_shaders | reload_shaders | Reloads shaders (debug/graphics). |
show_cursorstat | show_cursorstat | Displays cursor tile coordinates and region ID. |
control | control <faction> | Switches player control to another faction. |
mp | mp "<character>" <points> | Gives movement points to a character. |
set_building_health | set_building_health <value> | Sets health of a selected building in a settlement. |
ai_turn_speed | ai_turn_speed <value> | Adjusts speed of AI turn processing. |
adjust_sea_bed | adjust_sea_bed <value> | Alters the sea bed height (visual). |
oliphaunt | oliphaunt | Spawns special 'Yubtseb Elephants' unit in some contexts. |
Unit Names for create_unit
Availability depends on faction/campaign. If one fails, check your game's
export_descr_unit.txt.Romans
roman peasantroman veliteroman archerroman town watchroman city militiaroman hastatiroman principesroman triariiearly legionary cohortroman legionary cohortroman legionary first cohorturban cohortroman praetorian cohortauxiliaarcher auxiliaequiteslegionary cavalryroman praetorian cavalryroman general's guard cavalryroman light cavalryroman medium cavalryroman heavy cavalryroman ballistaroman scorpionroman onagerroman heavy onager
Greek & Macedonian
greek peasantgreek militia hoplitegreek hoplitegreek armored hoplitespartan hoplitegreek peltastgreek heavy peltastgreek archergreek medium cavalrygreek heavy cavalrygreek general's guard cavalrylevy pikemenpikemenphalanx pikemenroyal pikemencompanion cavalrygreek ballistagreek onagergreek heavy onager
Carthage & Numidia
carthaginian peasantlibyan spearmenpoeni infantrysacred band infantryround shield cavalrylong shield cavalrysacred band cavalrycarthaginian slingercarthaginian archercarthaginian infantrycarthaginian cavalrycarthaginian elephant africancarthaginian war elephantsnumidian infantrynumidian cavalry
Egypt & Eastern
nile spearmendesert axemenpharaoh's guardpharaoh's bowmenegyptian chariotegyptian chariot archeregyptian archerbedouin camel ridersbedouin archereastern infantryhillmenhorse archerscamel archerscataphract cavalryeastern general's bodyguardelephant forest
Seleucid, Pontus, Armenia, Parthia
silver shield pikemensilver shield legionariesthorakitaithureophoroichariot archerscythed chariotarmored elephanteastern cataphractsarmenian cataphractarmenian legionariespontic light cavalrypontic heavy cavalrypontic bronze shield pikemenparthian horse archersparthian cataphracts
Barbarian (Gaul, Germania, Britons, Dacia, Thrace, Spain, Scythia)
barb peasantwarbandspear warbandchosen swordsmenchosen axemenfalxmenbastarnaenaked fanaticsnight raidershead hurlerswarband sword britonbarb slingerbarb archerarcher warbandbarb cavalrybarbarian cavalrybarbarian noble cavalrybarb chariot light britonbarb chariot heavy britonwardogsberserkersscythian horse archersscythian noble archers
Iberian (Spain) & Gaul specifics
iberian infantryscutariibull warriorsforester warband
Mercenaries (common)
merc peltastsmerc rhodian slingersmerc cretan archersmerc bedouin_archersmerc hoplitesmerc numidian cavalrymerc thracian peltastsmerc elephantmerc scythian horse archers
Artillery (generic)
ballistascorpiononagerheavy onagerrepeating ballista
Trait IDs for give_trait "<character>" <trait> <level>
Level usually 1–5 depending on trait. List compiled from community copies of
export_descr_character_traits.txt (vanilla). Some IDs may differ by patch or BI/Alexander.AestheticAngerApicianRomanViceArchitectSkillAssassinCatcherAssassinMasterAustereAuthoritarianAuthoritarianRomanVirtueBadAdministratorBadAmbusherBadAttackerBadBuilderBadCavalryGeneralBadCommanderBadDefenderBadDisciplinarianBadEngineerBadFarmerBadInfantryGeneralBadMinerBadRiskyAttackerBadRiskyDefenderBadSiegeAttackerBadSiegeDefenderBadTaxmanBadTraderBattleScarredBerserkerBlackBileHumourBloodHumourBloodthirstyBoringSpeakerBraveBrutalBuilderCampRationsCautiousCharismaticCheapskateCleverCollectorComposedCorruptCraftyCruelDespoilerDevoutDiligentDisciplinarianDisloyalDrinkDrunkardDutifulEagleTakerEnergeticEngineeringSkillEnvoyEpicureanExpensiveTastesFairRulerFaithfulFertileFirmFollyFrugalFuriousFurtiveGamblingGenerousGoodAdministratorGoodAmbusherGoodAttackerGoodBuilderGoodCavalryGeneralGoodCommanderGoodDefenderGoodDisciplinarianGoodEngineerGoodFarmerGoodInfantryGeneralGoodJudgeGoodMinerGoodRiskyAttackerGoodRiskyDefenderGoodSiegeAttackerGoodSiegeDefenderGoodTaxmanGoodTraderHarshJusticeHarshRulerHealthHonestHypochondriacIndustriousInnocentInsaneInspiringSpeakerIntelligentIntolerantJudgeJustKindKnightLameLazyLewdLogisticalSkillLoyalLoyaltyStarterMagnanimousMaidenLoverMasterOratorMeanMercilessMilitaryInclinationMiserlyMisogynistModestMoodyMoralMoverNaturalBornLeaderNobleInBattleNotSoBraveObsessiveOptimisticOratorParanoidPhilhellenePiousPoorCommanderPopularProudPublicAtheismPublicFaithQuickQuixoticRashReligiousManiaResilientRespectfulRighteousRiotousSacrilegiousSanguineHumourScholarlySeaLegsSecretiveSevereSharpSoberStoicStrategistStrictTaxCorruptionTaxFarmerTemperateTightFistedTiredTolerantToughTraderTreasonousTricksterUnbalancedUncharismaticUngenerousUnintelligentUnjustUnluckyUnreliableUntrustworthyVictorBarbarianVictorCruelVictorEasternVictorEgyptianVictorGreekVictoriousWarriorVictorJustVictorNegativeVictorRomeVictorVirtueVigorousVindictiveViolentWarlordWarriorWaryWellSuppliedWiseYellowBileHumour
Tip: to see the definitive IDs for your install, open data/export_descr_character_traits.txt.