OGTOOLS

Hearts of Iron IV: War commands

These commands change the situation on the front. The win wars command hands you the score in every war you are part of, and it is the fastest way to end a war that drags on. The equipment command fills your stockpiles and equips your army in one go.

5 codes all HOI4 codes

Most codes here need cheats turned on first. See the section on how to open the console.

add_political_power 1000

War commands

5 codes
5 codes listed

Wins every war you are in

winwars

Gives you the war score in every war you are part of. You still make the peace deal yourself, but the score is yours.

PC

Adds army, navy and air experience

xp 1000

Gives as much experience as the number at the end. It provides the points you need for division templates and equipment upgrades.

PC

Adds equipment

add_equipment 5000 infantry_equipment_1

Type the amount first and then the equipment's code name. The one in the example is basic infantry equipment.

PC

Adds nukes

nuke 10

Gives as many nukes as the number at the end. To use them, you need air superiority over the target.

A nuclear strike has diplomatic consequences and raises world tension.
PC

Deletes all of a country's units

deleteallunits

Permanently deletes every army and fleet of the country you name after the command. Used to clean up bloated armies.

It cannot be undone, so be careful not to delete your own army by accident.
PC

War commands: Common questions

Does the win wars command also make the peace deal?
No, it only gives you the war score. You still have to make the peace deal yourself, but since the score is yours, you can take the territory you want.
How do I use the equipment command?
Type the amount first and then the equipment's code name. If you do not know the code name, you need to look it up in the game's equipment list.
What does the nuke command give?
It adds as many nukes as the number you type at the end of the command. To use them, you need air superiority over the target.

Other HOI4 cheat categories