Re: [hlcoders] Submodel hitboxes (hitting a player's shield)

2001-11-30 Thread _Phantom_

Have you added code to the 'takedamage' function to test if it's hitting the
hitbox for the shield? Coz, I belive I'm right in saying, if you dont trap
WHERE on the person it hits it just does straight weapon damage without any
skill bonus' to the player.

- Original Message -
From: Georges Giroux [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 30, 2001 5:46 AM
Subject: [hlcoders] Submodel hitboxes (hitting a player's shield)


 Hello,

 I've been trying to get a hit on a submodel hitbox to register
 but it never does. Basically, I have a shield which is a
 submodel for the player model. The shield model has one bone
 will all the vertices assigned to it. Now, when I view in the
 hlviewer and within the game (with r_drawentities 4), the hitbox
 for the shield is perfect. The only problem is, it never
 registers any hits, as if all shots from other players
 just pass through it to hit the player himself.

 Is there something particular about hitboxes on a player?
 Do I have to directly add a bone to the player model itself
 instead of using a submodel?

 Georges
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




Re: [hlcoders] Submodel hitboxes (hitting a player's shield)

2001-11-30 Thread Oskar 'Zoot' Lindgren

Have you updated /models/player.mdl ?? And not only the
/models/players/modelname/modelname.mdl ??


- Original Message -
From: Georges Giroux [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 30, 2001 10:52 PM
Subject: Re: [hlcoders] Submodel hitboxes (hitting a player's shield)


 I've set a breakpoint in the traceattack function for the baseplayer.
 The traceattack is called before any damage it applies. It basically does
 a traceline and returns the entity that was hit. That's the problem, the
 shield doesn't ever get returned by this traceline..

 Georges
 - Original Message -
 From: _Phantom_ [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, November 30, 2001 5:58 AM
 Subject: Re: [hlcoders] Submodel hitboxes (hitting a player's shield)


  Have you added code to the 'takedamage' function to test if it's hitting
 the
  hitbox for the shield? Coz, I belive I'm right in saying, if you dont
trap
  WHERE on the person it hits it just does straight weapon damage without
 any
  skill bonus' to the player.
 
  - Original Message -
  From: Georges Giroux [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, November 30, 2001 5:46 AM
  Subject: [hlcoders] Submodel hitboxes (hitting a player's shield)
 
 
   Hello,
  
   I've been trying to get a hit on a submodel hitbox to register
   but it never does. Basically, I have a shield which is a
   submodel for the player model. The shield model has one bone
   will all the vertices assigned to it. Now, when I view in the
   hlviewer and within the game (with r_drawentities 4), the hitbox
   for the shield is perfect. The only problem is, it never
   registers any hits, as if all shots from other players
   just pass through it to hit the player himself.
  
   Is there something particular about hitboxes on a player?
   Do I have to directly add a bone to the player model itself
   instead of using a submodel?
  
   Georges
   ___
   To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
   http://list.valvesoftware.com/mailman/listinfo/hlcoders
 
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlcoders
 

 ___
 To unsubscribe, edit your list preferences, or view the list archives,
please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders



___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders