Jump to content

Photo
- - - - -

Evacuation


  • Please log in to reply
4 replies to this topic
Thread Starter
spartanhoplite
spartanhoplite

    Private First Class

  • Members
  • 15 posts

  • Joined: 04-August 2011

Posted 24 March 2012 - 09:10 #1

Hi,


I was wondering that can a helicopter evacuate a remaining of a squad.

If so, how can I do it?


Thanks for your patience

drongo69
drongo69

    First Sergeant

  • Members
  • 950 posts

  • Joined: 25-April 2004

Posted 24 March 2012 - 13:54 #2

It is possible with scripting, but OFP helicopter AI is notoriously troublesome. Under exactly what conditions do you want the helicopter to arrive, to land, to leave, etc? Is the evacuated squad player or AI controlled? Is the mission SP or MP?

WW2Weasel
WW2Weasel

    Sergeant

  • Members
  • 118 posts

  • Joined: 23-January 2005

Posted 24 March 2012 - 14:01 #3

http://www.ofpec.com...n=list&game=OFP look through for existing scripts. look at Pages 6 & 7.

Thread Starter
spartanhoplite
spartanhoplite

    Private First Class

  • Members
  • 15 posts

  • Joined: 04-August 2011

Posted 24 March 2012 - 15:37 #4

It is possible with scripting, but OFP helicopter AI is notoriously troublesome. Under exactly what conditions do you want the helicopter to arrive, to land, to leave, etc? Is the evacuated squad player or AI controlled? Is the mission SP or MP?


I want it to:

1) Arrive
2) Land
3) And return to base

I am one of the squad and the rest are AI.

It is in the Mission Editor so SP

nikiller
nikiller

    Gunnery Sergeant

  • Members
  • 420 posts

  • Joined: 10-May 2008

Posted 24 March 2012 - 22:23 #5

hi,

I want it to:

1) Arrive
2) Land
3) And return to base

I am one of the squad and the rest are AI.

It is in the Mission Editor so SP


Here it is. I wrote a simple chopper extraction script MP/SP compatible. Chopper lands, wait that every alive soldiers get in and return to base.

init.sqs
Spoiler


extraction_chopper.sqs
Spoiler


I also wrote a smooth brake script to help the chopper to land without braking and turning like mad.

brake.sqs
Spoiler


Here's a demo to show how it works: DEMO LINK

cya.

Nikiller.
[LOL] ofp/ArmA clan since 2004.
No Respawns, No Crosshairs, No Muppets.
Want a good ofp/ArmA2 coop? Visit the [LOL] clan homepage | ofp [LOL] addons pack | ArmA2 [LOL] addons pack

WW4mod25 sound replacement mod v1.1 | Nikiller's scripts pack