Home   Help Search Login Register  

Author Topic: Gear Down?  (Read 647 times)

0 Members and 1 Guest are viewing this topic.

bigcheese

  • Guest
Gear Down?
« on: 16 Aug 2004, 01:32:16 »
Hi,

How do you force a plane to put its landing ger down?

At first i tried plane action["land gear"], but the pilot overrides instantly, (i know this command works because its toggles the gear with a human pilot). I also tried a script that cycles the command over and over again, but like i said it "toggles" the gear, so as soon as the script tells it to put the gear down it also tell it to put the gear up.

I also noticed that theres an entry in the config fils for GEAR_DOWN but no one seems to know the syntax.
I tried things like plane action["gear down"] and plane action["gear_down"] etc, but got nothing, even on a human player.

Thanks

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Gear Down?
« Reply #1 on: 16 Aug 2004, 04:51:28 »
I think you will find that AI pilots will put the gear away  again almost immediately unless they are planning to land.

There was a topic somewhere here about this a while ago.  Do a search, you might find it.


Planck
I know a little about a lot, and a lot about a little.

Unnamed

  • Guest
Re:Gear Down?
« Reply #2 on: 17 Aug 2004, 04:37:50 »
If you have an aircraft addon that's compatable with Sefe's landing gear tutorial:

http://www.ofpec.com/editors/resource_view.php?id=81

Then yes you can, otherwise I think the answer is no.

bored_onion

  • Guest
Re:Gear Down?
« Reply #3 on: 25 Aug 2004, 12:29:58 »
try "the time for action has come" thread in the editing/scripting: general forum i think that has something

http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=9376
« Last Edit: 25 Aug 2004, 12:31:30 by bored_onion »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Gear Down?
« Reply #4 on: 02 Sep 2004, 03:36:27 »
Its easy as pie to do.

De-pbo the addon, if you can, look in the config and see what the command is for animating the gear. Then slap the code into a trigger/waypoint or whatever.

If you can't De-pbo the file because of encryption or summit, then e-mail the author.
« Last Edit: 02 Sep 2004, 03:37:00 by The-Architect »
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Unnamed

  • Guest
Re:Gear Down?
« Reply #5 on: 02 Sep 2004, 15:11:04 »
Standard BIS aircraft do not have anims defined in the config to raise and lower gears. They dont even use a valid animation axis in the p3d, by default. So you cant easily add your own.

Using the action command "gear down" the AI will override it every time, unless the planes is on the ground and stationary. How usefull is that?

AFAIK, there is no way around it. You have to follow Sefe's tutorial if you want to take control of the gears.

I wish it was otherwise :( But thanks to Sefe for figuring out a way, now it's down to addon makers to support his method.