PDA

View Full Version : Fail safe ejection mode


Revvin
29-12-2003, 04:59 PM
How many times have you thought of setting a button to eject in your sim but then taken it out worried that you'd hit it at the wrong moment? A better way would be to assign an ejection sequence to a number of buttons to generate a 'sequence' of presses that needed to be executed before the eject command was given. In the example below I've set the three buttons along the front of the Pro Throttle to execute the eject command once they are all pressed. This script has been used in my Warbirds III profile available for download in the 'Profiles' section of this forum if you'd like to see a working example.


//
script
SEQUENCE
テつ*WAIT( JS2.B2 AND JS2.B3 AND JS2.B4 ); テつ*// Wait for buttons 2,3 and 4 to get pressed on the throttle
テつ*DELAY( 10 ); テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* // Wait half a second
テつ*CMS.B1 = TRUE; テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* // Start Ejection Sequence
テつ*DELAY( 10 ); テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* // Wait half a second
テつ*CMS.B1 = FALSE; テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ*// Reset CMS B1 state
テつ*DELAY( 10 ); テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* テつ* // Wait half a second
ENDSEQUENCE
endScript

Twilight
07-01-2004, 11:36 PM
An interesting alternative without a doubt. I programmed one of the throttle's buttons to be a shift button, and one of the hats to eject when shifted. More or less the same effect, since now if I fool around with the hat, nothing will happen (unless I press the "shift-button".


Cheers!!

Twilight

P.S. Nice site you've got here!!! Congrats! Maybe we can exchange some ideas, huh?? :thumbsup: :thumbsup:

Revvin
08-01-2004, 12:09 AM
Originally posted by Twilight@Jan 7 2004, 10:36 PM
An interesting alternative without a doubt. I programmed one of the throttle's buttons to be a shift button, and one of the hats to eject when shifted. More or less the same effect, since now if I fool around with the hat, nothing will happen (unless I press the "shift-button".


Cheers!!

Twilight

P.S. Nice site you've got here!!! Congrats! Maybe we can exchange some ideas, huh?? :thumbsup:ツ* :thumbsup:
Yeah I used to use the shift method you describe for toggling engines on and off, I'd map another command in the non shifted mode then engine toggle to the shifted mode so I would'nt shut the engine down in the middle of a dogfight :D

Sharing thoughts and ideas is what this place is all about, glad you like the site. If you have any profiles you'd like to share you can upload them to the forum directly from your hard drive the same way as you'd attach a file to an e-mail so feel free to post away!

Twilight
08-01-2004, 07:32 PM
Originally posted by Revvin@Jan 7 2004, 11:09 PM
If you have any profiles you'd like to share you can upload them to the forum directly from your hard drive the same way as you'd attach a file to an e-mail so feel free to post away!
Will do! I am still working on one which will make completely happy, but in the mean time maybe I can post the latest...

Best regards,


Twilight