| Command Name |
Description |
| 3dstats |
enables or disables (toggles) 3D stats. |
| add_autonomy [country tag] [amount] |
adds or subtracts from a the specified country’s autonomy level. |
| add_core [state id] [country tag] |
adds the specified state as a ‘core’ of the specified country.
|
| add_diplo |
adds diplomatic enroute for your current country. |
| add_equipment [amount] [equipment name] |
can be used to add a specified amount of any equipment other than naval equipment.
|
| add_ideas [idea name] |
adds the idea with the specified ID/name to your current country. |
| add_interest [country tag] |
adds the country with the specified tag to your interest. |
| add_latest_equipment [amount] |
adds the specified amount of equipment to each and every piece of equipment you have unlocked/fully researched.
|
| add_opinion [source country tag] [target country tag] |
adds an opinion from the specified country tag to another country. |
| add_party_popularity [ideology group] [amount] |
adds the specified amount of party popularity to the specified ideology group. Ideology groups are: ‘f’ (fascism), ‘d’ (democratic), ‘n’ (neutrality) and ‘c’ (communism).
|
| ai |
enables or disables (toggles) AI. |
| ai_accept |
enables or disables (toggles) whether or not AI will always accept diplomacy.
|
| ai_invasion |
enables or disables (toggles) the AI for naval invasion. |
| aidump |
dumps AI data from your currently selected unit to a log file (for e.g. debugging purposes).
|
| aircombat [scenario] [result] [province id] [airbase state id] [airbase state id] [equipment] [equipment] [equipment creator] [equipment creator] |
initiates an air combat in the specified location from your desired country, airbase and equipment.
|
| airealism |
enables or disables (toggles) realistic AI for the game. |
| aiview |
enables or disables (toggles) debug info for the AI. |
| allowdiplo |
allows for the use of any diplomatic action (e.g. declaring war) without justification.
|
| allowtraits |
removes restrictions on general trait assignment. Executing will allow you to freely assign general traits to commanders, etc.
|
| analyzetheatres |
Executing will check all threatres in the game for errors. |
| annex [country tag / ‘all’] |
starts an annex with the specified country tag.
|
| bloom |
enables or disables (toggles) bloom. |
| browser [url] |
opens the browser window and loads the specified URL. |
| browser_base_url [url] |
sets the URL of the browser (loads a page). |
| building_health [building type] [state id / province id] [level] [amount] |
can be used to modify the health of an existing building. |
| cameraclamp |
enables or disables (toggles) the camera clamp. |
| cityreload |
reloads cities. |
| civilwar [ideology] [country tag] |
starts a civil war within a country, with the specified ideology. Possible ideologies: ‘fascism’, ‘democratic’, ‘neutrality’ and ‘communism’.
|
| collision |
enables or disables (toggles) the collision debug GUI. |
| combatsound [frequency] |
can be used to modify the frequency of a random sound being emitted from the combat view. The number given should be between 1 and 50.
|
| cp [amount] |
will add command power (max. 100%). |
| createlean |
generates LEAN textures. |
| debug_achievements_clear |
will clear all of your achievements and stats (irreversible). |
| debug_ai_budget [country tag] |
prints AI budget information to the console. |
| debug_air_vs_land |
enables or disables (toggles) debug mode for air vs land combat. |
| debug_assert |
enables or disables (toggles) asserts. |
| debug_borders |
enables or disables (toggles) borders. |
| debug_cities |
enables or disables (toggles) cities painting mode. |
| debug_commands |
prints the current ‘commandcount’ to the message.log file. |
| debug_crash |
is a debug tool, when executed it will debug client crashes. |
| debug_diploactions |
will initiate diplomatic action logging, print data collected from this with the ‘debug_dumpdiploactions’ command.
|
| debug_dumpdiploactions |
will print data collected since the ‘debug_dumpdiploactions’ command was last executed.
|
| debug_dumpevents |
will print data collected since the ‘debug_events’ command was last executed.
|
| debug_entities |
enables or disables (toggles) entities. |
| debug_events |
will initiate event counting, print data collected from this with the ‘debug_dumpevents’ command.
|
| debug_fronts |
enables or disables (toggles) the interpolated fronts debug screen. |
| debug_info |
enables or disables (toggles) the debug info screen. |
| debug_lines |
enables or disables (toggles) debug lines. |
| debug_lockcamera |
enables or disables (toggles) the camera lock. |
| debug_nogui |
enables or disables (toggles) the game GUI. |
| debug_nomouse |
enables or disables (toggles) the scroll wheel’s (mouse) functionality. |
| debug_nuking |
After executing this command, nuking in any province is permitted, regardless of conditions.
|
| debug_off_front_snap |
enables or disables (toggles) the offensive fronts snapping debug screen.
|
| debug_particle |
enables or disables (toggles) particles. |
| debug_postfx |
enables or disables (toggles) PostFX. |
| debug_rivers |
enables or disables (toggles) rivers. |
| debug_show_event_id |
prints the current event ID. |
| debug_sky |
enables or disables (toggles) the sky. |
| debug_smooth |
enables or disables (toggles) frame smoothing. |
| debug_tactics |
enables or disables (toggles) the visibility of the tactics debug tooltip. |
| debug_terrain |
enables or disables (toggles) terrain. |
| debug_texture |
enables or disables (toggles) textures like bloom. |
| debug_textures |
can be used to print texture debug information to the game log (not console.
|
| debug_tooltip |
enables or disables (toggles) tooltips. |
| debug_trees |
enables or disables (toggles) trees. |
| debug_types |
is an advanced debug tool, it only works if running RTTI. This will print the data type for all dynamic reference objects to console.
|
| debug_volume [volume] |
can be used to adjust the volume of the game. |
| debug_water |
enables or disables (toggles) water. |
| debug_wireframe |
enables or disables (toggles) the game’s forced wireframe. |
| debug_zoom |
will cause the game to zoom in. |
| decision.nochecks |
allows for the ignoring of decision requirements. |
| deleteallunits [country tag] |
will delete all units (armies and fleets) of the specified country tag. |
| deltat [speed multiplier] |
will change the speed of animations in the game.
|
| error |
will print errors from the log file. |
| event [event id] [country tag] |
will start the specified event in the specified country. |
| filewatcher |
enables or disables (toggles) the filewatcher. |
| flagsoutput [path] |
will generate and save a texture atlas file to the specified path. |
| focus.autocomplete |
allows for instant completion of national focuses.
|
| focus.ignoreprerequisites |
allows for the ignoring of focus prerequisites. |
| focus.nochecks |
allows for the ignoring of focus requirements. |
| fow [province id] |
will toggle (enable or disable) FOW (fog of war) either in general, or in the province of the specified ID.
|
| fronts |
enables or disables (toggles) the visibility of foreign fronts. |
| fullscreen |
enables or disables (toggles) fullscreen mode. |
| gain_xp [amount] |
can be used to add experience to a Leader/General.
|
| goto_province [province id] |
moves the center of your camera to the specified province. |
| goto_state [state id] |
moves the center of your camera to the specified state. |
| guibounds |
enables or disables (toggles) the bounds debug GUI. |
| hdr |
enables or disables (toggles) high-dynamic-range imaging. |
| hdr_debug |
enables or disables (toggles) high-dynamic-range imaging debugging. |
| help [command] |
enables the help menu from here you will be able to pick up details of certain commands.
|
| helplog |
After executing this command, a list of all commands will be outputted to the game.log file.
|
| hsv |
converts HSV to RGB. |
| human_ai |
enables or disables (toggles) AI for human countries. |
| instant_prepare |
NOTE: In order to use this command, you must add ‘-debug’ to your HOI4 launch options – it will not work otherwise.
|
| instant_wargoal |
allows for the application of any war goal without justification. |
| instantconstruction |
enables or disables (toggles) the instant construction cheat, making all construction happen instantly (no longer queues up).
|
| ip |
prints your IP to the console. |
| manpower [amount] |
adds the specific amount of man power to your country. |
| mapmode [mapmode id] |
changes the map mode to the specified type. Map mode IDs: 1 (Default), 2 (Naval), 3 (Air), 4 (Supply), 5 (State), 6 (Resistance), 7 (Resource), 8 (Diplomacy), 9 (Faction).
|
| mapnames |
enables or disables (toggles) map names. |
| massconquer |
opens the mass conquer tool. |
| morehumans [amount] |
will the specified amount humans to your current country (or remove if a negative number is specified).
|
| moveunit [unit id] [province id] |
moves the specified unit to the specified province. |
| nextsong |
skips to the next soundtrack in the in-game music playlist. |
| night |
enables or disables (toggles) night. |
| nomapicons |
enables or disables (toggles) the visibility of icons in the map. |
| nopausetext |
enables or disables (toggles) the visibility of the pause menu (useful for screenshots).
|
| nu [amount] |
NOTE: This is a Pre-1.5 command. It will not work in later versions. adds the specified amount of naval utility to your naval utility count.
|
| nudge |
opens the nuge tool. |
| nuke [amount] |
adds the specified amount of nukes to your current country. |
| observe |
enters you into ‘observe’ mode, in which you are set to play no country at all – meaning the entire game plays on auto-pilot.
|
| occupationpaint [country tag] |
If no country tag is specified, toggles (enables and disables) occupation painting.
|
| oos |
makes the client go out of sync. |
| particle_editor |
opens the particle editor GUI. |
| pause_in_hours [hours] |
pauses the game after the specified amount of time.
|
| poll |
polls valid events. |
| posteffectvolumes.default [post effect] |
can be used to toggle a specific post effect, relative to the specified name.
|
| pp [amount] |
adds the specified amount of political power to your country. |
| prices |
prints price info to game.log. |
| printsynchstuff |
prints the current seed of your game. |
| profilelog |
will output profiling data/information to ‘time.log’. |
| provtooltipdebug |
enables or disables (toggles) province tooltip debug info.
|
| reload [file name] |
can be used to reload a file without opening and closing your game.
|
| reloadfx [map / .fx file] |
(without any arguments) reloads the game shaders. You can optionally specify either a mapname, postfx or filename (ending in .fx).
|
| reloadinterface |
reloads the game interface. |
| reloadoob [country tag] |
reloads the OOB (order of battle) of the country with the specified tag. |
| reloadsupply |
reloads all supply systems. |
| reloadtechnologies |
reloads all technologies. |
| reloadweather [seed] |
reloads weather. |
| remove_interest [country tag] |
removes the country with the specified tag from your interest. |
| rendertype |
prints the render type (backend) that,, is currently being used for your client.
|
| requestgamestate |
prints the gamestate. |
| research [slot id / ‘all’] |
can be used to research all equipment, or equipment in a specific technology slot.
|
| research_on_icon_click |
will instantly research any technology when its icon is clicked in the technology tree. is also known as the ‘instant research’ cheat.
|
| resign |
This command, as you might have guessed, causes you to resign from your current position.
|
| run [file name] |
runs a list of commands in a specified file. |
| savegame |
forcefully saves the game. |
| set_cosmetic_tag [country tag] [country tag] |
will change the name and flag of the specified country to that of another country.
|
| set_country_flag [country tag] |
sets the flag of the specified country as your current nation’s flag. |
| set_ruling_party [ideology group] |
sets the specified ideology group as the ruling party. Ideology groups are: ‘f’ (fascism), ‘d’ (democratic), ‘n’ (neutrality) and ‘c’ (communism).
|
| setcontroller [country tag] [province id] |
sets the controller of a specified province. |
| setowner [country tag] [state id] |
sets the owner of a specified state. |
| setrandomcount [count] |
This command, if executed without any arguments (just ‘SetRandomCount’), will set the random count to 0.
|
| sleep [duration] |
will pause the game for the specified amount of time (seconds). |
| spawn [unit name/id] [province id] [amount] |
can be used to spawn a specified amount of a unit in a province.
|
| spawnactor [name] [province id] [animation] |
spawns an actor. If an animation specified as an argument (optional), the character will spawn with that animation.
|
| srgb |
enables or disables (toggles) color debugging. |
| st [amount] |
will add stability (max. 100%). You can remove stability by specifying a negative number.
|
| tag [country tag] |
switches your country to the specified country. ‘tag ENG’ would make you play as Great Britain, for example.
|
| tag_color [rgb] |
can be used to set the tag color of your current country. |
| tdebug |
enables or disables (toggles) debug mode. In debug mode, IDs for things like states, equipment, provinces, etc are shown when you hover over them which are very useful as they are used in console commands.
|
| teleport [province id] |
can be used to either activate the teleportation tool (if no arguments provided), or instantly teleport any selected ships or armies to the province with the specified ID.
|
| testevent [event id] [character id] |
tests the specified ID without triggering it. |
| testtool |
opens the testing tool. |
| theatersrebuild |
rebuilds all existing theatres. |
| time |
prints the current time. |
| traderoutes |
enables or disables (toggles) the visibility of trade routes. |
| trigger_docs |
This command |
| tweakergui |
opens a tweaker GUI. |
| update_loc [localisation key] |
reloads the specified localisation key. |
| updateequipments |
forcefully reloads equipment-related files (/Hearts of Iron IV/common/units/equipment/).
|
| updatesubunits |
forcefully reloads unit-related files (/Hearts of Iron IV/common/units/). |
| version |
prints the current version of the game to the console. |
| weather |
enables or disables (toggles) weather – if this feature is off, weather will be disabled.
|
| whitepeace [country tag] [country tag] |
instantly makes ‘white peace’ (things return to the way exactly they were before a war started) between the specified countries (specified by their country tag).
|
| window [open / close] [gui name] |
opens (‘open’) or closes (‘close’) the GUI with the specified name. |
| winwars |
will give your country the maximum war score for all wars it is currently engaged in.
|
| ws [amount] |
will add war support (max. 100%). Specify a negative number to remove war support.
|
| xp [amount] |
adds the specified amount of experience (to all experiences: army XP, naval XP and air XP).
|
| yesman |
causes country AI to automatically accept any diplomatic offers, regardless of the case.
|