Hearts of Iron IV

Hearts of Iron IV

View Stats:
P53 Enfield Oct 11, 2023 @ 8:17am
Nudge Tool Issue
I've being trying to use the nudge tool to create new states for a mod. It works, however it changes every state name to state_234 (or whatever its state ID is). I've made sure to copy the localization files into my mod and I don't have any issues when running the game without my mod activated. Has anyone else had this problem and know of a solution, or even just the cause?
< >
Showing 1-2 of 2 comments
i've been having the same issue, according to the Hoi4 Modding on Discord:

Newly-added localisation values in 1.13 commonly omit the version number, such as STATE_111_SWE: "Nyland". The nudger interprets that as a version of negative one, and writes it as STATE_111_SWE:-1 "Nyland" instead. The game only expects numeric characters as the version number, so it breaks the rest of the file with an error of Expected quotation mark (").
If you're using the base game's localisation file that contains such values, this will break it. Make sure to remove any negative ones in the nudger's localisation outputs, preferably swapping them with any non-negative integer number.
TheBigD Aug 10, 2024 @ 11:41pm 
Originally posted by Perninha de Supino:
i've been having the same issue, according to the Hoi4 Modding on Discord:

you're the goat
for anyone reading this, I used notepad++ and did ctrl+F on state_names_l_english.yml, then just used the replace tool to replace every -1 with 1, and I haven't run into any problems yet
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Oct 11, 2023 @ 8:17am
Posts: 2