gorc icon indicating copy to clipboard operation
gorc copied to clipboard

Melee/Fists Partially Broken

Open shinyquagsire23 opened this issue 9 years ago • 3 comments

When using the fists under normal usage, the hitboxes will never actually reach the opponent at all in most cases. Purposefully getting an enemy against a wall and punching them, however, will trigger the hits and damage the enemy, because the actual player hands hit the opposing NPC. To remedy this, the hitboxes on either the fists or the enemies must be increased in order to properly collide from the default punch animation.

shinyquagsire23 avatar Mar 27 '15 23:03 shinyquagsire23

The JK fists weapon doesn't use model hitboxes. Surprisingly, it fires slow-moving invisible projectiles. Fixing this issue means doing more research to understand how weapon template parameters are supposed to behave. Fixing this issue may also fix some other issues we have with weapon templates today.

jdmclark avatar Apr 02 '15 16:04 jdmclark

Ah, that would actually make sense. I might look into it at some point if I can.

shinyquagsire23 avatar Apr 02 '15 23:04 shinyquagsire23

I did a small test by adding a model to the +fist projectile, apparently the projectiles don't even move at all! The projectiles are stuck right at the spot on the fists where they were fired. The one thing I noticed different though was the range var in the jkl, which was set as range=0.150000. Maybe this is a sort of bounding box/sphere or something? It's also used a lot with explosions, which might imply that it fires a projectile but retains a set damage sphere of a certain size around that projectile (and probably only injuring once since the projectiles for the fists stick around for a long time).

EDIT: Actually to test this theory, you can make a few punches and then scoot the enemy into where your hands were. They'll rapidly get hit by the lingering projectiles.

shinyquagsire23 avatar Apr 27 '15 21:04 shinyquagsire23