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
I haven't tweaked the values since I last changed this a couple of years ago, and I don't know if the code has changed for the second game, but I may come back and try again when I get it.
Hope it works for you guys, I'll try and be quicker on the response next time!!
This was why in the base game all the 'old' trains had the same whistle, and the 'new' trains all had their own shared whistle sound. Because each model file just pointed to either the train_steam_old.lua or train_steam_modern.lua which both had a single 'horn' value that pointed to the same name .wav file.
So what I did was I copied over the entire contents of the soundset file for either new or old depending on the train, changed the 'horn' value to the .wav file that I wanted to use and saved it as a new .lua file with a different name. Then I went to the individual train model file and changed the soundset 'name' value so it would always point at my new soundset.
That did the trick for me, but I'm aware it might not be a perfect solution.
Hi guys, really sorry for not replying for such a long time, didn't come back to this game for a while until the 2nd was announced. I'm more than happy to break down what I did, as it's more of a bodged work-around than anything else after digging around some mods that had their own sound sets and working out how to do it for base trains.
I initially had the bright idea of going into the individual model files (res>models>model>vehicle>train) for each train that was in the base game and setting the horn value in the soundset object to a different corresponding .wav file in the audio files.
Problem was this only initially worked, then the whistles reverted back to a standard soundset (which are found in res>config>soundset), which made me realise that the base game only has two base sound sets for steam train models: train_steam_old.lua and train_steam_modern.lua
I've nailed down that it happens when a locomotive is sent into a depot and then out again - then the whistle reverts to the default one. I've also been able to find out that if you save the game and reload it, the whistle sounds will be fixed.
I've been wondering how you managed to fix that issue on the vanilla locomotives (I've checked and your fix works with the same reproduction steps), and if it would be possible for me to modify the workshop locomotives the same way you did - in order to fix the reverting whistle issue.
I realise that you may not do Transport Fever mods any more, but I'd like to know your method so perhaps I can get to the bottom of this.