Elvas Tower: Generator sound stream and effects linked to headlight? - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Generator sound stream and effects linked to headlight? Rate Topic: -----

#1 User is offline   Jonatan 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,660
  • Joined: 29-March 10
  • Gender:Male
  • Location:Somewhere.
  • Simulator:MSTS and Vehicle Simulator
  • Country:

Posted 01 May 2023 - 12:58 PM

Alot of our steam locomotives have a generator sound and steam FX, and the extended HUD shows a certain steam usage of the generator, but there is no way to turn it on or off.
In many cases the generator would only be turned on when the headlight or cab lights were needed, which rarely happened in daytime.

I would like to suggest a new sound stream for the generator, and a means to link it to the headight or some new function. The former is easier but leaves out the ability to individually control the generator and headlights - while the latter is more work and consumes more of our precious keys.
Likewise, the GeneratorFX would have to be linked to this as well.

Possibly something like the parameter ORTSGeneratorLinkedToHeadlight ( 1 ) in the eng file.

And a sound stream like this:
    		  	Stream (
				Skip ( **** Generator sounds - tied to headlight **** )
				Priority ( 6 )
				Volume ( 0.4 )
				Triggers ( 2					
					Discrete_Trigger ( 50 	StartLoopRelease ( 1 File ( "x_generator.wav" -1  ) SelectionMethod ( SequentialSelection ) ) )
					Discrete_Trigger ( 51 	ReleaseLoopReleaseWithJump () )
				)
			)


I have recorded and looped a generator sound file with a startup and shutdown sequence which I offer here for testing purposes to anyone developing this function, I'll allow its use in any released test equipment.

Attached File(s)



#2 User is offline   RocketStephen618 

  • Apprentice
  • Group: Status: New Hire
  • Posts: 2
  • Joined: 13-November 20
  • Gender:Male
  • Simulator:Railworks and Open Rails
  • Country:

Posted 01 May 2023 - 08:43 PM

Very nice!

#3 User is offline   ATSF3751 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,085
  • Joined: 15-July 08
  • Gender:Male
  • Location:Wayzata, MN
  • Simulator:Open Rails
  • Country:

Posted 01 June 2023 - 02:31 PM

I do like this idea of the Dyno being controlled by the headlight but you also need to remember that the Dyno controlled all of the electricity on the locomotive and some more modern steam locomotives have more then one Dyno on them. Some examples of this is UP 844, 3985, 4014 and SP 4449. The Dyno controlled not only the headlight and marker lights but also the cab lights, radio, lighting for the passenger cars, along with cab signals for steam locomotives that had them.

Brandon

#4 User is offline   Jonatan 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,660
  • Joined: 29-March 10
  • Gender:Male
  • Location:Somewhere.
  • Simulator:MSTS and Vehicle Simulator
  • Country:

Posted 01 June 2023 - 02:36 PM

Brandon,

I'm aware of those facts and I mentioned it in my original post:

Quote

... the former is easier but leaves out the ability to individually control the generator and headlights - while the latter is more work and consumes more of our precious keys.


Addendum: If someone finds it easy to code a separate generator control function from the get go and a free key to activate/decativate it, then this is the optimal solution and I'm all for it.

#5 User is offline   Weter 

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

Posted 01 June 2023 - 08:31 PM

Hello, Brandon.

Quote

lighting for the passenger cars

Is it so for Your cars? I encountered only cases, when carriages had own electric system (axle-driven generator and battery of accumulators), before reading Your post.
Steamers turbo-generators, I see before are too small (~1kW power output) for feeding too many consumers.

#6 User is offline   Traindude 

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

Posted 01 June 2023 - 11:13 PM

Since the GeneratorFX emitter on locomotives so equipped runs continuously, with no way to turn it on or off, I just modified your code for use as an "initial trigger" that plays the sound continuously while the loco is in operation.

Page 1 of 1
  • 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