Console commands are split into two categories: actual commands and tweakable variables.
Tweakable variables differ from console command in that they are more specialized and usualy modify a single variable in the game. They are often used to toggle on or off some behavior.
Console command are more general purpose and can affect a wider variety of stuff, such as reloading some file, toggling off some gfx effects, starting a civil war, ...
Toggles 3D Stats
"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"
"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"
"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"
Activates Operation.Instant, IntelNetwork.Instant, Agency.InstantSlotUnlock and Agency.Autocomplete
Play the specified sound effect
Delete local crash dumps older than X days.
Simulates a crash (resulting in the game exiting).
Shows your IP
Add a Equipment Subsidy to the player's international market.
Add a Equipment Subsidy to the player's international market.
Cancel the purchase contract between the seller and the buyer
Set the market requests automation state
Release equipment to main stockpile from market stockpile
Request Equipment Purchase.
Reserve equipment from main stockpile to market stockpile
Sets the price level for the given equipment in the Market Stockpile
List regions center point that is located within another region
Sync POP File Storage
Toggles default posteffect values
Prints random count and seed
Sets the randomcount to 0 or arg
Sets the acclimatization on a division(s).
Add CIC to the CIC bank (negative value subtracts)
Add core
add critical hit to selected ships
Adds diplomatic entroute
Gives player amount of equipment that has the specified name
Adds legitimacy to specified tag. add_legitimacy TAG amount
Creates fake intel armies for the player
Add an arrow around a strategic region
Adds ideas (ministers or national spirits) with <ID> to the country. Use 'all' to add them all
Set the values of a static intel pool against a specific country. E.g. add_intel GER POL army=10
Gives player amount of latest equipment variants
Adds legitimacy to specified tag. add_legitimacy TAG amount
Add naval mines to selected region(s)
Add opinion to/from tag
Adds party popularity for specified party to the current country
Adds rain to the selected province
Adds snow to the selected province
Gives/removes stability from player
Add temp supply node
adds temporary buff to selected units
Gives/removes war support from player
Toggles the AI on or off
Toggles AI always accept diplomacy
Dump AI data to log file
Force the AI to only spend army XP on equipment design
Force the AI to only spend army XP on template design
Dump AI front data to log file, needs to have a unit selected
Get the address of selected group's front debug id
Prints AI desire for ideas to log. For Current country only.
Toggles AI AI naval invasions
Prints AI use of PP to log
Toggles ai research logging
Toggles the AI Trace window
Spawns an air combat in desired location.
Enable realistic AI
Enable AI debug info
Allows to use all diplomatic actions for no matter the rules.
Allows to learn all ideas.
Allows to execute all operations.
Allows to learn all traits.
Analyze theatres for errors.
Begin annex/annexes the specified tag
Deliver a thermonuclear strike to every state in the game.
Toggles bloom
Changes the value of the specified power balance.
Adds static modifier to a power balance.
Deactivates a power balance for the current country.
Removes static modifier from a power balance.
Activates a power balance for the current country.
Shows current country's active power balances.
Show browser window
Prints a list of all your wars
Changes specified building health
Ignore superiority in the strategic areas crossed by a naval invasion order
Toggles the camera clamping
Reloads the cities
Spawns a civil war
clear all critical hits
Reset the specified intel pool
Adds collaborations against selected country. Right click to select a country and use "collaboration 0.3"
Toggles debug display of normals/bounding boxes/collision
Runs a combat between the 2 OOBs owned by the two TAGs either until done or for the specified number of days. Using <num runs> the combat will be run multiple times and the averages are printed
How often does the combat view give a random sound? 0-50
combat simulation process
Compare current checksum with the most recent dump
increases decreases compliance in a state
Gives command power to player
Create field marshal group from selected groups
Create LEAN textures
Puts timer info in clipboard
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
Enables scripted GUIs
Sets type of debugging information on provinces.
print the role that would be deduced for the selected task force
Show the managed fulfillment of a taskforce (exepected number of ships after all ships have been merged in)
Toggle debug mode on/off.
Enables popups for achievements to debug them
Clear all achievements and user stats
Toggle debug mode for air vs land combat.
Shows debug entity for all armies
Toggles asserts on/off
Toggles Bloom on/off
Toggles Borders on/off
Analyse all characters' portraits and write failures in error log
Toggles Cities painting mode on/off
Printing commandcount to message.log
Crash!
For testing custom achievements, clear completion status (delete files on cloud storage) and reload mod achievement files
Start Counting diplomatic actions
Dump diplomatic action data to game log
Dump Event data to game log
Toggles Debug entities
Start Counting events
forces capitulation of a country on next daily tick
Visual debug of theatres, fronts and sections.
Toggles interpolated fronts debug
Toggles Debug info
Toggles Debuglines
Toggles Camera locked on/off
Toggles GUI on/off
Toggles mouse scrollwheel on/off
Toggle rendering of map
Toggles offensive fronts snapping debug
Print out debug about orders chain.
Toggles Particles Debug info
Toggles PostFX on/off
Toggles Rivers on/off
Shows event ID
Toggles Sky on/off
Toggle framesmoothing
Toggle visibility of debug tooltip for tactics
Toggles Terrain on/off
draws textures like bloom
Writes Texture info to application debug log
Toggles Tooltips on/off
Toggles Trees on/off
Will print the data type for all dynamic reference objects. Can only be used if using RTTI.
Visual debug of unit controller weights. Enable track_unit_controller_weights first!
Print out the entity hierarchy.
Toggle debug validate supply cache.
Toggles Water on/off
Toggles forced wireframe on/off
Zooms in the game
Removes Ironman status from current game.
Delete all airwings.
Delete all armies and fleets of the specified countries.
Delete all armies and fleets of ALL countries, except specified one.
control animation speeds
Disables the AI
Disable weather simulation
Drops 'cosmetic tag' for a specified country
dumps cached random logs
Compute and store the checksum in a file
Dumps equipment loc strings to file. All arguments are optional.
Dump garrison templates to game log
Dump the synchronized game state (the one that has checksum ID 2)
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.
Runs a scripted effect on selected scope
Clear fuel tanks of all armies
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.
Enables the AI
Enable weather simulation
Instantly end all active raids, optionally with a specific success level
Show errors in log
Runs the inlined effect on a selected scope
Runs the inlined trigger on a selected scope
Executes an event
Creates texture atlas files from memory.
Counts how many focuses a tag has. For science
Print intel network related information
Make the game forget that you have earned medals and ribbons.
Turns off fog of war in a province or in general
Enable freely activating any focuses
Toggle visibility of the foreign fronts
Adds/removes fuel to the player
Adds/removes daily fuel gain for player
Toggles fullscreen
Gain xp for selected leader or for a leader trait
Set the current game speed, pausing the game at speed 0.
Enable / Disable recording of how long an hour / day / week etc takes to process.
Toggles gradient border painting
Reloads gradient borders
Get the capital of a country
Gets country flag on specified TAG. Defaults to current country
Get a flag
Gets a variable
Centers to province
Centers to region
Centers to state
Grow the intel network in the specified tag
Toggles GUI bounds debug
Toggles hdr
Toggles hdr debugging
Print out all console commands or a specific command description.
Double Rainbow help.
Print out all console commands to game.log file.
Toggle highlighting of detected encirclements
Toggle history logger
Converts RGB to HSV
Toggles AI for Human countries
Controls ImGui UIs. See the sub commands.
Instantly prepares naval invasions
Generation of wargoals are instant
Toggles instant construction cheat.
Ignores event mth s
Toggles instant ship refitting cheat.
Toggles instant army training cheat.
Applies Ironman status to current game.
Launch nuke to any specified province(s) without checking any conditions.
Lists all flags in a scope or for the selected country/state/unitleader
Dump all ideas to console (ministers or national spirits)
Lists all modifiers in a scope or for the selected country/state/unitleader
lists all temporary buffs on selected units
Lists all variables in a scope or for the selected country/state/unitleader
Check for missing localization
Check characters for missing localization
Check decisions for missing localization
Check events for missing localization
Check national focuses for missing localization
Check modifiers for missing localization
Check national spirits for missing localization
Locks Air Detection for a country, omit detection value to reset
Locks Air Efficiency for a country, omit efficiency value to reset
Logs all instances of unit leader advisors not having the corresponding unit leader traits.
Adds manpower to player
Specify a map icon type to reload
Change mapmode.
Toggle map names
Mass conquer tool.
Toggles collecting metrics
Adds more humans
Adds more humans and assigns them to the highest scoring countries available
Moves a unit to a province
logs naval combat
Toggles night
No need to have a wargoal for declaring war
Toggles map icons.
Toggles the pausebanner for nicer screenshots.
Go to the nudge tool
add nukes
Switches to play no country at all, and no longer shows messages or pauses the game
Toggles occupation painting. If specifying a tag, that country will be occupied.
Out of Synch
Generates an oos dump on demand for local client.
Allows to execute all operations.
Allows to execute all operations.
Test an operation phase.
Enable / Disable the PathFind Cache
Print PathFind Cache Stats
Pauses the game after X hours have passed after command is called
Pauses the game when trigger activates
Disconnect Paradox account from Steam
Login to a POPS Account
Login to a POPS Account
Show whether you are currently logged into POPS or not.
Gives political power to player
Make AI country with specified TAG to prepare fight for another country
Instantly complete preparation of all active raids, optionally to a specific progress level
Prevent a country from detecting and harming foreign operatives
Price Info
Prints countries controlled by human players.
Print intel network related information
Print the intel a country has over another
Runs a scripted effect on selected scope
Print the intel value breakdown generated by radar
profile options
Show province IDs on the map
Toggles the debug info in province tooltip
Puppets the specified tag
Toggle rendering of railroads
create railway gun in supply capital
damage railway guns
reseeds random with specified seed or reseeds random
Toggles the random logs.
Rebuild fronts.
Reload mapmodes.
Released a given country
Reloads all textures, with an optional filter to reload only files that include the given text
Reloads the shader
Reloads the entire interface
Reloads OOBs
Reloads the technology database
Reload and regenerate weather
Remove core
Removes ideas (ministers or national spirits) with <ID> to the country. Use 'all' to remove them all
Researches an technology from research slot or all.
Base cost of every technology is set to 1 RP
Research a technology when clicking on technology tree icon
Resign from the game
increases decreases resistance in a state
Restart the game as the current country
Runs the specified file with list of commands
Makes a savegame (Test_01), loads the savegame, makes a new savegame (Test_02). Those savegames should look the same.
Creates a save file.
select object by id
Sets 'cosmetic tag' for a specified country
Sets country flag on specified TAG for a duration. Defaults to current country and value 1 with infinite duration.
Sets debug unit controller tag, other countries will not update units
Set a flag
Sets the specified global flag to a value. Defaults to 1
Sets mud for the selected province
Sets ruling party for the country
Set a variable
Sets the weather for the selected province (and corresponding region)
Sets province controller
Sets state owner
Show all medals as achieved in the grid without actually earning them.
Show all ribbons as achieved in the grid without actually earning them.
Toggle always showing of enemy ships
Show the popup for earning a medal without actually earning it.
Show the popup for earning a ribbon without actually earning it.
Toggle always showing of player ships
Show XP gain information.
Toggle simplified naval transports
Sleep
Add a friend to friends list
Print debug info about the social layer
Join a chat room using the given social context
Send a message to a chat room.
"Add a scientist with max skill in all specializations"
"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"
"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"
"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"
"Trigger available returns true for all Special Projects. ex: sp_available"
"Create breakthrough points."
"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"
"All started Special Projects finish on the daily tick. It skips the iterations of the Prototyping phase and their reward. ex: sp_instant"
"Trigger a specified prototype reward during a project."
"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"
"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."
"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"
"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"
Spawns a unit in a province
Spawns an actor with an optional animation
Toggles sRGB
Toggle the supply penalties due to bad supply flow
Switch tag to another country
Test setting a country's color
Teleports selected armies or ships to the specified province
This is a placeholder command. Use it for your debug code if you need to quickly test something locally. Or copy and paste it to create a new console command.
Enable / Disable tests
Tests if path between two regions is blocked for surface warships
Sets if save game for failed test should be for current or previous day
Tests an event without triggering it
Tests performance for RTTI
Testing tool.
Rebuilds all theatres in the world. All orders will be cleaned.
Adds or show threat level of player
What time is it?
Prints out debug timing info
Dumps debug timing info
Resets debug timing
Restarts (resets and starts) debug timing
Starts debug timing
Stops debug timing
"Toggle show/hide all hidden techs."
Whether a country's ai daily update should be spread over a day
Enables and disables silhouette portraits.
Will start tracking unit controller weights for current country, should be used together with debug_unit_controller_weights to view the data.
Toggle visibility of trade routes
Runs a scripted trigger on selected scope
triggers an ability
Print docs for triggers, effects and variables
Get the address of the first selected unit, for debugging
lists stats of selected units
Updates the localization tag file
Updates the equipment database
Updates the subunit database
Show current game version
Prints war relations info
Toggle weather simulation
White peace with the specified countries.
Opens or closes the specified window
Gives Army, navy and air experience to player
Tweakable variables have a type which defines how they are used.
Boolean variables are toggled on and off just by entering their name in the console. They can also be force enabled by entering the name of the variable followed by a none zero number, or force disabled by using zero.
Examples:
> Agency.AutoComplete
[ Agency.AutoComplete ] Enabled
> Agency.AutoComplete
[ Agency.AutoComplete ] Disabled
> Agency.AutoComplete
[ Agency.AutoComplete ] Enabled
> Agency.AutoComplete 1
[ Agency.AutoComplete ] Enabled
> Agency.AutoComplete 0
[ Agency.AutoComplete ] Disabled
Integer and Float variables are set to a value by entering the name of the variable followed by the desired value. Only entering the name of the variable will print its current value. Note that they can be clamped within a range by code.
Examples:
> Audio.Debug.LevelsSampleRate
[ Audio.Debug.LevelsSampleRate ] Value 20
> Audio.Debug.LevelsSampleRate 40
[ Audio.Debug.LevelsSampleRate ] Value 40
> Audio.Debug.LevelsSampleRate
[ Audio.Debug.LevelsSampleRate ] Value 40
Type: Boolean
Type: Boolean
Type: Boolean
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Type: Boolean
Not available in release build
Type: Boolean
Type: Boolean
Type: Boolean
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Type: Boolean
Type: Boolean
Type: Boolean
Type: Boolean
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Type: Boolean
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean
Not available in release build
Type: Boolean