HOI4

What’s Hearts of Iron IV?

I guess you’ve probably won World War II differently in some video games. It could’ve been a pilot or a soldier with a rifle. But did you ever thought of how the Allied masterminds defeated Fascism? It was a genius combination of deadly tactics and sensible logistics. You may think that’s a tedious aspect a war video game can offer, but it turns out to be much more. Inspired by the tragic event, HOI4 which developed by Paradox Development Studio and published by Paradox Interactive, takes you to another level of strategy games. Instead of small-scale battles or individual unit control, you are in charge of a whole chain of strategic management.

How to open the console command?

If you want to input cheat codes to gain an advantage in HOI4, then the console command is where you need to visit. Instead of typing directly to the game, the console makes it more straightforward and manageable to enter your codes. Some other games, like Counter-Strike: Global Offensive, also utilizes this feature.

Upon pressing the ` key (which is right below the ESC key), the console will appear.

However, if your keyboard doesn’t support it, you can instead press SHIFT + 2 or SHIFT + 3 to bring it up.

Type in command, and the game will handle it. Use it as an advantage to your gameplay.

Below is a list of 172 commands of the latest version Hoi4 game on Steam (PC).

Hoi4 Console Commands✅ List

Name Effect Example/Comment
gain_xp amount gain_xp amount Adds experience to the currently selected Leader/General/Admiral. This command can also be used to add traits.
nExample: gain_xp hill_fighter - add the hill fighter trait to your selected leader or general.
cp amount cp amount Adds command power (max. 100%). cp 40: Add 40% command power.
st amount st amount Adds stability (max. 100%). st 20: Add 35% stability. st -20: Remove 10% stability.
ws amount ws amount Adds war support (max. 100%). ws 35: Add 35% war support. ws -5: Removes 5% war support.
allowtraits allowtraits Allow free assignment of general traits to commanders, etc.
add_equipment amount equipment name add_equipment amount equipment name Add equipment. Remove equipment by specifying a negative amount. Ae: shortened command instead of the longer 'add_equipment'.
You may need to have researched certain equipment before using it, use either the 'research all' (researches all equipment) or 'research_on_icon_click' command if this is the case.
add_latest_equipment amount add_latest_equipment amount Add the specified amount of all latest equipment. Ale: shortened command instead of the longer 'add_latest_equipment'.
whitepeace country tag country tag whitepeace country tag country tag White peace between the specified countries. (things return to the way exactly they were before a war started). wp: shortened command instead of the longer 'whitepeace'.
teleport province id teleport province id Activate the Teleportation tool (if no arguments provided), or teleport units to the province with ID. tp: shortened command instead of the longer 'teleport'.
allowdiplo allowdiplo Allow to use all diplomatic actions without justification. adiplo / nocb: shortened command instead of the longer 'allowdiplo'.
debug_nuking debug_nuking Allow to nuke any province regardless of conditions. Fired anywhere without restrictions.
instantconstruction instantconstruction Toggles instant construction cheat. ic: shortened command instead of the longer 'instantconstruction'.
event event id country tag event event id country tag Execute an event in the specified country.
research slot id research slot id Research a technology from research slot.
research all research all Research all technology in the game.
research_on_icon_click research_on_icon_click Instantly research any technology when clicking on technology tree icon. It also known as the 'instant research' cheat. This command can be toggled off by executing it a second time.
annex country tag annex country tag Start annex/annexes the specified tag.
annex all annex all Annex all countries.
winwars winwars Give maximum war score to all wars currently going in your country.
manpower amount manpower amount Add the specific amount of man power to player.
add_opinion source country tag target country tag add_opinion source country tag target country tag Add opinion from the specified country tag to another country.
tag country tag tag country tag Switch your country to another country.
observe observe Switch you into 'observe' mode - game plays on auto-pilot. Messages do not show, and the game is not automatically paused. spectator - An alias for this command.
tdebug tdebug Toggles Debug mode. In debug mode, IDs are shown when you hover over them.
spawn unit name/id province id amount spawn unit name/id province id amount Spawn a specified amount of a unit in a province. Note: Go to your Steam library and change HOI4 Launch Options to '-debug' prior to launching, and then launch the game in debug mode to use this command.
occupationpaint country tag occupationpaint country tag Toggles occupation painting. If used with country tag, your country will occupy all land that the country owns. op: shortened command instead of the longer 'occupationpaint'.
setowner country tag state id setowner country tag state id Set state owner.
setcontroller country tag province id setcontroller country tag province id Set province controller.
xp amount xp amount Add Army, navy and air experience to player. Can be used once per day.nRemove XP by negative number.
pp amount pp amount Give political power to your country. When no argument is specified, adds 1000 political power by default.nfuhrer_mana / political_power: shortened command instead of the longer 'pp'.
civilwar ideology country tag civilwar ideology country tag Start a civil war. Possible ideologies: fascism, democratic, neutrality and communism.
add_party_popularity ideology group amount add_party_popularity ideology group amount Add party popularity to ideology group. Ideology groups: f (fascism), d (democratic), n (neutrality) and c (communism).
set_ruling_party ideology group set_ruling_party ideology group Set ruling party Ideology groups: f (fascism), d (democratic), n (neutrality) and c (communism).
help command help command Print a list of all console commands or print help for a specified command name.
focus.autocomplete focus.autocomplete Allow national focuses to be instantly finished. Affects AI.
focus.nochecks focus.nochecks Ignore focus requirements. Affects AI.
focus.ignoreprerequisites focus.ignoreprerequisites Ignore focus prerequisates.
decision.nochecks decision.nochecks Ignore decision requirements. Also disables cost.
instant_prepare instant_prepare Instantly prepares naval invasions. Note: Go to your Steam library and change HOI4 Launch Options to '-debug' prior to launching, and then launch the game in debug mode to use this command.
nu amount nu amount Add the specified amount of National Unitytto your naval utility count. Only works Pre-1.5 versions.
nuke amount nuke amount Add nukes to your country. nuke 15: add 10 nukes.nnuke -5: Remove 5 nukes.
yesman yesman AI u200bu200bwill automatically accept any diplomatic offers. ai_accept: shortened command instead of the longer 'yesman'.
rendertype rendertype Print the render backend is used.
tweakergui tweakergui Spawn a tweaker GUI.
add_ideas idea name add_ideas idea name Add ideas with the specified ID/name to your country.
reload file name reload file name Reload a file without opening and closing your game. reload loc: reloads localisation files.nreload focus: reloads focuses.nreload landcombat.gui:reloads land combat interface.
time time Show the current time.
reloadfx map / .fx file reloadfx map / .fx file Reload the shader. You can optionally specify either a mapname, postfx or filename (ending in .fx).
particle_editor particle_editor Open a particle editor.
testtool testtool Open the testing tool. test: shortened command instead of the longer 'testtool'.
analyzetheatres analyzetheatres Check all theatres for errors. anth: shortened command instead of the longer 'analyzetheatres'.
massconquer massconquer Open the mass conquer tool. massc: shortened command instead of the longer 'massconquer'.
deleteallunits country tag deleteallunits country tag Delete all units (armies and fleets) of the specified countries. delall: shortened command instead of the longer 'deleteallunits'.
aircombat scenario result province id airbase state id airbase state id equipment equipment equipment creator equipment creator aircombat scenario result province id airbase state id airbase state id equipment equipment equipment creator equipment creator Initiate an air combat in desired location.
theatersrebuild theatersrebuild Rebuild all existing theatres in the world. All orders will be cleaned.
fronts fronts Toggles the visibility of foreign fronts.
aidump aidump Dump AI data from your currently selected unit to a log file.
traderoutes traderoutes Toggles the visibility of trade routes.
debug_tactics debug_tactics Toggles the visibility of the tactics debug tooltip.
reloadsupply reloadsupply Reinitialize all supply systems. relsup: shortened command instead of the longer 'reloadsupply'.
deltat speed factor deltat speed factor Change animation speeds. The number specified is a multiplier: 2 would double the speed, 0.5 would half the speed.
building_health building type state id / province id level amount building_health building type state id / province id level amount Modify the health of specified building.
nomapicons nomapicons Toggles the visibility of map icons.
nopausetext nopausetext Toggles the pausebanner for nicer screenshots.
nextsong nextsong Play the next soundtrack.
combatsound frequency combatsound frequency Modify the frequency of a random sound being emitted from the combat view. Frequency: 0 - 50
morehumans amount morehumans amount Add more humans to your country.
window open gui name window open gui name Open the specified GUI with the specified name. wnd: shortened command instead of the longer 'window'.
window close gui name window close gui name Close the specified GUI with the specified name.
reloadinterface reloadinterface Reload the entire game interface.
reloadtechnologies reloadtechnologies Reload all technologies.
updateequipments updateequipments Update the equipment database.
updatesubunits updatesubunits Update the subunit database.
reloadoob country tag reloadoob country tag Reload OOBs (order of battle).
update_loc localisation key update_loc localisation key Reload the localization tag key.
poll poll Poll valid Events.
pause_in_hours hours pause_in_hours hours Pause the game after the specified amount of time.
add_autonomy country tag amount add_autonomy country tag amount Change a country's autonomy level.
testevent event id character id testevent event id character id Test an event without triggering it.
resign resign Resign from the game.
add_interest country tag add_interest country tag Add specified country tag to your interest.
remove_interest country tag remove_interest country tag Remove specified country tag from your interest.
add_diplo add_diplo Add diplomatic entroute.
printsynchstuff printsynchstuff Print the current seed.
setrandomcount count setrandomcount count Set the random count to 0 or any arguments.
ai ai Enable / Disable AI.
human_ai human_ai Toggles AI for Human countries.
ai_invasion ai_invasion Toggles AI naval invasions.
ai_accept ai_accept Toggles AI always accept diplomacy.
fow province id fow province id Toggles FOW (fog of war) in a province or in general (without any arguments). Similar command: 'debug_fow'.
collision collision Toggles the collision debug GUI. Similar command: 'debug_collision'.
savegame savegame Save the game immediately.
savecheck savecheck Used to check that saving is functioning correctly. It will make a save file (Test_01), load it, makes a new savegame (Test_02). The two files should be the same (in size, etc), if not, there is likely a problem with saving.
ip ip Show your IP.
requestgamestate requestgamestate Request the gamestate from host.
nudge nudge Open the nudge tool.
mapmode mapmode id mapmode mapmode id Change mapmode. Map mode IDs: 1 (Default), 2 (Naval), 3 (Air), 4 (Supply), 5 (State), 6 (Resistance), 7 (Resource), 8 (Diplomacy), 9 (Faction).
fullscreen fullscreen Toggles fullscreen mode.
prices prices Print price info to game.log.
add_core state id country tag add_core state id country tag Add the specified state as a 'core' of the specified country.
remove_core state id country tag remove_core state id country tag Remove the specified state as a 'core' of the specified country. Does not work
debug_zoom debug_zoom Zoom in the game.
debug_types debug_types Print the data type for all dynamic reference objects to console (Only works if running RTTI).
debug_show_event_id debug_show_event_id Show the current event ID.
debug_commands debug_commands Print the current commandcount to message.log file.
debug_events debug_events Start counting events.
debug_dumpevents debug_dumpevents Dump Event data collected since the 'debug_events' command was last executed to game log.
debug_diploactions debug_diploactions Start counting diplomatic actions.
debug_dumpdiploactions debug_dumpdiploactions Dump diplomatic action data collected since the 'debug_dumpdiploactions' command was last executed.
debug_assert debug_assert Toggles asserts on/off.
debug_smooth debug_smooth Toggles framesmoothing.
debug_nomouse debug_nomouse Toggles mouse scrollwheel.
debug_terrain debug_terrain Toggles Terrain.
debug_cities debug_cities Toggles Cities painting mode.
debug_water debug_water Toggles water.
debug_off_front_snap debug_off_front_snap Toggles the offensive fronts snapping debug screen.
debug_borders debug_borders Toggles borders.
debug_trees debug_trees Toggles trees.
debug_rivers debug_rivers Toggles rivers.
debug_postfx debug_postfx Toggles PostFX.
debug_sky debug_sky Toggles sky.
debug_tooltip debug_tooltip Toggles tooltips.
flagsoutput path flagsoutput path Create and save a texture atlas file to the specified path.
cityreload cityreload Reload cities.
error error Show errors from the log file.
version version Show current game version.
debug_nogui debug_nogui Toggles the game GUI.
debug_volume volume debug_volume volume Modify volume of the game.
debug_lockcamera debug_lockcamera Toggles the camera lock.
debug_lines debug_lines Toggles debug lines.
debug_entities debug_entities Toggles debug entities.
debug_info debug_info Toggles debug info.
debug_particle debug_particle Toggles particles debug info.
debug_ai_budget country tag debug_ai_budget country tag Show AI budget information.
debug_textures debug_textures Write texture information to application debug log.
debug_texture debug_texture Draw textures like bloom.
debug_wireframe debug_wireframe Toggles forced wireframe.
debug_achievements_clear debug_achievements_clear Clear all achievements and user stats.
moveunit unit id province id moveunit unit id province id Move the specified unit to the specified province.
spawnactor name province id animation spawnactor name province id animation Spawn an actor with an optional animation.
guibounds guibounds Toggles GUI bounds debug. gui: shortened command instead of the longer 'guibounds'.
cameraclamp cameraclamp Toggles the camera clamp.
provtooltipdebug provtooltipdebug Toggles the debug info in province tooltip.
reloadweather seed reloadweather seed Reload and regenerate weather.
weather weather Toggles weather simulation.
debug_air_vs_land debug_air_vs_land Toggles debug mode for air vs land combat.
mapnames mapnames Toggles map names.
profilelog profilelog Print out the profiling/informations into time.log.
run file name run file name Run a list of commands in a specified file.
oos oos Out of sync.
debug_crash debug_crash Debug client crashes. crash: shortened command instead of the longer 'debug_crash'.
sleep duration sleep duration Pause the game with the specified amount of time (seconds). Similar command: 'wait'.
goto_province province id goto_province province id Move center of camera to province.
goto_state state id goto_state state id Move center of camera to state.
trigger_docs trigger_docs Print docs for triggers.
effect_docs effect_docs Print docs for effects.
3dstats 3dstats Toggles 3D stats.
hdr hdr Toggles hdr (high-dynamic-range).
hdr_debug hdr_debug Toggles hdr (high-dynamic-range) debugging.
srgb srgb Toggles color debugging.
bloom bloom Toggles bloom. Similar command: 'debug_bloom'.
posteffectvolumes.default post effect posteffectvolumes.default post effect Toggles default posteffect values.
night night Toggles night.
filewatcher filewatcher Toggles filewatcher.
createlean createlean Create LEAN textures.
helplog helplog Print out all console commands to the game.log file.
hsv hsv Convert RGB to HSV.
tag_color rgb tag_color rgb Set the tag color of your current country.
browser url browser url Open browser window and loads URL.
browser_base_url url browser_base_url url Set browser base url.
aiview aiview Toggles debug info for the AI.
airealism airealism Toggles realistic AI
instant_wargoal instant_wargoal Allow instant justificatiion of any war goal.
set_country_flag country tag set_country_flag country tag Add the specified country flag to currently played nation.
set_cosmetic_tag country tag country tag set_cosmetic_tag country tag country tag Change the name and flag of the country to that of another country.

gain_xp amount Copy

gain_xp amount

Adds experience to the currently selected Leader/General/Admiral.

This command can also be used to add traits.
nExample: gain_xp hill_fighter - add the hill fighter trait to your selected leader or general.

cp amount Copy

cp amount

Adds command power (max. 100%).

cp 40: Add 40% command power.

st amount Copy

st amount

Adds stability (max. 100%).

st 20: Add 35% stability. st -20: Remove 10% stability.

ws amount Copy

ws amount

Adds war support (max. 100%).

ws 35: Add 35% war support. ws -5: Removes 5% war support.

allowtraits Copy

allowtraits

Allow free assignment of general traits to commanders, etc.

add_equipment amount equipment name Copy

add_equipment amount equipment name

Add equipment. Remove equipment by specifying a negative amount.

Ae: shortened command instead of the longer 'add_equipment'.
You may need to have researched certain equipment before using it, use either the 'research all' (researches all equipment) or 'research_on_icon_click' command if this is the case.

add_latest_equipment amount Copy

add_latest_equipment amount

Add the specified amount of all latest equipment.

Ale: shortened command instead of the longer 'add_latest_equipment'.

whitepeace country tag country tag Copy

whitepeace country tag country tag

White peace between the specified countries. (things return to the way exactly they were before a war started).

wp: shortened command instead of the longer 'whitepeace'.

teleport province id Copy

teleport province id

Activate the Teleportation tool (if no arguments provided), or teleport units to the province with ID.

tp: shortened command instead of the longer 'teleport'.

allowdiplo Copy

allowdiplo

Allow to use all diplomatic actions without justification.

adiplo / nocb: shortened command instead of the longer 'allowdiplo'.

debug_nuking Copy

debug_nuking

Allow to nuke any province regardless of conditions.

Fired anywhere without restrictions.

instantconstruction Copy

instantconstruction

Toggles instant construction cheat.

ic: shortened command instead of the longer 'instantconstruction'.

event event id country tag Copy

event event id country tag

Execute an event in the specified country.

research slot id Copy

research slot id

Research a technology from research slot.

research all Copy

research all

Research all technology in the game.

research_on_icon_click Copy

research_on_icon_click

Instantly research any technology when clicking on technology tree icon.

It also known as the 'instant research' cheat. This command can be toggled off by executing it a second time.

annex country tag Copy

annex country tag

Start annex/annexes the specified tag.

annex all Copy

annex all

Annex all countries.

winwars Copy

winwars

Give maximum war score to all wars currently going in your country.

manpower amount Copy

manpower amount

Add the specific amount of man power to player.

add_opinion source country tag target country tag Copy

add_opinion source country tag target country tag

Add opinion from the specified country tag to another country.

tag country tag Copy

tag country tag

Switch your country to another country.

observe Copy

observe

Switch you into 'observe' mode - game plays on auto-pilot. Messages do not show, and the game is not automatically paused.

spectator - An alias for this command.

tdebug Copy

tdebug

Toggles Debug mode.

In debug mode, IDs are shown when you hover over them.

spawn unit name/id province id amount Copy

spawn unit name/id province id amount

Spawn a specified amount of a unit in a province.

Note: Go to your Steam library and change HOI4 Launch Options to '-debug' prior to launching, and then launch the game in debug mode to use this command.

occupationpaint country tag Copy

occupationpaint country tag

Toggles occupation painting. If used with country tag, your country will occupy all land that the country owns.

op: shortened command instead of the longer 'occupationpaint'.

setowner country tag state id Copy

setowner country tag state id

Set state owner.

setcontroller country tag province id Copy

setcontroller country tag province id

Set province controller.

xp amount Copy

xp amount

Add Army, navy and air experience to player.

Can be used once per day.nRemove XP by negative number.

pp amount Copy

pp amount

Give political power to your country.

When no argument is specified, adds 1000 political power by default.nfuhrer_mana / political_power: shortened command instead of the longer 'pp'.

civilwar ideology country tag Copy

civilwar ideology country tag

Start a civil war.

Possible ideologies: fascism, democratic, neutrality and communism.

add_party_popularity ideology group amount Copy

add_party_popularity ideology group amount

Add party popularity to ideology group.

Ideology groups: f (fascism), d (democratic), n (neutrality) and c (communism).

set_ruling_party ideology group Copy

set_ruling_party ideology group

Set ruling party

Ideology groups: f (fascism), d (democratic), n (neutrality) and c (communism).

help command Copy

help command

Print a list of all console commands or print help for a specified command name.

focus.autocomplete Copy

focus.autocomplete

Allow national focuses to be instantly finished.

Affects AI.

focus.nochecks Copy

focus.nochecks

Ignore focus requirements.

Affects AI.

focus.ignoreprerequisites Copy

focus.ignoreprerequisites

Ignore focus prerequisates.

decision.nochecks Copy

decision.nochecks

Ignore decision requirements.

Also disables cost.

instant_prepare Copy

instant_prepare

Instantly prepares naval invasions.

Note: Go to your Steam library and change HOI4 Launch Options to '-debug' prior to launching, and then launch the game in debug mode to use this command.

nu amount Copy

nu amount

Add the specified amount of National Unitytto your naval utility count.

Only works Pre-1.5 versions.

nuke amount Copy

nuke amount

Add nukes to your country.

nuke 15: add 10 nukes.nnuke -5: Remove 5 nukes.

yesman Copy

yesman

AI u200bu200bwill automatically accept any diplomatic offers.

ai_accept: shortened command instead of the longer 'yesman'.

rendertype Copy

rendertype

Print the render backend is used.

tweakergui Copy

tweakergui

Spawn a tweaker GUI.

add_ideas idea name Copy

add_ideas idea name

Add ideas with the specified ID/name to your country.

reload file name Copy

reload file name

Reload a file without opening and closing your game.

reload loc: reloads localisation files.nreload focus: reloads focuses.nreload landcombat.gui:reloads land combat interface.

time Copy

time

Show the current time.

reloadfx map / .fx file Copy

reloadfx map / .fx file

Reload the shader. You can optionally specify either a mapname, postfx or filename (ending in .fx).

particle_editor Copy

particle_editor

Open a particle editor.

testtool Copy

testtool

Open the testing tool.

test: shortened command instead of the longer 'testtool'.

analyzetheatres Copy

analyzetheatres

Check all theatres for errors.

anth: shortened command instead of the longer 'analyzetheatres'.

massconquer Copy

massconquer

Open the mass conquer tool.

massc: shortened command instead of the longer 'massconquer'.

deleteallunits country tag Copy

deleteallunits country tag

Delete all units (armies and fleets) of the specified countries.

delall: shortened command instead of the longer 'deleteallunits'.

aircombat scenario result province id airbase state id airbase state id equipment equipment equipment creator equipment creator Copy

aircombat scenario result province id airbase state id airbase state id equipment equipment equipment creator equipment creator

Initiate an air combat in desired location.

theatersrebuild Copy

theatersrebuild

Rebuild all existing theatres in the world. All orders will be cleaned.

fronts Copy

fronts

Toggles the visibility of foreign fronts.

aidump Copy

aidump

Dump AI data from your currently selected unit to a log file.

traderoutes Copy

traderoutes

Toggles the visibility of trade routes.

debug_tactics Copy

debug_tactics

Toggles the visibility of the tactics debug tooltip.

reloadsupply Copy

reloadsupply

Reinitialize all supply systems.

relsup: shortened command instead of the longer 'reloadsupply'.

deltat speed factor Copy

deltat speed factor

Change animation speeds.

The number specified is a multiplier: 2 would double the speed, 0.5 would half the speed.

building_health building type state id / province id level amount Copy

building_health building type state id / province id level amount

Modify the health of specified building.

nomapicons Copy

nomapicons

Toggles the visibility of map icons.

nopausetext Copy

nopausetext

Toggles the pausebanner for nicer screenshots.

nextsong Copy

nextsong

Play the next soundtrack.

combatsound frequency Copy

combatsound frequency

Modify the frequency of a random sound being emitted from the combat view.

Frequency: 0 - 50

morehumans amount Copy

morehumans amount

Add more humans to your country.

window open gui name Copy

window open gui name

Open the specified GUI with the specified name.

wnd: shortened command instead of the longer 'window'.

window close gui name Copy

window close gui name

Close the specified GUI with the specified name.

reloadinterface Copy

reloadinterface

Reload the entire game interface.

reloadtechnologies Copy

reloadtechnologies

Reload all technologies.

updateequipments Copy

updateequipments

Update the equipment database.

updatesubunits Copy

updatesubunits

Update the subunit database.

reloadoob country tag Copy

reloadoob country tag

Reload OOBs (order of battle).

update_loc localisation key Copy

update_loc localisation key

Reload the localization tag key.

poll Copy

poll

Poll valid Events.

pause_in_hours hours Copy

pause_in_hours hours

Pause the game after the specified amount of time.

add_autonomy country tag amount Copy

add_autonomy country tag amount

Change a country's autonomy level.

testevent event id character id Copy

testevent event id character id

Test an event without triggering it.

resign Copy

resign

Resign from the game.

add_interest country tag Copy

add_interest country tag

Add specified country tag to your interest.

remove_interest country tag Copy

remove_interest country tag

Remove specified country tag from your interest.

add_diplo Copy

add_diplo

Add diplomatic entroute.

printsynchstuff Copy

printsynchstuff

Print the current seed.

setrandomcount count Copy

setrandomcount count

Set the random count to 0 or any arguments.

ai Copy

ai

Enable / Disable AI.

human_ai Copy

human_ai

Toggles AI for Human countries.

ai_invasion Copy

ai_invasion

Toggles AI naval invasions.

ai_accept Copy

ai_accept

Toggles AI always accept diplomacy.

fow province id Copy

fow province id

Toggles FOW (fog of war) in a province or in general (without any arguments).

Similar command: 'debug_fow'.

collision Copy

collision

Toggles the collision debug GUI.

Similar command: 'debug_collision'.

savegame Copy

savegame

Save the game immediately.

savecheck Copy

savecheck

Used to check that saving is functioning correctly. It will make a save file (Test_01), load it, makes a new savegame (Test_02). The two files should be the same (in size, etc), if not, there is likely a problem with saving.

ip Copy

ip

Show your IP.

requestgamestate Copy

requestgamestate

Request the gamestate from host.

nudge Copy

nudge

Open the nudge tool.

mapmode mapmode id Copy

mapmode mapmode id

Change mapmode.

Map mode IDs: 1 (Default), 2 (Naval), 3 (Air), 4 (Supply), 5 (State), 6 (Resistance), 7 (Resource), 8 (Diplomacy), 9 (Faction).

fullscreen Copy

fullscreen

Toggles fullscreen mode.

prices Copy

prices

Print price info to game.log.

add_core state id country tag Copy

add_core state id country tag

Add the specified state as a 'core' of the specified country.

remove_core state id country tag Copy

remove_core state id country tag

Remove the specified state as a 'core' of the specified country.

Does not work

debug_zoom Copy

debug_zoom

Zoom in the game.

debug_types Copy

debug_types

Print the data type for all dynamic reference objects to console (Only works if running RTTI).

debug_show_event_id Copy

debug_show_event_id

Show the current event ID.

debug_commands Copy

debug_commands

Print the current commandcount to message.log file.

debug_events Copy

debug_events

Start counting events.

debug_dumpevents Copy

debug_dumpevents

Dump Event data collected since the 'debug_events' command was last executed to game log.

debug_diploactions Copy

debug_diploactions

Start counting diplomatic actions.

debug_dumpdiploactions Copy

debug_dumpdiploactions

Dump diplomatic action data collected since the 'debug_dumpdiploactions' command was last executed.

debug_assert Copy

debug_assert

Toggles asserts on/off.

debug_smooth Copy

debug_smooth

Toggles framesmoothing.

debug_nomouse Copy

debug_nomouse

Toggles mouse scrollwheel.

debug_terrain Copy

debug_terrain

Toggles Terrain.

debug_cities Copy

debug_cities

Toggles Cities painting mode.

debug_water Copy

debug_water

Toggles water.

debug_off_front_snap Copy

debug_off_front_snap

Toggles the offensive fronts snapping debug screen.

debug_borders Copy

debug_borders

Toggles borders.

debug_trees Copy

debug_trees

Toggles trees.

debug_rivers Copy

debug_rivers

Toggles rivers.

debug_postfx Copy

debug_postfx

Toggles PostFX.

debug_sky Copy

debug_sky

Toggles sky.

debug_tooltip Copy

debug_tooltip

Toggles tooltips.

flagsoutput path Copy

flagsoutput path

Create and save a texture atlas file to the specified path.

cityreload Copy

cityreload

Reload cities.

error Copy

error

Show errors from the log file.

version Copy

version

Show current game version.

debug_nogui Copy

debug_nogui

Toggles the game GUI.

debug_volume volume Copy

debug_volume volume

Modify volume of the game.

debug_lockcamera Copy

debug_lockcamera

Toggles the camera lock.

debug_lines Copy

debug_lines

Toggles debug lines.

debug_entities Copy

debug_entities

Toggles debug entities.

debug_info Copy

debug_info

Toggles debug info.

debug_particle Copy

debug_particle

Toggles particles debug info.

debug_ai_budget country tag Copy

debug_ai_budget country tag

Show AI budget information.

debug_textures Copy

debug_textures

Write texture information to application debug log.

debug_texture Copy

debug_texture

Draw textures like bloom.

debug_wireframe Copy

debug_wireframe

Toggles forced wireframe.

debug_achievements_clear Copy

debug_achievements_clear

Clear all achievements and user stats.

moveunit unit id province id Copy

moveunit unit id province id

Move the specified unit to the specified province.

spawnactor name province id animation Copy

spawnactor name province id animation

Spawn an actor with an optional animation.

guibounds Copy

guibounds

Toggles GUI bounds debug.

gui: shortened command instead of the longer 'guibounds'.

cameraclamp Copy

cameraclamp

Toggles the camera clamp.

provtooltipdebug Copy

provtooltipdebug

Toggles the debug info in province tooltip.

reloadweather seed Copy

reloadweather seed

Reload and regenerate weather.

weather Copy

weather

Toggles weather simulation.

debug_air_vs_land Copy

debug_air_vs_land

Toggles debug mode for air vs land combat.

mapnames Copy

mapnames

Toggles map names.

profilelog Copy

profilelog

Print out the profiling/informations into time.log.

run file name Copy

run file name

Run a list of commands in a specified file.

oos Copy

oos

Out of sync.

debug_crash Copy

debug_crash

Debug client crashes.

crash: shortened command instead of the longer 'debug_crash'.

sleep duration Copy

sleep duration

Pause the game with the specified amount of time (seconds).

Similar command: 'wait'.

goto_province province id Copy

goto_province province id

Move center of camera to province.

goto_state state id Copy

goto_state state id

Move center of camera to state.

trigger_docs Copy

trigger_docs

Print docs for triggers.

effect_docs Copy

effect_docs

Print docs for effects.

3dstats Copy

3dstats

Toggles 3D stats.

hdr Copy

hdr

Toggles hdr (high-dynamic-range).

hdr_debug Copy

hdr_debug

Toggles hdr (high-dynamic-range) debugging.

srgb Copy

srgb

Toggles color debugging.

bloom Copy

bloom

Toggles bloom.

Similar command: 'debug_bloom'.

posteffectvolumes.default post effect Copy

posteffectvolumes.default post effect

Toggles default posteffect values.

night Copy

night

Toggles night.

filewatcher Copy

filewatcher

Toggles filewatcher.

createlean Copy

createlean

Create LEAN textures.

helplog Copy

helplog

Print out all console commands to the game.log file.

hsv Copy

hsv

Convert RGB to HSV.

tag_color rgb Copy

tag_color rgb

Set the tag color of your current country.

browser url Copy

browser url

Open browser window and loads URL.

browser_base_url url Copy

browser_base_url url

Set browser base url.

aiview Copy

aiview

Toggles debug info for the AI.

airealism Copy

airealism

Toggles realistic AI

instant_wargoal Copy

instant_wargoal

Allow instant justificatiion of any war goal.

set_country_flag country tag Copy

set_country_flag country tag

Add the specified country flag to currently played nation.

set_cosmetic_tag country tag country tag Copy

set_cosmetic_tag country tag country tag

Change the name and flag of the country to that of another country.

What are the country tags?

Each nation comes with its distinguish tag. It’s a three-letter code, and it doesn’t sync with changes in ideology. For example, GER is always defined for Germany, whether it’s fascist (German Reich) or democratic (Germany).

To refer to a country in the console command, it’s necessary to use their tag. What is more, any new nations that you create after the start of the game will be called D##. The ## is a number that follows the ascending order. It is based on how many countries you’ve made beforehand.

If you’re uncertain about your faction’s tag, just look it up here.

What about equipment names?

While using the console to get more in-game items, you have to specify the things that you want. The command ‘add_equipment’ or ‘ae’ go with these names.

For instance, if you need 100 submarines, open up the console command, and type ‘ae 100 submarine’. Keep in mind, though, that this requires researching the item in advance.

The list of equipment names is super long, so it’s best to seek online for help. I’d recommend checking out the Reddit forum of the game. Other players there are pretty knowledgable about how this game works. What is more, they can provide some excellent tips to better your gaming experience.

More about Hearts of Iron IV

Gameplay

At first glance, you may think that the game packs so much into an individual title. Well, that’s what makes this game stands out from the rest of strategy video games out there. There’s just so much you can do here.

HOI4 is a global spanning game. One moment, you may be giving orders to a small division in France, and a second later, you’re at the other hemisphere fighting off soldiers from Japan.

Anyway, besides just giving orders and participating battles, you need to keep an eye on your nation’s war industry and resources. Without firm backline support, the war won’t go for you.

What I love most about Hearts of Iron IV is that every decision you make has an impact on the course of the game. For example, you may want to ditch the production of a heavy tank line to concentrate on better new products. Of course, that costs you some extra years of development and manufacturing, but the hard work pays off.

Strategic thinking is crucial in this game. It’s satisfying knowing that you will have some struggles in one area, but the strengths to overwhelm that in other aspects of the war. Do your job well, and your army will shine in combat. The disadvantages can be predicted and compensated for, making you unstoppable. On the other hand, your troops will slowly run out of supplies – that gives your opponent the upper hand.

Alternate histories

As you’re free to do things, there will be some changes to the way things have been in the real world. Who knows if Communism will be the global principal? You have the world in your hand, and history is now in your favor.

This creates some entertaining scenarios for your game. Back in a while, when I was in a multiplayer session with my brother, he decided to make Stalin fall in 1942 and eliminated the USSR. Even more, I made France go fascist. Of course, this is just imaginary, but to see and feel how things are different from the present is a fascinating experience.

Know that this game is not for everyone

You may not be successful convincing your FPS friend to enjoy this game. Of course, it’s up to personal taste to play a game like this.

There’s a lot to handle in Hearts of Iron IV, and a casual gamer may find it challenging to do micromanagement all the time. To me, though, and I’m sure you all are, this is an excellent way to practice strategic views and things like that. If someone criticized you for playing a ‘boring’ game like HOI4, don’t feel too bad about it.

In-game graphics feel nice

For a war simulator, graphics play an essential role in shaping up players’ thoughts. For HOI4, I think the design team has done a fantastic job. Everything from a soldier, tank to factories looks like the real deal. Not only in improving the overall gaming experience, I think that creates a unique atmosphere for this game.

Conclusion

Hearts of Iron IV is an excellent way to enjoy history and practice management skills. If you need a bit of ‘cheating,’ the console command makes it easy with tons of codes and tweaks. Happy gaming!