Console Command Bible

This page is a working reference for the in-game console commands shipped with Fall of an Empire. It is aimed at testing campaigns, reproducing bugs, modding checks, and controlled screenshots.

Open the Unreal console in-game, enter the command, and press Enter. You can also run:

Text
Strategy.Help

That prints the built-in help list for the current build.

IDs and debug mode

Most targeted commands use short numeric debug IDs. These are the numbers shown as #12, #47, and so on.

Text
Strategy.Debug

Strategy.Debug toggles debug mode. When it is on, extra IDs appear in character tooltips, sidebars, settlement glances, army glances, faction panels, and similar debug rows.

Useful lookup commands:

CommandUse
Strategy.Cheat.ListFactionsLists factions and faction IDs.
Strategy.Cheat.SwitchFactionWith no arguments, also lists factions.
Strategy.Cheat.Person.ListTraitsLists all trait names.
Strategy.Cheat.Person.ListTraits <person_id>Lists one character's traits.
Strategy.Cheat.Person.ListCulturesLists all culture names and class names.
Strategy.Cheat.Person.ListReligionsLists all religion names and class names.
Strategy.Cheat.ListResourcesLists stockpile resource names.
Strategy.ForceRebellionWith no arguments, lists power blocs.
ListTutorialEventsLists tutorial events.

Faction commands currently resolve factions by numeric debug ID, even where the help text says "name". Use Strategy.Cheat.ListFactions and pass the number without the #.

General and debug

CommandWhat it does
Strategy.HelpPrints the in-game command help.
Strategy.DebugToggles debug IDs and extra debug details in the UI.
Strategy.Debug.SeaGridDraws the sea navigation grid for 30 seconds.
webuiperf start [threshold_ms=2] [window_ms=2000]Starts WebUI bridge/event/React timing capture.
webuiperf stop [top=25]Stops capture and reports the slowest entries.
webuiperf report [top=25]Reports current WebUI timing data.
webuiperf status [top=25]Reports capture status and timing data.
webuiperf resetClears WebUI timing data.

Visibility

These are mostly screenshot, debugging, and map-inspection tools.

CommandWhat it does
Strategy.ToggleProvinceMapToggles the province map actor.
Strategy.TogglePopulationCentresShows or hides all settlements.
Strategy.ToggleMilitariesShows or hides all armies and navies.
Strategy.ToggleRiversShows or hides rivers.
Strategy.ToggleProvinceBordersToggles province borders through the player controller.
Strategy.ToggleRoadsShows or hides roads.
Strategy.ToggleSeaRoutesShows or hides sea-route splines and route meshes.
Strategy.ToggleMapLabelsShows or hides map labels.
Strategy.ToggleGlanceWidgetsShows or hides world glances and their WebUI overlay.
Strategy.ToggleFogOfWarToggles fog of war visibility. When disabled, all militaries are visible.

Game state

CommandWhat it does
Strategy.Cheat.SetGameSpeed <speed>Sets the game speed multiplier. 0 pauses the game.
Strategy.Cheat.SetPaused <0|1>Pauses or unpauses the game.
Strategy.Cheat.NeverPause [0|1]Toggles never-pause mode. With no argument, it flips the current state.
Strategy.Cheat.AddDays <days>Advances the current campaign date by a number of days.
Strategy.Cheat.SetDate <year> [month=1] [day=1]Sets the current campaign date.
Strategy.Cheat.ShowVictory [tier=2]Shows the campaign victory screen.
Strategy.Cheat.ShowGameOver [cause=1]Shows the campaign game-over screen.
Strategy.Cheat.ForceEventInputForces a current event that asks for a character name.
Strategy.Cheat.FocusCapitalMoves the camera to the player faction's capital.
Strategy.Cheat.ObserverModeDetaches from the current faction and watches the map with fog of war disabled.

Examples:

Text
Strategy.Cheat.SetPaused 1
Strategy.Cheat.SetGameSpeed 4
Strategy.Cheat.AddDays 30
Strategy.Cheat.SetDate 412 9 1

Economy and resources

