Page 1 of 1

Re: Mid-Train Crossing Deactivation

Unread postPosted: Mon Mar 09, 2015 9:35 am
by OldProf
Deja Vu all over again.

Re: Mid-Train Crossing Deactivation

Unread postPosted: Mon Mar 09, 2015 12:28 pm
by Unlimited
I have had this issue before awhile back. What caused mine to do it is that I adjusted the activation and deactivate distances in the script. I'm not sure, but I believe the game has a limit with cars from the front and rear of the train.

Re: Mid-Train Crossing Deactivation

Unread postPosted: Mon Mar 09, 2015 12:41 pm
by HankySpanky
Mine does that all the time with long trains.

Re: Mid-Train Crossing Deactivation

Unread postPosted: Mon Mar 09, 2015 2:40 pm
by JerryC
It's an old issue that has never been addressed in the core game. If your crossing activation is set for 400m out, but your train is 900m long, here is what happens:
-
- Xing activates at 400m before your train arrives.
- Zing deactivates 400m after the lead locomotive passes.
- Xing reactivates 400m before the tail of the train arrives.
- Xing deactivates after last car passes.

You have three choices. Lengthen the scripted activation time, or shorten your train.

Re: Mid-Train Crossing Deactivation

Unread postPosted: Mon Mar 09, 2015 11:06 pm
by HankySpanky
So how does one go about editing the script? Where is it?

Re: Mid-Train Crossing Deactivation

Unread postPosted: Tue Mar 10, 2015 5:00 am
by JerryC
It's been a long time since I messed with these. The script should be in the Kuju assets level crossing folder. The activation / deactivation times are in the first few lines of the script.

Re: Mid-Train Crossing Deactivation

Unread postPosted: Tue Mar 10, 2015 9:32 am
by OldProf
JerryC wrote:It's an old issue that has never been addressed in the core game. If your crossing activation is set for 400m out, but your train is 900m long, here is what happens:
-
- Xing activates at 400m before your train arrives.
- Zing deactivates 400m after the lead locomotive passes.
- Xing reactivates 400m before the tail of the train arrives.
- Xing deactivates after last car passes.

You have three choices. Lengthen the scripted activation time, or shorten your train.


Life is always more dangerous for the middle man. *!rolleyes!*

Re: Mid-Train Crossing Deactivation

Unread postPosted: Tue Mar 10, 2015 1:54 pm
by HankySpanky
Would the script be the BAN file? If so, what is used to edit it? I looked at it with Notepad++ but couldn't find a readable format.

Re: Mid-Train Crossing Deactivation

Unread postPosted: Tue Mar 10, 2015 2:39 pm
by Bananarama
A *.ban file is an animation file. The script will be a *.lua or *.out - the former you can edit using Word Pad, but the latter is encrypted and locked

Re: Mid-Train Crossing Deactivation

Unread postPosted: Tue Mar 10, 2015 6:42 pm
by HankySpanky
Okay - got it. Thanks much. !!howdy!!

Re: Mid-Train Crossing Deactivation

Unread postPosted: Fri Apr 03, 2015 5:17 pm
by Nitsujy12345
(Bringing back an old topic)
So is there any way AT ALL to have the crossing activate sooner but have a long train still? I'm trying to recreate the line I live near in Railworks as accurately as possible, and NS brings in the H95 Local every morning, and it is pretty long too, but the crossings all over this line activate really close to when the train is at the crossing. I did change the LUA to activate really close but now, like you said, it deactivates really close too !*hp*!

Re: Mid-Train Crossing Deactivation

Unread postPosted: Sun Apr 05, 2015 12:12 am
by Unlimited
Nitsujy12345 wrote:(Bringing back an old topic)
So is there any way AT ALL to have the crossing activate sooner but have a long train still? I'm trying to recreate the line I live near in Railworks as accurately as possible, and NS brings in the H95 Local every morning, and it is pretty long too, but the crossings all over this line activate really close to when the train is at the crossing. I did change the LUA to activate really close but now, like you said, it deactivates really close too !*hp*!



The only thing I could think of really is to place more links on the one track. This will see the end of the train or the front of the train at different times so the signals may stay on longer. However, depends on where your very last link is; the signal would not deactivate until it clears that distance.

So doing this would almost be impractical but it's an idea.

Re: Mid-Train Crossing Deactivation

Unread postPosted: Sun Apr 05, 2015 4:23 am
by trev123
Anyway who sits at a crossing watching there train going past when you should be in the cab. I have had RW/TS since 2010 and have never heard of this so today I sat at a crossing and watched my train go by and sure enough the lights went out and the barrier arms came up and the cars started crossing while the train was. Not a biggy really.

Re: Mid-Train Crossing Deactivation

Unread postPosted: Sun Apr 05, 2015 9:57 am
by Nitsujy12345
I play how I want to play, I drive more outside the cab. Plus some of the cabviews suck.

Placing more links will just make the crossing activate earlier anyway

Re: Mid-Train Crossing Deactivation

Unread postPosted: Sun Apr 05, 2015 8:46 pm
by NYWhiskey
trev123 wrote:Anyway who sits at a crossing watching there train going past when you should be in the cab.


I guess that means you don't have Krellnut's beautiful sounds installed. !*hp*! !*don-know!*