Page 1 of 1
Railyard 2s
Posted: Mon Oct 23, 2023 4:29 pm
by Dereck
Has anybody worked on a mod where they capitalized the cities with Railyards > 1?
I would like to bold the text but it might be easier to just make the Railyard 2 cities in upper case and was wondering if it ended up looking okay when done.
Re: Railyard 2s
Posted: Tue Oct 24, 2023 2:12 pm
by zorroot
Hello,
I have not tested it, but you may want to check the file maptext.csv. Every text that appears on the map is in this file, also the city names. What happens if you just add a special character to the city's name (like # maybe) to indicate its railyard size is bigger than one ?
You may also estabish an automated process for this by using python, visual basic.net or any other programmig language. Parse the file city.csv and store every city name with a railyard >1 on a list. Parse maptext.csv and add a special character to every city on the list.
Regards,
Oliver
Re: Railyard 2s
Posted: Tue Oct 24, 2023 2:47 pm
by Dereck
zorroot wrote: Tue Oct 24, 2023 2:12 pm
Hello,
I have not tested it, but you may want to check the file maptext.csv. Every text that appears on the map is in this file, also the city names. What happens if you just add a special character to the city's name (like # maybe) to indicate its railyard size is bigger than one ?
You may also estabish an automated process for this by using python, visual basic.net or any other programmig language. Parse the file city.csv and store every city name with a railyard >1 on a list. Parse maptext.csv and add a special character to every city on the list.
Regards,
Oliver
I can actually uppercase the city text from within the game editor. I'm not sure just putting a "#" at the end of the city name will help with my old eyes.
I will probably go through the locations in the editor and uppercase cities with railyards > 1.
I know it "could" be programmed but it ain't gonna happen for two reasons: 1) the computer I have my games on is also my photography computer and doesn't has Microsoft Office on it and 2) I retired this past December from working 35 years in IT as a programmer/DBA so I won't hold the panic attack your statement brought on me against you

Re: Railyard 2s
Posted: Wed Oct 25, 2023 1:03 pm
by Wiedrock
dereck wrote: Mon Oct 23, 2023 4:29 pm
Has anybody worked on a mod where they capitalized the cities with Railyards > 1?
Not sure if you cought that already, ....if you open the Editor and you are in the map view and you press the button above TAB-key (left of the 1-key) then you can edit the map. There you can add Map texts,....not 100% how all this works. Also not sure if you can just change the "Generic Data Map" so it is applied to all campaigns u start/play.
Re: Railyard 2s
Posted: Wed Oct 25, 2023 7:49 pm
by Dereck
Wiedrock wrote: Wed Oct 25, 2023 1:03 pm
dereck wrote: Mon Oct 23, 2023 4:29 pm
Has anybody worked on a mod where they capitalized the cities with Railyards > 1?
Not sure if you cought that already, ....if you open the Editor and you are in the map view and you press the button above TAB-key (left of the 1-key) then you can edit the map. There you can add Map texts,....not 100% how all this works. Also not sure if you can just change the "Generic Data Map" so it is applied to all campaigns u start/play.
I gave up on this attempt. Having the cities all in uppercase really didn't look nice to my eyes.