IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Hit Detection Woes
Skillet5151
post Aug 3 2006, 12:29 AM
Post #1


Lieutennant
*****

Group: Members
Posts: 135
Joined: 26-August 03
Member No.: 1,791



I'm not sure if you're already aware of this, but both simulated bullets and melee attacks hit the player's bounding box, not their hitboxes (as hitscan bullets do).

With ent_bbox and developer mode on:
http://img100.imageshack.us/img100/9575/bg...land0001el0.jpg

An attack anywhere within the orange outline hits and inflicts damage.

The HL2 crossbow and melee weapons have this problem as well, so it's not entirely unexpected, but certainly needs fixing for games requiring a little more precision than HL2DM.

I've been working on some code to fix the projectile problem in my own mod and will post it in the code contributions forum if needed.
Go to the top of the page
 
+Quote Post
gRanTeLbArT
post Aug 3 2006, 06:53 AM
Post #2


aaaaaa | TRR scream team
Group Icon

Group: Retired Team Members
Posts: 5,281
Joined: 9-October 04
Member No.: 3,115



Tjoppen already changed melee attacks into a traceline or something


--------------------
The Elders have foreseen victory this day!
Member of the TRR scream team.
Go to the top of the page
 
+Quote Post
Tjoppen
post Aug 3 2006, 01:56 PM
Post #3


Major
Group Icon

Group: Team Leader
Posts: 994
Joined: 11-May 03
Member No.: 1,207



Ah, yes. These are remnants from my old attempts at making melee work with lag. It gives the player more chances to hit, but it is probably a bit silly. I'm testing with it removed atm.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 17th October 2019 - 05:54 AM