Catherine James wrote

> -----Original Message-----
> From: [mailto:catherine.ja...@att.net]
> Sent: 08 April 2011 04:30
> To: flightgear-devel@lists.sourceforge.net
> Subject: [Flightgear-devel] Hurricane gearDown() and gearToggle()
> Nasalfunctions
> 
> 
> It absolutely drove me nuts that the Hurricane, alone of the planes I've
> tried, does not retract the gear when I press the appropriate joystick
> button.  Studying the Nasal code, I saw that the gearDown() function was
> overridden in the Aircraft/Hurricane/Models/hurricane.nas file.
> 
> Changing about five lines fixes the problem.  Is anyone interested in
> testing and hopefully committing this change into GIT?  I have tested it
> on the current GIT master branch build, but not the GIT next build.
> 
> Replace the gearDown() function in hurricane.nas with the following code:
> 
> controls.gearDown = func(x) {
>    hydraulicLever(-1, -x);
>    hydraulicLever(-1, -x);
> }
> 
> controls.gearToggle = func {
>    controls.gearDown(getprop("/controls/hydraulic/wheels") > 0 ? -1 : 1);
> }
> 

Absolutely not - it is not a bug but a feature. Moving the lever operates
the wheel retraction, not some joystick button. Either use G or pick the
lever in the cockpit. And return it to neutral on completion, or the flaps
will not operate. 

Vivian



------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to