Something new for me in V0.9

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cp5006
    Senior Member
    • Jan 2008
    • 203
    • Ontario, Canada

    #1

    Something new for me in V0.9

    Hey guys,

    I'm really enjoying the newest release, but I have noticed a small, but very irritating problem that I have just noticed.
    Not sure if it was in previous X releases, but it is in V0.9. Here is the the part of the log...


    SSSSSSSSSSS$WSSSWW S(repeats) S(repeats) SSSSSSS$WWWWCS

    Warning: 1 missing Stream(s) in C:\Users\Owner\MSTS\trains\trainset\NSR SD40-3 3211\sound\..\..\SD.Sounds\NSRSD403Snd\SD40-2_eng.sms:line 290

    Warning: Cannot parse the constant number ) in C:\Users\Owner\MSTS\trains\trainset\NSR SD40-3 3211\sound\..\..\SD.Sounds\NSRSD403Snd\SD40-2_cab.sms:line 95

    Warning: Cannot parse the constant number ) in C:\Users\Owner\MSTS\trains\trainset\NSR SD40-3 3211\sound\..\..\SD.Sounds\NSRSD403Snd\SD40-2_cab.sms:line 95

    Warning: 6 missing Stream(s) in C:\Users\Owner\MSTS\trains\trainset\NSR SD40-3 3211\sound\..\..\SD.Sounds\NSRSD403Snd\SD40-2_cab.sms:line 227


    and here is the part of the .sms where line 95 is...

    SIMISA@@@@@@@@@@JINX0x1t______

    Tr_SMS (


    Skip ( ################################## IMPORTANT! ######################################### )
    Skip ( These sound files were originally created by Matt Florack. )
    Skip ( These files may not be packaged and or distributed in any manner, freeware or payware, without the express )
    Skip ( written permission of him. He will contact you if you leave a note on the TrainSim.com MSTS forum. )

    Skip ( )
    Skip ( )
    Skip ( )

    Skip ( )
    Skip ( )



    Skip ( ** SL 5 sounds - Two looping audio streams, multiple waves - pitch shifted & Xfaded by rpm ** )
    Skip ( ** - engine sound ** )
    Skip ( ** - One Horn audio stream ** )
    Skip ( ** - One Bell audio stream ** )
    Skip ( ** - One Sander audio stream ** )
    Skip ( ** - One Compressor audio stream ** )
    Skip ( ** - One Radio audio stream ** )
    Skip ( ** - One TBrake & IBrake audio stream {as only one shots for apply and off - unkilely to be at same time} ** )
    Skip ( ** - One DBrake audio stream ** )
    Skip ( ** - One Coupling audio stream ** )
    Skip ( ** - One Control audio stream with individual Control sounds ** )
    Skip ( ** - One Vigilance alarm audio stream ** )
    ScalabiltyGroup( 5
    Activation ( CabCam () PassengerCam () Distance (100) )
    Deactivation ( ExternalCam () Distance (100) )
    Stereo ()
    Streams ( 15
    Stream (
    Priority ( 6 )
    Volume ( 1.0 )
    Triggers ( 1
    Skip( **** Engine-Sound **** )
    Initial_Trigger ( StartLoop ( 1 File ( "64512_idle.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

    )
    FrequencyCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.00 44100
    0.125 50000
    0.25 15000
    0.375 17000
    0.50 22000
    0.625 26000
    0.75 000
    0.875 000
    1.00 000
    )
    Granularity ( 50 )
    )
    VolumeCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.00 1.0
    0.125 0.4
    0.25 0.0
    0.375 0.0
    0.50 0.0
    0.625 0.0
    0.75 0.0
    0.875 0.0
    1.00 0.0
    )
    Granularity ( 0.01 )
    )
    )
    Stream (
    Priority ( 6 )
    Volume ( 1.0 )
    Triggers ( 1
    Skip( **** Engine-Sound **** )
    Initial_Trigger ( StartLoop ( 1 File ( "645T_idle.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

    )
    FrequencyCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.00 25000
    0.125 25000
    0.35 38000
    0.50 44000
    0.65 50000
    0.75 56000
    0.85 60000
    1.00 66000
    )
    Granularity ( 50 )
    )
    VolumeCurve(
    Variable2Controlled
    CurvePoints ( 9
    0.00 0.0
    0.125 0.6
    0.25 1.0
    0.375 1.0
    0.50 1.0
    0.625 1.0
    0.75 0.9
    0.875 0.4
    1.00 0.0
    )
    Granularity ( 0.01 )
    )
    )


    Thanks in advance for any help or ideas. Its the only soundset that I have a issue with so far.

    Alex
  • baldwin
    6000 Post Veteran


    • Nov 1999
    • 6358
    • Chippenham, Wiltshire, UK.
    • ORTS

    #2
    Line 95 is a closing bracket. The Frequency curve claims to have 9 curve points, there are only 8, so you get the error.
    Beer is not a matter of life or death, it is much more serious than that.

    Comment

    • cp5006
      Senior Member
      • Jan 2008
      • 203
      • Ontario, Canada

      #3
      Thanks Mervyn. Would that error prevent a sound from being used?

      Alex

      Comment

      • baldwin
        6000 Post Veteran


        • Nov 1999
        • 6358
        • Chippenham, Wiltshire, UK.
        • ORTS

        #4
        I do not think so, however, wrong stream counts will if the number of streams is higher than the variable set in the sms file. I see that you have two instances of missing streams in your original post, which means that there are less actual streams than called. This will not stop streams being played, but the warning will remain until the sms is edited to change that.
        Beer is not a matter of life or death, it is much more serious than that.

        Comment

        Working...