>       you'll have to excuse any rudimentarieness in my message as i'm new
to
> the coding bit of Halflife.
>  My request i think is basically straight forward, where in the code is
the
> location of the hit-box description,
> i.e. where does it say what happens if the head is hit, or the torso, or
the
> leg etc. I've noticed other mod's
> make there character's limp, so it must be possible to do other things,
like
> disable movement for  a player
> if, say, his legs are shot or frozen...

Look in player.cpp at the CBasePlayer::TraceAttack() function.  In there you
will see where it checks for HITGROUP_CHEST, HITGROUP_LEFTARM,
HITGROUP_RIGHTLEG, etc.

Just do whatever you want to the player at this point.

Jeffrey "botman" Broome

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

Reply via email to