Lighting definitions
#21
Posted 05 February 2015 - 01:00 PM
Hope this includes the enabling of headlight ( 7 )
The secondary matter of a light not working at daytime.
That should NOT be included.
TheTimeOfDay command takes care of that.
Timeofday (0) ignore time of day
Timeofday (1) on if it's daytime
Timeofday (2) on if it's night
There is also a NOT working lighting feature in MSTS
That they never enabled, but I notice still being used.
Could be an extra feature of OR maybe.
Coupling (0)
Coupling (1)
Coupling (2)
Cheers Ross
#22
Posted 05 February 2015 - 02:04 PM
rosssweet, on 05 February 2015 - 01:00 PM, said:
I'll try. :shock6:
rosssweet, on 05 February 2015 - 01:00 PM, said:
That should NOT be included.
TheTimeOfDay command takes care of that.
The comments were only with regards to AI trains but we'll see what MSTSBin does and copy that.
rosssweet, on 05 February 2015 - 01:00 PM, said:
That they never enabled, but I notice still being used.
Could be an extra feature of OR maybe.
Coupling (0)
Coupling (1)
Coupling (2)
Coupling should work in Open Rails (as it was supposed to work in MSTS), but let us know in another thread if you've had issues with it.
#23
Posted 09 February 2015 - 09:18 PM
All working perfectly :thumbup3:
Coupling (0) (ignore coupling status)
Coupling (1) (original front of wagon is coupled)
Coupling (2) (original rear of wagon is coupled)
Coupling (3) (both ends of wagon are coupled)
Cheers Ross
#24
Posted 01 March 2015 - 06:42 PM
Has there been any progress with the OR lighting definitions ?
I have been checking to release X2906.
James Ross said:
Okay, it looks like 5 and 6 are backwards because the MSTSBin manual is wrong:
I'll test this out to confirm and we can then update Open Rails to match.
I'm going to run my test locomotive in MSTSBin at the weekend and see what I find, until then there's no point doing anything.
Headlight (5)
Should be, and works in MSTS.
key “h” is not pressed = ON
key “h” is one time pressed = OFF
key “h” is two times pressed = ON
In OR X2833 not matching MSTS
key “h” is not pressed = ON
key “h” is one time pressed = ON
key “h” is two times pressed = OFF
Headlight (6)
Should be, and works in MSTS.
key “h” is not pressed = ON
key “h” is one time pressed = ON
key “h” is two times pressed = OFF
In OR X2833 not matching MSTS
key “h” is not pressed = ON
key “h” is one time pressed = OFF
key “h” is two times pressed = ON
Headlight (7)
Should be, and works in MSTS.
key “h” is not pressed = OFF
key “h” is one time pressed = ON
key “h” is two times pressed = ON
In OR X2833 not matching MSTS
key “h” is not pressed = OFF
key “h” is one time pressed = OFF
key “h” is two times pressed = OFF
#25
Posted 03 March 2015 - 01:05 PM
#28
Posted 03 March 2015 - 07:43 PM
Headlight (5) Headlight (6) Working correctly.
I'm still hoping you are able to enable Headlight (7)
As an example, tail lamps on a caboose.
Most use Headlight (0), means on all the time, even when left in a siding.
Use Headlight (2) and Headlight (3), so they are on, when the train lights are on,
It would mean more Lights statements ( 12 instead of Lights ( 8.
Headlight (7)
Should be, and works in MSTS.
key “h” is not pressed = OFF
key “h” is one time pressed = ON
key “h” is two times pressed = ON
Lights ( 8
Comment ( Caboose flickering tail lamps )
comment ( Based on Tim Muir's marker lamp codes )
comment ( Left rear marker red )
Light (
Type ( 0 )
Conditions (
Service ( 2 )
Headlight ( 7 )
Unit ( 3 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 3
State (
Duration ( 1.0 )
LightColour ( ffff0000 )
Position ( -1.580 3.27 -5.04 )
Azimuth ( -180 -180 -180 )
Transition ( 1.0 )
Radius ( 0.15 )
)
State (
Duration ( 0.7 )
LightColour ( ddff0000 )
Position ( -1.580 3.27 -5.04 )
Azimuth ( -180 -180 -180 )
Transition ( 0.7 )
Radius ( 0.145 )
)
State (
Duration ( 1.4 )
LightColour ( bbff0000 )
Position ( -1.580 3.27 -5.04 )
Azimuth ( -180 -180 -180 )
Transition ( 1.3 )
Radius ( 0.14 )
) ) )
comment ( Right rear marker red )
Light (
Type ( 0 )
Conditions (
Service ( 2 )
Headlight ( 7 )
Unit ( 3 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 3
State (
Duration ( 2.0 )
LightColour ( ffff0000 )
Position ( 1.580 3.27 -5.04 )
Azimuth ( -180 -180 -180 )
Transition ( 1.0 )
Radius ( 0.15 )
)
State (
Duration ( 1.0 )
LightColour ( ddff0000 )
Position ( 1.580 3.27 -5.04 )
Azimuth ( -180 -180 -180 )
Transition ( 0.7 )
Radius ( 0.145 )
)
State (
Duration ( 0.1 )
LightColour ( bbff0000 )
Position ( 1.580 3.27 -5.04 )
Azimuth ( -180 -180 -180 )
Transition ( 0.1 )
Radius ( 0.14 )
) ) )
comment ( Left inside yellow )
Light (
Type ( 0 )
Conditions (
Service ( 2 )
Headlight ( 7 )
Unit ( 3 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 3
State (
Duration ( 1.0 )
LightColour ( ffffff00 )
Position ( -1.366 3.27 -4.915 )
Azimuth ( 90 90 90 )
Transition ( 1.0 )
Radius ( 0.15 )
)
State (
Duration ( 0.7 )
LightColour ( ddffff00 )
Position ( -1.366 3.27 -4.915 )
Azimuth ( 90 90 90 )
Transition ( 0.7 )
Radius ( 0.145 )
)
State (
Duration ( 1.4 )
LightColour ( bbffff00 )
Position ( -1.366 3.27 -4.915 )
Azimuth ( 90 90 90 )
Transition ( 1.3 )
Radius ( 0.14 )
) ) )
comment ( Right inside yellow )
Light (
Type ( 0 )
Conditions (
Service ( 2 )
Headlight ( 7 )
Unit ( 3 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 3
State (
Duration ( 1.0 )
LightColour ( ffffff00 )
Position ( 1.466 3.27 -4.915 )
Azimuth ( -90 -90 -90 )
Transition ( 1.0 )
Radius ( 0.15 )
)
State (
Duration ( 0.7 )
LightColour ( ddffff00 )
Position ( 1.466 3.27 -4.915 )
Azimuth ( -90 -90 -90 )
Transition ( 0.7 )
Radius ( 0.145 )
)
State (
Duration ( 1.4 )
LightColour ( bbffff00 )
Position ( 1.466 3.27 -4.915 )
Azimuth ( -90 -90 -90 )
Transition ( 1.3 )
Radius ( 0.14 )
) ) )
comment ( Left rear marker side yellow )
Light (
Type ( 0 )
Conditions (
Service ( 2 )
Headlight ( 7 )
Unit ( 3 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 3
State (
Duration ( 1.0 )
LightColour ( ffffff00 )
Position ( -1.688 3.27 -4.915 )
Azimuth ( -90 -90 -90 )
Transition ( 1.0 )
Radius ( 0.15 )
)
State (
Duration ( 0.7 )
LightColour ( ddffff00 )
Position ( -1.688 3.27 -4.915 )
Azimuth ( -90 -90 -90 )
Transition ( 0.7 )
Radius ( 0.145 )
)
State (
Duration ( 1.4 )
LightColour ( bbffff00 )
Position ( -1.688 3.27 -4.915 )
Azimuth ( -90 -90 -90 )
Transition ( 1.3 )
Radius ( 0.14 )
) ) )
comment ( Right rear marker side yellow )
Light (
Type ( 0 )
Conditions (
Service ( 2 )
Headlight ( 7 )
Unit ( 3 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 3
State (
Duration ( 2.0 )
LightColour ( ffffff00 )
Position ( 1.688 3.27 -4.915 )
Azimuth ( 90 90 90 )
Transition ( 1.0 )
Radius ( 0.15 )
)
State (
Duration ( 1.0 )
LightColour ( ddffff00 )
Position ( 1.688 3.27 -4.915 )
Azimuth ( 90 90 90 )
Transition ( 0.7 )
Radius ( 0.145 )
)
State (
Duration ( 0.1 )
LightColour ( bbffff00 )
Position ( 1.688 3.27 -4.915 )
Azimuth ( 90 90 90 )
Transition ( 0.1 )
Radius ( 0.14 )
) ) )
comment ( Front facing left side rear yellow marker )
Light (
Type ( 0 )
Conditions (
Service ( 2 )
Headlight ( 7 )
Unit ( 3 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 3
State (
Duration ( 1.0 )
LightColour ( ffffff00 )
Position ( -1.580 3.27 -4.78 )
Azimuth ( 0 0 0 )
Transition ( 1.0 )
Radius ( 0.15 )
)
State (
Duration ( 0.7 )
LightColour ( ddffff00 )
Position ( -1.580 3.27 -4.78 )
Azimuth ( 0 0 0 )
Transition ( 0.7 )
Radius ( 0.145 )
)
State (
Duration ( 1.4 )
LightColour ( bbffff00 )
Position ( -1.580 3.27 -4.78 )
Azimuth ( 0 0 0 )
Transition ( 1.3 )
Radius ( 0.14 )
) ) )
comment ( Front facing right side rear yellow marker )
Light (
Type ( 0 )
Conditions (
Service ( 2 )
Headlight ( 7 )
Unit ( 3 )
)
Cycle ( 0 )
FadeIn ( 0.5 )
FadeOut ( 0.5 )
States ( 3
State (
Duration ( 2.0 )
LightColour ( ffffff00 )
Position ( 1.580 3.27 -4.78 )
Azimuth ( 0 0 0 )
Transition ( 1.0 )
Radius ( 0.15 )
)
State (
Duration ( 1.0 )
LightColour ( ddffff00 )
Position ( 1.580 3.27 -4.78 )
Azimuth ( 0 0 0 )
Transition ( 0.7 )
Radius ( 0.145 )
)
State (
Duration ( 0.1 )
LightColour ( bbffff00 )
Position ( 1.580 3.27 -4.78 )
Azimuth ( 0 0 0 )
Transition ( 0.1 )
Radius ( 0.14 )
) ) ) )
#29
Posted 03 March 2015 - 08:37 PM
looking at the Lighting mostly used here, mainly the old default uses.
Headlight ( 0 ) = Headlight on , Headlight ( 2 ) on , Headlight ( 3 ) on.
Headlight ( 2 ) = Headlight off, Headlight ( 2 ) on , Headlight ( 3 ) off.
Headlight ( 3 ) = Headlight off, Headlight ( 2 ) off, Headlight ( 3 ) on.
European, mainly Russian models There are other lighting settings that they use.
All useable in MSTS to enhance the lighting options.
Headlight ( 1 )
Headlight ( 4 )
Headlight ( 5 )
Headlight ( 6 )
Headlight ( 7 )
I use Headlight ( 6 ) and Headlight ( 7 ) often, An explanation of Headlight ( 7 )
is in the previous posting.
I have not found a use for Headlight ( 5 ), but it is an option in MSTS.
Now Open Rails has made available options that were never activated in MSTS
Coupling (0) (ignore coupling status)
Coupling (1) (original front of wagon is coupled)
Coupling (2) (original rear of wagon is coupled)
Coupling (3) (both ends of wagon are coupled)
This can add more enhancements to the simulator.
Instead of a second helper locomotive with all the lights out.
It is possible for the helper to retain it's marker lights on while coupled.
Cheers Ross
#30
Posted 04 March 2015 - 01:37 AM
Genma Saotome, on 03 March 2015 - 03:19 PM, said:
MSTS has values 0, 1, 2 and 3 - these cover the obvious cases of ignore headlight, headlight off, dim and bright. But you can't have a light that's on for two headlight states without duplicating it - that's what MSTSBin fixed with values 4, 5 and 6 - they represent the three combinations of two states.
As for headlight value 7, it's a special case; it's the same as value 4, except that if the headlight is dim it ignores the unit condition (according to the MSTSBin manual, anyway). I need to test this one before implementing it.