I don't know if anyone has ever noticed this but for those of you who may have wondered why a specified sound file won't work in some of your wag files, here is the reason why. You will likely find an extra <close bracket> at the end of the Lights (FRED) section. I have discovered that this extra bracket is present in the original KUJU default wagon (US2BNSFCAR) and used as a template, may be the reason why so much new rolling stock has been uploaded with the extra bracket included in their wag files.The problem section of example US2BNSFCAR.WAG file: States ( 2
State (
Duration ( 0.35 )
LightColour ( 40ff0000 )
Position ( 0.0 3.26 -10.542 )
Azimuth ( -180 -180 -180 )
Transition ( 0 )
Radius ( 1.0 )
)
State (
Duration ( 0.35 )
LightColour ( 00000000 )
Position ( 0.0 3.26 -10.542 )
Azimuth ( -180 -180 -180 )
Transition ( 0 )
Radius ( 1.0 )
)
) <--- DELETE ONE OF THESE BRACKETS!
)
)
) BrakeEquipmentType( "Handbrake, Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )
BrakeSystemType( "Air_single_pipe" )
MaxBrakeForce( 50kN ) MaxHandbrakeForce( 35kN )
NumberOfHandbrakeLeverSteps( 100 ) TripleValveRatio( 2.5 )
MaxReleaseRate( 15 )
MaxApplicationRate( 25 )
MaxAuxilaryChargingRate( 5 )
EmergencyResCapacity( 6 )
EmergencyResChargingRate( 5 )
BrakeCylinderPressureForMaxBrakeBrakeForce( 70 )
EmergencyBrakeResMaxPressure( 90 ) Sound ( "GenFreightWag1.sms" )
)There should only be 4 closed brackets, not 5 which will signal end-of-file to MSTS. Nothing will be read after that point including the car braking data and the SMS sound file. A default wag sound is used from the SOUND directory.As I said, many contributors have uploaded their models with these flawed wag files and since I like to use my own custom wagon sounds, this one really had me going until I finally counted the brackets. I hope this information will be useful to some of you if you weren't already aware of the problem.
Hugh
Printer-friendly page | Edit | Reply | Reply With Quote | Top
RE: Default Wag File Flaw, heffed, Apr-11-03, 11:21 PM, (1) RE: Default Wag File Flaw, IcyFire, Apr-12-03, 00:16 AM, (2) RE: Default Wag File Flaw, sniper297, Apr-12-03, 00:25 AM, (3) RE: Default Wag File Flaw, niknak, Apr-12-03, 03:16 AM, (4) RE: Default Wag File Flaw, hughrr, Apr-12-03, 06:24 PM, (7) RE: Default Wag File Flaw, Swissie, Apr-12-03, 08:17 AM, (5) RE: Default Wag File Flaw, sniper297, Apr-12-03, 03:06 PM, (6) RE: Default Wag File Flaw, eko, Apr-12-03, 09:41 PM, (8)
Conferences | Topics | Previous Topic | Next Topic


