Elvas Tower: Proposal for New Lighting Conditions - Elvas Tower

Jump to content

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

#51 User is offline   Albertosaurio65 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 35
  • Joined: 31-August 20
  • Gender:Male
  • Simulator:Open rails
  • Country:

Posted 29 February 2024 - 03:29 PM

Hello, they have been a magnificent improvement for the OR, what I use the most is the ORTSBattery condition and a problem has arisen, in the cars/wagons with lights like the ones at the end of the composition they do not respond to the ORTSBattery (1) of the locomotive, so I suggest a possible solution which would be to add an ORTSBattery ( 3 ) so that the lights are activated whenever there is any battery connected in the composition, so maybe it will work.

Another suggestion that is for more functionalities would be the possibility of using speed and pantographs as a condition, for example:
Pantograph (0) = Lights up if any pantograph is down
Pantograph ( 1 ) = Lights up if pantograph 1 is raised
Pantograph ( 2 ) = Lights up if pantograph 2 is raised
Pantograph ( 3 ) = Lights up if pantograph 3 is raised
Pantograph ( 4 ) = Lights up if pantograph 4 is raised
MinSpeed (example: 60kmh) = Lights up if the train exceeds the indicated speed

With this combination you could simulate the sparks from the friction of the pantograph, for example:
		Light	(
			comment( OverheadWireFlashFwd)
			Type		( 0 )
			Conditions	(
				ORTSBattery ( 1 )
				Pantograph ( 1 )
				MinSpeed ( 80kmh )
				Headlight ( 0 )
				Unit ( 4 )
				)
			FadeIn	( 0 )
			FadeOut	( 0 )
			Cycle	( 0 )
			States	(	13
				State	(
					Duration ( 0.2 )
					LightColour ( ffffffff )
					Position ( 0.2 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 1.0 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 0.3 )
					LightColour ( ff00ffff )
					Position ( 0.1 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 5.0 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 0.3 )
					LightColour ( ff0000ff )
					Position ( -0.3 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 0.5 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 20.0 )
					LightColour ( ff00008b )
					Position ( -0.2 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 0.0 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 0.3 )
					LightColour ( f9ffffff )
					Position ( -0.3 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 0.5 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 0.6 )
					LightColour ( f500ffff )
					Position ( 0.3 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 0.1 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 0.5 )
					LightColour ( 990000ff )
					Position ( -0.2 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 0.6 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 4.0 )
					LightColour ( fc00008b )
					Position ( -0.2 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 0.0 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 0.4 )
					LightColour ( faffffff )
					Position ( 0.0 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 0.7 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 0.3 )
					LightColour ( 9000ffff )
					Position ( 0.1 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 0.2 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 0.5 )
					LightColour ( f50000ff )
					Position ( 0.2 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 1.2 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 10.0 )
					LightColour ( ff00008b )
					Position ( 0.0 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 0.0 )
					Elevation ( 0 0 0 )
					)
				State	(
					Duration ( 0.5 )
					LightColour ( ffffffff )
					Position ( -0.2 5.50 -6 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0.2 )
					Radius ( 1.5 )
					Elevation ( 0 0 0 )
					)
				)
			)


#52 User is offline   pschlik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 352
  • Joined: 04-March 15
  • Gender:Male
  • Simulator:OpenRails - Unstable
  • Country:

Posted 29 February 2024 - 04:41 PM

View PostAlbertosaurio65, on 29 February 2024 - 03:29 PM, said:

Hello, they have been a magnificent improvement for the OR, what I use the most is the ORTSBattery condition and a problem has arisen, in the cars/wagons with lights like the ones at the end of the composition they do not respond to the ORTSBattery (1) of the locomotive, so I suggest a possible solution which would be to add an ORTSBattery ( 3 ) so that the lights are activated whenever there is any battery connected in the composition, so maybe it will work.


I suspect that's down to a slight difference in implementation, didn't know the battery condition wasn't transmitted across the whole train. That will be easy to fix for the next round of updates.

As for speed and pantograph, I'll add it to the list. But I think something that could help more with arcing would be randomness-I don't want to implement arcing without giving some way to make it unpredictable.

#53 User is offline   Weter 

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

