OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: xMobiusTyrx on 16 Jan 2011, 18:43:53

Title: How to get AI's to shoot whil in Animations?
Post 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?
Title: Re: How to get AI's to shoot whil in Animations?
Post by: Zipper5 on 16 Jan 2011, 19:17:32
Unfortunately, no. Most of the time you see that happening in videos thanks to the wonders of post. :P
Title: Re: How to get AI's to shoot whil in Animations?
Post by: xMobiusTyrx on 16 Jan 2011, 19:51:13
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.
Title: Re: How to get AI's to shoot whil in Animations?
Post by: h- on 16 Jan 2011, 19:58:43
Post might mean Post Production, like adding muzzleflashes with After Effects for example..  :scratch:
Title: Re: How to get AI's to shoot whil in Animations?
Post by: xMobiusTyrx on 16 Jan 2011, 23:14:08
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.)
Title: Re: How to get AI's to shoot whil in Animations?
Post by: savedbygrace on 17 Jan 2011, 00:43:23
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)?
Title: Re: How to get AI's to shoot whil in Animations?
Post by: Zipper5 on 17 Jan 2011, 10:08:37
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.
Title: Re: How to get AI's to shoot whil in Animations?
Post by: h- on 17 Jan 2011, 15:50:36
Quote
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..
Title: Re: How to get AI's to shoot whil in Animations?
Post by: xMobiusTyrx on 17 Jan 2011, 18:05:07
Alright, editing them in is no prob (got Adobe After Effects CS4) it just will take longer.

I really appreciate the help guys!