Home > Blog Posts > Games > Hearts of Iron IV (HoI4) Console Commands And Cheats
Games

Hearts of Iron IV (HoI4) Console Commands And Cheats

Hearts-of-Iron-IV-cheats-and-console-commands

Hearts of Iron IV is one of the Video game that is basically based on the strategy of World War II. The developer of this unique game is Paradox Interactive. Usually, most of the people who play MOBA and FPS games, become attracted by this strategy-based game.

This interesting game was released for the public on 6th June 2016. The game Hearts of Iron IV is the follow up of Herat of Iron III that is also based on the duration of war from 1936 to 1948.

Heart of Iron IV or HoI4 is also the game that is mainly focused on the time duration during world war II.

How to Enable Cheats?

When we hear games, our minds just respond fun to play. But there is something different because there are always some levels or steps where we stuck and we got no idea to pass that level. This is the point where cheats help you to play. In this section, you will get some Herat of Iron IV cheats codes which are designed to help you while you are unable to pass the complicated levels.

For the activation of these cheats code, you have to open the game console first. It is a particular debugging window accessible in non-ironman games. So, just click the option “^ or °” to open the console of the game.

For the shuffling of previously executed command, you have an option of arrow keys to use. It will ensure that there is no need to type again and again in the same command or cheats.

