Elvas Tower: MSTS Cabradio - Elvas Tower

Jump to content

  • 5 Pages +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

MSTS Cabradio Rate Topic: -----

#41 User is offline   Coolhand101 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 998
  • Joined: 13-June 15
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 27 July 2017 - 10:46 AM

View PostCsantucci, on 26 July 2017 - 09:11 PM, said:

Yes, I'm aware of it and I don't understand why it behaves so, as that control uses the same mouse management code of the other controls. Are you able to check whether another similar toggle control behaves better (e.g. the wiper control)?


All controls using TwoState, TriState even Lever does not have this problem. The wiper has never worked in OR via the mouse, haven't a clue why?

On the subject of mouse controls. I have also notice when using the mouse to use the 'reset' button ( z ) key, the sound is looped. But via the keyboard, it is played just once( the reset sound uses 'PlayOneShot' )?.

Thanks

#42 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 27 July 2017 - 11:00 AM

The point is not whether they are TwoState or not, but whether they have a toggle (same key for on and off) command or not. Comparison should be done with a control driven by a single key used in toggle mode.

#43 User is offline   Coolhand101 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 998
  • Joined: 13-June 15
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 27 July 2017 - 01:38 PM

View PostCsantucci, on 27 July 2017 - 11:00 AM, said:

The point is not whether they are TwoState or not, but whether they have a toggle (same key for on and off) command or not. Comparison should be done with a control driven by a single key used in toggle mode.


I see your point. The one i can think of at the moment that uses the same key for on and off is the P key for pantograph1.

There are two more, the L key and W key but there are no mouse commands for wiper and cablight as yet.

The sander and bell can be made to stay on, but only via keyboard using Shift+X and Shift+B

Thanks

#44 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 27 July 2017 - 10:38 PM

Thanks, Coolhand. The pantographs however don't change state immediately when you click on their control in the cab. They go into an intermediate state, and only after some second they change state; this probably inhibits bouncing. Maybe it's not a case that cablight and wipers don't have a mouse command.
Let's hope I get the right idea to solve this. Else I will remove the mouse command.

#45 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 28 July 2017 - 12:38 PM

In x.3906 the problem of the malfunctioning mouse has been solved.

#46 User is offline   QJ-6811 

  • Conductor
  • Group: Status: Active Member
  • Posts: 385
  • Joined: 27-December 15
  • Gender:Male
  • Simulator:MSTS / Open Rails
  • Country:

Posted 03 December 2017 - 01:29 PM

Does anyone know if the CAB-Radio is still working in X3989?
I have taken the example of D.C.Stijn, I get the radio sounds as normal, but I can not switch it on or off with ALT-R.
IOW, sounds remains on, as if the discrete trigger 162 and 163 does not exist.
does anyone here see the error?



Stream (
				Priority ( 6 )
				Triggers ( 3
					Discrete_Trigger ( 162 SetStreamVolume ( 1.0 ) )
					Discrete_Trigger ( 163 SetStreamVolume ( 0.0 ) )

					Random_Trigger (
						Delay_Min_Max ( 5 40 )
						Volume_Min_Max ( 2.5 3.0 )
						PlayOneShot ( 16
							File ( "DispatchSound-1/R_TEM2-Radio01.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio02.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio03.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio04.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio05.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio06.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio07.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio08.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio09.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio10.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio11.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio12.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio13.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio14.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio15.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio16.wav" -1 )			
							SelectionMethod ( RandomSelection )
						)
					)
				)
			)


#47 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 03 December 2017 - 01:42 PM

To check if the radio triggers work use a simpler stream, removing the random trigger and inserting in the two discrete trigger lines respectively a startlooprelease of a .wav file and a releaseloopreleasewithjump instead of the SetStreamVolume command.
I'm not sure that in your example above the SetStreamVolume command overrides (or multiplies) the Volume command below. To check that you can replace 162 and 162 with a couple of surely working triggers.

Anyhow in my opinion radio triggers work.

#48 User is offline   QJ-6811 

  • Conductor
  • Group: Status: Active Member
  • Posts: 385
  • Joined: 27-December 15
  • Gender:Male
  • Simulator:MSTS / Open Rails
  • Country:

Posted 04 December 2017 - 10:53 AM

You're right, it works with a simpler stream. (as with startloop and releaselooprelease).

Still further tested, but the combination "streamvolume on/off" and "random-trigger" does not work (?), even if I remove the volume rules inside the stream and/or random-trigger.

But I have found a solution with the "enable and disable" triggers, this works well. :D

An example below:

Stream (
				Priority ( 6 )
				Volume ( 1.0 )
				Triggers ( 4
					Initial_Trigger ( DisableTrigger ( 4 ) )
					Discrete_Trigger ( 162 EnableTrigger  ( 4 ) )
					Discrete_Trigger ( 163 DisableTrigger ( 4 ) )

					Random_Trigger (
						Delay_Min_Max ( 5 40 )
						Volume_Min_Max ( 2.5 3.0 )
						PlayOneShot ( 16
							File ( "DispatchSound-1/R_TEM2-Radio01.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio02.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio03.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio04.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio05.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio06.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio07.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio08.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio09.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio10.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio11.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio12.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio13.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio14.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio15.wav" -1 )
							File ( "DispatchSound-1/R_TEM2-Radio16.wav" -1 )			
							SelectionMethod ( RandomSelection )
						)
					)
				)
			)




BTW, the "random" block of 16 files was, in my opinion, an MSTS limit?
Does anyone know if there is a limit in OR?
(I can fill in 32 files without error, but ......? Otherwise just make two stream blocks of 16, this works also ......)


.

#49 User is offline   Coolhand101 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 998
  • Joined: 13-June 15
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 07 April 2018 - 12:38 PM

View PostQJ-6811, on 04 December 2017 - 10:53 AM, said:

Still further tested, but the combination "streamvolume on/off" and "random-trigger" does not work (?), even if I remove the volume rules inside the stream and/or random-trigger.

But I have found a solution with the "enable and disable" triggers, this works well.


Thanks for this information. I was wondering why my "distance_travelled_triggers" were still producing a sound, even when the stream volume was set to zero by trigger 163.

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