OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Chammy on 14 May 2004, 09:29:21

Title: Units taking cover?
Post by: Chammy on 14 May 2004, 09:29:21
I'm not too sure if this has been addressed yet but, is there a script that let say you make a mission and its one where you ambush a team or you get ambused or attacked, the remaining units that havent been scathed can go and take some cover , you know, either next to building corner, a vehicle etc?
Title: Re:Units taking cover?
Post by: General Barron on 14 May 2004, 19:32:33
Lots of people have wanted a script like this, but I dont' think anyone has really released one before. I actually have an old script that makes guys take cover behind those barbwire fences, that I was using for a beach-landing mission. I might be able to fix it and let men take cover behind sandbags, vehicles, etc, but I couldn't make them take cover behind bushes and trees.
Title: Re:Units taking cover?
Post by: Chammy on 14 May 2004, 22:42:11
Awesome, and by the way, try my sound mod.Its my first.I am working on another one.Sorta the same but a bit different on the sounds.

http://www.lulu.com/content/52377 (http://www.lulu.com/content/52377)

And feed back,eh heh.Thanks.
Title: Re:Units taking cover?
Post by: onionres on 30 May 2004, 01:41:09
Not only should units take cover, but you should be able to suppress them aswell.

Say some guy gets on the M-60 and starts shooting, then the rest of the squad can move in while the enemy is suppressed, creating real fir and movement scenarios.

Just make the guys take cover when the shooting starts and if the machine gun fire is heavy, they should be suppressed.
Title: Re:Units taking cover?
Post by: Dubieman on 30 May 2004, 03:30:33
Its so unfortunte that BIS didn't address this before. An M60 is viewed by the AI as just another rifle with bigger bullets, more bullets, and a guy who doesn't care where his rounds go (Mg guys are a real pain in the ass at distance, almost as bad as snipers....)

They just run around the corner blasting away, hey look at that!.... 2,3,4,5,6,7,8,9,10,11 are dead, well 12 its jus you and me. :P
Title: Re:Units taking cover?
Post by: DBR_ONIX on 06 Jun 2004, 11:33:33
What about using nearest object on the MGer, and setcombat mode blue the nearestobjected enemys, and setpos down them?

Orr.... Do the same thing (Nearestobject the enemy), but on a smaller area, and on the M60 bullets :)
Then, only the people he's firing on will take cover

Also, nearestobject (That thing rocks :P) bushes etc, and move the enemy to them (randomly)?

Just idea, dunno how practical they are though..
- Ben