Ultimate List of Console Commands for Hearts of Iron IV

Hearts of Iron IV965 views25 favorites3 min readby KvltView on Steam ↗

Ultimate List of Console Commands for Hearts of Iron IV

Ultimate List of Console Commands for Hearts of Iron IV
To use these commands press the tilde key (~) during gameplay to open the console and enter
commands.

Leader & Army Commands

gain_xp [amount] – Adds XP to your selected general/leader.

cp [amount] – Adds command power (max 100%).

st [amount] – Adds stability (max 100%). Use negative numbers to remove stability.

ws [amount] – Adds war support (max 100%). Use negative numbers to reduce war support.

allowtraits – Remove restrictions on assigning traits to generals.

spawn [unit name/id] [province id] [amount] – Spawn units (requires -debug launch).

moveunit [unit id] [province id] – Move a unit to a specific province.

instant_prepare – Skip naval invasion preparation (requires -debug).


Country Resources & Stats

manpower [amount] – Add manpower to your country.

pp [amount] – Add political power.

xp [amount] – Add army, navy, and air experience.

nuke [amount] – Add nuclear weapons.

morehumans [amount] – Add population to your country.


Construction & Equipment

instantconstruction – Toggle instant construction for all buildings.

add_equipment [amount] [equipment name] – Add or remove equipment.

add_latest_equipment [amount] – Add all unlocked equipment.

research [slot id / 'all'] – Research specific or all equipment.

research_on_icon_click – Instantly research tech when clicking it.

updateequipments – Reload all equipment files.

updatesubunits – Reload unit files.


Diplomacy & War

allowdiplo – Use any diplomatic action without justification.

whitepeace [country tag] [country tag] – End a war instantly.

annex [country tag / 'all'] – Annex the target country.

winwars – Max war score in all active wars.

civilwar [ideology] [country tag] – Start a civil war in a country.

add_party_popularity [ideology group] [amount] – Add popularity to an ideology.

set_ruling_party [ideology group] – Change ruling party.

instant_wargoal – Apply war goals instantly.

yesman – AI always accepts diplomacy.


Politics & Control

tag [country tag] – Switch to a different country.

observe – Watch the game without controlling a country.

setowner [country tag] [state id] – Change who owns a state.

setcontroller [country tag] [province id] – Change who controls a province.

add_core [state id] [country tag] – Make a state a core of a country.

remove_core [state id] [country tag] – Remove a state as a core (may be broken).

add_autonomy [country tag] [amount] – Change autonomy of a country.


Debug & Info Commands

tdebug – Toggle debug mode (shows IDs for provinces, equipment, etc.).

debug_events – Start event counting.

debug_dumpevents – Show collected events.

debug_diploactions – Start diplomatic logging.

debug_dumpdiploactions – Show diplomatic logs.

debug_zoom – Zoom camera in.

debug_info – Show debug info screen.


Visual & Map Commands

teleport [province id] – Move selected units instantly to a province.

fow [province id] – Toggle fog of war for all or specific province.

mapmode [mapmode id] – Change map mode:

1 = Default

2 = Naval

3 = Air

4 = Supply

5 = State

6 = Resistance

7 = Resource

8 = Diplomacy

9 = Faction

fullscreen – Toggle fullscreen mode.

nomapicons – Toggle map icons.

mapnames – Toggle map names.

debug_cities – Toggle city visualization


Miscellaneous Useful Commands

event [event id] [country tag] – Trigger an event.

add_opinion [source tag] [target tag] – Change diplomatic opinion.

savegame – Save the game immediately.

sleep [seconds] – Pause the game for a set time.

version – Show game version.

time – Show current game time.

browser [url] – Open a URL in-game browser

This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.