Comrades in Arms Discussion Board

Full Version: How do I get AI pilot to land chopper in a hot LZ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I used "LOAD" command as WP (and an invincible H), the chopper will (i hoped) extract players. But it just took a nice turn over the area.... As title may hint, there might be enemy around landing zone. Any suggestion?
AI choppers are a pain in the arse especially in multiplayer environment. I had limited success with snYpir's helicopter landing & pickup script (<- link).

I decided never to use AI choppers in MP missions again, but well Smile
Daddl has made chopper insertion/extraction scripts that work flawlessly in MP if applied correctly.

Check my mission "Comrades of Destruction" (12 players on Nogova) for the scripts and how to's. There are insertion.sqs, extraction.sqs and some triggers in the mission that you need to copy/paste.
Seems like I'm unable to unpack your mission Lenin (tried following tool: pbo_x, unpbo, cpbo and pbotool Sad)
Any chance for a mail from you (with an attachment)? I'll check some scripts I found on ofpec too, a search for Daddl's script turned up fruitless
Strange.. works for me with cpbo. Anyway here it is:

http://www.ciahome.net/users/web7_lenin/...on.noe.rar
oh yay! I think i can do something like a help with something that has to with mission editing! So listen: I got the link for daddls Homepage:

http://daddldiddl.de/

Daddls Sneak pack might be a thing you searched for. Although Lenins mission will do it aswell, i want to give you this hint, so i can say i gave you a hint in mission editing... ohhh my head hurts again....

Greetzzz
 
  Tony
tnx Lenin
I did manage to get it to land with the LAND command but I still got some issues Wink I'll check your script before I go any further
(02-24-2009, 11:19 PM)Fat Tony link Wrote: [ -> ]So listen: I got the link for daddls Homepage: http://daddldiddl.de/
Daddls Sneak pack might be a thing you searched for.
Tnx Tony, did find that too but havent looked on it yet
(02-24-2009, 11:19 PM)Fat Tony link Wrote: [ -> ]ohhh my head hurts again....
Be well my friend, can't have you on sick leave tomorrow. Who's gotta TK me then? Wink
Me again, the noob wannabe missionmaker

I solved the problem with the unwilling AI pilot by changing him to human player. That way we all know who to blame...

So next problem:
How do I hide objective markers on the map, not just in briefing? Run a script hiding them to other objectives are done?
Hi Overlord,

Might be a bit late, but I've used these scripts to get an AI chopper to land exactly where I want it - they are pretty good.

http://www.ofpec.com/ed_depot/index.php?...8&game=OFP

Marto.
(03-09-2009, 11:14 PM)Overlord link Wrote: [ -> ]So next problem:
How do I hide objective markers on the map, not just in briefing? Run a script hiding them to other objectives are done?
Yes. The best place to hide the markers is in the init.sqs and BEFORE you suspend the script for any time (~1 or something like that). Otherwise the markers will not be hidden in the briefing screen. You cannot change a marker's type in Ofp so you have to change their size to really tiny, like:
Code:
"farp_1" setMarkerSize [0,0]
"farp_2" setMarkerSize [0,0]
I'm not sure whether you have to worry about locality and all this stuff with markers, but in one of my missions I had the above code at the start of the init.sqs and it worked if I remember correctly.
;D ;D i know that problem very well, i got an addon 4 that. You caan tell the heli to hover, land and increase height to allow safe parachuting. it works with 2 choppers and you can tell it where to go with a single onSingleMouseClick.
Search for "chopperdynamic2".