Jump to content
Sign in to follow this  
Ice_Rhino

AI HELO Insertion & Extraction

Recommended Posts

I am not in control of the group so I will look KD at what you have posted. Is it possible to make a helo land pointing in a certain direction? Just curious

Share this post


Link to post
Share on other sites

I think, I could be wrong. That the helo will land in the direction of its next waypoint. Oh by the way what i posted. You dont have to do anything...Just let them unload run to there way point and they will activate the other chopper to come pick them up.

Share this post


Link to post
Share on other sites

Thanks for the mission, nothing better than seeing it in the flesh. I am just about to rename the AI squad members and see if I can get it working in my test mission. Need to find where you have told the AI to get in.

Share this post


Link to post
Share on other sites

That is the waypoint "get in" that is sync'd to the waypoint "load"

Share this post


Link to post
Share on other sites

Hi KDK,

I have for what I can see merged you mission into my test mission and the helo won't land for the pickup. Not sure if it something to do with Radio Call Bravo. RC Alpha tells the helo to come in for pick and RC Bravo should move the troops out on to the runway to board

Uploaded to SkyDrive Link

Thanks in advance

Share this post


Link to post
Share on other sites

Hey again,

{_x moveInCargo helo} foreach units group this

For getting squad in the helo (name it!)

-Set helicopter special to "flying"

Create invisible helipad via Units (F1) -> Empty -> Objects (Signs) -> Invisible Helipad

Create helo waypoint by clicking on helicopter first then hitting F4 then double-clicking directly on top of the helipad

Make the waypoint "Transport Unload"

Place the squad/passenger's waypoint pretty near the helo

Make that waypoint "Get Out"

Synchronize the "Get Out" and "Transport Unload" waypoints

Here's something I did in my mission, Ghosthawk Down:

http://i.imgur.com/YlEPcyO.png (393 kB)

​z9su.png

​5ikx.png

(In this case I didn't sync but meh, does the job)

Scratch that actually, I think I have your mission working almost as per your requests, for insert and exfil, stay tuned :D

Aha, I have it working fairly well now. All you'd need to do would be drag-click everything to a specific location.

1) The helo may sometimes land at a weird point on the airbase. That's because afaik, there are helipads hardcoded in so it'll pick those. You can see them when ingame, as they're not the invisible variant (right outside the ATC tower)

2) You asked for "romantic" ;D I'm not sure if ArmA includes its own atm or not, so I added my own romantic one in, heh. That's why there's waypoints around the island. If you want to have it built in (and thus less steps), perform the following:

Doubleclick the waypoint with a blue cinematic camera icon in (representing an effect has been used). Set "track" to "None"/"Silence".

Delete all waypoints after the first move from the waypoint where the units get in (this is to make sure the helo actually goes somewhere once it picks everyone back up)

Delete description.ext and the Music folder.

That should be it! You're now free to mould it into your own mission without some emotional music in the way! :D

3) Oh, btw Radio Alpha switches a hold which will enable your chopper to land. I renamed some of the units for convenience so be sure to switch them back if you want them how you like.

https://www.dropbox.com/s/lf7oi1s9cfew2du/Helo_Insertion_and_Extraction.Stratis.zip

Edited by Comp_uter15776

Share this post


Link to post
Share on other sites

That is because you have put the code to check if AI is alive etc before the actual landing zone. You need to delete the code out of that one, and put one just after the "load" waypoint, Just off the invisible helipad. That should make it land, wait for the heli to check all alive units are in then it should carry on. I personally dont think you need radio bravo as syncing the "load" waypoint with the "get in" waypoint will make this work. And will only work once the helo is ready for "loading".

Share this post


Link to post
Share on other sites

This is doing my head in, why can't I do something so simple as what you are all telling me. Version 7469 is on my SkyDrive Link

Thanks guys and or girls

---------- Post added at 15:44 ---------- Previous post was at 15:07 ----------

Hi Comp_

I am a little confused here (nothing new there then). Your step through guide starts of with troops getting in and yet all of that section seems to refer to troops getting out

Thanks

Share this post


Link to post
Share on other sites

Yes Ice, I went back and read through after xD Just load up the file and see what I've done, I took your old one and got them to enter and leave properly now.

Share this post


Link to post
Share on other sites

I tried it but it did not work. I will go and try it again fight now and report back

Share this post


Link to post
Share on other sites

comp_, despite the Alpha Radio Call the Helicopter, after drop off just does a high speed circuit of the airport and then hovers out to sea. Thoughts?

T

Ps. This is so frustrating that I can't understand what is going on. Getting annoyed with myself now, what with your help, KDK & KYL

Share this post


Link to post
Share on other sites

you needed to put

dostop blu_exthelo_1; blu_exthelo_1 land "get in"

You had left it as dotstop helo; helo land "get in"

Share this post


Link to post
Share on other sites

Ice, the helo should hover first, that's your hold wp. Then call it. Think of the hold as the divider between "start of mission infil" *gameplay rubbish* "end of mission exfil"

Share this post


Link to post
Share on other sites

