Page 1 of 2 12 LastLast
Results 1 to 10 of 81

Thread: Adding Automatic Switch Sounds in Openrails

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2013
    Location
    CSX Freemont Secondary
    Posts
    341

    Default Adding Automatic Switch Sounds in Openrails

    I was recently reading the Openrails Manual and read that automatic switch sounds can be placed on all switches for a route without the need to specify a sound region for each switch. I remember back when running the SLI Seligman Sub v2 I did hear the switch sounds and decided to see if I can replicate/add this for the MLT Niagara Corridor. I have modified the below files seen below but am not able to hear anything. Does anyone know why?

    In the routes SOUND folder, I added the below files:

    wheel switch moderate.sms
    wheel switch moderate1.wav
    wheel switch moderate2.wav
    wheel switch moderate3.wav
    wheel switch moderate4.wav
    wheel switch moderate5.wav
    wheel switch moderate6.wav
    wheel switch moderate7.wav



    On the end of the ttype.dat file I added the below three lines:


    [email protected]@@@@@@@@@JINX0t1t______

    1
    TrackType ( "Concrete Supported" "USATrack1In.sms" "USATrack1Ex.sms" )
    TrackType ( "Switch" "wheel switch moderate.sms" "wheel switch moderate.sms" )
    TrackType ( "Squeal Curve" "wheel switch moderate.sms" "wheel switch moderate.sms" )
    TrackType ( "Squeal Switch" "wheel switch moderate.sms" "wheel switch moderate.sms" )





    On the end of the trk file I added the below three lines:

    ORTSSwitchSMSNumber ( 10 )
    ORTSCurveSMSNumber ( 11 )
    ORTSCurveSwitchSMSNumber ( 12 )

    )

  2. #2
    Join Date
    Apr 2003
    Location
    New York, USA.
    Posts
    2,173

    Default

    Quote Originally Posted by csx8851 View Post
    I was recently reading the Openrails Manual and read that automatic switch sounds can be placed on all switches for a route without the need to specify a sound region for each switch. I remember back when running the SLI Seligman Sub v2 I did hear the switch sounds and decided to see if I can replicate/add this for the MLT Niagara Corridor. I have modified the below files seen below but am not able to hear anything. Does anyone know why?

    In the routes SOUND folder, I added the below files:

    wheel switch moderate.sms
    wheel switch moderate1.wav
    wheel switch moderate2.wav
    wheel switch moderate3.wav
    wheel switch moderate4.wav
    wheel switch moderate5.wav
    wheel switch moderate6.wav
    wheel switch moderate7.wav



    On the end of the ttype.dat file I added the below three lines:


    [email protected]@@@@@@@@@JINX0t1t______

    1
    TrackType ( "Concrete Supported" "USATrack1In.sms" "USATrack1Ex.sms" )
    TrackType ( "Switch" "wheel switch moderate.sms" "wheel switch moderate.sms" )
    TrackType ( "Squeal Curve" "wheel switch moderate.sms" "wheel switch moderate.sms" )
    TrackType ( "Squeal Switch" "wheel switch moderate.sms" "wheel switch moderate.sms" )





    On the end of the trk file I added the below three lines:

    ORTSSwitchSMSNumber ( 10 )
    ORTSCurveSMSNumber ( 11 )
    ORTSCurveSwitchSMSNumber ( 12 )

    )

    Hi...

    TTYPE.DAT

    You need to update the number at the begging to reflect the accurate count of TrackType.

    Code:
    [email protected]@@@@@@@@@JINX0t1t______
    
    13
    TrackType ( "Default" 			"CPTrack0In.sms" "CPTrack0Ex.sms" )
    TrackType ( "Concrete Supported"	"USATrack1In.sms" "USATrack1Ex.sms"	)
    TrackType ( "Wood Supported" 		"USATrack2In.sms" "USATrack2Ex.sms"	)
    TrackType ( "In Tunnel" 			"USATrack3In.sms" "USATrack3Ex.sms"	)
    TrackType ( "Steel Bridge" 			"USATrack4In.sms" "USATrack4Ex.sms"	)
    TrackType ( "Girder Bridge" 		"USATrack5In.sms" "USATrack5Ex.sms"	)
    TrackType ( "Under Bridge" 			"USATrack6In.sms" "USATrack6Ex.sms"	)
    TrackType ( "Concrete Bridge" 		"USATrack7In.sms" "USATrack7Ex.sms"	)
    TrackType ( "Crossing Platform" 	"USATrack8In.sms" "USATrack8Ex.sms"	)
    TrackType ( "Wooden Bridge" 		"USATrack9In.sms" "USATrack9Ex.sms"	)
    TrackType ("Switch" "switchtrackin.sms" "switchtrackex.sms" )
    TrackType ( "Squeal Curve" "SquealIn.sms" "SquealEx.sms" )
    TrackType ( "Squeal Switch" "switchtrackin.sms" "switchtrackex.sms" )
    Regards,
    Scott

  3. #3
    Join Date
    Feb 2013
    Location
    CSX Freemont Secondary
    Posts
    341

    Default

    I changed the ttype.dat to 4 and tried adjusting the switchsms parameter to 2 but wasn’t successful. I am running the latest experimental version of openrails 1.3. I have also tried copying the wheel switch sms and wav files into the main MSTS Sound folder but no luck.

  4. #4
    Join Date
    Apr 2003
    Location
    New York, USA.
    Posts
    2,173

    Default

    Quote Originally Posted by csx8851 View Post
    I changed the ttype.dat to 4 and tried adjusting the switchsms parameter to 2 but wasn’t successful. I am running the latest experimental version of openrails 1.3. I have also tried copying the wheel switch sms and wav files into the main MSTS Sound folder but no luck.
    Hi...

    Carlos did the work - I know the main pipe takes a while to get updates - perhaps try Monogame which is what I use - I know they work there.

    In one of the threads on the subject - Carlos was even kind enough to provide all his sound files to help get you started - I don't have that thread handy though.

    Regards,
    Scott

    Regards,
    Scott

  5. #5
    Join Date
    Jan 2006
    Location
    Hanover Park, Il., USA.
    Posts
    9,451

    Default

    I must as, Scott & csx8851 - where does one get these files, from the Carlos post you speak of above?:

    wheel switch moderate.sms
    wheel switch moderate1.wav
    wheel switch moderate2.wav
    wheel switch moderate3.wav
    wheel switch moderate4.wav
    wheel switch moderate5.wav
    wheel switch moderate6.wav
    wheel switch moderate7.wav
    Neil

    Here at home, in the railroad mayhem capital of the world.

  6. #6
    Join Date
    Feb 2013
    Location
    CSX Freemont Secondary
    Posts
    341

    Default

    The wheel switch sounds I mentioned were provided with the Streamlines BNSF Seligman sub upgrade. I am trying to incorporate these into other routes. If anyone has Carlo’s contact information, please send me a PM
    Last edited by csx8851; 02-01-2021 at 06:42 PM.

  7. #7
    Join Date
    Apr 2015
    Location
    St. Vincent and the Grenadines
    Posts
    194

    Default

    A related question. Can someone tell me how I can check whether a route is using Sound Regions or not?

  8. #8
    Join Date
    Nov 1999
    Location
    UK.
    Posts
    753

    Default

    Quote Originally Posted by dforrestc View Post
    A related question. Can someone tell me how I can check whether a route is using Sound Regions or not?
    If you use TSRE and check under "other" then any sound regions in the route will be listed there, if that helps.
    Dell Desktop. Intel i5 3.3 CPU. 8GB RAM. Nvidia GTX 1050Ti 4GB graphics. Windows Pro 64bit. RailDriver. Partridge in a pear tree...

  9. #9
    Join Date
    Apr 2015
    Location
    St. Vincent and the Grenadines
    Posts
    194

    Default

    Quote Originally Posted by niknak View Post
    If you use TSRE and check under "other" then any sound regions in the route will be listed there, if that helps.
    Thank you but unfortunately this appears the list the sound regions included in the route's ttype.dat file, but not whether they are actuality used in the route.

  10. #10

    Default

    Quote Originally Posted by dforrestc View Post
    Thank you but unfortunately this appears the list the sound regions included in the route's ttype.dat file, but not whether they are actuality used in the route.
    Easiest way is fly around in TSRE along the track and look for the yellow handles showing the sound regions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-->