Many people don't know what the console code instructions of Hearts of Iron 4 are. Next, let's take a look at the complete console code instructions of Hearts of Iron 4!
A complete overview of Hearts of Iron 4 console codes:
Focus.Autocomplete: National policy is completed instantly
research 0/1/2/3 Which technology (the ID of the first one is 0) is completed in an instant (AI cannot use it)
research complete is the first one after research, and has the same effect as research 0
Research all Several technologies in the research slot can be developed together instantly (AI cannot be used)
research_on_icon_click Just click on the technology tree to complete the research (AI cannot be used)
manpower [number] increase manpower (default adds 10M)
xp [number] adds three types of experience (999 by default, upper limit 500)
instantconstruction:instant construction
instant_wargoal adds war goal without time
yesman(ai_accept) AI agrees to all
fow(debug_fow) removes fog of war
pp [number] Add political points (default 999 points)
unity(nu) [Number] Add cohesion
annex [country code] forced annexation
tag [country code] Change to the specified country to play
allowdiplo All diplomatic options are available unconditionally, but it seems that volunteers can only be sent during peacetime.
tdebug displays the debug information of the province, including ID and who wants this land, etc. (cannot be seen in help, nor can it be summoned by Tab)
helphelp will return No help for you!".
add_equipment [number] [equipment name] Add specified equipment
add_equipment 2000 infantry_equipment_0 is 2000 basic infantry equipment
add_equipment 3000 infantry_equipment_1 is 2000 higher level infantry equipment
add_equipment 10000 support_equipment_1 is ten thousand supplies
add_latest_equipment [Number] Add all the most advanced equipment (including aircraft but not the navy) (recommended) (default add 10000)
debug_nuking can throw nuclear bombs at will, no conditions are required
airealism real AI
ai_invasion I won't hit you at sea
civilwar [ideology] [country code] Let the specified country's civil war
Optional ideology: democratic, communal, fascism
deltat [numeric] sets the icon flashing speed
deleteallunits [country code] directly deletes all units of a country, including the navy,
Note: If there is a civil war, the additional countries will not have their own country codes, and will be numbered D01, D02 in order of appearance, and so on.
For example, Faisel Spain is usually D01...the original Republic is SPR.
Attached are some commonly used equipment names:
artillery_equipment;
AT anti_tank_equipment;
AA anti_air_equipment;
A battleship is a battleship;
A transport ship is a convoy
;An aircraft carrier is a carrier;
guided missileguided_missile_equipment;
Heavy aircraft carrierheavy_cruiser;
destroyer destroyer;
Mechanized motorized_equipment;
Light aircraft carrier light_cruiser;
submarinesubmarine;
Four types of tanks super_heavy_tank_equipment
heavy_tank_equipment
light_tank_equipment
medium_tank_equipment;
Modern tank modern_tank_equipment;
How to open the console:
1. Press the ~" key to open the console in Hearts of Iron 4.
2. After entering the code, press the "Enter" key to take effect.