Programming track triggers in TS12?

Short version to making an asset of the type HTML-Asset:

Open Content Manager.

Click File in the menu, then "new asset". That makes a new asset under your KUID and it will be called "new asset".

Click on the newly created asset to highlight it, then right-click and select Edit|Edit in Content Creator Plus

Content Creator Plus opens. Your first choice is to select the type of the asset. Select HTML-Asset.

On the next screen enter in the "username" field the name of the asset. If I'm creating a session called "My cool session", I'll name the HTML asset for the session "My cool session HTML". That way I know this asset is the HTML asset for My Cool Session.

If you'd like to see the use of sound files and triggers, look on the DLS for my session "The Goldsboro Local", which is for the "Wilsons Mills and Mt. Olive" route. I made extensive use of "radio" communications from Dispatch. Sound files are placed in the HTML asset and triggers are used to play them at appropriate times in the session. The sound files need to be in WAV format, in mono and recorded at 22khz bit rate.

Todd
 
Short version to making an asset of the type HTML-Asset:

Open Content Manager.

Click File in the menu, then "new asset". That makes a new asset under your KUID and it will be called "new asset".

Click on the newly created asset to highlight it, then right-click and select Edit|Edit in Content Creator Plus

Content Creator Plus opens. Your first choice is to select the type of the asset. Select HTML-Asset.

On the next screen enter in the "username" field the name of the asset. If I'm creating a session called "My cool session", I'll name the HTML asset for the session "My cool session HTML". That way I know this asset is the HTML asset for My Cool Session.

If you'd like to see the use of sound files and triggers, look on the DLS for my session "The Goldsboro Local", which is for the "Wilsons Mills and Mt. Olive" route. I made extensive use of "radio" communications from Dispatch. Sound files are placed in the HTML asset and triggers are used to play them at appropriate times in the session. The sound files need to be in WAV format, in mono and recorded at 22khz bit rate.

Todd

Ok, I started a new asset as an html-asset, but I can't right-click the html-asset folder in Content Creator plus and select add sound-script? How can I add the sound file to it? Copy and paste it into the New asset folder in explorer?

I thought I would start out as an html-asset, then follow the rest of this tutorial to finish it: http://trainz.christrup.net/TRS/tut1.html
Thanks,
Cody
 
I didn't use sound-scripts, so I can't help you there. Don't know anything about them.

Getting files into an asset:

1. Find your newly created html-asset.
2. Right-click on it and select Edit|Edit in Explorer. (or use Ctrl-Shift-E)
3. This opens a new Windows Explorer window. The window will show a folder with the same name as your asset (TS12\UserData\editing\name of the asset). You'll see all the files that are contained in the asset in that folder.
4. Copy your WAV file (or other file) to that folder.
5. Close the Windows Explorer window that CMP opened.
6. In CMP, select the asset. Notice the little black pickax-looking icon shows the item is read-only (because it's open for edit).
7. Right-click and select Edit|Commit. (or use Ctrl-M)

CMP now commits the asset and you'll be able to use it in Trainz.

I used this technique to get sound files, html files and config.txt files into the HTML asset for my Goldsboro Local session. I made the HTML files in Notepad, made changes to config.txt, created a screenshot JPG and then copied them into asset using this technique.
Have a working folder where you store, modify and test file to get them ready for the asset. Only copy them into the asset, don't cut and paste.

Todd
 
Back
Top