In the condition of a disabled game console, you just have to press the Shift+2, §, ~, `,^ or ALT+2+1 or Shift+3 to enabled the console. Keys might vary with the layouts of different keys.

Note: This case only can happen in non-ironman games. You can’t have to access the console in the mode of the ironman.

Enabling Country Tags in Hearts of Iron IV

Usually, the country tags are not soo much sensitive to note and normally they are typed in Upper-case just like RUS, CHI, ENG, etc.

The user of this game will get their country flag tag along with their game console.

Now it depends on you which cheats you want to use given in the following below table. You can use them just to meet your needs, but besides this make sure that you are also enjoying a lot this game.

List of Useful Cheats and Commands for Hearts of Iron IV

Below you will find a list of helpful cheats and commands which will make your experience of Hol4 more fun and joyous.

Hearts of Iron IV Cheats

CommandEffectExample/Comment
add_equipment(ae) [(equipment amount)] [(equipment name)]Adds equipmentEquipment uses the basic name so ‘ae 1000 Infantry_Equipment_1’.
add_latest_equipment(ale) [(equipment amount)]Gives player amount of latest equipment variants
whitepeace(wp) [(country tags)]White peace with the specified countries.
teleport(tp)Activates the Teleporting tool
allowdiplo(adiplo,nocb)Allows to use all diplomatic actions for no matter the rules. (Can declare war without justification)
debug_nukingAllows to nuke every province without checking any conditions.
instantconstruction(ic)Toggles instant construction cheat.This code will also affect AI. Ships will be constructed instantly.
event [event id] [(Target Country Tag)]Executes an eventevent political.3 for communist coup 6 for democratic 9 for fascist
research [(slot id) or “all”]Researches a technology from research slot or all.Research all will instant research all technologies
research_on_icon_clickResearch a technology when clicking on technology tree iconWill Allow you to research an item without its prerequisite
annex [(Target Country Tag)]Begin annex/annexes the specified tagannex USA or annex d01 or annex all
winwarsGives max war score in all wars for the country
manpower [(Amount)]Adds manpower to playerType the amount you want to get. If you type 50 then you will 50 mens.
add_opinion [(Country tag)]Add opinion to/from tag
tag [(Country tag)]Switch tag to another country
observe(spectator)Switches to play no country at all, and no longer shows messages or pauses the game. However, it also interferes with AI performance and is not a good indication of what the AI will do if observe mode is not used.
tdebugToggles Debug infoHelpful for finding nation tags and ID’s
spawn [(SubUnit Type)] [(Province ID)] [(Amount)]Spawns a unit in a provinceIf these commands don’t work or show any error. Then follow the steps to fix this, go to your Steam library and change the start priorities to “-debug” prior to launching, and then launch the game in debug mode.
occupationpaint(op)Toggles occupation painting. If used with country tag occupies all of their owned, not controlled, land, e.g., op JAP.
setowner [country tag] [state id]Sets state owner
setcontroller [country tag] [province id]Sets province controller
xp [XP amount]Gives Army, navy and air experience to playerCan be used once per day
pp(fuhrer_mana,political_power) [PP amount]Gives political power to player
civilwar [(ideology)] [(target country tag)]Spawns a civil warcivilwar fascism ENG :
Other Valid ideologies “communism” “democratic” “neutrality”
add_party_popularityAdds party popularityideology group has shortcuts d f n c for vanilla HOI groups.
set_ruling_partySets ruling partyideology group has shortcuts d f n c for vanilla HOI groups.
help [command name]Print out all console commands or a specific command description.
Focus.AutoCompleteAllows national focuses to be instantly finishedAffects AI
Focus.NoChecksIgnores focus requirementsAffects AI
instant_prepareInstantly prepares naval invasionsDisplays message “Command only available for developers”
nu [number]Adds the specified amount of National Unity
nuke [number]Adds nuke
yesmanAI will accept all diplomatic offers

Hearts of Iron IV Console Commands

CommandEffectExample/Comment
rendertypeReports what render backend is used
tweakerguiSpawns a tweaker GUI
add_equipment(ae) [(equipment amount)] [(equipment name)]Adds equipmentadd_equipment 200 Sonderkraftfahrzeug 251/20 : See “equipment_l_english.yml” for full list of names
add_ideas [(idea name)]Adds ideas with to the countrySee ideas within the respective country-file under .\common\ideas
add_latest_equipment(ale) [(equipment amount)]Gives player amount of latest equipment variants
reload [file name]Reloads assets
reload loc (reloads localisation files)
reload focus (reloads focuses)
reload landcombat.gui (reloads land combat interface)
timeWhat time is it?
reloadfx [Arguments: map/mapname/postfx or *.fx filename]Reloads the shader
particle_editorSpawns a particle editor
whitepeace(wp) [(country tags)]White peace with the specified countries.
testtool(test)Testing tool.
analyzetheatres(anth)Analyze theatres for errors.
massconquer(massc)Mass conquer tool.
deleteallunits(delall)Delete all armies and fleets of the specified countries.deleteallunits SPR
aircombat(airc) [(scenario name)] [(result name)] [(province id)] [(state id with airbase)] [(state id with airbase)] [(equipment type)] [(equipment type)] [(equipment creator country)] [(equipment creator country)]Spawns an air combat in desired location.
teleport(tp) [(province_id)]Teleports selected armies or ships to the specified province
theatersrebuild(trebuild)Rebuilds all theatres in the world. All orders will be cleaned.
frontsToggle visibility of the foreign fronts
aidumpDump AI front data to log file, needs to have a unit selected
traderoutesToggle visibility of trade routes
debug_tacticsToggle visibility of debug tooltip for tactics
allowdiplo(adiplo,nocb)Allows to use all diplomatic actions for no matter the rules.
debug_nukingAllows to nuke every province without checking any conditions.
reloadsupply(relsup)Reinitializes the supply systems.
deltat [(speed factor)]control animation speeds
building_health(bhealth) [(building type)] [(state or prov id)] [(building level)] [(health to add)]Changes specified building health
instantconstruction(ic)Toggles instant construction cheat.
nomapiconsToggles map icons.
nopausetextToggles the pausebanner for nicer screenshots.
nextsongChanges the currently playing soundtrack.
combatsoundHow often does the combat view give a random sound? 0-50
morehumans(humans) [num]Adds more humans
window(wnd) [Arguments: open/close] [window gui name]Opens or closes the specified window
reloadinterfaceReloads the entire interface
reloadtechnologiesReloads the technology database
updateequipmentsUpdates the equipment database
updatesubunitsUpdates the subunit database
reloadoob [(Target Country Tag)]Reloads OOBs
update_loc [localization tag]Updates the localization tag file
pollPolls valid Events
pause_in_hoursPauses the game after X hours have passed after command is called
event [event id] [(Target Country Tag)]Executes an eventevent political.3 for communist coup
research [(slot id) or “all”]Researches a technology from research slot or all.
research_on_icon_clickResearch a technology when clicking on technology tree icon
add_autonomy [(Target Country Tag)] [num]Changes a country’s autonomy leveladd_autonomy PHI -200
annex [(Target Country Tag)]Begin annex/annexes the specified tagannex USA or annex d01
winwarsGives max war score in all wars for the country
testevent [(Event ID)] [(Character ID)]Tests an event without triggering it
manpower [(Amount)]Adds manpower to player
add_opinion [(Country tag)]Add opinion to/from tag
tag [(Country tag)]Switch tag to another country
resignResign from the game
add_interest [(Country tag)]Add specified country tag to your interest
remove_interest [(Country tag)]Removes specified country tag from your interest
add_diploAdds diplomatic entroute
PrintSynchStuffPrints random count and seed
SetRandomCountSets the randomcount to 0 or arg
observe(spectator)Switches to play no country at all, and no longer shows messages or pauses the game. However, it also interferes with AI performance and is not a good indication of what the AI will do if observe mode is not used.
aiToggles the AI on or off
human_aiToggles AI for Human countries
ai_invasionToggles AI AI naval invasions
ai_accept(yesman)Toggles AI always accept diplomacy
fow(debug_fow) [(Province ID) OPTIONAL]Turns off fog of war in a province or in general
collision(debug_collision)Toggles debug display of normals/bounding boxes/collision
savegameCreates a savefile.
savecheckMakes a save file (Test_01), loads the save file, makes a new savegame (Test_02). Those save files should look the same.
IPShows your IP
requestgamestateRequests the gamestate from host
nudgeGo to the nudge tool
mapmode [Mapmode type (int)]Change mapmode.
fullscreenToggles fullscreen
pricesPrice Info
add_core [(State ID)]Add core
remove_core [(State ID)]Remove core
debug_zoomZooms in the game
debug_typesWill print the data type for all dynamic reference objects. Can only be used if using RTTI.
debug_show_event_IDShows event ID
debug_commandsPrinting commandcount to message.log
debug_eventsStart Counting events
debug_dumpeventsDump Event data to game log
debug_diploactionsStart Counting diplomatic actions
debug_dumpdiploactionsDump diplomatic action data to game log
debug_assertToggles asserts on/off
debug_smoothToggle framesmoothing
debug_nomouseToggles mouse scrollwheel on/off
debug_terrainToggles Terrain on/off
debug_citiesToggles Cities painting mode on/off
debug_waterToggles Water on/off
debug_frontsToggles interpolated fronts debug
debug_off_front_snap(dbg_fsnap)Toggles offensive fronts snapping debug
debug_bordersToggles Borders on/off
debug_treesToggles Trees on/off
debug_riversToggles Rivers on/off
debug_postfxToggles PostFX on/off
debug_skyToggles Sky on/off
debug_bloomToggles Bloom on/off
debug_tooltipToggles Tooltips on/off
flagsoutput [(path)]Creates texture atlas files from memory.
cityreloadReloads the cities
errorShow errors in log
versionShow current game version
debug_noguiToggles GUI on/off
debug_volume [(Volume Delta)]Modifies music volume
debug_lockcameraToggles Camera locked on/off
debug_linesToggles Debuglines
debug_entitiesToggles Debug entities
debug_infoToggles Debug info
debug_particleToggles Particles Debug info
debug_ai_budget [CountryTag]Show ai budget data
debug_texturesWrites Texture info to application debug log
debug_texturedraws textures like bloom
debug_wireframeToggles forced wireframe on/off
debug_achievements_clearClear all achievements and user stats
moveunit [(Unit ID)] [(Province ID)]Moves a unit to a province
spawnactor [(Actorname)] [(Province ID)] [(Animation) OPTIONAL]Spawns an actor with an optional animation
spawn [(SubUnit Type)] [(Province ID)] [(Amount)]Spawns a unit in a province
guibounds(gui)Toggles GUI bounds debug
cameraclampToggles the camera clamping
provtooltipdebug(tdebug)Toggles the debug info in province tooltip
reloadweather [(randomseed)]Reload and regenerate weather
weatherToggle weather simulation
debug_air_vs_land(dbg_cas)Toggle debug mode for air vs land combat.
mapnamesToggle map names
gbreloadReloads gradient bordersonly for developers
gbpaint [layer] [channel]Toggles gradient border painting
occupationpaint(op)Toggles occupation painting
setowner [country tag] [state id]Sets state owner
setcontroller [country tag] [province id]Sets province controller
profilelogPrints out the profiling informations into time.log
runRuns the specified file with list of commands
oosOut of Synch
debug_crash(crash)Crash!
sleep(wait) [time in sec]Sleep
goto_province [province id]Centers to province
goto_state [state id]Centers to state
trigger_docs(effect_docs)Print docs for triggers and effects
xp [XP amount]Gives Army, navy and air experience to player
threat [Threat amount]Adds or show threat level of playerIf one does “threat 999999999” it will reset the world tension to 0
pp(fuhrer_mana,political_power) [PP amount]Gives political power to player
3dstatsToggles 3D Stats
hdrToggles hdr
hdr_debugToggles hdr debugging
srgbToggles sRGB
bloomToggles bloom
PostEffectVolumes.Default [posteffect_values name]Toggles default posteffect values
nightToggles night*as of 1.01 this does not seem to work (filed under developer-only command) This command can be emulated via the day/night loop option at the bottom right toolbar (shortcut key ‘N’)
filewatcherToggles filewatcher
civilwar [(ideology)] [(target country tag)]Spawns a civil warcivilwar fascism ENG :
Other Valid ideologies “communism” “democratic” “neutrality”
add_party_popularityAdds party popularityideology group has shortcuts d f n c for vanilla HOI groups.
set_ruling_partySets ruling partyideology group has shortcuts d f n c for vanilla HOI groups.
createleanCreate LEAN textures
helplogPrint out all console commands to game.log file.
help [command name]Print out all console commands or a specific command description.
helphelpDouble Rainbow help.
hsvConverts RGB to HSV
tag_colorTest setting a country’s color
browser [url]Show browser window
browser_base_url [url]Set browser base url
aiviewEnable AI debug info
Focus.AutoCompleteAllows national focuses to be instantly finishedAffects AI
Focus.NoChecksIgnores focus requirementsAffects AI
instant_prepareInstantly prepares naval invasionsDeveloper Only
nu [number]Adds the specified amount of National Unity
pp [number]Adds the specified amount of Political PowerNot specifying the amount of political power will give the player 1000 political power.
nuke [number]Adds nuke

More About Hearts of Iron IV (HoI4):

As we know Human history is full of examples based on ant tragic like wars and most importantly World War II. World War II was most terrifying, horrific and petrifying. But it does not matter how much the war is terrifying, we all just want to learn something interesting about them.

Nowadays, many simulation games are on trending and Heart of Iron IV is one of them. Besides this, many simulation games become boring and not interesting.

Although, Hearts of Iron iv is the complicated game that is based on the simulation of the period at the time of the Second World war. If you play this game more and more then it’s more interesting and complicated for you.

The developer of the game done a great job to provide you an interesting and enjoyable environment. But the main part of this game is that it always needs your decision-making skills and strategy.

Features of Hearts of Iron IV:

All the important features and key points of the Hearts Of Iron IV are given below that will blow your mind.

Authentic and Real-time War Simulation:

In the Hol4 game, you can select the commanders for the World War 2 fight and also you can fight with the tools that were present at the time of WW2 including planes, ships, tanks, guns.

Best User Interface:

It provides you the best and simple user interface. You can easily play the game with its user interface and do not get frustrated at the time of gameplay. Basically the user interface of the Hol4 is the same as the hearts of iron IV but few minor and major changes are present, still, it provides you a simple and easy user interface.

If we talk about the map of the game then it comes with the astonishing interface, the player can easily read the game map. This map is made up of air zones, elevon thousand provinces, and sea regions. Hol4 simulations provide you the day and night cycles show and every real-life experience which makes a more interesting and fun game to play

Multiple Playing Options:

You can play this game in different ways and control the different factors like climate, time e.t.c. You can play this game in multiple options and you have the facility to select the nation that was present at the time of World War II. So this feature is best for you because you can play this game with your friends.

Influence of The Game:

This game is the best option to know about the history of World War II and also know about the different nations that were present in World War II including the United States, Germany, Italy, Japan, France, Britain, and the Soviet Union. This game provides you interesting facts and tells about the complete history of World War II.

About the author

Syed Moin Ali

Hello My Name is Syed Moin Ali and I am the founder of PC Learnings Here on this blog I write about Blogging, SEO, Internet Tricks, Social Networking Site, and Make Money