P42DC alerter

Posted:
Thu Dec 08, 2011 8:50 pm
by ilovenxstage
Does anyone know if it's possible to disable the alerter on the G-Trax P42DC? It's frustrating riding along in the passenger car enjoying the scenery and suddenly slamming into emergency if I forget to randomly push Q.
Re: P42DC alerter

Posted:
Thu Dec 08, 2011 9:55 pm
by robbit
Disabling the P42DC Alerter
You just want to cruise around and watch the scenery? Maybe you want to run the train real fast and watch it fly off a sharp curve (c'mon, don't tell me you never did that). Oops! Unbeknownst to you, the alerter went through its warning sequence and if just hit the emergency brake.
Here's what to do.
Using Windows Explorer or equivalent, navigate to the following folder: C:\Program Files (x86)\Steam\steamapps\common\railworks\Assets\G-TraX\Genesis\RailVehicles\Diesel\P42DC\Amtrak\Locomotive.
Using any text editor, open the file P42DC_EngineScript.lua.
At line 86 there's an entry that reads, AL_VISUAL_TIME_DELAY = 90.0
Change it to read AL_VISUAL_TIME_DELAY = 9000
What that does is delay triggering of the alerter sequence from 90 seconds to 9000 seconds. That's 2½ hours, which should be sufficient to get you through most sessions!
Re: P42DC alerter

Posted:
Thu Dec 08, 2011 10:32 pm
by robbit
Just copied that info from g-trax page. You can use whatever number you want I suppose but it reads in seconds and I have no idea about the negative number sorry.
Re: P42DC alerter

Posted:
Thu Dec 08, 2011 10:49 pm
by Kali
b737lvr wrote:why not to a negative value? I'm not an expert on the subject but wouldn't cause it to never activate because negative values can't be achieved?
Or why not 9999?
A negative number would probably mean it goes off all the time. What you want to do is find where it counts down, and stop it counting down - that will probably be somewhere in Update().
Re: P42DC alerter

Posted:
Thu Dec 08, 2011 11:06 pm
by ilovenxstage
Thanks for the suggestions. I changed the countdown time and that's good enough for me for now.