GearCity

GearCity

View Stats:
Speeder 11 Feb, 2022 @ 11:55am
Mod Editor: news localization string too short
The news localization string must have 5 digits, but the game localization for news all use 6 digits ore more...

Meaning as soon you hit "save" something breaks, becoming 99999
< >
Showing 1-2 of 2 comments
Eric.B  [developer] 11 Feb, 2022 @ 12:42pm 
If you have a github account, please make a ticket here: https://github.com/gearcity/GearCity_ModTools

I'll add it to my text list of stuff as well.

The mod tools haven't been updated in about 3 years. There were changes recently to allow easier access for translators to translate the text. Modtools haven't been updated to implement that. I will probably give them a go over after I launch the Feature Bounty system. But before I switch full time to the next game.


A work around for the time being would be to omit the second 0. Then do a Find & Replace on your exported turn events file to add that second zero back in.

For example, if you wanted ID 100630, enter 10630 into the mod tools.
After you export the file, open up the turn events file, and do ctrl-r (or ctrl-h depending on what software you're using"

find: headline="1 replace: headline="10

Then do the same with body:
find: body="1 replace: body="10

Be sure to do save as, keep your file with 5 figure IDs separate from the 6 figure IDs, otherwise, if you add any more, you'll end up making the ones you did previously 7 figures.


That should work unless you plan on adding 4000 more articles to the map files :)
Eric.B  [developer] 27 Mar, 2022 @ 5:01pm 
Fixed this issue, it'll be in the next update (probably a mod tools and settings editor only update. As I am working to clear out all my issues with those tools. )

Thanks again!
< >
Showing 1-2 of 2 comments
Per page: 1530 50