OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Meatball0311 on 03 Dec 2005, 19:10:45

Title: Setting up a helo to be on support for CAS missions
Post by: Meatball0311 on 03 Dec 2005, 19:10:45
This is the situation:

I need help in assigning helicopters to be on standbye to perform support missions for my combat forces (med-evac, ammo resupply, extraction, CAS, Patrols).

Also, how do I get them to fly to a specific pos that I select on the map?

Title: Re:Setting up a helo to be on support for CAS missions
Post by: THobson on 03 Dec 2005, 19:34:23
I think I would need more information to help with the first one - what exactly do you want to do?

Getting choppers to exactly what you want can be a painful exercise.  I preseme you have tried using a waypoint?  Have you tried a doMove instruction?  You might want to look at moving a waypoint to where you want is usign setWPPos
http://www.ofpec.com/editors/comref.php?letter=S#setWPPos
Title: Re:Setting up a helo to be on support for CAS missions
Post by: pazuzu on 03 Dec 2005, 20:26:28
 "Heli Transport (map click)" script by skumball is a very good script you could use for evac and providing ammo for troops. I've used it several times. It even works on dedi servers.

Get it here: http://www.ofpec.com/editors/browse.php?browsewhat=2
Title: Re:Setting up a helo to be on support for CAS missions
Post by: Meatball0311 on 04 Dec 2005, 02:00:24
What I want to do is have lets say a cobra helicopter at a base on the ground.  i want to call the helo and click on the map where i want it to do a CAS (close-air-support) mission.
Title: Re:Setting up a helo to be on support for CAS missions
Post by: macguba on 04 Dec 2005, 04:47:15
Or just use snYpir's SP/MP Support Pack from the Editors Depot.   No point in reinventing the wheel unless you want to.
Title: Re:Setting up a helo to be on support for CAS missions
Post by: Kyle Sarnik on 06 Dec 2005, 00:32:56
This might help.
Title: Re:Setting up a helo to be on support for CAS missions
Post by: ROBINO on 06 Dec 2005, 16:22:34
Or use the tried and tested script wot i wrote:   :D

http://www.ofpec.com/includes/download2.php?id=1054
Title: Re:Setting up a helo to be on support for CAS missions
Post by: pazuzu on 07 Dec 2005, 02:31:45
Robino, will your chopperdynamic script work for multiplayer?
Title: Re:Setting up a helo to be on support for CAS missions
Post by: ROBINO on 07 Dec 2005, 18:04:23
yes, thats how i designed it

its been used successfully on the RM server for 8 months
Title: Re:Setting up a helo to be on support for CAS missions
Post by: pazuzu on 08 Dec 2005, 02:06:28
Thats good to know. I tried the demo and liked it but never used it in any maps yet. I'll be sure to use it next time.

Thanks.
Title: Re:Setting up a helo to be on support for CAS missions
Post by: yankme on 09 Dec 2005, 11:57:23
Pazuzu,  I liked Skumball's script but evey time i put men in, one of the men would take gunner position and stay as joined with the heli pilot. so i changed the scritp with a gunner added to the chopper. did you have the same prob? i changed it,,,,
Title: Re:Setting up a helo to be on support for CAS missions
Post by: pazuzu on 10 Dec 2005, 01:38:13
No, I never came accross that problem. Good to know though.