P42DC alerter

Discuss almost anything about RailWorks.

P42DC alerter

Unread postby ilovenxstage » Thu Dec 08, 2011 8:50 pm

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.
ilovenxstage
 
Posts: 35
Joined: Wed Jun 30, 2010 8:45 pm

Re: P42DC alerter

Unread postby robbit » Thu Dec 08, 2011 9:55 pm

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!
robbit
 
Posts: 838
Joined: Fri Jul 15, 2011 11:29 am
Location: Maine

Re: P42DC alerter

Unread postby robbit » Thu Dec 08, 2011 10:32 pm

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.
robbit
 
Posts: 838
Joined: Fri Jul 15, 2011 11:29 am
Location: Maine

Re: P42DC alerter

Unread postby Kali » Thu Dec 08, 2011 10:49 pm

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().
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea

Re: P42DC alerter

Unread postby ilovenxstage » Thu Dec 08, 2011 11:06 pm

Thanks for the suggestions. I changed the countdown time and that's good enough for me for now.
ilovenxstage
 
Posts: 35
Joined: Wed Jun 30, 2010 8:45 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest