Programming track triggers in TS12?

conductorboy

Wannabe engineer
Hi all,
Is there a way to program a track trigger in trainz 12 to automatically play a sound like different radio communications? I have the MP3 format sound tracks here, but I'm not sure how to program them to a track trigger.

Can anybody tell me how to do this?

Thanks,
Cody
 
It's a difficult task. Which bit do you need advice on? The hardest part would be creating the required sound assets.

Shane


Well, I've never created an asset before........ I'd probably need advice/help with everything......

You're probably thinking "Oh boy, I got myself into a deep one now....";)

Thanks for the help,
Cody
 
Probably, as the only assets I've created are either route/session assets, or scripts.

Someone else should be along shortly to advise on the asset creation side, then I can help out with the session rules side.

Shane
 
Probably, as the only assets I've created are either route/session assets, or scripts.

Someone else should be along shortly to advise on the asset creation side, then I can help out with the session rules side.

Shane

I created a sound asset for TS12 by following the instructions here:
http://trainz.christrup.net/TRS/tut1.html

Now, I just need to set that asset to go off at a trigger. Does anybody know how to do that?
Thanks,
Cody
 
To do that:

You will need a named trigger firstly, then the following:

Add the following rules, with the appropriate settings: (> = indentation)

CHECK TRACKSIDE [entry,trigger name,tick auto-reset)
>PLAY SOUND [sound asset]

Shane
 
To do that:

You will need a named trigger firstly, then the following:

Add the following rules, with the appropriate settings: (> = indentation)

CHECK TRACKSIDE [entry,trigger name,tick auto-reset)
>PLAY SOUND [sound asset]

Shane

How do I add rules and do the settings, etc?
 
This may take a while...

You add the relevant rules in the Edit Session box in Surveyor.

To add a rule, use the Add button. To edit the settings, you will need to click the appropriate rule followed by the Edit button.

Shane
 
This may take a while...

You add the relevant rules in the Edit Session box in Surveyor.

To add a rule, use the Add button. To edit the settings, you will need to click the appropriate rule followed by the Edit button.

Shane

So, I copy this (> = indentation) and add that as a rule?
Thanks,
Cody
 
I added a rule to the indented "trigger check" rule called "check trackside", then added the rule "play sound." NOW I understand. :) Only thing is how do I get the assett HTML?
Thanks
 
kuid <kuid:448500:100034>username "nberpa"trainz-build 3.4category-class "OA"kind "scenery"description "This is an English radio communication file recorded on the Nittany & Bald Eagle Railroad located in Central Pennsylvania."category-era "2010s"category-region "US"mesh-table{ default { mesh "rednote.im" auto-create 1 }}thumbnails{ 0 { image "smalldog.jpg" width 240 height 180 }}soundscript{ nber02082012 { repeat-delay 10,30 distance 40,100 sound { 0 "nber 02082012 - Copy" } }}

There you go, Have at it!
Cody
 
Back
Top