So in the case of Test.eng file:
Scenario 1)
Quote
.....
Coupling (
Type ( Automatic )
Spring (
Stiffness ( 4e2N/m 6e6N/m )
Damping ( 5e6N/m/s 5e6N/m/s )
Break ( 5.1e7N 5.1e7N )
r0 ( 12cm 15cm )
)
Comment ( CouplingHasRigidConnection ( 1 ) )
Velocity ( -0.2m/s )
)
.....
Scenario 2)
Quote
Coupling (
Type ( Automatic )
Spring (
Stiffness ( 4e2N/m 6e6N/m )
Damping ( 5e6N/m/s 5e6N/m/s )
Break ( 5.1e7N 5.1e7N )
r0 ( 12cm 15cm )
)
Comment ( CouplingHasRigidConnection ( 1 ) )
Velocity ( -0.2m/s )
)
include ( "..\\Someplace\\Couplers\\My_Coupler.inc" )
.....
Note that the position of "include ( "..\\Someplace\\Couplers\\My_Coupler.inc" )" in the file is different in each scenario. The contents of My_Coupler.inc is basically a replacement, nothing OR specific, of what is is already in the Coupling() declaration in the Test.eng file.
In what scenario does the information in " include ( "..\\Someplace\\Couplers\\My_Coupler.inc" )" overwrite what is in the Test.eng file? How can you prove your assertion?
Regardless of best practice and smaller files, etc. I would like to know what really happens as it simplifies the use of some older consist managers which balk at an OR only type of .eng/.wag file.These older consist managers ignore newer OR only type entries as long as all of the MSTS expected data is there. It would be most convenient to simply drop in include files, in the proper places instead of having two different files, one for MSTS(legacy) and the other OR only.
I ask this because the official documentation for OR only has examples where one large include is placed at the top of an existing MSTS(legacy) .eng file. I assume here that what is in the include file "overrides" everything else in the .eng file. Is that correct?
This may be a messy question to ask, as the purpose of the include files are to not only add OR specific entries, but also possibly MSTS(legacy) entries! So who wins the battle here?
Thanks,
Steve