# HOI4 console commands

All 317 commands the 1.20.1 game lists in its console help, and the 35 that people actually use, ready to copy.

Source page: https://hoi4database.com/console-commands/

## How to open the console

Press the key left of 1, under Esc: ~ on a US keyboard, § or ^ on many European ones, ё on a Russian one. Type a command and press Enter. Cheats turn off achievements for that game, and they do not work in Ironman or multiplayer.

## The commands people use most

Need a tag or a state number? They are in the [country tags](https://hoi4database.com/country-tags/) and [state IDs](https://hoi4database.com/state-ids/) lists. Equipment names for `add_equipment` are in the [equipment IDs](https://hoi4database.com/ids/equipment/).

### Political power, manpower and equipment

| Type this | What it does |
| --- | --- |
| `pp 500` | Adds political power. Use a minus number to take it away. |
| `cp 100` | Adds command power. |
| `manpower 1000000` | Adds manpower to your pool. |
| `xp 500` | Adds army, navy and air experience at once. |
| `add_equipment 1000 infantry_equipment_1` | Puts equipment in your stockpile: the amount, then the equipment ID from the equipment list. |
| `add_latest_equipment 1000` | Adds that many of the newest model of every equipment type you have researched. |
| `st 20` | Raises stability by the amount you give. A minus number lowers it. |
| `ws 20` | Raises war support. A minus number lowers it. |
| `nuke 10` | Adds nuclear bombs. |

### Research, construction and focuses

| Type this | What it does |
| --- | --- |
| `research all` | Finishes every technology. With a slot number it finishes the one in that slot. |
| `roic` | After this, clicking a technology in the tree researches it at once. |
| `ic` | Turns instant construction on or off. |
| `Focus.AutoComplete` | Every national focus you pick finishes at once. Type it again to turn it off. |
| `Focus.IgnorePrerequisites` | Lets you pick a focus without the ones before it. |
| `Focus.NoChecks` | Skips the conditions a focus asks for. |
| `Decision.NoChecks` | Skips the conditions of decisions. |
| `allowtraits` | Lets generals and admirals learn every trait. |
| `gain_xp 500` | Gives experience to the selected general or admiral. |

### Countries, war and peace

| Type this | What it does |
| --- | --- |
| `tag GER` | Switches you to another country. The country tags list has every tag. |
| `annex POL` | Annexes the country with that tag. |
| `wp ENG` | Makes white peace with the countries you name. |
| `setowner GER 64` | Gives a state to a country: the tag, then the state ID. |
| `setcontroller GER 6521` | Gives control of a province: the tag, then the province ID. |
| `set_ruling_party communism` | Changes your ruling party: democratic, communism, fascism or neutrality. |
| `add_party_popularity fascism 30` | Adds popularity to one party. |
| `civilwar communism` | Starts a civil war with the ideology you give. |
| `yesman` | The AI accepts every diplomatic offer. Type it again to turn it off. |
| `allowdiplo` | Lets you use any diplomatic action, rules or not, such as declaring war without a war goal. |
| `ai` | Turns the AI off or back on. |
| `observe` | Stops playing any country and watches the game. |

### Map, events and IDs

| Type this | What it does |
| --- | --- |
| `event germany.22 GER` | Fires an event by its ID, here the one where Lithuania hands over Memel. A country tag after the ID picks who gets it. |
| `instantevents` | Events that wait a random time fire straight away. |
| `fow` | Turns the fog of war off or on. |
| `tp 6521` | Moves the selected armies or ships to a province. |
| `tdebug` | Shows province and state IDs in the map tooltip. |

## Every console command

The game's own description of each command, as it ships in the help file. Debug commands that only work in Paradox's internal builds are left out.

| Command | Arguments | What the game says it does |
| --- | --- | --- |
| `3dstats` | | Toggles 3D Stats |
| `acclimatization` acc | , | Sets the acclimatization on a division(s). |
| `add_autonomy` | | No description in the game |
| `add_cic_bank` stonks, cic, bank | | Add CIC to the CIC bank (negative value subtracts) |
| `add_core` | | Add core |
| `add_critical_hit` | | add critical hit to selected ships |
| `add_diplo` | | Adds diplomatic entroute |
| `add_equipment` ae | equipment amount, equipment name | Gives player amount of equipment that has the specified name |
| `add_exile_manpower` | , | Adds legitimacy to specified tag. add_legitimacy TAG amount |
| `add_fake_armies` | | Creates fake intel armies for the player |
| `add_ideas` | all/ ...> | Adds ideas (ministers or national spirits) with to the country. Use 'all' to add them all |
| `add_intel` | | Set the values of a static intel pool against a specific country. E.g. `add_intel GER POL army=10` |
| `add_latest_equipment` ale | equipment amount | Gives player amount of latest equipment variants |
| `add_legitimacy` | , | Adds legitimacy to specified tag. add_legitimacy TAG amount |
| `add_mines` mines | | Add naval mines to selected region(s) |
| `add_opinion` | | Add opinion to/from tag |
| `add_party_popularity` |

, | Adds party popularity for specified party to the current country |
| `add_rain` | | Adds rain to the selected province |
| `add_snow` | | Adds snow to the selected province |
| `add_stability` st | unity amount | Gives/removes stability from player |
| `add_subsidies` | | No description in the game |
| `add_subsidies_second` | | No description in the game |
| `add_tech` | | No description in the game |
| `add_war_support` ws | unity amount | Gives/removes war support from player |
| `AddFunds` mio.AddFunds, IndustrialOrganisation.AddFunds | (optional), (optional) | Add funds to one or all Military Industrial Organisations ex: AddFunds org_token 2000 AddFunds org_token // default added funds is NDefines::NIndustrialOrganisation::FUNDS_FOR_SIZE_UP AddFunds 2000 // Funds added to all the player's MIOs AddFunds // default funds amount added to all the player's MIOs |
| `AddSize` mio.AddSize, IndustrialOrganisation.AddSize | (optional), (optional) | Add sizes to one or all Military Industrial Organisations. ex: AddSize org_token 2 AddSize org_token // adds 1 size AddSize 2 // adds input size to all the player's MIOs AddSize // adds 1 size to all the player's MIOs |
| `AddTaskCapacity` mio.AddTaskCapacity, IndustrialOrganisation.AddTaskCapacity | (optional), (optional) | Add task capacity to one or all Military Industrial Organisations. Value can be negative but final task capacity will be capped at 0. ex: AddTaskCapacity org_token 2 AddTaskCapacity org_token // adds 1 capacity AddTaskCapacity 2 // adds input capacity to all the player's MIOs AddTaskCapacity // adds 1 capacity to all the player's MIOs |
| `Agency.Instant` | | Activates Operation.Instant, IntelNetwork.Instant, Agency.InstantSlotUnlock and Agency.Autocomplete |
| `ai` | | Toggles the AI on or off |
| `ai_accept` yesman | | Toggles AI always accept diplomacy |
| `ai_force_equipment` | | Force the AI to only spend army XP on equipment design |
| `ai_force_template` | | Force the AI to only spend army XP on template design |
| `ai_front_id` | | Get the address of selected group's front debug id |
| `ai_idea_desire_log` | | Prints AI desire for ideas to log. For Current country only. |
| `ai_invasion` | | Toggles AI AI naval invasions |
| `ai_pp_log` | | Prints AI use of PP to log |
| `airealism` | | Enable realistic AI |
| `aiview` | | Enable AI debug info |
| `allowdiplo` adiplo, nocb | | Allows to use all diplomatic actions for no matter the rules. |
| `allowideas` | | Allows to learn all ideas. |
| `allowoperations` | | Allows to execute all operations. |
| `allowtraits` | | Allows to learn all traits. |
| `analyzetheatres` anth | | Analyze theatres for errors. |
| `annex` | | Begin annex/annexes the specified tag |
| `armageddon` | | Deliver a thermonuclear strike to every state in the game. |
| `Audio.PlayEffect` | effect_name | Play the specified sound effect |
| `bop_add` | , | Changes the value of the specified power balance. |
| `bop_addmod` | , | Adds static modifier to a power balance. |
| `bop_remove` | | Deactivates a power balance for the current country. |
| `bop_rmmod` | , | Removes static modifier from a power balance. |
| `bop_set` | | Activates a power balance for the current country. |
| `bop_show` | | Shows current country's active power balances. |
| `build_war_blobs` | | Prints a list of all your wars |
| `building_health` bhealth | , , , | Changes specified building health |
| `bypass_invasion_superiority_check` bisc | | Ignore superiority in the strategic areas crossed by a naval invasion order |
| `cameraclamp` | | Toggles the camera clamping |
| `capture_commander` | , | Capture an enemy commander for the player country.

is required if the commander is not deployed. |
| `cityreload` | | Reloads the cities |
| `civilwar` | , [target country tag] | Spawns a civil war |
| `clear_critical_hits` | | clear all critical hits |
| `clear_intel_pools` | | Reset the specified intel pool |
| `clear_tech` | | No description in the game |
| `collaboration` | | Adds collaborations against selected country. Right-Click to select a country and use "collaboration 0.3 |
| `collision` debug_collision | | Toggles debug display of normals/bounding boxes/collision |
| `combat_analyzer` | , , , , OPTIONAL, OPTIONAL | Runs a combat between the 2 OOBs owned by the two TAGs either until done or for the specified number of days. Using the combat will be run multiple times and the averages are printed |
| `combatsound` | | How often does the combat view give a random sound? 0-50 |
| `compare_to_last_checksum` | | Compare current checksum with the most recent dump |
| `compliance` | amount | increases decreases compliance in a state |
| `cp` | CP amount | Gives command power to player |
| `CrashReporter.DeleteCrashData` | | Delete local crash dumps older than X days. |
| `CrashReporter.SimulateCrash` | | Simulates a crash (resulting in the game exiting). |
| `createarmygroup` | | Create field marshal group from selected groups |
| `ct` | | Puts timer info in clipboard |
| `damage_units` | , , | Damage or heal selected units or units under pointer if there is none selected. Enter 1 argument to apply damage for both types, two for individual both types |
| `dbg_task_force_role_insignia_assignment` tfria | | print the role that would be deduced for the selected task force |
| `dbg_tf_fulfillment` | | Show the managed fulfillment of a taskforce (exepected number of ships after all ships have been merged in) |
| `debug` | | Toggle debug mode on/off. |
| `debug_army_entity` dae | | Shows debug entity for all armies |
| `debug_bloom` | | Toggles Bloom on/off |
| `debug_borders` | | Toggles Borders on/off |
| `debug_checkportraitssanity` | | Analyse all characters' portraits and write failures in error log |
| `debug_cities` | | Toggles Cities painting mode on/off |
| `debug_custom_achievements` | | For testing custom achievements, clear completion status (delete files on cloud storage) and reload mod achievement files |
| `debug_dumpevents` | | Dump Event data to game log |
| `debug_events` | | Start Counting events |
| `debug_force_capitulate` dfc | | forces capitulation of a country on next daily tick |
| `debug_front_sections` dbg_fs | , , | Visual debug of theatres, fronts and sections. |
| `debug_lockcamera` | | Toggles Camera locked on/off |
| `debug_nogui` | | Toggles GUI on/off |
| `debug_nomouse` | | Toggles mouse scrollwheel on/off |
| `debug_norender` | | Toggle rendering of map |
| `debug_postfx` | | Toggles PostFX on/off |
| `debug_rivers` | | Toggles Rivers on/off |
| `debug_show_event_ID` | | Shows event ID |
| `debug_sky` | | Toggles Sky on/off |
| `debug_smooth` | | Toggle framesmoothing |
| `debug_tactics` | | Toggle visibility of debug tooltip for tactics |
| `debug_terrain` | | Toggles Terrain on/off |
| `debug_tooltip` | | Toggles Tooltips on/off |
| `debug_trees` | | Toggles Trees on/off |
| `debug_unit_controller_weights` dbg_ucw | | Visual debug of unit controller weights. Enable track_unit_controller_weights first! |
| `debug_unit_entity` dbg_ue | | Print out the entity hierarchy. |
| `debug_water` | | Toggles Water on/off |
| `debug_zoom` | | Zooms in the game |
| `deleteallairwings` delallair | | Delete all airwings. |
| `deleteallunits` delall | | Delete all armies and fleets of the specified countries. |
| `deleteallunitsbut` delallbut | | Delete all armies and fleets of ALL countries, except specified one. |
| `deltat` | | control animation speeds |
| `disable_ai` | | Disables the AI |
| `disable_weather` | | Disable weather simulation |
| `drop_cosmetic_tag` | | Drops 'cosmetic tag' for a specified country |
| `dump_cached_random_logs` | | dumps cached random logs |
| `dump_checksum` | | Compute and store the checksum in a file |
| `dump_equipment_loc` | desc: Dump equipment descriptions instead of the names, : Multiple allowed. Only include loc strings for the given countries. Generic loc strings are included if no tags are given, or with argument 'generic'., : Multiple allowed. Only include equipment that are all of the given types, e.g. 'armor anti_tank' will only include tank destroyers., path=: File path to write the dump to. Default is 'logs/equipment_loc.csv'. | Dumps equipment loc strings to file. All arguments are optional. |
| `dump_garrison_templates` | | Dump garrison templates to game log |
| `dump_synchronized_members` | | Dump the synchronized game state (the one that has checksum ID 2) |
| `easy_decisions` ezd | | Toggles Easy Decisions Mode which makes all decisions with days_remove take only 1 day to be removed, and all decisions with cost not have any cost or cost trigger. |
| `effect` e | scripted_effect_name | Runs a scripted effect on selected scope |
| `empty_fuel_tanks` | Fuel amount | Clear fuel tanks of all armies |
| `emulate_ai_operative_assignment` | | Log ai operative assignment if it were to run this tick. Takes as first argument the tag of the country to test, default to the player's. |
| `enable_ai` | | Enables the AI |
| `enable_weather` | | Enable weather simulation |
| `energy_ratio` er | Energy ratio | Set Energy Ratio for the factories without coal consumption |
| `error` | | Show errors in log |
| `eval_effect` | | Runs the inlined effect on a selected scope |
| `eval_trigger` | | Runs the inlined trigger on a selected scope |
| `event` | event id, | Executes an event |
| `faction_goal_slot` fgs | category, amount | Adds a faction goal slot, categories are short medium long |
| `faction_influence` finf | amount, countrytag | Adds faction influence (stored) to the country, on default it takes the player country if no tag is provided |
| `faction_initiative` fi | amount, countrytag | Adds faction initiative to the country, on default it takes the player country if no tag is provided |
| `faction_unlock` fu | type | Unlocks a part of the faction, can take the argument military (m) or research (r) |
| `fast_forward` | , | Fast forward a set amount of days |
| `finish_decision` | or "all" | Finish timed missions instantly |
| `flagsoutput` |

| Creates texture atlas files from memory. |
| `focus_count` | | Counts how many focuses a tag has. For science |
| `force_operative_detection` snitch | | Print intel network related information |
| `fow` debug_fow | OPTIONAL | Turns off fog of war in a province or in general |
| `freefocuses` ff | | Enable freely activating any focuses |
| `fronts` | | Toggle visibility of the foreign fronts |
| `fuel` army_juice | Fuel amount | Adds/removes fuel to the player |
| `fuel_gain` | Daily Fuel amount | Adds/removes daily fuel gain for player |
| `fullscreen` | | Toggles fullscreen |
| `gain_xp` | | Gain xp for selected leader or for a leader trait |
| `gamespeed` | speed | Set the current game speed, pausing the game at speed 0. |
| `gamestate_timer` gstimer | on / off | Enable / Disable recording of how long an hour / day / week etc takes to process. |
| `get_capital` | | Get the capital of a country |
| `get_country_flag` | | Gets country flag on specified TAG. Defaults to current country |
| `get_flag` | | Get a flag |
| `get_var` | | Gets a variable |
| `goto_province` | province id | Centers to province |
| `goto_region` | region id | Centers to region |
| `goto_state` | state id | Centers to state |
| `grow_intel_network` | | Grow the intel network in the specified tag |
| `guibounds` gui | | Toggles GUI bounds debug |
| `help` | command name | Print out all console commands or a specific command description. |
| `helphelp` | | Double Rainbow help. |
| `helplog` | | Print out all console commands to game.log file. |
| `highlight_encirclements` | | Toggle highlighting of detected encirclements |
| `history_logger` | | Toggle history logger |
| `human_ai` | | Toggles AI for Human countries |
| `imgui` | | Controls ImGui UIs. See the sub commands. |
| `instant_prepare` | | Instantly prepares naval invasions |
| `instant_wargoal` | | Generation of wargoals are instant |
| `instantconstruction` ic | | Toggles instant construction cheat. |
| `instantevents` | | Ignores event mth s |
| `instantshiprefit` isr | | Toggles instant ship refitting cheat. |
| `instanttraining` it | | Toggles instant army training cheat. |
| `InternationalMarket.AddSubsidyForTags` | , , | Add a Equipment Subsidy to the player's international market. |
| `InternationalMarket.AddSubsidyForTrigger` | , , | Add a Equipment Subsidy to the player's international market. |
| `InternationalMarket.CancelPurchase` | , , | Cancel the purchase contract between the seller and the buyer |
| `InternationalMarket.Dev.SetMarketRequestAutomation` | | Set the market requests automation state |
| `InternationalMarket.ReleaseFromMarketStockpile` | , | Release equipment to main stockpile from market stockpile |
| `InternationalMarket.RequestPurchase` | , , , , | Request Equipment Purchase. |
| `InternationalMarket.ReserveToMarketStockpile` | , | Reserve equipment from main stockpile to market stockpile |
| `InternationalMarket.SetPriceLevel` | , | Sets the price level for the given equipment in the Market Stockpile |
| `launch_nuke` ln | [Nuke Type], , ... | Launch nuke to any specified province(s) without checking any conditions. |
| `list_flags` | | Lists all flags in a scope or for the selected country/state/unitleader |
| `list_hidden_focuses` list_hd | country tag | lists all of the hidden focuses from a country |
| `list_ideas` | | Dump all ideas to console (ministers or national spirits) |
| `list_leader_modifiers` | | Lists the leader and unit modifiers on the leader of each selected army |
| `list_modifiers` | | Lists all modifiers in a scope or for the selected country/state/unitleader |
| `list_vars` | | Lists all variables in a scope or for the selected country/state/unitleader |
| `lobby_id` | | Shows the Steam lobby id of the session |
| `loc_check` | | Check for missing localization |
| `loc_check_characters` | | Check characters for missing localization |
| `loc_check_decisions` | | Check decisions for missing localization |
| `loc_check_events` | | Check events for missing localization |
| `loc_check_focuses` | | Check national focuses for missing localization |
| `loc_check_modifiers` | | Check modifiers for missing localization |
| `loc_check_national_spirits` | | Check national spirits for missing localization |
| `lock_air_det` | , (0.0-1.0) OPTIONAL | Locks Air Detection for a country, omit detection value to reset |
| `lock_air_eff` | , (0.0-1.0) OPTIONAL | Locks Air Efficiency for a country, omit efficiency value to reset |
| `log_advisor_trait_errors` | | Logs all instances of unit leader advisors not having the corresponding unit leader traits. |
| `manpower` | | Adds manpower to player |
| `mapmode` | Mapmode type (int) | Change mapmode. |
| `mapnames` | | Toggle map names |
| `mastery` | mastery amount, [optional] track name | Give doctrine mastery, globally or to a specific track |
| `morehumans` humans | num | Adds more humans |
| `morehumanswithcountries` | num | Adds more humans and assigns them to the highest scoring countries available |
| `moveunit` | , | Moves a unit to a province |
| `no_wargoal` | | No need to have a wargoal for declaring war |
| `nomapicons` | | Toggles map icons. |
| `nopausetext` | | Toggles the pausebanner for nicer screenshots. |
| `nudge` | | Go to the nudge tool |
| `nukes` nuke | | add nukes |
| `observe` spectator | | Switches to play no country at all, and no longer shows messages or pauses the game |
| `occupationpaint` op | tag | Toggles occupation painting. If specifying a tag, that country will be occupied. |
| `operation_debug` | Operation ID, Target Tag | Allows to execute all operations. |
| `operation_start` | Operation ID, Target Tag | Allows to execute all operations. |
| `operation_test_phase_selection` | Operation ID, Target Tag | Test an operation phase. |
| `pause_in_hours` | | Pauses the game after X hours have passed after command is called |
| `pause_on_trigger` | | Pauses the game when trigger activates |
| `pp` political_power | PP amount | Gives political power to player |
| `prep_for_war` | | Make AI country with specified TAG to prepare fight for another country |
| `prevent_operative_detection` | | Prevent a country from detecting and harming foreign operatives |
| `prices` | | Price Info |
| `print_controllers` | | Prints countries controlled by human players. |
| `print_intel_network` | | Print intel network related information |
| `print_intel_values` | | Print the intel a country has over another |
| `print_operation_tokens` | | Runs a scripted effect on selected scope |
| `print_radar_intel` | | Print the intel value breakdown generated by radar |
| `PrintSynchStuff` | | Prints random count and seed |
| `profile` |

| profile options |
| `province_ids` pid | | Show province IDs on the map |
| `provtooltipdebug` tdebug | | Toggles the debug info in province tooltip |
| `puppet` | | Puppets the specified tag |
| `railroads` | | Toggle rendering of railroads |
| `random_seed` | | reseeds random with specified seed or reseeds random |
| `rebuildlayers` | | Reload mapmodes. |
| `reduce_opinion` | | Reduce opinion to/from tag |
| `release` rls | Tag of a country to be released | Released a given country |
| `reload_keybinds` | | Reload keybind definitions and user overrides |
| `reload_textures` rt, reload_texture | | Reloads all textures, with an optional filter to reload only files that include the given text |
| `reloadfx` | Arguments: map/mapname/postfx or *.fx filename | Reloads the shader |
| `reloadinterface` | | Reloads the entire interface |
| `reloadoob` | | Reloads OOBs |
| `reloadtechnologies` | | Reloads the technology database |
| `reloadweather` | | Reload and regenerate weather |
| `remove_core` | | Remove core |
| `remove_ideas` | all/ ... | Removes ideas (ministers or national spirits) with to the country. Use 'all' to remove them all |
| `rendertype` | | Reports what render backend is used |
| `research` | or "all" | Researches an technology from research slot or all. |
| `research_fast` | | Base cost of every technology is set to 1 RP |
| `research_on_icon_click` roic | | Research a technology when clicking on technology tree icon |
| `resign` | | Resign from the game |
| `resistance` | amount | increases decreases resistance in a state |
| `retire_country_leader` | | No description in the game |
| `run` | | Runs the specified file with list of commands |
| `savecheck` | | Makes a savegame (Test_01), loads the savegame, makes a new savegame (Test_02). Those savegames should look the same. |
| `savegame` save | | Creates a save file. |
| `set_cosmetic_tag` | , | Sets 'cosmetic tag' for a specified country |
| `set_country_flag` | | Sets country flag on specified TAG for a duration. Defaults to current country and value 1 with infinite duration. |
| `set_flag` | | Set a flag |
| `set_global_flag` | | Sets the specified global flag to a value. Defaults to 1 |
| `set_mud` | | Sets mud for the selected province |
| `set_ruling_party` | | Sets ruling party for the country |
| `set_var` | | Set a variable |
| `set_weather` | | Sets the weather for the selected province (and corresponding region) |
| `setcontroller` | country tag, province id | Sets province controller |
| `setowner` | country tag, state id | Sets state owner |
| `SetRandomCount` | | Sets the randomcount to 0 or arg |
| `show_all_medals` | | Show all medals as achieved in the grid without actually earning them. |
| `show_all_ribbons` | | Show all ribbons as achieved in the grid without actually earning them. |
| `show_enemy_ships` | | Toggle always showing of enemy ships |
| `show_focuses` | | shows all the hidden focuses |
| `show_medal` | , | Show the popup for earning a medal without actually earning it. |
| `show_ribbon` | | Show the popup for earning a ribbon without actually earning it. |
| `show_ships` | | Toggle always showing of player ships |
| `show_xp_gain` xp_gain | | Show XP gain information. |
| `simplified_transport` | | Toggle simplified naval transports |
| `sp_add_mastermind` | | Add a scientist with max skill in all specializations |
| `sp_add_scientist` | (optional), (optional) | Add a scientist. Is specified a specialization and level that will be applied to the scientist. If no specialization is specified the level will be applied to all. ex: sp_add_scientist 3 nuclear sp_add_scientist 2 sp_add_scientist |
| `sp_add_selected_scientist_level` | , (optional) | Add level and if specified, specifically to a specialization for a scientist. If no specialization is specified, the level will be added for each specialization. Requires the facility view with an attached scientist to be open. ex: sp_add_scientist_level 3 nuclear sp_add_scientist_level 2 |
| `sp_add_selected_scientist_trait` | | Add a trait to the scientist. Requires the facility view with an attached scientist to be open. ex: sp_add_scientist_trait my_trait_token |
| `sp_available` | | Trigger available returns true for all Special Projects. ex: sp_available |
| `sp_breakthrough` sp_br | optional | Create breakthrough points. |
| `sp_fast` | | All phases in Special Projects take now 1 day to complete. For prototype phase, it's the iterations that will take 1 day. And it will require as many iterations as usual. ex: sp_fast |
| `sp_instant` | | All started Special Projects finish on the daily tick. It skips the iterations of the Prototyping phase and their reward. ex: sp_instant |
| `sp_prototype_reward` spr | | Trigger a specified prototype reward during a project. |
| `sp_remove_selected_scientist_trait` | | Remove a trait from the scientist. Requires the facility view with an attached scientist to be open. ex: sp_remove_selected_scientist_trait my_trait_token |
| `sp_research_all` sp_ra | | Research all special projects. If no scientist exist it will create one, otherwise it will pick an arbitrary one. Imagine there is a secret hidden facility in a controlled province where the projects are researched. |
| `sp_set_selected_scientist_level` | , (optional) | Set level and if specified, specifically to a specialization for a scientist. If no specialization is specified, the level will be added for each specialization. Requires the facility view with an attached scientist to be open. ex: sp_set_scientist_level 3 nuclear sp_set_scientist_level 2 |
| `sp_unlock_all` | | All Special Projects are always visible and available. Whether or not the triggers returns true, and whether the parents are completed. ex: sp_unlock_all |
| `spawn_3D_models` | | No description in the game |
| `spawnactor` | , , OPTIONAL | Spawns an actor with an optional animation |
| `tag` | | Switch tag to another country |
| `tag_color` | | Test setting a country's color |
| `teleport` tp |

| Teleports selected armies or ships to the specified province |
| `test_log` | | Enable / Disable tests |
| `test_save_mode` | | Sets if save game for failed test should be for current or previous day |
| `testevent` | , | Tests an event without triggering it |
| `testrtti` | | Tests performance for RTTI |
| `threat` tension | threat amount | Adds or show threat level of player |
| `time` | | What time is it? |
| `timer` | | Prints out debug timing info |
| `timer_dump` | | Dumps debug timing info |
| `timer_reset` | | Resets debug timing |
| `timer_restart` | | Restarts (resets and starts) debug timing |
| `timer_start` | | Starts debug timing |
| `timer_stop` | | Stops debug timing |
| `toggle_hidden_techs` tht | | Toggle show/hide all hidden techs. |
| `track_unit_controller_weights` track_ucw | | Will start tracking unit controller weights for current country, should be used together with debug_unit_controller_weights to view the data. |
| `traderoutes` | | Toggle visibility of trade routes |
| `trigger` t | scripted_trigger_name | Runs a scripted trigger on selected scope |
| `trigger_ability` | | triggers an ability |
| `trigger_docs` effect_docs, scripting_docs, docs | | Print docs for triggers, effects and variables |
| `unit_address` | | Get the address of the first selected unit, for debugging |
| `unit_stats` | | lists stats of selected units |
| `update_loc` | localization tag | Updates the localization tag file |
| `updateequipments` | | Updates the equipment database |
| `updatesubunits` | | Updates the subunit database |
| `version` | | Show current game version |
| `war_relations` | | Prints war relations info |
| `weather` | | Toggle weather simulation |
| `whitepeace` wp | | White peace with the specified countries. |
| `window` wnd | Arguments: open/close, window gui name | Opens or closes the specified window |
| `xp` | XP amount | Gives Army, navy and air experience to player |

## Switches you type once

These turn a behaviour on until you type them again. `Focus.AutoComplete` is the one people know.

| Type this | Kind | What the game says |
| --- | --- | --- |
| `Agency.AutoComplete` | Boolean | |
| `Agency.InstantSlotUnlock` | Boolean | |
| `Agency.KeepExcessOperatives` | Boolean | |
| `CounterIntelligence.TestShieldColors` | Boolean | |
| `Debug.OldCombat` | Boolean | |
| `Decision.FastRemove` | Boolean | |
| `Decision.NoChecks` | Boolean | |
| `Focus.AutoComplete` | Boolean | |
| `Focus.IgnorePrerequisites` | Boolean | |
| `Focus.NoChecks` | Boolean | |
| `IntelNetwork.Instant` | Boolean | |
| `Mesh.Names` | Boolean | |
| `Mesh.TextureNames` | Boolean | |
| `Operation.Instant` | Boolean | |
| `fa` | Boolean | |
| `guibounds` | Boolean | |
| `resistance_system` | Boolean | |
