I have repaired the WA level xing gates to work in 2006

jjeff1955

Active member
Here it is. I The repaired the WA level xing gates .GS file to work in 2006

If anyone is interested in how to get the Stryker Wa Level gates working in 2006 just say so and I will post the GS file parts to fix. His gates now work in my Trs2006.:D Go to my next reply down about 4 or so.
 
Last edited:
GS File Repair

Here is the WA Level xing (Stryker's gates). heres one of his example xing-w.GS files that has the gateState that will be set by default for the Trs2004 like this

gateState=0 :confused: WRONG!

I included the line numbers to make it easier to find. This entry is about less than 1/4th of the way down from the top. Notepad++ works great for this and it is a free download.

For the Trs2006 Set it at
gatesState=1 :mop: Correct!

72 // Initialise this object and run the main process thread
73 public void Init(void){
74 inherited(); // Let your ancestors do their thing
75 gateState=1;
76 Main();
77 } // Init()

Then when entering into Survayor the gates will be closed and the lights will be off. Then when a train aproaches the gate the lights will go on and the gates will stay closed. Then when the train leaves the gates it will then reset and open, and the lights will go off. Gates will remain open until the next train, I still have not found out how to have the gates open by default when entering Survayor, but at least this works for now. I spent several hours to find the solution by trial and error. Have FUN:D
 
Last edited:
Back
Top