Railyard 2s

Post new scenarios and mods here to share with other gamers.

Moderator: Joel Billings

Post Reply
User avatar
Dereck
Posts: 3112
Joined: Mon Sep 06, 2004 10:43 pm
Location: Romulus, MI

Railyard 2s

Post 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.
PO2 US Navy (1980-1986);
USS Midway CV-41 (1981-1984)
Whidbey Island, WA (1984-1986)
Naval Reserve (1986-1992)
zorroot
Posts: 9
Joined: Fri Sep 29, 2023 10:18 pm

Re: Railyard 2s

Post 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
User avatar
Dereck
Posts: 3112
Joined: Mon Sep 06, 2004 10:43 pm
Location: Romulus, MI

Re: Railyard 2s

Post 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 :D
PO2 US Navy (1980-1986);
USS Midway CV-41 (1981-1984)
Whidbey Island, WA (1984-1986)
Naval Reserve (1986-1992)
User avatar
Wiedrock
Posts: 1591
Joined: Tue Oct 11, 2022 7:44 pm
Location: Germany

Re: Railyard 2s

Post 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.
User avatar
Dereck
Posts: 3112
Joined: Mon Sep 06, 2004 10:43 pm
Location: Romulus, MI

Re: Railyard 2s

Post 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.
PO2 US Navy (1980-1986);
USS Midway CV-41 (1981-1984)
Whidbey Island, WA (1984-1986)
Naval Reserve (1986-1992)
Post Reply

Return to “Scenario Design and Modding”