I suppose the multiple spheres of light question is the question of the decade, isn't it? :D
Anyway, I am experimenting with the new light code, and I am wondering if there is any way to treat an MU'd set of locomotives as a single unit. Specifically, I want the aft-most unit to activate its headlights when the reverser is moved to reverse. I also don't want unit position to be a factor because this only takes into account position in the train, not position in the consist, so whether or not the locomotive is coupled to the rest of the train shouldn't matter. In real life there is no functional distinction between units in a consist, they are considered a single locomotive and the headlight setup reflects this - so switching on the aft headlight will always light up whatever headlight is at the rear of the train, regardless of whether the unit is the last unit in a train or not.
While I'm not sure if this is possible with the current setup, the guidance above seems to indicate that we should at least be able to use the new conditions to light the aft headlight on the rearmost unit when appropriate, which is acceptable. I attempted to implement this, but no combination of reverser and unit status seems to work in terms of lighting the rearmost lights (flipped unit or no) when the reverser is in reverse. Here is the code I attempted to use:
Light (
Comment ( Fore Cone Bright )
Type ( 1 )
Conditions (
Headlight ( 3 )
Unit ( 2 )
Reverser ( 5 )
MU ( 2 )
)
Conditions (
Headlight ( 3 )
Unit ( 4 )
Reverser ( 2 )
MU ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( B0FFFFCA )
Position ( 0.000 4.266 6.169 )
Transition ( 0 )
Radius ( 400.0 )
Angle ( 45.0 )
)
)
)
Light (
Comment ( Aft Cone Bright )
Type ( 1 )
Conditions (
Headlight ( 3 )
Unit ( 3 )
Reverser ( 2 )
MU ( 2 )
)
Conditions (
Headlight ( 3 )
Unit ( 5 )
Reverser ( 2 )
MU ( 2 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 1
State (
Duration ( 0.0 )
LightColour ( B0FFFFCA )
Position ( 0.000 3.967 -8.322 )
Transition ( 0 )
Azimuth ( -180.0, -180.0, -180.0 )
Radius ( 400.0 )
Angle ( 45.0 )
)
)
)
If I am understanding correctly, then the following conditions should apply:
Fore headlight on when lead unit (2) of the train and reverser (5) is set to forward or neutral. Also active when flipped and last unit (4) of the train and reverser (2) is in reverse.
Aft headlight on when last unit (3) of the train and reverser (2) is set to reverse. Also active when lead unit (5), flipped, and reverser (2) set to reverse.
In either case, upon testing in-sim, the lights on the trailing unit will not light under any conditions, flipped or not, reverser in reverse or not. I think I am missing something, but I am not certain what I am missing - especially because I am not asking the sim to activate more than one sphere of light at a time.