Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
trackTypes = { "standard.lua", "high_speed.lua" },
which lets you select the track type. Putting your new track in the appropriate model/mesh folders and listing the name there should let you select it.
At least if you're modding a specific station. If you want a general-purpose mod to expand the selection of tracks to all stations, I'm sure that's possible but I'm also a new modder and can't help you much further.
So it is that file? I tried that already but in-game it still shows Standard and High-Speed under the track type... Oh yeah, I meant for all train stations by the way. I also took a look into the scripts folder and found an interesting file. Unfortunately, that file didn't have that much to do with track selection on the stations. :/
To my knowledge (not really that experianced I must admit) SoftwareSimian's way is the only way to do it (that is for the standard game supplied stations and the curved stations if you have that mod active). Other stations that modders have made might use different way of selecting the track type.
In addition you wil have to change the function makeTrackTypeParam in the paramsutil.lua to add your track to the option window. Warning adding your track here will crash the game if you try to select your track type for a station that uses this function but does not have it's trackTypes field (or simular construction) extended with your track.
It would have been better if the libary functions that select and lay tracks would scan the res/config/track folder and include all tracks found (might give a long list in the option windows though). However modded stations might not use these library function so will still not have your new track.
Does anyone know how other train station length mods alter and add station lengths? I've looked in the files of the ones that use the library that UG uses and I found no differences in the files. So where are the lengths located?
Information is appreciated!