Home   Help Search Login Register  

Author Topic: Engines on!  (Read 2516 times)

0 Members and 1 Guest are viewing this topic.

Egwal

  • Guest
Engines on!
« on: 21 Aug 2002, 10:48:56 »
How can i make a cobra to start its engines, but not yet liftin off the ground. Forgot the command. ???

Offline KTottE

  • Former Staff
  • ****
Re:Engines on!
« Reply #1 on: 21 Aug 2002, 11:03:25 »
Helicopter action ["ENGINEON"] or something like that, check the unofficial comref for the exact action name.
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

Offline Sefe

  • OFPEC Patron
  • Former Staff
  • ****
Re:Engines on!
« Reply #2 on: 21 Aug 2002, 11:13:20 »
In the cobra's init field put:

this Action ["ENGINE ON"]; DoStop this

When you want the cobra to lift off, write:

CobraName DoFollow (Leader CobraName)

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Engines on!
« Reply #3 on: 21 Aug 2002, 12:47:28 »
or another way:

give the chopper no fuel and when u want it to take off give it fuel (choppername setfuel 1)

then in the choppers init field type:

this flyinheight 0

which will effectively make him fly on the ground and so doesnt take off.... to make him take off use

choppername flyinheight 30

or any height u want (too low and hes gonna crash of course  ;D )

there ya go.
« Last Edit: 21 Aug 2002, 12:48:40 by Messiah »
Proud Member of the Volunteer Commando Battalion

Offline Sefe

  • OFPEC Patron
  • Former Staff
  • ****
Re:Engines on!
« Reply #4 on: 21 Aug 2002, 13:11:15 »
*sigh*

I never understood why most of the people suggest to remove the fuel of rotary wing aircraft to make it sit on the ground. When you park your car, do you take a pump and remove it's fuel to make the engine stop?

The DoStop/DoFollow solution isn't less easy (it's easier if you ask me) but it's more flexible than SetFuel.

It's different for fixed wing aircraft though. In those cases you have to remove the fuel to make it stop.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Engines on!
« Reply #5 on: 21 Aug 2002, 13:38:39 »
*sigh*

been proven wrong by sefe again  ;D

well.... if that unit doesnt have a leader to folow - how does it follow a leader?
Proud Member of the Volunteer Commando Battalion

Offline KTottE

  • Former Staff
  • ****
Re:Engines on!
« Reply #6 on: 21 Aug 2002, 13:40:33 »
Helicopter join GroupName
Sounds like a plan, doesn't it =)
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

Offline Sefe

  • OFPEC Patron
  • Former Staff
  • ****
Re:Engines on!
« Reply #7 on: 21 Aug 2002, 13:44:43 »
well.... if that unit doesnt have a leader to folow - how does it follow a leader?

It will follow itself. It's it's own leader so to say.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Engines on!
« Reply #8 on: 21 Aug 2002, 14:09:36 »
lol - ok, that makes more sense
Proud Member of the Volunteer Commando Battalion

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Engines on!
« Reply #9 on: 22 Aug 2002, 05:55:21 »
Telling the chopper to stop does just that... tells it to stop...

Removing it's fuel makes it stop ;)

It's for those of us that absolutely don't trust the AI to do what we tell it to all the time...

Having said that, Sefe's method is much more stylish and sophisticated ;D

T.S.C.Plage

  • Guest
Re:Engines on!
« Reply #10 on: 22 Aug 2002, 16:08:52 »
Tell the chopper to -> this FlyInHeight -1 (of course you've to use "Engine On" before)

BUT you maybe have noticed that the rotation of the rotor ;D will make the chopper "turn" on his position so you maybe have to loop "setdir" and if you plan to let him "stay"
for a longer time with engine on you also have to loop "setfuel".

If the chopper should start enter -> this FlyInHeight 30 (for example)

That's the easiest way boys!

@ Sefe: The car comment is very convincing! ;D

Greetz
Plage
« Last Edit: 22 Aug 2002, 16:12:04 by T.S.C.Plage »

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Engines on!
« Reply #11 on: 27 Aug 2002, 10:02:05 »
#Problem solved
Way to go gang!  On behalf of Egwal =  :-*
Not all is lost.