OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Muddy Waters on 12 Jul 2004, 16:35:35

Title: making AI drop bombs from planes
Post by: Muddy Waters on 12 Jul 2004, 16:35:35
how do i get the ai to drop bombs from aircraft? im using the world war 2 planes from the packaged set that was released recently and want the ai to drop bombs on a town before my squad assaults
Title: Re:making AI drop bombs from planes
Post by: ponq on 12 Jul 2004, 18:25:09
Don't know if the plane is armed with bombs, but you could ofcourse camcreate the bomb right under the plane once you need it.
Title: Re:making AI drop bombs from planes
Post by: Dubieman on 12 Jul 2004, 21:17:34
If the planes pack came with a readme then you can probably find the ammo name and use a dofire command.
Title: Re:making AI drop bombs from planes
Post by: Void-DK on 12 Jul 2004, 21:20:31
Either you could use a search and destroy waypoint or similar, together with fire at will etc with only a bomb payload (i havent tested that)

Or you can use a trigger(or waypoint)  and the  "fire" command (   unit fire ["muzzlename","ammo"]  ).

You could possibly tie that with gamelogics tied to waypoints etc for a bit of extra effect like flying enemies, secondary explosions and similar)

Could do the above with coded scripts also - but im clueless on that part, why i mention gamelogics. :)


-Tet
I
Title: Re:making AI drop bombs from planes
Post by: Dubieman on 12 Jul 2004, 21:26:50
AFAIK I don't think the AI uses bombs as weapons towards anything. Like I removed an A10LGBs 30mm ammo and made it fly in a S&K WP around a platoon of T80s and it did nothing. I dunno about those WWII aircraft but the LGBs need a laser target to be dropped by the pilot.  :P

I'm pretty sure they didn't have laser designators in 1944 though. :D :P