CommandWhat it does
Strategy.Cheat.AddGold [amount=10000]Adds gold to the player faction. Negative values subtract gold.
Strategy.Cheat.SetGold <amount>Sets the player faction's gold.
Strategy.Cheat.AddResource <resource> [amount=1000]Adds a resource to the player stockpile. Negative values subtract it.
Strategy.Cheat.SetResource <resource> <amount>Sets one stockpiled resource. 0 removes it.
Strategy.Cheat.FillResources [amount=1000]Sets every known resource to at least the target amount.
Strategy.Cheat.ClearResourcesClears all player stockpiled resources.
Strategy.Cheat.ListResourcesLists valid resource names.
Strategy.Cheat.InstantBuild [0|1]Toggles near-instant building and training. With no argument, it flips the current state.
Strategy.Cheat.NoUpkeep [0|1]Toggles zero army and navy upkeep. With no argument, it flips the current state.

Examples:

Text
Strategy.Cheat.AddGold 5000
Strategy.Cheat.SetGold 25000
Strategy.Cheat.ListResources
Strategy.Cheat.AddResource Iron 500
Strategy.Cheat.FillResources 2000
Strategy.Cheat.InstantBuild 1

Characters

Character commands use a living character's short debug ID. Enable debug mode with Strategy.Debug, open the character tooltip or sidebar, and use the displayed number without the #.

Valid stat names are:

Text
Tactics
Authority
Cunning
Governance
Loyalty
Constitution
CommandWhat it does
Strategy.Cheat.Person.SetStat <stat> <value> <id>Sets one base stat on a character.
Strategy.Cheat.Person.AddStat <stat> <amount> <id>Adds to one base stat. Negative amounts lower it.
Strategy.Cheat.Person.MaxStats <id>Sets all six base stats to 25.
Strategy.Cheat.Person.AddTrait <id> <trait>Adds a trait by matching the displayed trait name.
Strategy.Cheat.Person.RemoveTrait <id> <trait>Removes a trait by matching the displayed trait name.
Strategy.Cheat.Person.ListTraitsLists all available traits.
Strategy.Cheat.Person.ListTraits <id>Lists one character's current traits.
Strategy.Cheat.Person.SetCulture <id> <culture>Sets one character's culture by display name or class name.
Strategy.Cheat.Person.SetReligion <id> <religion>Sets one character's religion by display name, key, or class name.
Strategy.Cheat.Person.ListCulturesLists all available cultures.
Strategy.Cheat.Person.ListReligionsLists all available religions.
Strategy.Cheat.Person.SetFame <value> <id>Sets fame.
Strategy.Cheat.Person.SetHonourDread <value> <id>Sets honour/dread. The normal range is -1 to 1.
Strategy.Cheat.Person.Immortal <id>Toggles immortality for a character.
Strategy.Cheat.Person.Kill <id> [cause=illness]Kills a character.

Accepted death causes:

Text
old_age
illness
battle
execution
deposed
assassination

Trait, culture, and religion names are matched by substring and can contain spaces. Culture and religion commands also match class names, and religion commands also match religion keys.

Examples:

Text
Strategy.Cheat.Person.SetStat Tactics 25 14
Strategy.Cheat.Person.AddStat Loyalty -10 14
Strategy.Cheat.Person.ListTraits
Strategy.Cheat.Person.ListCultures
Strategy.Cheat.Person.ListReligions
Strategy.Cheat.Person.AddTrait 14 Ambitious
Strategy.Cheat.Person.RemoveTrait 14 Craven
Strategy.Cheat.Person.SetCulture 14 Rephsian
Strategy.Cheat.Person.SetReligion 14 Trinitism
Strategy.Cheat.Person.SetFame 500 14
Strategy.Cheat.Person.Kill 14 execution

Diplomacy and factions

Use Strategy.Cheat.ListFactions first, then pass the short faction ID.