It's highly unlikely you want a doStop anywhere. That's just gonna cause problems.

Also remember that hold waypoints are not "real" waypoints. They'll never "complete". They are just a pause in the path of waypoints which you skip over by tripping a synched Switch type trigger.

Share this post


Link to post
Share on other sites

Thanks KDK, that is what it was, troops now loadup and the helo takes off. It doesn't move to the next Move waypoint but I am going to look at that now.

you needed to put
dostop blu_exthelo_1; blu_exthelo_1 land "get in"

You had left it as dotstop helo; helo land "get in"

Thanks KDK, KYL &Comp_ for all of your help on what should have been a simple problem, I think the only problem was me

Thanks Again

Share this post


Link to post
Share on other sites

Like Kylania suggested try take out the dostop blu_exthelo_1; and just have the blu_exthelo_1 land "get in" and see if it works like that. I never had a problem with it using this setup so I am not sure why your helo wont move off.

Also am not sure but this code

((!alive unit1) OR (unit1 in helo)) AND ((!alive unit2) OR (unit2 in helo)) AND ((!alive unit3) OR (unit3 in helo))

in the tutorial isnt really specific. I am not sure if just changing "helo" in all those lines to "blu_exthelo_1" would make a difference?.

Edited by KDK11

Share this post


Link to post
Share on other sites
just changing "helo" in all those lines to "blu_exthelo_1" would make a difference?.

Absolutely! IN that code "helo" is the name of the helicopter, so if your helicopter is named blu_exthelo_1, change all references to helo to that.

Share this post


Link to post
Share on other sites

Here is the tutorial mission as it stands, SkyDrive link. I have done most of the work, well a lot of it, well some, well a small amount actually. I thank the people who have tirelessly helped me over the last 24 hours with this (KDK, KYL & input from Comp_)

1. Only run this mission from the editor, it is designed for tuition not game play

2. on load the helo will fly towards you

3. Land and drop off 8 troops

4. Fly off and hold at the North end of the runway

5. When you give Radio Call Alpha (0-0-1), the helo will move into position and land

6. The troops will then board.

Then what I want to happen is for it to fly off into the distance (working on that bit). I will write up detailed steps for future novice devs and pack the whole thing into a zip for you to load into you editor. I may make my 1st YouTube video of it too

Again my thanks to the afore mentioned

Share this post


Link to post
Share on other sites

You tried those small changes me and Kylania suggested?

Share this post


Link to post
Share on other sites

I'm not sure why the mission I linked doesn't work xD I did test it at least twice before declaring it worth your time haha... ah well. The helo should just have followed its waypoints thereafter landing and continued.

Share this post


Link to post
Share on other sites

I have now taken out the dostop command and the helo after loading does not even take off despite there being two move points after the 'Load' waypoint. 1st one contains the conditions and the second one is a straight forward move to the end of the runway (approx. 200m).

I have also confirmed the unit names as correct and the following code is in place for the Move waypoint which is very close but after the Load waypoint

((!alive u1) OR (u1 in helo)) AND ((!alive u2) OR (u2 in helo)) AND ((!alive u3) OR (u3 in helo)) AND ((!alive u4) OR (u4 in helo)) AND ((!alive u5) OR (u5 in helo)) AND ((!alive u6) OR (u6 in helo)) AND ((!alive u7) OR (u7 in helo)) AND ((!alive u8) OR (u8 in helo))

Edited by Ice_Rhino

Share this post


Link to post
Share on other sites

:/ I addressed this issue in my uploaded version; and that's by not actually using a load wp.

Yea, I just retried mine now, are you sure you're using mine and not a version of yours or something? (They have the same name so you'll have to swap your version out for the time being) :/

EDIT: Just forget everything I said in the post with the link, literally just add the mission into your editor and see how it plays out. Once the helo lands to let the troops out, radio alpha to see exfil at work.

Share this post


Link to post
Share on other sites
I have also confirmed the unit names as correct and the following code is in place for the waypoint which is very close but after the Load waypoint
((!alive u1) OR (u1 in helo)) AND ((!alive u2) OR (u2 in helo)) AND ((!alive u3) OR (u3 in helo)) AND ((!alive u4) OR (u4 in helo)) AND ((!alive u5) OR (u5 in helo)) AND ((!alive u6) OR (u6 in helo)) AND ((!alive u7) OR (u7 in helo)) AND ((!alive u8) OR (u8 in helo))

No mate you need to change this code, for everywhere it says "helo" to "blu_exthelo_1" put the dostop back in, and change the code above so it is this

((!alive u1) OR (u1 in blu_exthelo_1)) AND ((!alive u2) OR (u2 in blu_exthelo_1)) AND ((!alive u3) OR (u3 in blu_exthelo_1)) AND ((!alive u4) OR (u4 in blu_exthelo_1)) AND ((!alive u5) OR (u5 in blu_exthelo_1)) AND ((!alive u6) OR (u6 in blu_exthelo_1)) AND ((!alive u7) OR (u7 in blu_exthelo_1)) AND ((!alive u8) OR (u8 in blu_exthelo_1))

Report back with outcome.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×