I'm having trouble working on an ability for a project I'm making. What I would like to do is create a behavior that will work like the Sorceress's "Slow" ability from Warcraft III. It will slow a unit's movement and attack speed by x%. Creating that ability is not the problem, it's actually quite simple to change the Attack/Move Speed Multiplier.
The problem I'm having is slowing the unit's attack animation.
When you slow the move speed, the animation slows down to compensate for it. I really want this ability to slow down every animation for the unit, but especially the attack animation. It looks very stupid having a zergling run up to you in slow motion, then just hit you at normal speed, stop and wait a second, and hit you at normal speed again. While it is effective in that it slows down the attack speed of the unit appropriately, part of the reason I want to do this in the first place is to create the visual effect of the slower animation.
I've poked around in the data editor, looking at models and actors, tried changing a couple random catalog field values with triggers, but couldn't modify them... I'm not really sure what I would need to do to accomplish this effect. If anyone has any ideas, I would greatly appreciate them.
I've searched over this forum, and others, but haven't yet found anything that could help, so I apologize if I'm overlooking an obvious answer.
I assume you use a behavior to alter attack & movespeed?
Instead of doing that, go into the behavior and under Modifications (Unit Tab) alter the 'Time Variant.' This changes both and the actor's entire time scale (though just a note, the death animation will play at normal speed since at death a unit loses all behaviors). If you want to alter move and attack speed to different rates, however, you'll still need to change attack speed as well; e.g. if you want 30% move-speed and 60% attack speed, you'd do: time variant = 0.3, attack-speed multiplier = 2x. or if you wanted 60% move speed and 30% attack speed, you'd do: time variant = 0.6, attack-speed multiplier = 0.5.
Hello,
I'm having trouble working on an ability for a project I'm making. What I would like to do is create a behavior that will work like the Sorceress's "Slow" ability from Warcraft III. It will slow a unit's movement and attack speed by x%. Creating that ability is not the problem, it's actually quite simple to change the Attack/Move Speed Multiplier.
The problem I'm having is slowing the unit's attack animation.
When you slow the move speed, the animation slows down to compensate for it. I really want this ability to slow down every animation for the unit, but especially the attack animation. It looks very stupid having a zergling run up to you in slow motion, then just hit you at normal speed, stop and wait a second, and hit you at normal speed again. While it is effective in that it slows down the attack speed of the unit appropriately, part of the reason I want to do this in the first place is to create the visual effect of the slower animation.
I've poked around in the data editor, looking at models and actors, tried changing a couple random catalog field values with triggers, but couldn't modify them... I'm not really sure what I would need to do to accomplish this effect. If anyone has any ideas, I would greatly appreciate them.
I've searched over this forum, and others, but haven't yet found anything that could help, so I apologize if I'm overlooking an obvious answer.
@BilltheEmu: Go
I assume you use a behavior to alter attack & movespeed?
Instead of doing that, go into the behavior and under Modifications (Unit Tab) alter the 'Time Variant.' This changes both and the actor's entire time scale (though just a note, the death animation will play at normal speed since at death a unit loses all behaviors). If you want to alter move and attack speed to different rates, however, you'll still need to change attack speed as well; e.g. if you want 30% move-speed and 60% attack speed, you'd do: time variant = 0.3, attack-speed multiplier = 2x. or if you wanted 60% move speed and 30% attack speed, you'd do: time variant = 0.6, attack-speed multiplier = 0.5.
Hope that helps.
Ahahahaha, that is perfect!
Thank you very much, that is exactly what I needed, and now I can get this part of my map working exactly the way that I want it to.
On a random note, for anyone else who might use this, the field I modified was called "Time Scale."
On another random note, <3 Doctor Who.