Page 1 of 1

.out simulation files? (DDA40X Brakes Solved)

Unread postPosted: Fri Jul 18, 2014 2:29 pm
by Ericmopar
What are those .out files?
What do they do.
Do they override traditional mods?

This is about brakes, so if a person knows about brakes, read on.

I'm asking because my DDA40X is not responding properly to mods like other engines, and it has one of those .out simulation files...

Re: .out simulation files?

Unread postPosted: Fri Jul 18, 2014 2:55 pm
by mrennie
It's just a .lua source file that's been encrypted by the Asset Editor when the model was exported. Scripts for advanced models can be very complex and manipulate controllers in many ways, so that the behaviour is less dependant on the values in the engine and simulation files.

Re: .out simulation files?

Unread postPosted: Fri Jul 18, 2014 3:12 pm
by Kali
It's actually compiled bytecode lua - supposedly it'll load faster, but it doesn't really make any difference with the script sizes we usually use ( even the 7000+ lines I did for the 57 ). The asset editor will compile lua by default, you can still dump plain old lua source in assets & have it work though.

I have a scripted engine which will actually output less power if you adjust the blueprint values upwards thanks to some complicated maths, so as was said just twiddling random things is not a guarantee of anything working.

Re: .out simulation files?

Unread postPosted: Fri Jul 18, 2014 5:22 pm
by Ericmopar
Okay...
I think I'm getting the gist of that.
I wonder if that's why my engine mods aren't fully taking like usual. I did my usual mods to the brakes, but have had trouble with an incredibly short lever throw in cab and in the F4 HUD causing the engine to go to full service (or the equivalent of).
A very short 15% lever throw in the HUD causes excessive braking, no matter what I do in the Loco's simulation bins.
Basically, 30% (minimum reduction starts) plus another 15% lever throw, is full service, then there is a large gap to Emergency braking settings.
So from 30% to about 45% a person is already reaching full service. Caesar doesn't call it that in the HUD, but that is effectively what is happening.
It makes the Train Brake very touchy.
The DD40 has a Simulation.out file.
Very frustrating.

Re: .out simulation files?

Unread postPosted: Fri Jul 18, 2014 6:21 pm
by Kali
Don't know exactly which file you're looking at, checking the type01 file shows no VirtualBrake so it's probably not scripted at all. I see a typo in the brake notch which should read "GraduatedSelfLapLimitedHolding" which you might want to fix, but when I last checked that brake notch type didn't work either. Admittedly that was probably 2012...

Re: .out simulation files?

Unread postPosted: Fri Jul 18, 2014 6:55 pm
by Ericmopar
These files.
Railworks\Assets\DTM\DD40X\DD40XAssets.ap\Type01\RailVehicles\Simulation\DD40XEngineSimulation.bin
Railworks\Assets\DTM\DD40X\DD40XAssets.ap\Type01\RailVehicles\Simulation\DD40XEngineSimulation.out

I've found some strange stuff in mine, like "VacuumBrakeSinglePipe" being one. I noticed a lot of settings didn't seem to change, so I hacked away and still no changes or crashing for that matter.
That's why I'm wondering if something else is really controlling the simulation, or at least part of it...
I've changed every field that says 65 for maximum cylinder pressure or maximum pressure for maximum force to 60, but no change anywhere.

I've looked around a lot and came to the conclusion, that the Type01 folder must be the engines "default" folder for all versions. If I'm wrong, please correct me... :D

I never owned the original version either, just this new one.

Re: .out simulation files?

Unread postPosted: Fri Jul 18, 2014 8:48 pm
by Kali
I suspect the typo'd brake notch in the engine blueprint is messing things up, haven't tried anything to see though as I'm not in a position to right now. I'm *really* not sure why there's a vacuum brake entry :P

Re: .out simulation files?

Unread postPosted: Sat Jul 19, 2014 6:43 pm
by PapaXpress
Actually one of the US 26L names is broken. I am not on my desktop so I can't look it up, but I believe it was 'Suppression'. I had to use a similar UK setting in place of it, I think it was Continuous Service. The behavior is roughly the same. The problem is in the game engine, not the BP.

Re: .out simulation files?

Unread postPosted: Sat Jul 19, 2014 10:36 pm
by Kali
Continuous Service doesn't sound UK either, so who knows what it's meant to be. Other than original Westinghouse brakes on 100 year old stock, our airbrakes are just release-running-graduated self lap-full service ( which is max application )-emergency. Considerably simpler to use than US brakes with no partial release...

Several versions of GraduatedSelfLapXYZ are broken. Possibly just using GraduatedSelfLap with partial release disabled might work, but even that breaks minimum application IIRC.

Re: .out simulation files? (DDA40X Brakes Solved)

Unread postPosted: Mon Jul 21, 2014 12:12 am
by Ericmopar
It was a typo in "<Identifier d:type="cDeltaString">GraduatedSelLapLimitedHolding</Identifier>"
It was missing the "f"
This is what it's supposed to look like "<Identifier d:type="cDeltaString">GraduatedSelfLapLimitedHolding</Identifier>"

All six entries, on all three versions had that typo. 3 for the Train Brake and 3 for the Loco Brake. All in the Engine folder's .bin files.

I've got things working quite nicely now.

A little fine tuning and I can upload an adjustment.

Thanks Guys. You got me looking at the right bit of code. !*cheers*!

Re: .out simulation files? (DDA40X Brakes Solved)

Unread postPosted: Wed Jul 23, 2014 11:33 am
by CSX2057
Speaking of the dda40. There anyway I can get it?

Re: .out simulation files? (DDA40X Brakes Solved)

Unread postPosted: Wed Jul 23, 2014 12:11 pm
by buzz456
CSX2057 wrote:Speaking of the dda40. There anyway I can get it?


It's in the DLC from DTG.