Hearts of Iron 4 is the fourth installment of the Hearts of Iron World War II strategy games developed by Paradox Interactive. The game allows you to take control of any nation in the war and lead it to victory, but some of the strategy elements of the game may be overwhelming to new players to the genre or casual gamers. This is why, in this guide we outline the best HOI4 Cheats and console commands for PC to give you that extra edge in-game.
It would be irresponsible to use the listed cheats and commands in online multiplayer due to the strict anti-cheat algorithms employed by many games and also since this would be frustrating to fellow players online and would result to your gamer account being reported, penalized or banned. It is also good judgment to back up a ‘clean’ save file prior to using any cheats for HOI4.
HOI4 Console Commands List. We recommend using the console command “tdebug” to enable the tooltip debug mode that shows information such as province and state IDs when you hover over them on the map which can be extremely helpful.
READ ALSO: CIV 5 Console Commands and Ingame Editor
The console can be launched by pressing the tilde (~) key usually located under the Esc key. However, the key varies based on keyboard layout and regions and may require you to try: Shift+2, §, `, “, ^, Alt+2+1, or Shift+3 to launch the console depending on your keyboard variant.
You can use the up and down keys to traverse previously executed commands and while most commands can be revoked by repeating the command, sometimes it is necessary to reload a save or quitting the game.
We recommend using the console command “tdebug” to enable the tooltip debug mode that shows information such as province and state IDs when you hover over them on the map which can be extremely helpful.
Syntax | Description |
gain_xp [amount] | The specified amount of experience is added to the Leader/General you currently have selected. |
cp [amount] | Add command power (max. 100%). |
st [amount] | Add stability (max. 100%). Remove stability by specifying a negative number. |
ws [amount] | Add war support (max. 100%). A negative number removes war support. |
allowtraits | Allows you to freely assign general traits to commanders |
add_latest_equipment [amount] | Adds the specified amount of equipment to each and every piece of equipment you have unlocked. |
whitepeace [country tag] [country tag] | Things return to the way exactly they were before a war started between specified countries (specified by their country tags). |
teleport [province id] | Used to either activate the teleportation tool if no arguments are provided or instantly teleport any selected ships or armies to the province with the specified ID. |
allowdiplo | Allows for the use of any diplomatic action (e.g. declaring war) without justification. |
debug_nuking | After executing, nuking in any province is permitted, regardless of conditions. |
instantconstruction | Toggles the instant construction cheat, making all construction happen instantly. |
event [event id] [country tag] | Starts the specified event in the specified country. |
research [slot id / ‘all’] | Research all equipment in a specific technology slot. |
research_on_icon_click | Instantly research any technology when its icon is clicked in the technology tree. is also known as the ‘instant research’ cheat. |
annex [country tag / ‘all’] | Annexes another country’s territory |
winwars | Will give your country the maximum war score for all wars it is currently engaged in. |
manpower [amount] | Adds the specific amount of man power to your country. |
tag [country tag] | Switches your country to the specified country. ‘tag ENG’ would make you play as Great Britain, for example. |
observe | Enters you into ‘observe’ mode, meaning the entire game plays on auto-pilot. |
occupationpaint [country tag] | If no country tag is specified, toggles (enables and disables) occupation painting. If the country tag argument is provided, your country will occupy all land that the specified country owns (but not land that they only occupy). |
setowner [country tag] [state id] | Sets the owner of a specified state. |
setcontroller [country tag] [province id] | Sets the controller of a specified province. |
xp [amount] | Adds the specified amount of experience (to all experiences: army XP, naval XP and air XP). |
pp [amount] | Adds the specified amount of political power to your country. |
civilwar [ideology] [country tag] | Starts a civil war within a country, with the specified ideology. Possible ideologies: ‘fascism’, ‘democratic’, ‘neutrality’ and ‘communism’. |
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). |
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). |
help [command] | If executed with no arguments (just ‘help’), will print a list of commands. If executed with a command as an argument, it will print help for the specified command. |
focus.nochecks | Ignores focus requirements. |
focus.ignoreprerequisites | Ignores focus prerequisites. |
decision.nochecks | Ignores decision requirements. |
nuke [amount] | Adds the specified amount of nukes to your current country. |
yesman | Causes country AI to automatically accept any diplomatic offers, regardless of the case. |
deleteallunits [country tag] | Delete all armies and fleets of the specified country tag. |
theatersrebuild | Rebuilds all existing theatres. |
reloadsupply | Reloads all supply systems.. |
deltat [speed multiplier] | Changes the speed of animations in the game. |
morehumans [amount] | Adds the specified number of people to your current country |
add_autonomy [country tag] [amount] | Adds or subtracts from a the specified country’s autonomy level. |
resign | Causes you to resign from your current position. |
add_interest [country tag] | Adds the country with the specified tag to your interest. |
remove_interest [country tag] | Removes the country with the specified tag from your interest. |
add_diplo | Adds diplomatic enroute for your current country. |
ai | Toggles AI. |
human_ai | Toggles AI for human countries. |
ai_invasion | Toggles the AI for naval invasion. |
ai_accept | Toggles whether or not AI will always accept diplomacy. |
fow [province id] | Toggle fog of war either in general, or in the province of the specified ID. |
savegame | Forcefully saves the game. |
mapmode [mapmode id] | Map mode IDs: 1 (Default), 2 (Naval), 3 (Air), 4 (Supply), 5 (State), 6 (Resistance), 7 (Resource), 8 (Diplomacy), 9 (Faction). |
cityreload | Reloads cities. |
reloadweather [seed] | Reloads weather. |
weather | Toggles weather |
run [file name] | Runs a list of commands in a specified file. |
tag_color [rgb] | Sets the tag color of your current country. |
airealism | Toggles realistic AI for the game. |
instant_wargoal | Allows for the application of any war goal without justification. |
set_country_flag [country tag] | Sets the flag of the specified country as your current nation’s flag. |
set_cosmetic_tag [country tag] [country tag] | Changes the name and flag of the specified country to that of another country. |
Hopefully this list of Hearts of Iron 4 Cheats and Console Commands transforms your strategy game and allows you to take control of your war-game experience.
Hearts of Iron IV is the fourth one in the series that offers you a war strategy game and of course one of the most famous video games. The storyline takes the war running among the countries and in old eras like 1936, 1948, and so. As being a war game it needs that you make strategies and take down your enemy with theta. So it is a lot of fun and encourages you to step forward every time you win.
Gameplay is like a real-time war simulation where players choose the categories from Democracy, Fascism or Communism and get on war happenings. Here the player takes care of their troops, command them, make research about the country, does construction, and much more.
Today’s article includes Hearts of Iron 4 console commands that will take you to some fascinating commands. Using these Hoi4 cheats and commands you can make the game world a lot more appealing and enjoyable.
Note: Names in Bold below are commands and on right side are their effects.
add_equipment(ae) [(equipment amount)] [(equipment name)] – use it to add a specific equipment in the quantity you want.
add_latest_equipment(ale) [(equipment amount)] – this one is about giving you the latest variety of equipment and in the desired quantity.
whitepeace(wp) [(country tags)] – you can set the white peace with the countries you enter into the console.
teleport(tp) – want to teleport something? Then this command is very useful in transporting items.
allowdiplo(adiplo,nocb) – if ever you fell like not following the rules and serve the diplomacy then this one is perfect. You can set war without giving a damn.
Debug_nuking – now you can set the nuclear weapon in any province you want without paying attention to anything.
instantconstruction(ic) –do not worry about any construction as this command does your work and perform instant constructions.
event [event id] [(Target Country Tag)] – using it you can launch any event with the country of your choice.
research [(slot id) or “all”] – ever feel like researching about technology takes time? Use this one and get rid of it by knowing the technology.
Research_on_icon_click – go to the technology tree icon and make a research of any item.
annex [(Target Country Tag)] – begin a war to get additional territories with any country by just entering it into the console.
Winwars – using this cheat you can get maximum scores in any war you encounter.
manpower [(Amount)] – if you ever want to add some manpower then take this command and enter the amount you want it in.
add_opinion [(Country tag)] – just tag the country and ready to add an opinion.
observe(spectator) – this one can be used to make a pause to the game where no country plays and you do not get any messages. But this can hurt the AI aspect of the game.
spawn [(SubUnit Type)] [(Province ID)] [(Amount)] – this one brings a unit in the province where you just need to type the unit type, the province to get it and the amount in which you want the unit.
occupation paint(op) – this one is hilarious that gives you the control of any country’s land.
xp [XP amount] – wanna have some experience in army, navy, and air? Use this command that works once a day.
pp(fuhrer_mana,political_power) [PP amount] – if your political power is going low then try this command and set it high again.
help [command name] – get some help when you get all the console commands using this cheat.This is going to be really helpful among all these console commands for Hearts of Iron 4.
Focus.AutoComplete – get all the national focuses off from you but be ready to see circumstance with AI.
Focus.NoChecks – similar one to the previous command that affects AI but takes away all the focus requirements.
Instant_prepare – this command lets you have some fun with naval invasions in just no time.
nu [number] – want any number of National Unity? Use this command and get it.
nuke [number] – help you by adding the required number of nuclear weapons.
Yesman – do not worry much about those AIs when you put this command. They will accept any diplomatic offer. Of course, it makes your journey easier and that’s why it’s among these Hearts of Iron 4 cheats and commands.
Rendertype – if you want to have a report or info on render backend then go for this one.
add_ideas [(idea name)] – just get this command, put your idea and get it with the country.
reload [file name] – if you already know the filename you want to reload assets of the use this command.
reloadloc – just like the above one, this one brings back the localization files.
reloadfocus – a very simple command that brings back the focuses.
reloadland combat.guide – this one is useful when you want to reload the land combat interface.
Time – just get this code and get to know what time is it exactly.
reloadfx [Arguments: map/map name/postfix or *.fx filename] – this big guy is used to reload the shader.
test tool(test) – get the testing tool.
analyze theatres(anth) – check if any theatre draws any error.
massconquer(massc) – it works as a mass conquer tool.
delete units(dellal) – want to have some more fun? Try this command and it will delete all the units of mentioned countries.
theaters rebuild(rebuild) – use just one command and it will build all the theatres in the world.
Trade Routes – using it you can choose between turn on or off the visibility of trade routes.
Debug_tactics – in the same way, this one turn on and off the visibility of debug tooltip.
allowdiplo(adiplo,nocb) – this one allows you to use diplomacy that means the diplomatic actions beyond nay rules.
reload supply(alsup) – get the supply systems initiated again.
deltat [(speed factor)] – the command control the animation speeds
building_health(health) [(building type)] [(state or prov id)] [(building level)] [(health to add)] – fill all these fields and gain a health level in all the specified areas.
instantconstruction(ic) – this allows you an instant construction of things. A great cheat indeed.
MenopauseText – get quality screenshots by using the command.
NextSong – if you are more like a soundtrack lover than initiate the command and enjoy a different music.
morehumans(humans) [num] – want to see more humans> use this command.
window(wnd) [Arguments: open/close] [window gui name] – type the name of the window you want to open or close.
ReloadInterface – just clear out everything by reloading the interface.
ReloadTechnologies – regain the database of technology by putting this command on.
UpdateEquipments – just like the technology, get the database of equipment using this one.
Update Subunits – for subunit database, use this command.
Pause_in_hours – definer the hours and your game will be paused after that amount of time.
add_autonomy [(Target Country Tag)] [num] – define the fields and make modifications to a country’s autonomy level.
Resign – simple if you want to resign or get out from the game.
add_interest[(Country tag)] – add any country tag and define your interest.
remove_interest[(Country tag)] – just like you add it you can remove your interest using this command.
Get Random Count – pressing 0 and 1 you can set the random count.
Ai – make your wish if you want to turn on or off the AI.
fow(debug_fow) [(Province ID) OPTIONAL] – enter the name of the province you can turn off the war fog there.
Save Game – if you don’t want to lose the game data then simply follow the command.
IP – instantly brings your IP on the screen.
Requestgamestate – you can view the gamestate.
Nudge – access the nudge tool.
mapmode[Mapmode type (int)] – works for changing mapmode.
Fullscreen– go to the fullscreen game.
add_core[(State ID)] – get the state ID and add core.
remove_core [(State ID)] – similarly, remove core.
Cityreload – makes the cities to reload.
Error – get the errors in the log.
versionShow – the command gets you the current version of the game.
spawnactor [(Actor Name)] [(Province ID)] [(Animation) OPTIONAL]– enter the name of the actor with the province id and animation and get it spawn.
Camera Clamp – switch on or off the camera clamping.
reload weather [(randomseed)] – the command is a weather regenerator or it reloads it too.
Weather – get weather simulation on or off.
debug_air_vs_land(dbg_cas) – switch on or off the debug mode to have battles in air vs land mode.
gb paint [layer] [channel] – get the border painting on or off.
debug_crash(crash) – just crash simply.
sleep(wait) [time in sec] – get in the sleep mode for the specific time.
goto_province [province id] – instantly jump to any province.
Hdr – you can toggle for hdr.
Hdr_debug – for hdr debugging
Help Log – use the command and print all the console commands to log file.
Instant_prepare – go instant with the naval invasions using this command.
pp [number] – if you want to set the Political Power ten do it by specifying the amount required.
Debug_zoom – get your game in the zooms.
debug_show_event_ID – if you are confused about any event ID then use it.
debug_events– make your machine to count the events.
Debug_dumpevents – get your game data dumped to game log.
Debug_diploactions – just like the events, it counts the diplomatic actions.
Debug_dumpdiploactions – and it takes the diplomatic action data to game log.
Debug_smooth – enable or disable frame smoothing.
Debug_nomouse – make mouse scrolling on and off.
Debug_terrain – make the terrain on and off.
Debug_cities – get the cities painting in on and off mode.
Debug_water– water gets on and off.
Press Shift+2, §, ~, `, “, ^ or ALT+2+1, or Shift+3 to access the console.
Conclusion
Finishing this list of cheats & console commands hoi4. I just want to say that try these and have fun. Cheats and commands are a new way to take your gaming experience to the next level.