

Will Allow you to research an item without its prerequisite or two mutually exclusive items Research a technology when clicking on technology tree icon Research all will instant research all technologies Researches a technology from research slot or all. If you only want instant justification and not the extra options it comes with, then use (instant_wargoal).Īllows to nuke every province without checking any conditions.Īffects AI. This is likely the most effective way of wanting to start a war without needing to wait for the justification. White peace with the specified countries.Ĭan teleport units where ever you tell them to goĪllows to use all diplomatic actions for no matter the rules. Now use 'add_latest_equipment 1000 Matilda LP Mk. Example: You create a variant of 'Matilda LP'-tank with better Armor and Main Gun and name it 'Matilda LP Mk. To add only a specific type of your latest equipment, you have to address it's given name. Gives player amount of latest equipment variants Now use 'add_equipment 1000 Matilda LP Mk. To add modified equipment, you have to address it by given name. (with the exception of convoy: 'ae 1000 convoy_1') To add ships, consider using instantconstruction(ic) (ic also effects AI). (Optional turn back on binarization in settings.txt)Įquipment uses the basic name so 'ae 1000 infantry_equipment_1'.You can only add researched equipment. Start game, load save game, use gain_xp command, enjoy. Make sure to save the file with ANSI encoding format.Ħ.

#WAR FOR THE OVERWORLD CONSOLE COMMANDS CODE#
Go few lines below to max_traits=0.000 and add following code block behind itĥ. Open 'Documents\Paradox Interactive\Hearts of iron IV\Save Games', open new created savegame-file, search (CTRL-F) for the name of your generic created AdmiralĤ. Start game, load savegame and save as new file, exit game.ģ. Open 'Documents\Paradox Interactive\Hearts of Iron IV\settings.txt' with a text editor and change 'save_as_binary=yes' to 'save_as_binary=no'.Ģ.

Note To make it work with new, generic created Admirals:ġ. If the event has a trigger = block, it says which triggers were met and which weren't.Īdds experience to selected Leader/General/AdmiralĪdds gainable trait to selected Leader/General/Admiral Print out all console commands or a specific command description.Ĭhanges the country that the player controls.Įvent pages can be used to tell the IDs of events.

In this case, event generic.1 will work, but event will not. Square brackets in combination with angle brackets as in event signify a mandatory argument.In this case, both fow and fow 1234 will work, but may have different effects. Square brackets as in fow signify an optional argument.In this case, using ic or instantconstruction has the same effect in-game. Regular brackets as in instantconstruction(ic) are used to show aliases, alternate names for the console commands.In this article, there are 3 types of brackets used within commands: Using a non-default text editor can also allow using the 'Search in files' function (Such as in Notepad++, Sublime Text, or Visual Studio Code) in order to search through every single localisation file at the same time to find a specified value. Each file in there contains localisation keys with values that actually appear in-game assigned to them. To do that, navigate to the folder where the game is contained, then to the /Hearts of Iron IV/localisation/english/ folder. If that is impossible, using localisation is an alternative. Note that while modding, the console command does not do everything that the launch option does and cannot serve as a substitute. debug as a console command will turn on debug mode which can provide information about certain database entries, such as focuses, national spirits (and other ideas such as laws or designers), or technologies when hovering over them, as well as obtaining information when hovering over a province of IDs of the state and the province, as well as the 3-letter country tag of the country it belongs to. Internal IDs See also: CountriesĬonsole commands use internal IDs, which may be obtained in a variety of different ways.Īn easy way to tell internal IDs is debug mode. Tip: If you don’t want to do “Shift” + “Tab” to see this all the time, you can write “/?” after enabling it.Press Shift+2, §, ~, \, `, ", ^ or ALT+2+1, or Shift+3 to access the console (key varies based on keyboard layout) Do not panic if you cannot play anymore simply press the same button you used to open it, “Scroll Lock.” To access the cheat codes, merely type “GreatStuff” in the console. When the window pops up, everything you write will come as text in the box. Press the “Scroll Lock” button on your keyboard to open the console, also known as “Scr Lck.” To access cheat codes, you need to open the console.
