


Gives player amount of latest equipment variants Now use 'add_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 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.Ħ.
GEARCITY 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.

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. Press Shift+2, §, ~, \, `, ", ^ or ALT+2+1, or Shift+3 to access the console (key varies based on keyboard layout)
