Elvas Tower: Lighting definitions - Elvas Tower

Jump to content

  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

Lighting definitions Rate Topic: -----

#21 User is offline   rosssweet 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 18
  • Joined: 26-June 09
  • Country:

Posted 05 February 2015 - 01:00 PM

That's excellent James,

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 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,492
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 05 February 2015 - 02:04 PM

View Postrosssweet, on 05 February 2015 - 01:00 PM, said:

Hope this includes the enabling of headlight ( 7 )


I'll try. :shock6:

View Postrosssweet, on 05 February 2015 - 01:00 PM, said:

The secondary matter of a light not working at daytime.
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.

View Postrosssweet, on 05 February 2015 - 01:00 PM, said:

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)


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 User is offline   rosssweet 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 18
  • Joined: 26-June 09
  • Country:

Posted 09 February 2015 - 09:18 PM

Just got around to testing the Lights Coupling statements in Open Rails.
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 User is offline   rosssweet 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 18
  • Joined: 26-June 09
  • Country:

Posted 01 March 2015 - 06:42 PM

Hi James,
Has there been any progress with the OR lighting definitions ?
I have been checking to release X2906.


James Ross said:

If that is a Headlight(6) working correctly then the MSTSBin manual is wrong.

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 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,492
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 03 March 2015 - 01:05 PM

I have confirmed just now that the MSTSBin manual is wrong/unclear and that the headlight values 5 and 6 are swapped in OR. I'm fixing this now.

#26 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,492
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 03 March 2015 - 01:17 PM

Headlight 5 and 6 are fixed in X2910.

#27 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,366
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 03 March 2015 - 03:19 PM

What's the purpose of Headlight(5-7)?

#28 User is offline   rosssweet 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 18
  • Joined: 26-June 09
  • Country:

Posted 03 March 2015 - 07:43 PM

Thank you very much James.
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 )

) ) ) )

Attached thumbnail(s)

  • Attached Image: Tail.lamps.R.jpg
  • Attached Image: Tail.lamps.F.jpg


#29 User is offline   rosssweet 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 18
  • Joined: 26-June 09
  • Country:

Posted 03 March 2015 - 08:37 PM

"What's the purpose of Headlight(5-7)?"


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

Attached thumbnail(s)

  • Attached Image: lights1.jpg
  • Attached Image: lights2.jpg


#30 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,492
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 04 March 2015 - 01:37 AM

View PostGenma Saotome, on 03 March 2015 - 03:19 PM, said:

What's the purpose of Headlight(5-7)?


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.

  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users