Hearts of Iron IV is a wargame developed by Paradox Development Studio and published by Paradox Interactive. It was released in June 2016.
This mod allows you to start a peace negotiation with all the enemies that you're currently at war with to request a white peace. When entering the negotiation process, the AI will take into consideration several factors before agreeing to a white peace with your country. All of a sudden a white peace event fires. Borders get reset, Korea becomes independent and I'm forced into peace with Japan. I would understand this if the nationalists had higher war score, but I had 71% and they only had 29%.
To win the war in Hearts of Iron 4, you will need all the equipment you can get. But, to use the equipment you need to unlock them first. You can access the equipment through the console menu; using the add_equipment cheat which adds the chosen equipment. This article will explore the equipment and cheat codes you can use in Hearts of Iron.
So, you will need to access the console to enter the cheat codes you want. To access the console while playing the game, press the tilde ~ key to display the console window. Then, type one of the cheat codes you want and press the Enter key to activate the corresponding cheat function.
HoI4 equipment names
- Support Equipment
- Modern Tank
- Infantry Equipment III
- Motorized
- Mechanized
- Light Tank II
- Medium Tank
- Grosstraktor
- Marine
- Mountain
- Towed Anti-Tank
- Towed Anti-Air
- Super Heavy Tank
- Towed Artillery
- Rocket Artillery
- Fighter I
- Close Air Support I
- Heavy Fighter
- Tactical Bomber I
- Strategic Bomber I
- Submarine
- Light Cruiser
- Heavy Cruiser
- Destroyer
- Battleship
- Battlecruiser
- Superheavy Battleship
- Light Airframe
- Medium Airframe
- Heavy Airframe
- Motorized
- Mechanized equipment
- Jet Engines
- Mechanized Equipment I
- Mechanized Equipment II
- Armor tank_armor_upgrade
- Mechanized Equipment III
- Heavy Tank
- Main Gun
- Anti-Air Armament
- Anti-Tank Armament
- Artillery Armament
- Engine
- Gun
- Torpedo
- Armor ship_armor_upgrade
- Armor
- Anti-Air
- ASW
- Stealth
- Deck space
- Weapons
Read Also:How to make glass in No Man’s Sky
HoI4 cheat codes
- Gain xp:This command can be used to add experience to a Leader/General. The specified amount of experience is added to the Leader/General you currently have selected.
- Cp: This command will add command power (max. 100%).
- St: This command will add stability (max. 100%). You can remove stability by specifying a negative number.
- Ws: This command will add war support (max. 100%). Specify a negative number to remove war support.
- Allowtraits: This command removes restrictions on general trait assignment. Executing this command will allow you to freely assign general traits to commanders, etc.
- Add_equipment Command: This command adds a specified number of any equipment other than naval equipment.If you want to remove equipment specify a negative amount.
- Add_latest_equipment : This command will add the specified number of equipment to each and every piece of equipment you have fully researched or unlocked.
- Whitepeace Command: This command instantly makes ‘white peace’ (things return to the way exactly they were before a war started) between the specified countries (specified by their country tag).
- Teleport: This command can be used to either activate the teleportation tool (if no arguments provided), or instantly teleport any selected ships or armies to the province with the specified ID.
- Allowdiplo: This command allows for the use of any diplomatic action (e.g. declaring war) without justification.
- Debug_nuking: After executing this command, nuking in any province is permitted, regardless of conditions.
- Instantconstruction: Enables or disables the instant construction cheat, making all the construction to happen instantly (no longer queues up).
- Event Comman: starts the specified event in the specified country.
- Research :This command researches all equipment, or equipment in a specific technology slot.
Conclusion
Those are some of the Heart of Iron 4 console commands you can use. Please drop a comment or question in the comments section below.
HOI4 console commands can unlock a whole new world of possibilities. You can control the AI, add XP to generals, add equipment, and much more.
All you need to know is the right keywords and how to use them. That’s why we created a list with some of the most useful HOI4 cheats and commands that one can use.
Without any further ado, let’s get right to it.
How to Enable Hearts of Iron 4 Console Commands
First things first, you need to know how to get access to the console. That’s the only way to use console commands.
That can be done in various ways, but the easiest one is using the “~” key which can be found at the upper left part of a keyboard.
If that doesn’t work, you can alternatively try using “Shift + 2, Shift + 3, or ALT + 2 + 1”, and that should do it.
In the rare scenario that the console still doesn’t come up, then the only alternative is going to the options menu and checking out the controls. The console hotkey should be on display there.
AI Control/Cheats
There aren’t a lot of AI commands to play with. But, the few options that we found can make a huge difference in certain scenarios.
yesman: AI will accept any diplomatic offer regardless of the circumstances
ai: Toggles AI on and off
ai_invasion: Toggles AI naval invasions
debug_ai_budget [CountryTag]: Display AI budget data
human_ai: Toggles AI for human countries
And that’s about it for the useful commands. Some others that aren’t all that useful (For most people) include:
aiview: Enables debug info
airealism: Enables smacktalk in chats (Can’t be activated during multiplayer while there is no chat for single player)
observe(spectator): As the name suggests, it turns you into an observer. All you can do is sit and watch what the AI does
aidump: Dumps AI front data to log file (Requires you to select a unit)
Power Commands
These commands allow you to instantly add experience, equipment, manpower, war support, stability, and other things like that.
This is quite possibly the largest list in this article (Excluding MISC commands for obvious reasons), so, prepare yourself.
gain_xp [amount]: Adds experience to a selected Leader, General, or Admiral (Example: gain_xp 100000)
cp [amount]: Adds Command Power
st [amount]: Adds Stability
ws [amount]: Adds War Support
add_equipment ae [equipment amount] [equipment amount]: Just like the name suggests, it adds equipment. Example: add_equipment_ ae 1000 Infantry_Equipment_1
add_latest_equipment(ale) [equipment amount]: Gives you the latest equipment variants
manpower [amount]: Gives you more manpower (If you don’t specify a specific number you’ll get 10 million men)
add_opinion [Country tag]: Adds opinion
xp [XP amount]: Gives army, navy, and air experience (Can only be used once per day)
pp(fuhrer_mana,political_power) [PP amount]: Gives you political power
fuel [amount]: Adds fuel
add_pary_popularity [ideology group] [value]: Adds party popularity
set_ruling_party [ideology group]: Sets ruling party
nu [number]: Adds a specific amount of National Unity (Can only be used for 1.5 and older)
nuke [number]: Adds nukes
Control Commands
As the above heading suggests, these commands deliver a lot of control over the game that is otherwise not attainable.
They can also be classified as cheats. But, hey, this is for single-player. So, what’s the harm in it?
Some of the commands require you to insert specific values, depending on what you need. And in that case, Google is your best friend. There’s also the “tdebug” command which displays all nation tags and IDs.
whitepeace(wp) [country tags]: White peace with the selected/specified countries
teleport(tp): Activates the teleportation tool
allowdiplo(adiplo,nocb): Allows to use all diplomatic actions no matter the rules (Basically a way to immediately start a war without justification)
debug_nuking: Allows you to nuke every province without checking any conditions
instantconstruction(ic): Toggles instant construction cheat (Also affects AI)
Hoi4 White Peace Command
event [event id] [Target Country Tag]: Executes an event
effect [scripted_effect_name]: Executes a scripted event
research [Slot id]: Researches a technology from a research slot. You can also usee “all” instead of “Slot id” to research everything
spawn [SubUnit Type] [Province ID] [Amount]: Spawns a unit in a province. This can only be used by going to Steam -> Library -> HOI4 properties -> Launch options -> and adding the “–debug” line
occupationpaint(op): Toggles occupation painting
setowner [country tag] [state id]: Sets state power
setcontroller [country tag] [province id]: Sets province controller
civilwar [ideology] [target country tag]: Spawns a civil war
set_ruling_party [ideology group]: Sets ruling party
Focus.AutoComplete: Allows national focuses to be instantly finished
Focus.NoChecks: Ignores focus requirements
Focus.IgnorePrerequisites: Ignores focus prerequisates
Decision.NoChecks: Ignores decision requirements
instant_prepare: Instantly prepares naval invasions
it: Instantly trains divisions
Miscellaneous Commands
Those were all the commands that we could categorize and that most players will find useful. From here on out, it’s mostly a grey area.
Here are some commands that you may or may not find to be useful:
rendertype: Reports what render backend is used
tweakergui: Spawns a GUI tweaker
reload [file name]: Reloads assets. Example: reload focus
time: Displays time
reloadfx: Reloads shaders
deleteallunits(delall): Delete all armies and fleets
fronts: Toggle visibility of the foreign fronts
reloadsupply(relsup): Reinitializes the supply systems
nopausetext: Enables or disables the pausebanner
nextsong: Changes the song
Hoi4 Japan White Peace Event
reloadinterface: Reloads the interface
reloadtechnologies: Reloads the technology database
updateequipments: Updates the equipment database
updatesubunits: Updates the subunit database
reloadoob [Target Country Tag]: Relads OOBs
![White White](/uploads/1/1/9/4/119499309/396200258.png)
poll: Polls valid Events
pause_in_hours: Automatically pauses the game after the specified amount of hours have passed
add_autonomy [Target Country Tag]: Changes a country’s autonomy level
annex [Target Country Tag]: Beggin annex/annexes on the specified tag
winwars: Gives max score in all wars
resign: Resign from the game
PrintSynchStuff: Prints random count and seed
collision(debug_collision): Toggles debug display of normals/bounding boxes/collision
savegame: Creates a save file
savecheck: Makes and loads two identical save files
IP: Shows your IP
fullscreen: Toggle fullscreen
debug_zoom: Zooms in the game
debug_water: Enables or disables water
debug_postfx: Enables or disables post effects
debug_bloom: Toggles bloom
city_reload: Reloads the cities
version: Displays the game version that you have installed
weather: Toggle weather simulation
hdr: Toggles HDR
night: Toggles night
Wrapping Up
Hoi 4 White Peace Command
And that’s about it for now. We’re not writing down every single command that exists for the game as that would end up being a rather long list.
But, if you’re up for it, you can see all available commands by typing: help.