God, this skill has been a nightmare.
The Goal: make a skill with the kicking animation that knocks down a single target in melee range.
The Problem: literally everything.
I first started with the skill_kick template, and set everything up nice and neat. skill_kick is the same template used by the default kicking attack used against doors and stuff. Unfortunately, you cannot assign a skill_kick skill to the hotbar, so that wasn’t of any use.
So I moved on to skill_wpattack_basicattack. In doing so, I had to take the basic kicking animation and create a custom one for it in the animation tables just so that I could reference it with a specialAnimationName. So this is pretty OK…except with ranged weapons, it fires a projectile from your gun, and the projectile can hit from afar and knockdown targets from afar, being more or less the greatest Crowd Control skill ever conceived. Setting the distanceProfile to ‘Melee’ does fuckall, you can still cast this thing from twenty feet away.
Plus, why is it firing a projectile to begin with? Because if it didn’t, your foot wouldn’t apply the knockdown at all with ranged weapons.
In related news, Zenith is progressing slowly.