Multi-language town names and station names

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
Matvey Merkulov
Engineer
Engineer
Posts: 2
Joined: 12 Nov 2017 08:34

Multi-language town names and station names

Post by Matvey Merkulov »

Hi! I have some questions regarding making NewGRFs using nmlc:

1. Is it possible to make multi-language town name sets? E. g. if player selects "English" as current language, town names will be generated in English (from English set) and if he selects "Russian", town names will be generated in Russian?

2. How to change station names postfixes? Is it possible?

Thanks in advance.
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: Multi-language town names and station names

Post by Eddi »

ad 1. no, you can make an english generator and a russian generator, but you cannot switch between them.

ad 2. i don't think that's possible. if you want to change the existing station prefixes/suffixes, you probably need to add them to TTDPStringIDToOTTDStringIDMapping in newgrf.cpp, but it may get messy. also, you can add new station names for industries (one per industry). overall it's pretty limited in what you can do.
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: BW89 and 4 guests