Soldier Summit SD40T-2 Independent Brakes

This forum is for discussion of any DTG products in development and also WIP Reports of DTG's DLC products

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby Griphos » Wed May 27, 2015 5:29 pm

mrennie wrote:
OlPaint wrote:How do I use F3 and F4 HUD for driving?


The same way as you've always done, but you just have to be aware of the independent bail-off feature, and that the automatic (train) brake handle is scripted to simulate the effect of moving the handle up against the ridges in the brake quadrant that separate different zones - there are ridges at Release, Minimal Reduction, Full Service and Emergency. When you come up against a ridge, the script stops you from moving smoothly past the ridge but keeps the handle there until you let go for half a second and then continue moving. That's so that (a) you feel the ridges and (b) avoid going into an adjacent zone unintentionally (for example, it'll stop you from going all the way to Emergency when you only meant to do a Full Service application, or from going to Release when you meant to stop at Hold).

The HUD levers mimic the way the mouse-operated levers in the cab work.



What an elegant scripting/solution to the problem of not having detents on the HUD or keyboard. Very nice work.

There are aspects of the scenery not to my liking, but I think I'm going to have to get this route just for the Rio Grande liveries and these excellent brake features.
User avatar
Griphos
 
Posts: 880
Joined: Wed Oct 12, 2011 8:18 pm

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby buzz456 » Wed May 27, 2015 6:40 pm

Which aspects are those?
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 21006
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby BoostedFridge » Wed May 27, 2015 9:06 pm

Does this fantastic new braking system only work with the Soldier Summit SD40T-2 and rolling stock on that route? Or could one retain the same braking with other rolling stock, or on another route with just the SS SD40T-2 powering the consist?
User avatar
BoostedFridge
 
Posts: 2277
Joined: Sat Aug 24, 2013 6:39 am
Location: Vancouver, BC

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby mrennie » Wed May 27, 2015 10:00 pm

BoostedFridge wrote:Does this fantastic new braking system only work with the Soldier Summit SD40T-2 and rolling stock on that route? Or could one retain the same braking with other rolling stock, or on another route with just the SS SD40T-2 powering the consist?


The new braking is only in the Soldier Summit (D&RGW) SD40T-2, but it works irrespective of the route you run it on.
User avatar
mrennie
 
Posts: 3214
Joined: Wed May 30, 2012 12:22 pm

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby Chacal » Wed May 27, 2015 10:07 pm

Hopefully this will become the standard for any new DLC.
Maybe Mike someday you could release a generic version of the lua script, that we could apply to other engines by adding/changing control values in blueprints.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6512
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby mrennie » Wed May 27, 2015 11:27 pm

Chacal wrote:Hopefully this will become the standard for any new DLC.
Maybe Mike someday you could release a generic version of the lua script, that we could apply to other engines by adding/changing control values in blueprints.


The real problem there is that some of the values in the simulation blueprint (the brake setup) have to be copied into constants in the script itself. It's a real pity that scripts can't read the blueprints directly, or share definitions with them through an intermediate file.

Apart from the extra and modified control values in the engine blueprint, there are also changes in the inputmapper and the audio blueprints, and the whole lot have to work in unison.
User avatar
mrennie
 
Posts: 3214
Joined: Wed May 30, 2012 12:22 pm

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby Chacal » Thu May 28, 2015 8:40 am

I wonder if we could do that by calling the generic script from a specific script.
This way you wouldn't have to give away your lua source code for the generic script.

Specific script for the GPXX loco:

constant1 = True
constant2 = 150
require ("generic brake script")

In this example, I suppose the generic script would have access to the constants?

EDIT
Another way to do this:

constant1 = True
constant2 = 150
assert(loadfile("generic brake script.lua"))(constant1,constant2)

In file generic brake script.lua:

local c1,c2=...
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6512
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby mrennie » Thu May 28, 2015 9:05 am

Chacal wrote:I wonder if we could do that by calling the generic script from a specific script.
This way you wouldn't have to give away your lua source code for the generic script.

Specific script for the GPXX loco:

constant1 = True
constant2 = 150
require ("generic brake script")

In this example, I suppose the generic script would have access to the constants?

EDIT
Another way to do this:

constant1 = True
constant2 = 150
assert(loadfile("generic brake script.lua"))(constant1,constant2)

In file generic brake script.lua:

local c1,c2=...


Yes, I see what you mean. However, that would mean modifying the script, and DTG now has the IPR. I can't really see them paying to modify it (especially as any changes to it would mean going through an expensive round of non-regression testing ... a lot of work for DTG QA).
User avatar
mrennie
 
Posts: 3214
Joined: Wed May 30, 2012 12:22 pm

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby Chacal » Thu May 28, 2015 1:08 pm

Oh, I didn't know they now have the IPR to the script.
Does that give them the IPR to any advanced braking script?
My idea was that you could make a generic version, not the specific version you made for the SD40T-2 included in this DLC.
If it is sufficiently different, at some point copyright doesn't apply.

Also my idea was to release this generic script as 3rd-party, not through DTG.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6512
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby mrennie » Thu May 28, 2015 1:22 pm

Chacal wrote:Oh, I didn't know they now have the IPR to the script.
Does that give them the IPR to any advanced braking script?
My idea was that you could make a generic version, not the specific version you made for the SD40T-2 included in this DLC.
If it is sufficiently different, at some point copyright doesn't apply.

Also my idea was to release this generic script as 3rd-party, not through DTG.


A very high percentage of the script would be the same, so the IPR would apply. Anyway, if the SD40T-2 is a success, which it appears to be, I'm sure you have a good idea as to what would be a logical next step.

Actually, I'm sure DTG probably browse this forum from time to time, so if people want to see more things like this being done, including extending the coverage of the advanced brakes, it wouldn't do any harm to make their views known to DTG, here or on Facebook, or through the Steam forum, or anywhere else that DTG are likely to read it. They do take notice, believe me.
User avatar
mrennie
 
Posts: 3214
Joined: Wed May 30, 2012 12:22 pm

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby evafan002 » Thu May 28, 2015 2:31 pm

Chacal wrote:Oh, I didn't know they now have the IPR to the script.
.

I hate showing my ignorance like this but what Does IPR stand for?
evafan002
 
Posts: 202
Joined: Sun Dec 12, 2010 9:13 pm

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby CrimsonKing » Thu May 28, 2015 2:58 pm

evafan002 wrote:
Chacal wrote:Oh, I didn't know they now have the IPR to the script.
.

I hate showing my ignorance like this but what Does IPR stand for?

Intellectual Property Rights

---
It is kind of disappointing that DTG holds the IPR and a generic script isn't really feasible at this time. It would be nice to see 3rd party offerings with the advanced braking.
Will

NERW Engineer.
User avatar
CrimsonKing
 
Posts: 165
Joined: Mon Apr 30, 2012 6:07 pm
Location: CO

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby buzz456 » Thu May 28, 2015 3:06 pm

evafan002 wrote:
Chacal wrote:Oh, I didn't know they now have the IPR to the script.
.

I hate showing my ignorance like this but what Does IPR stand for?


Intellectual Property Rights.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 21006
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby evafan002 » Thu May 28, 2015 4:03 pm

buzz456 wrote:
evafan002 wrote:
Chacal wrote:Oh, I didn't know they now have the IPR to the script.
.

I hate showing my ignorance like this but what Does IPR stand for?


Intellectual Property Rights.

Thanks for clearing that up for me
evafan002
 
Posts: 202
Joined: Sun Dec 12, 2010 9:13 pm

Re: Soldier Summit SD40T-2 Independent Brakes

Unread postby dr1980 » Thu May 28, 2015 8:09 pm

Actually, I'm sure DTG probably browse this forum from time to time, so if people want to see more things like this being done, including extending the coverage of the advanced brakes, it wouldn't do any harm to make their views known to DTG, here or on Facebook, or through the Steam forum, or anywhere else that DTG are likely to read it. They do take notice, believe me.


Let me just say then that i love this route and the advanced braking makes it a whole new game. DTG, if you're listening, this is a great step forward and i'd love to see more in the future.
dr1980
 
Posts: 376
Joined: Fri Oct 11, 2013 8:05 pm
Location: Canada

PreviousNext

Return to DTG DLC Development & WIP

Who is online

Users browsing this forum: No registered users and 2 guests