HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Attacking and Moving at Same Time?

11-29-2007, 07:03 AM#1
Medevil_Nuke
any way of doing this? like if an air unit flew over a ground one and shot some shots and still keeps moving?


like drive by stuff and wut not
11-29-2007, 07:06 AM#2
Tide-Arc Ephemera
If you just need it to fire and nothing fancy, you could always try for the ability called "Phoenix Fire" but all that does is spray a constant stream of missiles provided they don't have a PF based buff.
11-29-2007, 01:45 PM#3
rain9441
I dabbled in this and gave up but to my understanding it is possible.

You have to modify the model of the unit(s) you want to see moving+attacking. What you do then is whenever that unit attacks you set the animation flag to "alternate". Add an animation to the unit "move alternate" which is exactly the same as "attack". As soon as you set animation flag "alternate" on the unit it will begin to look like its attacking (but its moving), then trigger the attack.

It was more complicated than I wanted it to be, but its the only way to get an effect of shooting while moving, etc.

So as you can see there are alot of problems and headaches associated with it =[
11-29-2007, 10:23 PM#4
Medevil_Nuke
thx for answers im gonna mess around with this see if it works
12-02-2007, 02:44 PM#5
darkwulfv
Rain, that method would look really really bad on units like a footman.

I suggest going with the phoenix fire abilitiy. If you've got a melee unit, just make it have very low range, or something.
12-02-2007, 03:02 PM#6
rain9441
It'd look sweet on a dragon though.
12-02-2007, 05:43 PM#7
darkwulfv
To a degree. But it's rare that an attack animation looks good while moving.
12-02-2007, 05:55 PM#8
rain9441
Generally any model without legs can play the attack animation while being moved, so pretty much all fliers and some creatures (such as voidwalkers).

Interesting though if you go even further and trigger the movement you can get some nice effects on units like the gyrocopter which can be constantly moved sideways yet appear to be shooting.

I found it to be way too much work though :P
12-05-2007, 11:56 PM#9
Nuclear Arbitor
problem with phoenix fire (if its what they used in battle ships) is that the projectile just flies out the side closest to the target so it'll come out of a window or wall or what ever is there.