CommandWhat it does
Strategy.Cheat.ListFactionsLists all factions and debug IDs.
Strategy.Cheat.SwitchFactionWith no argument, lists factions.
Strategy.Cheat.SwitchFaction <faction_id>Changes the player-controlled faction and moves the camera to its capital.
Strategy.Cheat.DeclareWar <faction_id>Makes the player faction declare war on a faction.
Strategy.Cheat.MakePeaceMakes peace with all current enemies.
Strategy.Cheat.MakePeace <faction_id>Makes peace with one faction.
Strategy.Cheat.MaxRelationsAdds a large positive opinion modifier with all other factions.
Strategy.Cheat.MaxRelations <faction_id>Adds a large positive opinion modifier with one faction.

Examples:

Text
Strategy.Cheat.ListFactions
Strategy.Cheat.SwitchFaction 6
Strategy.Cheat.DeclareWar 9
Strategy.Cheat.MakePeace
Strategy.Cheat.MaxRelations 12

Province mode

Province-mode commands target faction debug IDs. If the target province faction is optional and omitted, the player faction is used where the command supports it.

CommandWhat it does
Strategy.Cheat.ProvinceMode.Status [province_faction_id]Prints province-mode state for a province faction.
Strategy.Cheat.ProvinceMode.AddStanding <amount> [days=420] [province_faction_id]Adds a temporary standing modifier.
Strategy.Cheat.ProvinceMode.AddThreat <amount> [days=420] [province_faction_id]Adds a temporary threat modifier.
Strategy.Cheat.ProvinceMode.ForceReview [province_faction_id]Forces the next province overview refresh to run a recall review.
Strategy.Cheat.ProvinceMode.SetRecall <0-4> [province_faction_id]Sets a province recall stage.
Strategy.Cheat.ProvinceMode.Appointments [court_faction_id]Lists imperial appointment contests and player scores.
Strategy.Cheat.ProvinceMode.EnterAppointment <position> [subordinate_index=-1] [person_id=player_leader]Enters a person into an imperial appointment contest.
Strategy.Cheat.ProvinceMode.JoinRebellion <province_faction_id> [rebel_faction_id=player]Moves a province into a rebel faction.
Strategy.Cheat.ProvinceMode.Transition independent [faction_id]Makes a faction independent.
Strategy.Cheat.ProvinceMode.Transition province <liege_id> [faction_id]Makes a faction a province of another faction.
Strategy.Cheat.ProvinceMode.Transition rebel <parent_id> [faction_id]Makes a faction a rebel faction against another faction and declares war.

Common appointment position keys:

Text
MagisterMilitum
MagisterNauticum
MasterOfDiplomacy
MasterOfEconomy
MasterOfReligion

Examples:

Text
Strategy.Cheat.ProvinceMode.Status 6
Strategy.Cheat.ProvinceMode.AddStanding 25 420 6
Strategy.Cheat.ProvinceMode.SetRecall 3 6
Strategy.Cheat.ProvinceMode.Appointments
Strategy.Cheat.ProvinceMode.EnterAppointment MasterOfEconomy -1 14
Strategy.Cheat.ProvinceMode.Transition rebel 1 6

Settlements

Most settlement commands act on the currently selected settlement. Use Strategy.Debug to show settlement IDs in glances and sidebars for commands that accept one.

CommandWhat it does
Strategy.ForceSettlementRebellionForces an unrest rebellion at the selected settlement.
Strategy.ForceSettlementRebellion <settlement_id>Forces an unrest rebellion at a settlement ID.
Strategy.Cheat.AddAllBuildingsInstantly builds every currently available building in the selected settlement.
Strategy.Cheat.LiftSiegeEnds the siege on the selected settlement.
Strategy.Cheat.SetPopulation <amount>Sets the selected settlement population.
Strategy.Cheat.ForceDisease [disease class, asset key, or name]Forces a disease outbreak in the selected settlement. With no disease argument, it uses the first registered disease class.
Strategy.Cheat.ClearDiseaseClears the active disease outbreak in the selected settlement.

Examples:

Text
Strategy.Cheat.SetPopulation 50000
Strategy.Cheat.AddAllBuildings
Strategy.Cheat.ForceDisease Plague
Strategy.Cheat.ClearDisease
Strategy.ForceSettlementRebellion 32

