A Holiday Miracle - Music on the Train

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ZachBell4400
    Senior Member


    • Jul 2017
    • 480
    • Little Falls, MN
    • American English
    • ORTS

    #1

    A Holiday Miracle - Music on the Train

    How does one actually put music on a random passenger car, such as on the stage boxcar of the CPKC Holiday Train? Is there a way one can install a sound source on a piece of rolling stock? People from all walks of life haven't seen just the CPKC train, and many Class I's such as BNSF and CSX have similar trains, just not as festive or bright as CPKC's.
  • anderson martins
    Senior Member

    • Feb 2005
    • 553
    • belo horizonte, minas gerais, brasil

    #2
    Originally posted by ZachBell4400
    How does one actually put music on a random passenger car, such as on the stage boxcar of the CPKC Holiday Train? Is there a way one can install a sound source on a piece of rolling stock? People from all walks of life haven't seen just the CPKC train, and many Class I's such as BNSF and CSX have similar trains, just not as festive or bright as CPKC's.
    I don't think it's difficult. There's a group that adds "next stop" audio. Maybe it's just a matter of replacing it.
    Chimbica Dash8

    Comment

    • oper190
      1000 Post Veteran



      • May 2010
      • 1498
      • Port Charlotte, FL
      • English
      • MSOR

      #3
      Like the interior sound of a passenger car, a .wav file has to be placed in the .sms file used by the car. All should have a line like this in the .wag file: Sound ( "GenFreightWag2.sms" )
      Just have to script one that plays your choice of music.
      Geary "Mr. Hart" Gerhardt - Owner and CEO of Hart Rail Lines, Hart Commuter Railways, and Hart Rail Cars. Also the defunct Hart Electric Transit.
      Its Your Train Sim World, sim as you please.

      Comment

      • ZachBell4400
        Senior Member


        • Jul 2017
        • 480
        • Little Falls, MN
        • American English
        • ORTS

        #4
        I see, now my question is answered. Thanks!

        Comment

        • kapitaen
          Senior Member

          • May 2010
          • 331
          • Germany
          • German + a little bit English
          • MSOR

          #5
          The original MSTS Europa2 Barwagon “oebarcar.wag” has music on board.

          Inside (
          PassengerCabinFile ( OEPassView.s )
          PassengerCabinHeadPos ( -1.0149 2.35801 -5.47518 )
          RotationLimit ( 30 80 0 )
          StartDirection ( 0 0 0 )
          Sound ("OEBarPas.sms" )
          )

          Sound ("380Wag.sms")
          oebarpas.sms

          .....
          stream (
          Priority ( 3 )
          Triggers ( 1
          Initial_Trigger (
          StartLoop ( 2
          File ( "oe_pamb_piano1.wav" -1 )
          File ( "oe_pamb_piano2.wav" -1 )
          SelectionMethod ( RandomSelection )
          )
          )
          )
          )
          .....
          ​
          Jan

          Comment

          Working...