Open Rails Physics
#1
Posted 24 August 2018 - 11:16 AM
Brandon
#2
Posted 24 August 2018 - 12:06 PM
Using the method Dave explains in the thread, which Erick used in the recent release of his NAVS GP7.
If I understand you correctly, the main eng or wag file would reside in the Common.inc folder with path strings placed in the OpenRails folder.
Give Erick (ErickC) a pm and I'm sure he can point you in the right direction.
You can do this with diesels, I dunno about steam. Perhaps OR steam code does not provide for this option.
#3
Posted 24 August 2018 - 05:58 PM
If every .wag or .eng for any **class** of rolling stock is all in one folder you probably should put your .inc files there too. If not then use common.inc\models\modelers name\class name.
By class name I mean the thing being modeled without regard to ownership. For example, any EMD locomotive is a class. It could be owned by many railroads and so could be found in many trainset folders. In that case it makes very good sense to put any
.Inc files in a neutral location. I recommend common.inc\models\modeler name\class name for that.
OTOH, many designs of steam locomotive were unique and owned by only one road. In this case I usually fiddle with the names of texture files (both .ace and in .s) so I can put everything in just one folder. I'll put the .inc files there too. But if I don't bother with that step I'll treat it as-if all the many folders of that class were owned by different roads and put the .inc files for them into the common.inc\models tree. Either way works and if you take the easy way and skip that fiddling that I usually do then you'd be using common.inc\models all of the time.
#4
Posted 24 August 2018 - 06:05 PM
Reskins don't mess with the mesh so they are a non issue.
#5
Posted 25 August 2018 - 08:16 AM
Brandon
#6
Posted 25 August 2018 - 08:29 AM
ATSF3751, on 25 August 2018 - 08:16 AM, said:
Brandon
Yep, you got it in one, Brandon. i use the common cab/sound folder analogy when explaining to people unfamiliar with the concept. It does take some initial work, but it does make everything so much easier with this modular system.
#7
Posted 25 August 2018 - 09:41 AM
Brandon
#8
Posted 25 August 2018 - 10:51 AM
First. I'd set up a Common.inc folder with at the very least two subfolders, Fleet ( for everything wag related, brakes, couplers, etc. ); Locomotives ( obviously everything engine related) and then the Model folder....best to study the threads about this one, will make more sense to you being a builder. Create other sub folders in the Common.inc folder as you need, linking everything with path strings through eng or wag include files in the OpenRails folders.
Have fun.
#9
Posted 25 August 2018 - 11:35 AM
#10
Posted 25 August 2018 - 04:15 PM
Brandon
#11
Posted 25 August 2018 - 06:57 PM
SIMISA@@@@@@@@@@JINX0D0t______ Wagon ( spmsts4464-1 Type ( Engine ) WagonShape ( spmsts4464-1.s ) Freightanim ( WP-GS6-Crew1.s 1 1 ) Adheasion ( 0.3 0.76 0.63 0 ) Include ( "SP_GS-6_Fixed_Specs.inc" ) Include ( "SP_GS-6_Locomotive_Weight.inc" ) Include ( "..\\Common.Inc\\Fleet\\Std_Steam_Locomotive_Bar_&_Coupler.inc" ) Include ( "SP_GS-6_LOCOMOTIVE_BRAKES.INC" ) Sound ( "GS6eng.sms" ) Include ( "SP_GS-6_Lights.inc" ) ) Engine ( spmsts4464-1 COMMENT ( "The following block of data is retained in this file to allow cusomizing the FX of each locomotive. " ) COMMENT ( "For each FX, you may edit the numerical value in the thrd line of numbers." ) COMMENT ( "DO NOT edit any other numbers!" ) Effects ( SteamSpecialEffects ( WhistleFX ( 0 4.84 -6.943 0 1 0 0.1 ) SafetyValvesFX ( 0.0 4.8 -5.763 0 1 0 0.2 ) StackFX ( 0 5.05 1.387 0 1 0 0.17 ) CylindersFX ( -1.496 0.38 1.527 -1 0 -0.5 0.15 ) CylindersFX ( 1.496 0.38 1.527 1 0 -0.5 0.15 ) ) ) Wagon ( spmsts4464-1 ) Include ( "SP_GS-6_Power.inc" ) COMMENT ( " For variable power performance copy any line from the above .inc file and paste below this comment, then ") COMMENT ( "edit value as desired. Use at your own risk." ) COMMENT (" You may edit the values on the next two lines to have a customized effect appear on this locomotive." ) SmokeCombustion ( 8 ) SteamSmokeUnitsPerPoundOfFuel ( 4.5 ) SteamMaxSmokeUnitsReleaseRate ( 10 ) Include ( "SP_GS-6_Air_Compressor_&_Resevoir.inc" ) Include ( "SP_GS-6_Independent_Brake_Control.inc" ) Include ( "SP_GS-6_Train_Brake_Control.inc" ) Include ( "SP_GS-6_Misc_Engineer_Control.inc" ) Include ( "SP_GS-6_Misc_Fireman_Control.inc" ) CabView ( GS6.cvf ) HeadOut ( 1.74 3.58 -13.10 ) Include ( "SP_GS-6_Engine_Controllers.inc") comment ( fire temp, fire mass, water mass, boiler pressure, tender water, tender coal, smoke quantity, fire condition, fuel quality ) EngineVariables( 950 1227 11297 260 194555 42000 200 1 1 ) Sound ( "GS6cab.sms" ) Name ( "SP MSTS GS-6 4464" ) Include ( "SP_GS-6_Text.inc" ) )
For the above locomotive, the WP had the same class; I've not done any comparison between the data for the SP and WP units and so as I write all of the .inc files are with the .eng files. If Derek spread out the .engs into individual folders then I probably did fiddle with the .ace names so everything could be moved into just one folder -- this one came out of /SP_4-8-4_GS6. I expect I will eventually do that comparison and if enough of the data matches I'll set up the necessary folder as \common.inc\models\Derek Miller\GS-6, move the .inc files there and rework the path in the .engs. I have a very good editor that does find and replace of files across many folders so that task is trivial for me.
WRT the logic for where any given parameter went I tired to group items for the same function into one .inc file. There is no Open Rails need to do that but as far as an aid to comprehension I think it's best -- when you open something like "SP_GS-6_Train_Brake_Control.inc" at least you know what is supposed to be there and what should not be there. I think that's valuable enough to do because otherwise you'd wind up recreating just another .eng file with everything in it, only calling the whole mess .inc instead of .eng.
Hope this is of some good use for you as it is not easy getting started on this kind of work. Both Gerry and I made plenty of bad decisions that had to be ripped out and redone. If you are going to "roll your own as you see fit" expect at least a bit of the same.
#12
Posted 26 August 2018 - 08:03 AM
Brandon
#13
Posted 26 August 2018 - 01:01 PM
Brandon
Attached File(s)
-
Brake_System_Design_Optimization_VolII.pdf (5.45MB)
Number of downloads: 7500