Elvas Tower: Proposal for New Lighting Conditions - Elvas Tower

Jump to content

  • 7 Pages +
  • « First
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

Proposal for New Lighting Conditions Brakes, Doors, Reverser, Etc. Rate Topic: -----

Poll: New Lighting Conditions (25 member(s) have cast votes)

Which of the new lighting conditions are worth implementing in ORTS?

  1. Brake ( x ) (11 votes [25.00%] - View)

    Percentage of vote: 25.00%

  2. Reverser ( x ) (13 votes [29.55%] - View)

    Percentage of vote: 29.55%

  3. Doors ( x ) (13 votes [29.55%] - View)

    Percentage of vote: 29.55%

  4. Other (mention below) (7 votes [15.91%] - View)

    Percentage of vote: 15.91%

Vote Guests cannot vote

#61 User is offline   railguy 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 652
  • Joined: 10-October 10
  • Gender:Male
  • Location:Kansas
  • Simulator:Open Rails
  • Country:

Posted 19 March 2024 - 05:20 PM

For several days, I've been experimenting with implementation of the flashing ditch lights on a locomotive with both front and rear ditchlights. I have managed to get the headlights and ditchlights functioning and flashing mostly correctly on both front and rear. I also have the light spheres functioning correctly on the front. These enhancements do, however, dramatically illustrate the need to "unlock" the restriction of light spheres that can be used on a locomotive or rolling stock. That is an artifact of MSTS that just needs to be dumped.

I can't put up the entire .eng file of my "subject" locomotive, but here is the light section dealing with the flashing ditchlights and related headlights. This likely could be adapted to other locomotives just by adjusting the locations of the various lights on the locomotive model. Here is what I've used:
Spoiler

I also added the flash duration line to the .eng file right below the "DoesHornTriggerBell" line as follows:

ORTSHornLightsTimer ( 15 )

As of now, I'm using OR_NY_MG_R151.1 for my experiments.
<Admin's advice:
You can use [сode][/сode] tags for retaining tabulations and highlighting your excerpts.
There is a style option (within posg editor) for automation that, but use it carefully, as it works not as expected...
You can allpy "style/Code" to nothing, then - paste Your fragment between tags, instead of pasting it directly into "style" field of popup dialog box.
Also, if needed, You can hide long excerpts under spoiler, by using of (guess) [spоiler][/spоiler] tags pair.
Good luck>


#62 User is offline   vince 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,314
  • Joined: 18-June 14
  • Gender:Male
  • Location:West of the Contental Divide
  • Simulator:ORTS_Running MSTS_Editing
  • Country:

Posted 19 March 2024 - 06:53 PM

The GP-38 I use in the LIRR activity LILCO Coal has functional front and rear Spheres of light just not at the same time.
Also in the PRR-East v2 I modified the light section of the PRR B1 electric to give rear sphere when switched to Dim. Great for night switching.
Here's the GP-38 code:

Light	(
    		comment( Sphere of light High Beam )
    		Type		( 1 )
    		Conditions	(
    			Headlight ( 3 )
    			Unit ( 2 )
    			)
    		Cycle	( 0 )
    		FadeIn	( 0.5 )
    		FadeOut	( 0.5 )
    		States	(	1
    			State	(
    				Duration ( 0.0 )
    				LightColour ( ffffffff )
    				Position ( 0.0 3.5 18 )
    				Transition ( 0 )
    				Radius ( 400.0 )
    				Angle ( 15.0 )
    				)
    			)
    		)
        	Light	(
    		comment( Sphere of light Rear )
    		Type		( 1 )
    		Conditions	(
    			Headlight ( 2 )
    			Unit ( 3 )
    			)
    		Cycle	( 0 )
    		FadeIn	( 0.5 )
    		FadeOut	( 0.5 )
    		States	(	1
    			State	(
    				Duration ( 0.0 )
    				LightColour ( ffffffff )
    				Position ( 0.0 3.5 -116.0 )
    				Transition ( 0 )
    				Radius ( 100.0 )
    				Angle ( 35.0 )
    				)
    			)
    		)


regards,
vince

#63 User is offline   railguy 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 652
  • Joined: 10-October 10
  • Gender:Male
  • Location:Kansas
  • Simulator:Open Rails
  • Country:

Posted 20 March 2024 - 06:01 AM

Vince,

I'm aware of that, and have used spheres that way in other locomotives. Here is the issue: Quite often, in prototypical operations in, say, switching, the engineer will leave the the front and rear headlights on, which requires a sphere at both front and rear (either for dim or bright). With the ditch lights on and set to flash on horn blow--either front or rear--that requires a ditch light solid sphere and a ditch light flashing sphere. On my example above, with OR sphere limitations, I could only have sufficient sphere entries for the front headlights and ditch lights.

As a secondary wish list, I would like to have sphere capabilities for truck lights and step lights. I have not heard an explanation of why sims like TSim20XX can have multiple light spheres all over the place, but OR can't, other than OR still trying to keep rolling stock, etc. backward compatible with MSTS. As far as I'm concerned, that ship sailed long ago.

#64 User is online   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,931
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 20 March 2024 - 07:09 AM

Hello.
@Railguy
There was James Ross's explanation about two possible technics of making multiple spheres of light (search forums for "deferred" word), but, AFAIK, both ways have negative sides and we need to convent, how many spheres should be the limit.

@Vince and all
AFAIK, MSTSBin could flip the same sphere of light 180 deg, once cab is changed - no need to add any extra definitions.
But special code-numbers for Headlight (cab changed) should be defined...

#65 User is offline   Laci1959 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 948
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 21 March 2024 - 02:35 AM

My link

Hello.

It's worth watching the video. It works with tender steam locomotives with 3 entries as follows:

		Light (
			comment ( Dim )
			Type ( 1 )
			Conditions (
				Headlight ( 4 )
				Unit ( 2 )
				Control ( 2 )
				TimeOfDay ( 2 )				
			)
			States ( 1
				State (
					Duration ( 0 )
					LightColour (  BFF9CD84 )
					Position ( 0.0 1.5 5 )
					Elevation ( 0 1.8 0 )
					Angle ( 15 )
					Radius ( 15 )
				)
			)
		)
		Light (
			comment ( Dim reverse )
			Type ( 1 )
			Conditions (
				Headlight ( 4 )
				Unit ( 4 )
			)
			States ( 1
				State (
					Duration ( 0 )
					LightColour (  BFF9CD84 )
					Position ( 0.0 1.5 -11.8 )
					Azimuth ( 0 180 0 )
					Elevation ( 0 1.85 0 )
					Angle ( 20 )
					Transition ( 0 )
					Radius ( 15 )
				)
			)
		)
		Light (
			comment ( Dim reverse 2 )
			Type ( 1 )
			Conditions (
				Headlight ( 4 )
				Unit ( 1 )
			)
			States ( 1
				State (
					Duration ( 0 )
					LightColour (  BFF9CD84 )
					Position ( 0.0 1.5 -11.8 )
					Azimuth ( 0 180 0 )
					Elevation ( 0 1.85 0 )
					Angle ( 15 )
					Radius ( 15 )
				)
			)
		)


I came across it completely by accident. There are three entries where Type ( 1 ), see the code above. But I also have a version where four Type ( 1 ) entries are listed.

Sincerely, Laci1959.

  • 7 Pages +
  • « First
  • 5
  • 6
  • 7
  • 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