OK - started to get the hang of this and works as advertised - I see the advantages - EXCEPT for one exception... I cannot get my "BRAKES_WAGON" part of the file in an "include file" - if I place it before the "LIGHTS" section - it breaks the lights - if I place it where it is now - it breaks the sounds... They're just the first symptoms - as I try to ignore them - then the controller stops working and ORTS locks up... All the other includes work just fine... I've quadruple checked syntax and brackets... The code works absolutely fine in the ENG file - only - when placed in an "include" does it mangle everything...
Steam Locomotive ENG File:
SIMISA@@@@@@@@@@JINX0D0t______ Comment ( ########## WAGON SECTION ########## ) Wagon ( LHR280_Cons91_CL Type ( Engine ) WagonShape ( LHR280_Cons91.S ) Size ( 3.26m 4.81m 13.35m ) Mass ( 154.85t ) WheelRadius ( 0.4572m ) NumWheels (1) Comment ( ##### INCLUDE FILES [WAGON] ##### ) include ( ".\\INCLUDE\\LHR280LOC_COUPLERS.inc" ) include ( ".\\INCLUDE\\LHR280LOC_FRICTION.inc" ) include ( ".\\INCLUDE\\LHR280LOC_LIGHTS_CL.inc" ) include ( ".\\INCLUDE\\LHR280LOC_BRAKES_WAGON.inc" ) Comment ( ##### MISC WAGON ##### ) Sound ( "Mik-h-eng.sms" ) FreightAnim ( crew.s 1 1 ) ) Comment ( ########## ENGINE SECTION ########## ) Engine ( LHR280_Cons91_CL Wagon ( LHR280_Cons91_CL ) Type ( Steam ) ORTSSteamLocomotiveType ( Simple ) ORTSDriveWheelWeight ( 283800lb ) IsTenderRequired ( 1 ) WheelRadius ( 0.775m ) NumWheels ( 4 ) Comment ( ##### INCLUDE FILES [ENGINE] ##### ) include ( ".\\INCLUDE\\LHR280LOC_POWER.inc" ) include ( ".\\INCLUDE\\LHR280LOC_BRAKES_ENGINE.inc" ) include ( ".\\INCLUDE\\LHR280LOC_EFFECTS.inc" ) include ( ".\\INCLUDE\\LHR280LOC_CONTROLS.inc" ) Comment ( ##### MISC ENGINE ##### ) Sound ( "Mik-h-cab.sms" ) Name ( "SCO LHR280 #91 Loco - Class" ) CabView ( sps_700.cvf ) HeadOut ( 1.95 3.5 -6.2 ) Description ( "The six monster Lehigh and Hudson River 90 class 2-8-0 Consolidations came in 1925 and 1927. Very similar to the Reading's I-10's, they were among the largest Consolidation types ever built - with a tractive effort nearly as great as the USRA's heavy Santa Fe.\n"+ " \n" ) EngineOperatingProcedures ( "The operating procedures for the engine.\n"+ " \n" ) )
My Include File (first line blank like all include files):
Comment ( ##### BRAKES WAGON ##### ) BrakeEquipmentType ( "Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir, Handbrake" ) BrakeSystemType ( "Air_single_pipe" ) MaxBrakeForce ( 516.63kN ) MaxHandbrakeForce ( 137.77kN ) TripleValveRatio ( 2.5 ) MaxApplicationRate ( 50 ) MaxReleaseRate ( 50 ) MaxAuxilaryChargingRate ( 20 ) EmergencyResChargingRate ( 20 ) EmergencyResCapacity ( "4.963*(ft^3)" ) EmergencyBrakeResMaxPressure ( 90 ) BrakeCylinderPressureForMaxBrakeBrakeForce ( 50 ) ORTSDirectAdmissionValve ( 0 ) ORTSAuxilaryResCapacity ( "4.963*(ft^3)" ) ORTSNumberBrakeCylinders ( 1 ) ORTSBrakeCylinderSize ( 18in ) ORTSBrakeShoeFriction ( 0.0 0.5 8.0 0.288 16.1 0.241 24.1 0.211 32.2 0.187 40.2 0.173 48.3 0.161 56.3 0.150 64.4 0.142 72.2 0.139 80.5 0.134 88.5 0.129 96.6 0.125 104.6 0.123 112.7 0.121 )
What's different with this one ?
Regards,
Scott