Are you looking for a strategy game to enjoy in your free time? But knowing the gaming world as it stands today, finding the perfect game for you can be a hectic task, However, Hearts of Iron 4 is a game that most people can find suitable for their taste. Let’s talk a bit about what HOI4 is.
Hearts of Iron 4 is a 4X grand strategy video game developed by Paradox Interactive. HOI4 is a game-based and revolves around World War II. This game is on every platform For Windows, OS X, and Linux. The game was released on June 6, 2016.
But the biggest flaw in most strategic games is that you are bound to play in a set environment. However, with HOI4, that is not the case. In fact, this game has plenty of situations where you can use cheat codes. Talking about HOI4 cheat codes, in this article we will discuss in detail about how you can use those cheat codes and what those cheat codes are.
For any cheat code to actually work, you would need to access the HOI4 console commands. That command box will aid you in entering the cheat codes and ultimately improve your gaming experience.
But what are some of the best HOI4 cheat codes? Well, if you are looking for an answer to that question, then you are at the right place. Here is the list of all HOI4 console commands and cheat codes for the game on Windows, Linux, and Mac. You can use HOI4 cheat codes to make your gameplay more thrilling and interesting. Here is the search bar where you can type the name of the command and get the syntax for that command.
Keeping that in mind, let’s begin our guide on HOI4 cheat codes and how you can access them in this brilliant strategic game.
If you don’t know how to use the cheats codes you can check this article: A Friendly Guide To Open Hearts Of Iron IV Console
Here is the List of Cheat Codes:
Command Name | Syntax | Description |
---|---|---|
gain_xp | gain_xp [amount] | Add experience to a Leader/General. The specified amount of experience is added to the Leader/General you currently have selected. |
cp | cp [amount] | Add command power (max. 100%). |
st | st [amount] | Add stability (max. 100%). You can remove stability by specifying a negative number. |
ws | ws [amount] | Add war support (max. 100%). Specify a negative number to remove war support. |
allowtraits | allowtraits | Removes restrictions on general trait assignment. Executing this command will allow you to freely assign general traits to commanders, etc. |
add_equipment | add_equipment [amount] [equipment name] | Add a specified amount of any equipment other than naval equipment. You can remove equipment by specifying a negative amount. |
add_latest_equipment | add_latest_equipment [amount] | Adds the specified amount of equipment to each and every piece of equipment you have unlocked/fully researched. |
whitepeace | whitepeace [country tag] [country tag] | This command 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). |
teleport | teleport [province id] | This command 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. |
allowdiplo | allowdiplo | This allows for the use of any diplomatic action (e.g. declaring war) without justification. |
debug_nuking | debug_nuking | Nuking in any province is permitted, regardless of conditions. |
instantconstruction | instantconstruction | Enables or disables (toggles) the instant construction cheat, making all construction happen instantly (no longer queues up). |
event | event [event id] [country tag] | Start the specified event in the specified country. |
research | research [slot id / 'all'] | This used to research all equipment, or equipment in a specific technology slot. |
research_on_icon_click | research_on_icon_click | This command will instantly research any technology when its icon is clicked in the technology tree. This command is also known as the 'instant research' cheat. |
annex | annex [country tag / 'all'] | Starts an annex with the specified country tag (an annex claims their territory for your country). |
winwars | winwars | Give your country the maximum war score for all wars it is currently engaged in. |
manpower | manpower [amount] | Adds the specific amount of man power to your country. |
add_opinion | add_opinion [source country tag] [target country tag] | Adds an opinion from the specified country tag to another country. |
tag | tag [country tag] | Switches your country to the specified country. |
observe | observe | This command enters you into 'observe' mode, in which you can change the basic settings |
tdebug | tdebug | This command 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. |
spawn | spawn [unit name/id] [province id] [amount] | NOTE: In order to use this command, you must add '-debug' to your HOI4 launch options - it will not work otherwise. This command can be used to spawn a specified amount of a unit in a province. |
occupationpaint | occupationpaint [country tag] | If no country tag is specified, this command toggles (enables and disables) occupation painting. |
setowner | setowner [country tag] [state id] | Sets the owner of a specified state. |
setcontroller | setcontroller [country tag] [province id] | Sets the controller of a specified province. |
xp | xp [amount] | Adds the specified amount of experience (to all experiences: army XP, naval XP and air XP). |
pp | pp [amount] | Adds the specified amount of political power to your country. |
civilwar | civilwar [ideology] [country tag] | This command starts a civil war within a country, with the specified ideology. Possible ideologies: 'fascism', 'democratic', 'neutrality' and 'communism'. |
add_party_popularity | add_party_popularity [ideology group] [amount] | Adds the specified amount of party popularity to the specified ideology group. |
set_ruling_party | set_ruling_party [ideology group] | This command sets the specified ideology group as the ruling party. Ideology groups are: 'f' (fascism), 'd' (democratic), 'n' (neutrality) and 'c' (communism). |
help | help [command] | If executed with no arguments (just 'help'), this command will print a list of commands. |
Focus.AutoComplete | focus.autocomplete | Allows for instant completion of national focuses. Note that this command will affect the game's AI. |
Focus.NoChecks | focus.nochecks | Allows for the ignoring of focus requirements. |
Focus.IgnorePrerequisites | focus.ignoreprerequisites | Allows for the ignoring of focus prerequisites. |
Decision.NoChecks | decision.nochecks | Allows for the ignoring of decision requirements. |
instant_prepare | instant_prepare | To use this command, you must add '-debug' to your HOI4 launch options - it will not work otherwise. Executing this command will cause naval invasions to skip preparation time. |
nu | nu [amount] | NOTE: This is a Pre-1.5 command. It will not work in later versions. This command adds the specified amount of naval utility to your naval utility count. |
nuke | nuke [amount] | Adds the specified amount of nukes to your current country. |
yesman | yesman | This causes country AI to automatically accept any diplomatic offers, regardless of the case. |
rendertype | rendertype | Prints the render type (backend) that is currently being used for your client. |
tweakergui | tweakergui | Opens a tweaker GUI. |
add_ideas | add_ideas [idea name] | Adds the idea with the specified ID/name to your current country. |
reload | reload [file name] | Used to reload a file without opening and closing your game. Useful if you modify a file to change a setting and don't want to completely restart your game. Common files: 'loc' (localisation files), 'focus' (focuses) and 'landcombat.gui' (land combat interface). |
time | time | Prints the current time. |
reloadfx | reloadfx [map / .fx file] | This command reloads the game shaders. |
particle_editor | particle_editor | Opens the particle editor GUI. |
testtool | testtool | Opens the testing tool. |
analyzetheatres | analyzetheatres | This will check all threatres in the game for errors. |
massconquer | massconquer | Opens the mass conquer tool. |
deleteallunits | deleteallunits [country tag] | This will delete all units (armies and fleets) of the specified country tag. |
aircombat | 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. |
theatersrebuild | theatersrebuild | Rebuilds all existing theatres. |
fronts | fronts | Enables or disables (toggles) the visibility of foreign fronts. |
aidump | aidump | Dumps AI data from your currently selected unit to a log file (for e.g. debugging purposes). |
traderoutes | traderoutes | Enables or disables (toggles) the visibility of trade routes. |
debug_tactics | debug_tactics | Enables or disables (toggles) the visibility of the tactics debug tooltip. |
reloadsupply | reloadsupply | Reloads all supply systems.. |
deltat | deltat [speed multiplier] | This will change the speed of animations in the game. |
building_health | building_health [building type] [state id / province id] [level] [amount] | This can be used to modify the health of an existing building. |
nomapicons | nomapicons | Enables or disables (toggles) the visibility of icons in the map. |
nopausetext | nopausetext | Enables or disables (toggles) the visibility of the pause menu (useful for screenshots). |
nextsong | nextsong | This skips to the next soundtrack in the in-game music playlist. |
combatsound | combatsound [frequency] | This 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. |
morehumans | morehumans [amount] | Specified amount humans to your current country. |
window | window [open / close] [gui name] | Opens ('open') or closes ('close') the GUI with the specified name. |
reloadinterface | reloadinterface | Reloads the game interface. |
reloadtechnologies | reloadtechnologies | Reloads all technologies. |
updateequipments | updateequipments | Reloads equipment-related files. |
updatesubunits | updatesubunits | Reloads unit-related files. |
reloadoob | reloadoob [country tag] | Reloads the OOB (order of battle) of the country with the specified tag. |
update_loc | update_loc [localisation key] | Reloads the specified localisation key. |
poll | poll | Polls valid events. |
pause_in_hours | pause_in_hours [hours] | Pauses the game after the specified amount of time. |
add_autonomy | add_autonomy [country tag] [amount] | Adds or subtracts from a the specified country's autonomy level. |
testevent | testevent [event id] [character id] | Tests the specified ID without triggering it. |
resign | resign | You can resign from your current position. |
add_interest | add_interest [country tag] | Adds the country with the specified tag to your interest. |
remove_interest | remove_interest [country tag] | Removes the country with the specified tag from your interest. |
add_diplo | add_diplo | Adds diplomatic enroute for your current country. |
PrintSynchStuff | printsynchstuff | Prints the current seed of your game. |
SetRandomCount | setrandomcount [count] | This command, if executed without any arguments (just 'SetRandomCount'), will set the random count to 0. If a number is provided as an argument, the random count will be set to this. |
ai | ai | Enables or disables (toggles) AI. |
human_ai | human_ai | Enables or disables (toggles) AI for human countries. |
ai_invasion | ai_invasion | Enables or disables (toggles) the AI for naval invasion. |
ai_accept | ai_accept | Enables or disables (toggles) whether or not AI will always accept diplomacy. |
fow | fow [province id] | This command will toggle (enable or disable) FOW (fog of war) either in general, or in the province of the specified ID. To clarify, if this command is executed without any arguments ('fow'), it will turn off fog of war completely. |
collision | collision | Enables or disables (toggles) the collision debug GUI. |
savegame | savegame | Forcefully saves the game. |
savecheck | savecheck | This used to check that saving is functioning correctly. It will make a save file named 'Test_01', load it, and then save that again as 'Test_02'. |
IP | ip | Prints your IP to the console. |
requestgamestate | requestgamestate | Prints the gamestate. |
nudge | nudge | Opens the nuge tool. |
mapmode | 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). |
fullscreen | fullscreen | Enables or disables (toggles) fullscreen mode. |
prices | prices | Prints price info to game.log. |
add_core | add_core [state id] [country tag] | Adds the specified state as a 'core' of the specified country. A 'core' is a state that's considered to be a rightful part of a country. |
remove_core | remove_core [state id] [country tag] | Removes the specified state as a 'core' of the specified country. A 'core' is a state that's considered to be a rightful part of a country. |
debug_zoom | debug_zoom | Command will cause the game to zoom in. |
debug_types | debug_types | Command is an advanced debug tool, it only works if running RTTI. |
debug_show_event_ID | debug_show_event_id | Command prints the current event ID. |
debug_commands | debug_commands | Command prints the current 'commandcount' to the message.log file. |
debug_events | debug_events | Command will initiate event counting, print data collected from this with the 'debug_dumpevents' command. |
debug_dumpevents | debug_dumpevents | Command will print data collected since the 'debug_events' command was last executed. |
debug_diploactions | debug_diploactions | This will initiate diplomatic action logging, print data collected from this with the 'debug_dumpdiploactions' command. |
debug_dumpdiploactions | debug_dumpdiploactions | Print data collected since the 'debug_dumpdiploactions' command was last executed. |
debug_assert | debug_assert | Enables or disables (toggles) asserts. |
debug_smooth | debug_smooth | Enables or disables (toggles) frame smoothing. |
debug_nomouse | debug_nomouse | Enables or disables (toggles) the scroll wheel's (mouse) functionality. |
debug_terrain | debug_terrain | Enables or disables (toggles) terrain. |
debug_cities | debug_cities | Enables or disables (toggles) cities painting mode. |
debug_water | debug_water | Enables or disables (toggles) water. |
debug_fronts | debug_fronts | Enables or disables (toggles) the interpolated fronts debug screen. |
debug_off_front_snap | debug_off_front_snap | Enables or disables (toggles) the offensive fronts snapping debug screen. |
debug_borders | debug_borders | Enables or disables (toggles) borders. |
debug_trees | debug_trees | Enables or disables (toggles) trees. |
debug_rivers | debug_rivers | Enables or disables (toggles) rivers. |
debug_postfx | debug_postfx | Enables or disables (toggles) PostFX. |
debug_sky | debug_sky | Enables or disables (toggles) the sky. |
debug_tooltip | debug_tooltip | Enables or disables (toggles) tooltips. |
flagsoutput | flagsoutput [path] | This will generate and save a texture atlas file to the specified path. |
cityreload | cityreload | Reloads cities. |
error | error | Print errors from the log file. |
version | version | Prints the current version of the game to the console. |
debug_nogui | debug_nogui | Enables or disables (toggles) the game GUI. |
debug_volume | debug_volume [volume] | Adjust the volume of the game. |
debug_lockcamera | debug_lockcamera | Enables or disables (toggles) the camera lock. |
debug_lines | debug_lines | Enables or disables (toggles) debug lines. |
debug_entities | debug_entities | Enables or disables (toggles) entities. |
debug_info | debug_info | Enables or disables (toggles) the debug info screen. |
debug_particle | debug_particle | Enables or disables (toggles) particles. |
debug_ai_budget | debug_ai_budget [country tag] | Prints AI budget information to the console. |
debug_textures | debug_textures | Print texture debug information to the game log (not console. |
debug_texture | debug_texture | Enables or disables (toggles) textures like bloom. |
debug_wireframe | debug_wireframe | Enables or disables (toggles) the game's forced wireframe. |
debug_achievements_clear | debug_achievements_clear | Clear all of your achievements and stats (irreversible). |
moveunit | moveunit [unit id] [province id] | Moves the specified unit to the specified province. |
spawnactor | spawnactor [name] [province id] [animation] | This command spawns an actor. If an animation specified as an argument (optional), the character will spawn with that animation. |
guibounds | guibounds | Enables or disables (toggles) the bounds debug GUI. |
cameraclamp | cameraclamp | Enables or disables (toggles) the camera clamp. |
provtooltipdebug | provtooltipdebug | Enables or disables (toggles) province tooltip debug info. |
reloadweather | reloadweather [seed] | Reloads weather. |
weather | weather | Enables or disables (toggles) weather - if this feature is off, weather will be disabled. |
debug_air_vs_land | debug_air_vs_land | Enables or disables (toggles) debug mode for air vs land combat. |
mapnames | mapnames | Enables or disables (toggles) map names. |
profilelog | profilelog | Output profiling data/information to 'time.log'. |
run | run [file name] | Runs a list of commands in a specified file. |
oos | oos | Makes the client go out of sync. |
debug_crash | debug_crash | This command is a debug tool, when executed it will debug client crashes. |
sleep | sleep [duration] | Pause the game for the specified amount of time (seconds). |
goto_province | goto_province [province id] | Moves the center of your camera to the specified province. |
goto_state | goto_state [state id] | Moves the center of your camera to the specified state. |
trigger_docs | trigger_docs | Trigger |
3dstats | 3dstats | Enables or disables (toggles) 3D stats. |
hdr | hdr | Enables or disables (toggles) high-dynamic-range imaging. |
hdr_debug | hdr_debug | Enables or disables (toggles) high-dynamic-range imaging debugging. |
srgb | srgb | Enables or disables (toggles) color debugging. |
bloom | bloom | Enables or disables (toggles) bloom. |
PostEffectVolumes.Default | posteffectvolumes.default [post effect] | This used to toggle a specific post effect, relative to the specified name. |
night | night | Enables or disables (toggles) night. |
filewatcher | filewatcher | Enables or disables (toggles) the filewatcher. |
createlean | createlean | Generates LEAN textures. |
helplog | helplog | Outputted to the game.log file. |
hsv | hsv | Converts HSV to RGB. |
tag_color | tag_color [rgb] | Set the tag color of your current country. |
browser | browser [url] | Opens the browser window and loads the specified URL. |
browser_base_url | browser_base_url [url] | Sets the URL of the browser (loads a page). |
aiview | aiview | Enables or disables (toggles) debug info for the AI. |
airealism | airealism | Enables or disables (toggles) realistic AI for the game. |
instant_wargoal | instant_wargoal | Allows for the application of any war goal without justification. |
set_country_flag | set_country_flag [country tag] | Sets the flag of the specified country as your current nation's flag. |
set_cosmetic_tag | set_cosmetic_tag [country tag] [country tag] | Change the name and flag of the specified country to that of another country. |
Let us know your favorite cheat code in the comment section.