I'm making a knockback spell and it all works, but the knockback is really slow and I've no idea how to increase the knocback speed. I've changed all kinds of values but it does not seem to affect anything. So what value do I need to change to increase the knockback speed.
The fastest knockback in this case is applying effects of force 1 every 0.0625 seconds; faster is not possible with this method.
However I noticed, every air unit (more specific every unit with an air-type collision) is affected much more by apply force effects; while ground units barely move, air units might fly across about half the map. Dunno if it is possible to achieve this for ground units as well.
€ @ WildPickles: uh, I did not know this. And what about air units? With the same movespeed they still get knocked around the whole map.
You likely need to give the knocked back unit a speed bonus for the duration of the knock back. The speed of the knockback is limited by the unit's movement speed.
I'm making a knockback spell and it all works, but the knockback is really slow and I've no idea how to increase the knocback speed.
Change the minimum speed of the unit being knocked. This can be done with by applying a behavior to the unit (of type: Buff) upon start and changing the minimum speed field.
You can find this field:
Behavior - Modfication+ field of the behavior
Movement tab
Movement speed minimum field
Increasing the value will increase the speed of the knockback. When the knockback is over (and the behavior fades) the unit will return to its normal minimum speed automatically.
Change the minimum speed of the unit being knocked. This can be done with by applying a behavior to the unit (of type: Buff) upon start and changing the minimum speed field.
You can find this field:
Behavior - Modfication+ field of the behavior
Movement tab
Movement speed minimum field
Increasing the value will increase the speed of the knockback. When the knockback is over (and the behavior fades) the unit will return to its normal minimum speed automatically.
ok thanks as the speed increase didn't affect the KB speed so hope this will work:P
Hey,
I'm making a knockback spell and it all works, but the knockback is really slow and I've no idea how to increase the knocback speed. I've changed all kinds of values but it does not seem to affect anything. So what value do I need to change to increase the knockback speed.
Thanks
@dudeim: Go
I guess you used apply force effects?
The fastest knockback in this case is applying effects of force 1 every 0.0625 seconds; faster is not possible with this method.
However I noticed, every air unit (more specific every unit with an air-type collision) is affected much more by apply force effects; while ground units barely move, air units might fly across about half the map. Dunno if it is possible to achieve this for ground units as well.
€ @ WildPickles: uh, I did not know this. And what about air units? With the same movespeed they still get knocked around the whole map.
@dudeim: Go
You likely need to give the knocked back unit a speed bonus for the duration of the knock back. The speed of the knockback is limited by the unit's movement speed.
I used the data editor apply force effect. And I will try the movement speed increase.
Change the minimum speed of the unit being knocked. This can be done with by applying a behavior to the unit (of type: Buff) upon start and changing the minimum speed field.
You can find this field:
Behavior - Modfication+ field of the behavior
Movement tab
Movement speed minimum field
Increasing the value will increase the speed of the knockback. When the knockback is over (and the behavior fades) the unit will return to its normal minimum speed automatically.
ok thanks as the speed increase didn't affect the KB speed so hope this will work:P