Yeah, the model shows up in the game (I check it out with the thirdperson
command).
The hitboxes show up in the game when I use r_drawentities 4, and the
shield's hitbox
follows the player correctly. It's just that is never registers any hits at
all.

Georges
----- Original Message -----
From: "Oskar 'Zoot' Lindgren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 6:02 PM
Subject: Re: [hlcoders] Submodel hitboxes (hitting a player's shield)


> 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
>

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

Reply via email to