HOI4 Cheats and Console Commands

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.

READ ALSO: CIV 5 Console Commands and Ingame Editor

Launching the Console on HOI4

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.

 

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.

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.