Comment 9 for bug 1374776

Revision history for this message
Rippstein (ch-signale) wrote :

Hi Andreas,
I have worked a bit with your shape, there are many Problems with it.

But first of all for OR :
James sad:
"So Open Rails supports multi-frame level crossings only with negative animation timings (for looping), but that may not be right"
If I enter for your shape a negative valour the gate is perpetual moving! with positive valour it stuck in the first step.

I have a flashing light commanded by Train, preview for negative animation time. It flash with negative times, but stuck in the first step, as your shape does, if I enter a positive valour.

And now to your shape:
1) here is a gate and a flashing light in the same shape. You have to made two shape, one for the gate, that moves only two time for a passing train, and one for the flashing light, that flash one time every half second.
In the trackeditor you have to enter a animation period a negative valour und use the ENTER-Key instead of OK-Button
try with -0.02 (60s x 0.02 = 1,2 s flashing period)

2) For the your Gate you doesn't need multiframe-animation. Three steps are enough for a continues movement of the gate.
Open, close, open. Animation with this two (three) steps will work in OR. The animation time you enter with the Tarckeditor as a parameter of the Gate.

3) For the Flashing lights you need more steps, so that you can switch the lights hard in the middle of the time. But with negative animation period this will work in OR.

4) Instead of the "CUBRE1 ...4 there are some parts of the Lightboxes ????