The Repair of the Sryker's WA Level xing is here.

jjeff1955

Active member
I had to repost again as it was not showing on the main page.

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
 
Confirmed.

Hi,

Yes that's all that needs doing to correct the behavior for the newer versions of Trainz.

Geoff
 
I did the same for your original crossings, stryker and they function as they should. Better than the WA fix for some reason. A great result as I consider these crossings to be superior to most others available.
 
Last edited:
Thanks Stryker for quality Content!

I see that you are back. Thank you for the great work. It is not your fault that things break in the later version of Trainz. Auran's programers seem not to care:confused: about the hard work that goes into the 3rd party content. Why would Trainz reverse a 0=off for a 1=on code?
 
Got the QR originals working in TRS 2010 SP3. Still testing. Lots of work correcting errors showing up in CMP 3.3. Mainly certain attachment points and some missing textures. Thanks to jjeff1955 for figuring out that little entry in the ".gs" file.
 
Last edited:
Main error I see to come across, is this...

Error: The attachment point 'a.lamp2' must belong to the parent mesh of the effect (mesh=mainpole\sm_pole.im).
Error: The attachment point 'a.lamp2' must belong to the parent mesh of the effect (mesh=mainpole\sm_pole.im).
Error: The attachment point 'a.lamp2' must belong to the parent mesh of the effect (mesh=mainpole\sm_poleRHS.im).
Error: The attachment point 'a.lamp2' must belong to the parent mesh of the effect (mesh=mainpole\sm_poleRHS.im).

I've looked, and I can't see any 'a.lamp2' anywhere, but I'm hesitant to remove the reference, for fear of making bigger mistakes.
 
Go ahead and do it. The only problem is that one of the lamps remain on whether the gates are down or up. Small price to pay in my opinion as the crossings work in TRS2010 SP3.
 
Back
Top