Page 1 of 2

Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 2:53 pm
by pschlik
I've been playing on the Marias Pass some, and I notice that a lot of locomotives sitting around without a driver in the scenario have various lights on.
Some examples are:
-the cab lights in most locomotives
-step lights on the SD40-2's
-one of the strobe light's lights on the SW1500
Not only do these look aesthetically bad, but they cause a lot of lag. So, what I want to know is if there is a fix to this somewhere so that locomotives without drivers have all lights off. if there isn't, oh well, guess I'll have to deal with it.

Screenshots:
SW1500 Lights.jpg

ES44DC Lights.jpg

SD40-2 Lights.jpg

Re: Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 3:48 pm
by XDriver
You can try to edit the loco in the scenerio and make it dead. !*don-know!*

Re: Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 4:18 pm
by PapaXpress
I don't think you will have much luck. Most of those lights are controlled through the LUA, and it appears that they were not initialize properly. The problem is that the LUA is compiled, and thus inaccessible for modification.

Re: Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 5:16 pm
by pschlik
PapaXpress wrote:I don't think you will have much luck. Most of those lights are controlled through the LUA, and it appears that they were not initialize properly. The problem is that the LUA is compiled, and thus inaccessible for modification.

I don't like that you can't change those files anymore...

Re: Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 6:37 pm
by PapaXpress
It bothers me as well. Its not like they are hiding state secrets. If I had the time, I am pretty sure I could write my one LUA to replace the OUT file. Its not like we don't know the node and child names.

Re: Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 8:48 pm
by The_Garbear
Oh man, I hate those strobe lights. My notebook can run the majority of scenarios with TSX enabled at a playable framerate, but the strobe lights bring my framerate down under 10 FPS. The SD40T-2s on Donner are really bad for this too. Being able to get rid of them without having to go in and modify the scenario itself would be really nice...

Re: Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 8:55 pm
by fecrails
PapaXpress wrote:It bothers me as well. Its not like they are hiding state secrets. If I had the time, I am pretty sure I could write my one LUA to replace the OUT file. Its not like we don't know the node and child names.


Will a LUA decompiler work?

Re: Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 9:19 pm
by PapaXpress
I have tried this, but the decompiled LUA (at least the version I was using) didn't produce very readable code. It reminded me a lot like assembly language, so I was able to read it (it was not easy), but I have no idea if it can be recompiled from that format.

Honestly, its more trouble than its worth.

Re: Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 9:22 pm
by pschlik
PapaXpress wrote:I have tried this, but the decompiled LUA (at least the version I was using) didn't produce very readable code. It reminded me a lot like assembly language, so I was able to read it (it was not easy), but I have no idea if it can be recompiled from that format.

Honestly, its more trouble than its worth.

Well, these things will bother me forever, I doubt RSC will have the time to fix this.

Re: Lighting on Driverless locomotives

Unread postPosted: Sun Jun 30, 2013 9:39 pm
by FourEightFour
I'd like to see Rule 17 implemented...but I will not hold my breath...

Re: Lighting on Driverless locomotives

Unread postPosted: Mon Jul 01, 2013 11:46 am
by PapaXpress
I am happy to report that VRC locomotives are equipped with working front and rear headlights with 'Dim', 'Med', and 'Brt'. This is not through the HUD of course, as that only supports "on" and "off". So you can apply Rule 17 properly while you are in control of the locomotive.

Re: Lighting on Driverless locomotives

Unread postPosted: Mon Jul 01, 2013 2:23 pm
by OlPaint
Someone please explain "Rule 17" to me.

OlPaint

Re: Lighting on Driverless locomotives

Unread postPosted: Mon Jul 01, 2013 2:56 pm
by pschlik
OlPaint wrote:Someone please explain "Rule 17" to me.

OlPaint

Yeah... Don't know what that is either...

Re: Lighting on Driverless locomotives

Unread postPosted: Mon Jul 01, 2013 3:11 pm
by OlPaint
OK, Straight from Trainorders.com...

"Rule 17 lighting" is the ability to dim the headlight without turning it off. It refers to Rule 17 in most prototypical North American rulebooks, which basically requires that the engineers of passing oncoming trains dim their headlights as they approach so as not to blind each other."

You learn something new every day!!!

OlPaint

Re: Lighting on Driverless locomotives

Unread postPosted: Mon Jul 01, 2013 3:28 pm
by PapaXpress
Here is a another version (for non railroad personnel)
http://www.dccwiki.com/Rule_17