Wondering if there's a way to add "chime sounds" to stations and passenger cars

BryanMar3046

Hayajiro Conductor
Wondering if there's a way to add "chime sounds" to stations and passenger cars

Hi there,
So lately, I've been interested in adding Chime Sounds to passenger cars when a consist stops at a station.
For example, when the train door opens, a door chime plays, and some music also plays in the station, essentially similar to commuter stations/trains in Japan.
trainzdoorchimeex1_zpsfomsdzbm.png

I'm not too sure if I might have to use a 3rd party software to also add in some code for the scripts, but as far as I have seen from one thread,
you have to have the .wav files added along the function/script that opens or closes the doors.
Help is much appreciated!
Regards,
Bryan
 
Hi Bryan,

This is definitely done with some kind of script. You don't need a third-party tool for this, other than for editing the sound to work properly, scripts are compiled in the game, and are linked to in the config.txt files. Sorry I can't help you more than this on that part of the process.

I recommend looking at some other content that has this already. It doesn't matter where it's from or who made it. You may even be able to copy their script container and sound container format and use it for your own purpose.

John
 
Ah I see, I'll try and search for some content that was already done.
Do you by chance know anyone else who might have made some content already that has the "chime" script installed?
Thanks,
-Bryan
 
Ah I see, I'll try and search for some content that was already done.
Do you by chance know anyone else who might have made some content already that has the "chime" script installed?
Thanks,
-Bryan

Look at some DB Desiro (Class 642) passenger trains. There are some that are built-in and others on the DLS.

http://www.bing.com/images/search?q...50d2e64df0452768bfb8b2c77d143875o0&ajaxhist=0

Here's one I found on Bing images, nonetheless, and it's from Trainz RO!

When the train pulls into a station, there's a chime, the doors open, and afterwards a beeping as the doors close. I believe this is what you want...


Why do you have two Trainz accounts?

John
 
Look at the Berline U7 route & sessions in Trainz. These are pretty much fully scripted with door chimes, station announcements, etc.

peter
 
Look at some DB Desiro (Class 642) passenger trains. There are some that are built-in and others on the DLS.

http://www.bing.com/images/search?q...50d2e64df0452768bfb8b2c77d143875o0&ajaxhist=0

Here's one I found on Bing images, nonetheless, and it's from Trainz RO!

When the train pulls into a station, there's a chime, the doors open, and afterwards a beeping as the doors close. I believe this is what you want...


Why do you have two Trainz accounts?

John
Ah sorry. T:ANE Steam Edition (when I pre-ordered it) acted weird and glitchy while I was entering in MyTrainz account. That was a mistake/screwup on my end to begin with.

But yes, it's pretty much what I was looking for. Thank you.
 
So after some searching high and low, I've decided to "export" a soundscript that I believe should help make the chimes go off.
scriptfails_zps7mt7vfxr.png

Except I don't hear it in game..
I also took a look at this old thread here:
http://forums.auran.com/trainz/show...ors-Open-and-Close-each-with-their-own-sounds
I'm not too sure if I also have to use Gmax as mentioned in this thread.
But I've decided to alternate with the station sounds included in the routes I have, and made it sound like the consist I have set, "trigger" the station jingles :hehe:
I'm kind of curious, but does anyone know any users who are still active that have some locomotives/rolling stock equipped with soundscripts when a consist is at a station? (Like Magicland for example.)
-Bryan
 
Last edited:
That makes sense, Bryan.

You should consolidate the accounts though as it's easier to track updates and so on. You can do this by contacting the Helpdesk at some point after the holidays.

I can't help you with GMax. I haven't used that in almost 10 years and probably close to 20 years for 3ds R4 DOS.

If the sound isn't activating, you may need to check the sound-output type. Ensure that the sound is mono and not stereo.

John
 
That makes sense, Bryan.

You should consolidate the accounts though as it's easier to track updates and so on. You can do this by contacting the Helpdesk at some point after the holidays.

I can't help you with GMax. I haven't used that in almost 10 years and probably close to 20 years for 3ds R4 DOS.

If the sound isn't activating, you may need to check the sound-output type. Ensure that the sound is mono and not stereo.

John

Ah alright, i'll try contacting Helpdesk.
Yes, the sound-output type is always mono when I change up the audio (hornsound, bell etc.)
 
Hmm... Still doesn't make sense... Nothing plays when the rolling stock is at a station..
scriptstrainz_zpscxf9lmtu.png

I'm comparing 2 config files displayed (and with the soundscript container in the top left corner)
The left config file (obviously) is the one that I want to have played, while the other config file is the station sounds that play just by itself.
I've noticed that there's a "trigger" command added to the script. The thing is, I have no clue if it's set to the desired function or not, since I just copy and paste the script from Magicland's NYC Subway cars.
If I removed the "trigger" script function, then the sounds play on the rolling stock, just not where I would hope it would play at :o
So now i'm wondering.. Do I have to edit the function in, "content manager?" Or Gmax at this point? or.. what..
--
Note: Trigger Desc.
Type: String Default: "" Compulsory: No Desc: The 'trigger' tag gives your sound a name that can allow it to be played from TrainzScript (see: Class MapObject), animations and certain predefined events. (At least one of these "predefined events" is to use the word "toggle" when including a soundscript container in the config.txt of a "MOjunction". This will make the sound fire each time the turnout is switched)
Now this has gotten a bit confusing for me.. Does the TrainzScript mentioned in the trigger description have at least an option that plays the desired sound when the doors open/close?
-Bryan
 
Back
Top