Posted 01 March 2024 - 08:34 AM

Hello.

Quote

it seems that the emitters want to shift their Z-position (longitudinally) as the locomotive picks up speed

Same with diesel smoke emission direction: more speed - more inclination forward.

Quote

ORTSBattery ( 1 )

Is it already possible in testing version?

#54 User is offline   railguy 

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

Posted 02 March 2024 - 08:10 AM

Is there any schedule or plan to include the new lighting configurations in a NewYear Monogame release? Thanks.

#55 User is offline   Weter 

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

Posted 02 March 2024 - 08:37 AM

Some improvements were approved&merged into recent testing version, but which of?

#56 User is offline   pschlik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 352
  • Joined: 04-March 15
  • Gender:Male
  • Simulator:OpenRails - Unstable
  • Country:

Posted 02 March 2024 - 07:27 PM

Everything I have posted about in post #34 and #49 is in the testing version now (along with everything already present in previous versions, of course, read the 1.5.1 manual if you want that). Anything else is nothing more than an idea.

#57 User is offline   pschlik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 352
  • Joined: 04-March 15
  • Gender:Male
  • Simulator:OpenRails - Unstable
  • Country:

Posted 16 March 2024 - 11:52 AM

View Postpschlik, on 29 February 2024 - 04:41 PM, said:

I suspect that's down to a slight difference in implementation, didn't know the battery condition wasn't transmitted across the whole train. That will be easy to fix for the next round of updates.

As for speed and pantograph, I'll add it to the list. But I think something that could help more with arcing would be randomness-I don't want to implement arcing without giving some way to make it unpredictable.


Actually, I'd appreciate some clarification on how ORTSBattery works. Nothing I have uses the battery system, so I don't know how it worked before nor how it works now. Looking at the before and after, I shouldn't have changed anything....so did it always work for locomotives only?

I am willing to add ORTSBattery ( 3 ) to allow wagons to check for the lead locomotive's battery, but I also want the current settings of 1 and 2 to work as they did last version!

#58 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,250
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 16 March 2024 - 12:06 PM

Quote

I suspect that's down to a slight difference in implementation, didn't know the battery condition wasn't transmitted across the whole train. That will be easy to fix for the next round of updates.

As for speed and pantograph, I'll add it to the list. But I think something that could help more with arcing would be randomness-I don't want to implement arcing without giving some way to make it unpredictable.



In my observation of trains the two most significant things is weather then current drawn and speed. Ideally we would not want something totally random, but rather a degree of randomness depending on conditions. We don't need sparks when the train is at rest, except at the instant of raising or lowering a pantograph perhaps. There should be less sparking when less current is being drawn. (We don't have section gaps in the wires or gaps in the third rails yet in OR.) Most significantly when there is ice on the wires or the conductor rail there should be huge amounts of sparking.

#59 User is offline   Traindude 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 664
  • Joined: 17-November 13
  • Gender:Male
  • Location:Seattle, WA
  • Simulator:Open Rails
  • Country:

Posted 16 March 2024 - 05:25 PM

