• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Knockback Spell/Globalvent/Moviment

Guiaki

Member
Joined
Jan 3, 2011
Messages
137
Reaction score
8
TFS 0.4Dev, using 4069 executable and data 4029

Hello otland people, I am here for a request, i'll warn, its not simple, so it will need a good scripter to do this, i'll rep+ anyone who is attempting to do it ^^
well the thing is, like counter-strike, steam games whatever, warcraft 3 lots of games have this knockback feature, its like if you hit the player with something he will go backwards with "x" speed, something like 2sqm/s and them, and with a retarded acceleration, so a negative acceleration, and if the person which suffered the knockback, if while he is suffering it there is a wall, player/monster behind him, depending how many sqm he moved he will get a "y" damage based on his actuall speed...
as i said its complicated...
Default configuration:
2 Sqm/s is the launch speed
-1sqm/s is the acceleration
damaged based on actual speed, like if he hits something in 0,5 second, its when he was launched and moved only 1 sqm, needing to move more another one in the same second, this is the second highest damage, following the table:

SQM MOVED | DAMAGE
0 | 350
1 | 250
2 | 100
3 | 75
4 | 50

if its possible to make a spell using this i would like it to be a fireball but a non-aim per battle list or per player, you say fireball and you have a aim that you will choose where to cast it or to use like a rune, but i would like it to be slow animated, so someone who see that it was casted can get away from it, similar to this

YouTube - Warcraft 3 Warlock gameplay << 1:36 (the spell i would like, the fireball one)

thank you all for reading this, and thanks more to those who will try to help me ^^
 
Last edited:
Back
Top