Help Me Kick Things

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.

Make it a “wave” skill with no particles or make dirt particles and put the range as something like .5m. OR an arc type attack, maybe… might not work though, but the wave for sure will do the trick.

The problem with making it a basic attack is that… well as you noticed, it works with all weapons. Unless you limit the weapon usage, that will be an issue. It was an issue for Grim Quest even still, the weapon requirements don’t do shit for shield skills. Force to require shields, lets you use it with ranged weapons…add weapon requirements on top as well, lets you use it without a shield.:furious:

Well this kinda works…except targeting is funky as all hell. >.>

Thanks for the suggestion!

I guess you could also make it an invisible projectile with something like skill_attackprojectile, set the projectiles ttl and velocity to something low… with that, the distanceProfile to meele should actually work. I hope?

Yeah that would work too

Here you go. This will help you :p:p:D:D