Hearts of Iron 4 Console Commands and Cheat Codes

Hearts of Iron 4, is an amazing strategy game developed by Paradox Interactive set during World War II scenerio. In this complex and immersive simulation, you will take on the role of a nation’s leader, making strategic decisions, managing resources, and commanding armies. If you’re aiming towards a particular long-term goal in the game, you will often need everything to go exactly according to plan, including the game items and resources or your entire run will be ruined. And this can be done with the help of Hearts of Iron 4 Console Commands and Cheat Codes.

While the game offers a deep and challenging experience, some players may seek ways to enhance their gameplay or experiment with different scenarios. This is where Hearts of Iron 4 console commands and cheat codes come into play. Console commands and cheat codes are like secret tricks that you can use to change the game in different ways. It’s a bit like having a magic wand in a game. You can use these tricks to make the game easier, more exciting, or just to have a good time.

Hearts of Iron 4 Console Commands and Cheat Codes

What are Hearts of Iron 4 Console Commands and Cheat Codes

Console commands is not a new concept in modern PC gaming. This feature allows you to tweak the in-game scenario by giving you powerful tools. With this, you can take control of your gaming experience that goes beyond the standard gameplay.

Hearts of Iron 4 Console Commands and Cheat Codes are text-based inputs that, when entered into the game’s console, trigger specific actions or effects. These commands can affect various aspects of the game, including resources, research, diplomacy, and even the course of the war.

Hearts of Iron 4 Cheat codes, on the other hand, are typically simpler to use and often provide immediate benefits. They are easy-to-remember phrases or words that, when entered into the game, trigger specific effects.

List of Hearts of Iron 4 Console Commands and Cheat Codes

We have tried to include all the console commands that were presently active and will try to include more once they are released in the gaming community. You can simply go through the list or use the search function to find the specific command for your desired game action.

It’s important to note that while Hearts of Iron 4 console commands and cheat codes can enhance your gaming experience, they also might take the fun element out of the game by making it easy or less challenging. Therefore, it’s crucial for players to strike a balance between using these tools for fun and maintaining the integrity of the gameplay.

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.
enables or disables (toggles) whether or not AI will always accept diplomacy.
ai_invasion enables or disables (toggles) the AI for naval invasion.
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.
allows for the use of any diplomatic action (e.g. declaring war) without justification.
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.
will initiate diplomatic action logging, print data collected from this with the ‘debug_dumpdiploactions’ command.
will print data collected since the ‘debug_dumpdiploactions’ command was last executed.
will print data collected since the ‘debug_events’ command was last executed.
debug_entities enables or disables (toggles) entities.
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.
After executing this command, nuking in any province is permitted, regardless of conditions.
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.
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.
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.
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.
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.
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.
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.
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.
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’.
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.
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.
will instantly research any technology when its icon is clicked in the technology tree. is also known as the ‘instant research’ cheat.
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.
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.
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.
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.
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).
causes country AI to automatically accept any diplomatic offers, regardless of the case.

Is It Safe To Use Hearts of Iron 4 Console Commands and Cheat Codes

Whether you’re a seasoned player looking for new challenges or a newcomer eager to experiment, console commands and cheat codes can definitely add an exciting dimension to your Hearts of Iron 4 experience. However, it’s important to understand the disadvantages of such codes as well.

Many users suspect that using these console commands and cheat codes will get them banned from the game which is absolutely not true. The only disadvantage of using the cheat codes is that you will lose the functionality to save the game. So if you are using special powers and resources with the help of these cheat codes and console commands, then you will not be able to save the progress.


This brings us to the end of this guide for Hearts of Iron 4 Console Commands and Cheat Codes. The game is vibrant and gives you a wonderful experience with existing game missions and challenges. But if you want to take the predefined game plan through its limits, you may need some help from console commands and cheat codes.

These codes may change over time and may include more power and features with a range of options, from influencing the game’s mechanics to altering historical events. So be sure to bookmark us and visit daily.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.