HOI4Commands.com

HOI4 Console Commands

438 Console Commands

A complete and up-to-date searchable list of every HOI4 console command, with syntax and working examples.

Press the tilde key (~) in-game to open the console, then type a command and press Enter. Cheats are disabled in Ironman games — see the guide on how to open the console.

Category

Sets country flag on specified TAG for a duration. Defaults to current country and value 1 with infinite duration.

Debug

Sets debug unit controller tag, other countries will not update units

Debug

Set a flag

Debug

Sets the specified global flag to a value. Defaults to 1

Debug

Sets mud for the selected province

Debug

Sets ruling party for the country

Cheat

Set a variable

Debug

Sets the weather for the selected province (and corresponding region)

Debug

Sets province controller

Cheat

Sets state owner

Cheat

Sets the randomcount to 0 or arg

Debug

Show all medals as achieved in the grid without actually earning them.

Debug

Show all ribbons as achieved in the grid without actually earning them.

Debug

Toggle always showing of enemy ships

Debug

shows all the hidden focuses

Debug

Show the popup for earning a medal without actually earning it.

Debug

Show the popup for earning a ribbon without actually earning it.

Debug

Toggle always showing of player ships

Debug

Show XP gain information.

Debug

The ShowBorderTypes console command.

Tweakable Variable

The ShowTechBonus console command.

Tweakable Variable

Toggle simplified naval transports

Debug

Sleep

Debug

Add a scientist with max skill in all specializations"

Debug

Add a scientist. Is specified a specialization and level that will be applied to the scientist. If no specialization is specified the level will be applied to all.

Debug

Add level and if specified, specifically to a specialization for a scientist. If no specialization is specified, the level will be added for each specialization. Requires the facility view with an attached scientist to be open.

Debug

Add a trait to the scientist. Requires the facility view with an attached scientist to be open.

Debug

Trigger available returns true for all Special Projects.

Debug

Create breakthrough points."

Debug

All phases in Special Projects take now 1 day to complete. For prototype phase, it's the iterations that will take 1 day. And it will require as many iterations as usual.

Debug

All started Special Projects finish on the daily tick. It skips the iterations of the Prototyping phase and their reward.

Debug

Trigger a specified prototype reward during a project."

Debug

Remove a trait from the scientist. Requires the facility view with an attached scientist to be open.

Debug

Research all special projects. If no scientist exist it will create one, otherwise it will pick an arbitrary one. Imagine there is a secret hidden facility in a controlled province where the projects are researched."

Debug

Set level and if specified, specifically to a specialization for a scientist. If no specialization is specified, the level will be added for each specialization. Requires the facility view with an attached scientist to be open.

Debug

All Special Projects are always visible and available. Whether or not the triggers returns true, and whether the parents are completed.

Debug

Spawns a unit in a province

Cheat

The spawn_3D_models console command.

Debug

Spawns an actor with an optional animation

Debug

Toggles sRGB

Debug

The supply_debug.show_debug_lines_rail console command.

Tweakable Variable

The supply_debug.show_debug_lines_supply console command.

Tweakable Variable

The supply_debug.show_debug_lines_train console command.

Tweakable Variable

The supply_debug.show_debug_rivers console command.

Tweakable Variable

Toggle the supply penalties due to bad supply flow

Debug

Switch tag to another country

Cheat

Test setting a country's color

Debug

Teleports selected armies or ships to the specified province

Cheat

The Terrain.MipLevels console command.

Tweakable Variable

This is a placeholder command. Use it for your debug code if you need to quickly test something locally. Or copy and paste it to create a new console command.

Debug