[HOW TO] Creating maps with your own town names

Home Forums Modding [HOW TO] Creating maps with your own town names

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7031
    reijnemans
    Participant

    Here I describe some steps to create your own town-names:

    1. Open windows explorer (windows key + E)
    2. browse to “{install directory}\Train Fever\res\config\name\{Language which your game is in}” (for default steam installation install directory is : “C:\Program Files (x86)\Steam\SteamApps\common”)
    3. Make a copy of “towns. lua” as backup
    4. Open the original “towns.lua” with notepad or another source editor
    5. The first 2 and the last 2 lines in this file should be untouched. All other lines could be removed, adjusted or even new lines could be added. Make sure each of those lines keep the following format. every line looks as follow (as in the original file): {tab} “{town_name}”,
    6. Save the file and restart train fever.

    Same could be done with street names.

    #7071
    Iver
    Participant

    Don’t forget save it as UTF-8 for special characters.

    #7073
    reijnemans
    Participant

    Don’t forget save it as UTF-8 for special characters.

    True, but because you’re editing the original file, it will be automatically be saved as UTF-8 (at least when using notepad or notepad++)

    • This reply was modified 7 years, 3 months ago by reijnemans.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Modding’ is closed to new topics and replies.