Military and movement

Military IDs are shown on army and navy glances when debug mode is enabled.

CommandWhat it does
Strategy.Cheat.HealRestores every unit in the selected army or armies to max strength.
Strategy.Cheat.WinBattleInstantly wins the battle involving the selected army.
Strategy.Cheat.MoveTo <X> <Y> [Z]Gives selected armies a move order to world coordinates.
Strategy.Cheat.ForceBattleFinds one player army and one hostile army and forces a battle.
Strategy.Cheat.ForceBattle <attacker_military_id> <defender_military_id>Forces a battle between two hostile militaries.
Strategy.Cheat.ForceSiegeForces a siege at the selected settlement using a hostile siege-ready army.
Strategy.Cheat.ForceSiege <settlement_id> [army_id]Forces a siege at a settlement, optionally with a specific army.

Examples:

Text
Strategy.Cheat.Heal
Strategy.Cheat.WinBattle
Strategy.Cheat.MoveTo 12000 -4500 0
Strategy.Cheat.ForceBattle 18 27
Strategy.Cheat.ForceSiege 32 19

Map ownership

CommandWhat it does
Strategy.Cheat.OccupyFaction <faction_id>Occupies all settlements of a faction with the player faction.
Strategy.Cheat.OwnAllTransfers all settlements to the player faction and clears occupiers.

Examples:

Text
Strategy.Cheat.ListFactions
Strategy.Cheat.OccupyFaction 9
Strategy.Cheat.OwnAll

Power blocs and rebellions

CommandWhat it does
Strategy.ForceRebellionLists power blocs and their IDs.
Strategy.ForceRebellion <power_bloc_id>Triggers rebellion for a power bloc.
Strategy.ForceSettlementRebellion [settlement_id]Triggers an unrest rebellion at a selected settlement or settlement ID.

Examples:

Text
Strategy.ForceRebellion
Strategy.ForceRebellion 4
Strategy.ForceSettlementRebellion 32

Tutorial campaign

These are Exec commands on the tutorial campaign subsystem.

CommandWhat it does
TutorialHelpPrints tutorial command help.
StartTutorialCampaign <CampaignName>Starts a tutorial campaign by name.
TriggerTutorialEvent <EventIDString>Triggers a tutorial event by event ID.
JumpTutorialToIndex <EventIndex>Jumps to a tutorial event index without normal progression.
JumpTutorialToEvent <EventIDString>Jumps to a tutorial event by event ID.
ResetTutorialCampaignResets tutorial campaign progress.
DebugTutorialCampaignPrints detailed tutorial campaign debug info.
ListTutorialEventsLists tutorial events with indices.
SkipTutorialEventSkips the current tutorial event.
SkipToTutorialEvent <EventIndex>Skips forward to a tutorial event index.

Examples:

Text
TutorialHelp
ListTutorialEvents
JumpTutorialToIndex 5
SkipTutorialEvent
ResetTutorialCampaign

Quick recipes

Set up a fast test run:

Text
Strategy.Debug
Strategy.Cheat.AddGold 50000
Strategy.Cheat.FillResources 5000
Strategy.Cheat.InstantBuild 1
Strategy.Cheat.NoUpkeep 1

Find and modify a character:

Text
Strategy.Debug
Strategy.Cheat.Person.ListTraits
Strategy.Cheat.Person.ListCultures
Strategy.Cheat.Person.ListReligions
Strategy.Cheat.Person.SetStat Authority 30 14
Strategy.Cheat.Person.AddTrait 14 Ambitious
Strategy.Cheat.Person.SetCulture 14 Rephsian
Strategy.Cheat.Person.SetReligion 14 Trinitism

Check diplomacy IDs and force a war:

Text
Strategy.Cheat.ListFactions
Strategy.Cheat.DeclareWar 9
Strategy.Cheat.ForceBattle

Prepare a settlement screenshot:

Text
Strategy.Debug
Strategy.Cheat.SetGold 50000
Strategy.Cheat.InstantBuild 1
Strategy.Cheat.AddAllBuildings
Strategy.ToggleFogOfWar