Train-Sim.Com
MSTS Sound Design

Help w/ Sms files for Station Announcements in subway u

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #351

Member since Feb-22-03 · 7 posts

Click to send message via ICQ

Help w/ Sms files for Station Announcements in subway u – image 1

Hi,
I'm working on a fictional subway route and would like to include sound regions of station announcements (i.e. "Next Station: ...."). I've thought about it for a long time and decided that this is the best way. I'm having trouble with .sms files. The new Wiener U-Bahn 2.0 (sorry, spelling's wrong) has such sounds, but they're not working. This is what's in the .sms file:SIMISA@@@@@@@@@@JINX0x1t______Tr_SMS ( ScalabiltyGroup( 5
Activation (
PassengerCam()
CabCam() )
Deactivation (
ExternalCam()
)
Volume ( 2.0)
Stereo ( )
Streams ( 1
Stream (
Priority ( 2 )
Volume ( 0.2 )
Triggers ( 1
Dist_Travelled_Trigger ( Dist_Min_Max ( 550 550 ) Volume_Min_Max ( 0.3 0.4 )
PlayOneShot ( 1
File ( "donauinsel.wav" -1 )
SelectionMethod ( SequentialSelection )
)
)
)
)
)
)
)All I hear is silence, what's up with it? The .wav file is fine (22k, stereo)

-----
-Alex

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

RE: Help w/ Sms files for Station Announcements in subw, scefhwil, Feb-23-03, 12:07 PM, (1) RE: Help w/ Sms files for Station Announcements in subw, Palal, Feb-23-03, 02:28 PM, (2) RE: Help w/ Sms files for Station Announcements in subw, scefhwil, Feb-24-03, 08:13 AM, (3) RE: Help w/ Sms files for Station Announcements in subw, Palal, Feb-25-03, 00:37 AM, (4) RE: Help w/ Sms files for Station Announcements in subw, scefhwil, Feb-25-03, 05:12 PM, (5) RE: Help w/ Sms files for Station Announcements in subw, Palal, Feb-25-03, 07:02 PM, (6) RE: Help w/ Sms files for Station Announcements in subw, scefhwil, Feb-26-03, 07:48 AM, (7) RE: Help w/ Sms files for Station Announcements in subw, Palal, Feb-26-03, 07:50 PM, (8) RE: Help w/ Sms files for Station Announcements in subw, scefhwil, Feb-27-03, 12:42 PM, (9) RE: Help w/ Sms files for Station Announcements in subw, Palal, Feb-27-03, 09:47 PM, (10)

Conferences | Topics | Previous Topic | Next Topic

Charter Member · 192 posts

RE: Help w/ Sms files for Station Announcements in subw

Well, here are a few things that could be mentioned but the first is that this sms script is for a sound source (ie yellow column in RE) not a sound region (ie a zone marked on track by little pryamids). Why? There is no TrackType () statement.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Feb-22-03 · 7 posts

RE: Help w/ Sms files for Station Announcements in subw

Click to send message via ICQ

Help w/ Sms files for Station Announcements in subway u – image 2

Thanks for the reply! This is not my file! What would I change in order to make it work on any track type?

-----
-Alex

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 192 posts

RE: Help w/ Sms files for Station Announcements in subw

Sound Regions only work for one track type, you place a TrackType(x) in the Activation section where x denotes the track type id as given in your routes ttype.dat file. Note: TrackType (0) refers to the first track type, (1) the second etc.For the best understanding look in the ttype.dat file of a default route and then the various .sms's this refers to.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Feb-22-03 · 7 posts

RE: Help w/ Sms files for Station Announcements in subw

Click to send message via ICQ

Help w/ Sms files for Station Announcements in subway u – image 3

Thanks for the help...I'll try to figure something out. Just one more question, what's the syntax for: Dist_Travelled_Trigger ( Dist_Min_Max??

-----
-Alex

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 192 posts

RE: Help w/ Sms files for Station Announcements in subw

The Min and Max figures mean that the sms will choose a random distance somewhere between the two values. Same goes for the Volume_Min_Max. Gives a degree of randomness, unless both figures are the same.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Feb-22-03 · 7 posts

RE: Help w/ Sms files for Station Announcements in subw

Click to send message via ICQ

Help w/ Sms files for Station Announcements in subway u – image 4

Here's the script and it's not working. I have this as TrackType 1 in ttype.dat. Can someone help me figure out what's wrong?SIMISA@@@@@@@@@@JINX0x1t______
Tr_SMS ( ScalabiltyGroup( 5
Activation ( PassengerCam( ) CabCam( ) TrackType ( 1 ) Distance ( 1000 ) )
Deactivation ( ExternalCam( ) TrackType ( 1 ) Distance ( 1000 ) )
Volume (1.0)
Streams ( 1
Stream (
Priority ( 6 )
Triggers ( 1
Dist_Travelled_Trigger ( Dist_Min_Max ( 500 500 ) Volume_Min_Max ( 0.3 0.4 )
PlayOneShot ( 1
File ( "sound.wav" -1 )
SelectionMethod ( SequentialSelection )
)
)
)
)
)
)
)

-----
-Alex

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Feb-22-03 · 7 posts

RE: Help w/ Sms files for Station Announcements in subw

Click to send message via ICQ

Help w/ Sms files for Station Announcements in subway u – image 5

Firstly, you are testing this in the sim whilst on a section of track that has the correctly associated track region laid?
If you're talking about associating it in ttype.dat, then yes, it seems to be correctly associated. Here's my ttype.datSIMISA@@@@@@@@@@JINX0t1t______2
TrackType ( "Default" "USATrack0In.sms" "USATrack0Ex.sms" )
TrackType ( "TestSound" "TestSound.sms" "Test Sound.sms" )

-----
-Alex

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 192 posts

RE: Help w/ Sms files for Station Announcements in subw

That looks OK. But you also need to be running your testing consist on a section of track that has had the "TestSound" tracktype associated to it. This is done using the Route Editor. (I could do with posting an RE screen shot but I'm not currently at a PC with MSTS on it.)

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Feb-22-03 · 7 posts

RE: Help w/ Sms files for Station Announcements in subw

Click to send message via ICQ

Help w/ Sms files for Station Announcements in subway u – image 6

I have everything correctly set up in MSTS. I get a change in sound, but the sound does not play. All I hear is silence from that sound channel.

-----
-Alex

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | File Library ] Copyright © 2002 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured June 26, 2003. About this archive.