One other note--when I attempted to retrofit a steam tender with a directionally-controlled backup light (both sphere and glow lights), the backup light sphere didn't want to appear, even though the glow light worked fine. Then it dawned on me--sphere or cone lights only work for locomotives! If this was a tank engine (or a diesel, electric or cab car) then the rear light sphere would work OK, but apparently tenders can't have them. Here is my *.wag file code:
Lights ( 5
        Light ( 
			comment ( Cone of Backup Light--Bright )
			Type ( 1 ) 
			Conditions ( 
				Headlight ( 3 )
                                Service ( 2 ) 
				Unit ( 3 ) 
				Control ( 2 )
                                Reverser ( 2 )
			) 
                        Conditions ( 
				Headlight ( 3 ) 
                                Service ( 2 ) 
				Unit ( 5 ) 
				Control ( 2 )
                                Reverser ( 2 )
			) 
			Cycle ( 0 ) 
			FadeIn ( 1 ) 
			FadeOut ( 1 ) 
			States ( 1 
				State ( 
					Duration ( 0.0 ) 
					LightColour ( FFD2B88C ) 
					Position ( 0 3.17 -6.60 )
					Azimuth ( -180 -180 -180 )
					Transition ( 1 ) 
					Radius ( 1000.0 )
					Angle ( 45.0 ) 
				) 
			) 
		)
		Light ( 
			comment ( Cone of Backup Light--Dim )
			Type ( 1 ) 
			Conditions ( 
				Headlight ( 2 ) 
                                Service ( 2 ) 
				Unit ( 3 )
                                Control ( 2 )
                                Reverser ( 2 )
			)
                        Conditions ( 
				Headlight ( 2 ) 
                                Service ( 2 ) 
				Unit ( 5 )
                                Control ( 2 )
                                Reverser ( 2 )
			) 
			Cycle ( 0 ) 
			FadeIn ( 1 ) 
			FadeOut ( 1 ) 
			States ( 1 
				State ( 
					Duration ( 0.0 ) 
					LightColour ( 7FD2B88C ) 
					Position ( 0 3.17 -6.60 )
					Azimuth ( -180 -180 -180 )
					Transition ( 1 ) 
					Radius ( 500.0 )
					Angle ( 22.5 ) 
				) 
			) 
		)
                Light ( 
			comment ( Backup Light--Bright )
			Type ( 0 ) 
			Conditions ( 
				Headlight ( 3 ) 
                                Service ( 2 ) 
				Unit ( 3 ) 
				Control ( 2 )
                                Reverser ( 2 )
			)
                        Conditions ( 
				Headlight ( 3 ) 
                                Service ( 2 ) 
				Unit ( 5 ) 
				Control ( 2 )
                                Reverser ( 2 )
			) 
			Cycle ( 0 ) 
			FadeIn ( 1 ) 
			FadeOut ( 1 ) 
			States ( 1 
				State ( 
					Duration ( 0.0 ) 
					LightColour ( FFD2B88C ) 
					Position ( 0 3.17 -6.60 )
					Azimuth ( -180 -180 -180 ) 
					Transition ( 1 ) 
					Radius ( 0.25 ) 
				) 
			) 
		)
                Light ( 
			comment ( Backup Light--Dim )
			Type ( 0 ) 
			Conditions ( 
				Headlight ( 2 ) 
                                Service ( 2 ) 
				Unit ( 3 ) 
				Control ( 2 )
                                Reverser ( 2 )
			)
                        Conditions ( 
				Headlight ( 2 ) 
                                Service ( 2 ) 
				Unit ( 5 ) 
				Control ( 2 )
                                Reverser ( 2 ) 
			) 
			Cycle ( 0 ) 
			FadeIn ( 1 ) 
			FadeOut ( 1 ) 
			States ( 1 
				State ( 
					Duration ( 0.0 ) 
					LightColour ( 7FD2B88C ) 
					Position ( 0 3.17 -6.60 )
					Azimuth ( -180 -180 -180 ) 
					Transition ( 1 ) 
					Radius ( 0.25 ) 
				) 
			) 
		)
                Light ( 
			comment ( AI Backup Light )
			Type ( 0 ) 
			Conditions ( 
                                Service ( 2 ) 
				Unit ( 3 ) 
				Control ( 1 ) 
			    )
                        Conditions ( 
                             Service ( 2 ) 
				Unit ( 5 ) 
				Control ( 1 ) 
			) 
			Cycle ( 0 ) 
			FadeIn ( 1 ) 
			FadeOut ( 1 ) 
			States ( 1 
				State ( 
					Duration ( 0.0 ) 
					LightColour ( FFD2B88C ) 
					Position ( 0 3.17 -6.60 )
					Azimuth ( -180 -180 -180 ) 
					Transition ( 0 ) 
					Radius ( 0.25 ) 
				) 
			) 
		)
    ) 


#60 User is offline   pschlik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 352
  • Joined: 04-March 15
  • Gender:Male
  • Simulator:OpenRails - Unstable
  • Country:

Posted 17 March 2024 - 09:24 AM

Light spheres are a proper mess, to limit things to just one light sphere you have to make a lot of assumptions, and one of those would be ignoring light spheres on wagons.

It would be easier to fix that by supporting multiple light spheres than by adding yet another workaround.

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