OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: xMobiusTyrx on 16 Jan 2011, 18:43:53
-
Is there a way to get AI's to shoot while doing a switchMove or playMove animation?
-
Unfortunately, no. Most of the time you see that happening in videos thanks to the wonders of post. :P
-
Wait, what? That's what i want to know. If there is a way to trigger them to shoot for a video. They don't have to hit anyone.
The way you worded your sentence really confused me.
-
Post might mean Post Production, like adding muzzleflashes with After Effects for example.. :scratch:
-
Ah. So out of every possible ArmA 2 script on the planet, there is not one that triggers them to pull the trigger once?
(I've got after effects, this just would be easier.)
-
Have you checked the COMREF or BIKI for commands that may work? Such as FireAtTarget (http://www.ofpec.com/COMREF/index.php?action=details&id=1346&game=All) or Fire (http://www.ofpec.com/COMREF/index.php?action=details&id=132&game=All) or Fire (http://www.ofpec.com/COMREF/index.php?action=details&id=133&game=All) or DoFire (http://www.ofpec.com/COMREF/index.php?action=details&id=109&game=All)?
-
99.9% of animations triggered via switchMove and playMove disable the ability to fire for any unit they're happening on. Using the fire command and such will unfortunately not work. There has been no discovery as to how to make it work, and it's actually probably impossible with how the animations are defined.
And yes, "post" means video editing and such.
-
and it's actually probably impossible with how the animations are defined.
I think I saw something about enabling weapon in the animation config definitions but ususally those config tokens don't mean even close to what you think the mean. And in this case it probably means is the weapon visible or something..
-
Alright, editing them in is no prob (got Adobe After Effects CS4) it just will take longer.
I really appreciate the help guys!