Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Sc0rc3d

Helicopter Extraction (works great but sometimes not)

Recommended Posts

Hi folks,

i know the Topic is not the greatest. My problem is i have a mission at the End of the Mission an AI controlled Helicopter (Merlin Hc3) should land by (dostop heliname; heliname land "land"; it works great so far. But sometimes the Helicopter just Hovers ~15-20meter over the H and just does nothing. My first idea was that maybee some enemy Forces attacks him so i set the Waypoint before to "Hold Fire" or "never Fire" but. It works better but if just one enemym soldier is alife and fires with his AK on the Heli he Stops and the Ending Fails.

Is there a way to "more" force the landing? Or maybee if i cut out the two doorgunner i am not sure if he will land a "better" way or what you think?

greetings

Sc0rc3d

Edited by Sc0rc3d

Share this post


Link to post
Share on other sites

In these cases it is essential that the helicopter survives, so one can cheat as a mission maker and make both the helicopter and pilot invulnerable using an allowDamage false statement for both. One can also use a setCaptive true statement so it will not be engaged by the enemy. One trick to force the helicopter to land is to add an extra AI controlled passenger in a separate group in the extraction bird and give the helicopter a transport unload waypoint with a condition that checks whether all of the troops to be extracted are on board, then have the unloaded passenger become a member of the same group as the helicopter crew and assign this AI character as passenger with an orderGetIn command. It is a method that I commonly use and it tends to be pretty reliable in getting the chopper to land where it is supposed to.

http://www.xs4all.nl/~svdorst/co06_extraction_demo.Chernarus.rar

Regards,

Sander

Share this post


Link to post
Share on other sites

One thing I do with helo extractions is create a loop. Use a condition and something like helo select 2 > 5 then just have it make the helo land.

This is just an example:

while { condition && heloname select 2 > 5} do {
     heloname land "get in";
    sleep .1;
};

if you don't want to script it, you can just as easily use a trigger

You can set the helo captive, behaviour "careless", disableai "target", disableai "autotarget" etc etc and the helo will still randomly refuse to land or land and immediately take off. I have missions where helos will come in and land under fire, 99% of the time it works perfect but sometimes the helo just gets stubborn. I also have a few missions where helos land under no fire and no enemies anywhere near , 99% of the time it works perfect, but again sometimes the helo just gets stubborn.

hope this helps

Share this post


Link to post
Share on other sites

Thanks a lot both of you. The setCaptive statement was enough wo let it work very well (10 Trys and ten wins).

I also try the setFuel 0 command in a seperate Trigger if the Helicopter is over 10 meters to the ground to "more"

Force him to land. Works not bad but the setCaptive was even better. So thanks a lot for the Help. :)

Sc0rc3d

Share this post


Link to post
Share on other sites
Sign in to follow this  

×