It was fine when I used the numbers like 1, 2, 1000, 1001, 1002, 10001. However, these numbers inevitably changes some innocent strings if they are already set for something else.
So, I changed my strings by adding 100,000 so 1 becomes 100001, 1002 becomes 101002, etc.
However, these numbers are not recognized in game.
The folder in which the string file is located is correct: resources-en-strings-key_value.
I restarted the game, but it didn’t help.
Furthermore, alternatively, I designated my strings to the string numbers for the Greek Chronicle campaigns. What the… it didn’t work at all. Haha. According to the instructions in the string file for modding in the key-value folder, it should show my adjusted ones, but it didn’t.
Can I add new strings instead of modifying those already existing?
I don’t want to edit my strings on the Editor as it is so annoying due to its bad typing circumstance and for better translation into other languages.
If you want to add new string IDs you must also create a mod dat in the “local” folder and connect the new IDs to the respective rectangles of a unit, building, technology or terrain, then save the changes and in the game choose your mod dat in the campaign you want to play so that the changes you made are applied.
It’s actually not changing but making my own ones that don’t affect original ones.
I know editing that file changes normal other strings. So, I won’t do this. Instead, I tried making my own strings with empty string numbers like 100001, 100002, etc. However, this didn’t work even though there are already the numbers of 200000+, 300000+, even 400000+.
If your string file is not called key-value-modded-strings-utf8.txt, it’s not going to load it properly for you. Just take the file you currently have with your new strings and change the file name, it should work.
Of course, I used that file for my owns, but it didn’t work properly. I tried editing that file either under the Steam folder or mods folder, but neither of them worked well. Those numbers are not recognized.
What I mean is, you can add other strings that are not the numbers you want. I have modded strings in a mod. The numbers are from 470950 to 470961 and work superbly. However, all the file needs to have the correct syntax. I had an issue because I was using ; as comments, but thats AI comment, not string comment