Re: [hlcoders] determing where bullet hit?
Little offtopic here but can u find out before the bullet is hit? (without any TraceLine() hacks)?? On Sun, 6 Feb 2005 17:56:49 +1000, Teddy [EMAIL PROTECTED] wrote: In the player's TraceAttack() code, have a look at the ptr-hitgroup. It'll scale the damage by the convars: sk_player_head, sk_player_chest, sk_player_stomach, etc. Teddy http://dystopia-mod.com On Sat, 5 Feb 2005 23:49:56 -0500, r00t 3:16 [EMAIL PROTECTED] wrote: Is it possible to determine where bullets actually hits a target? eg: head, neck, chesh, stomach, arm, leg, foot r00t 3:16 CQC Gaming www.cqc-gaming.com ___ 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
Re: [hlcoders] determing where bullet hit?
Freecode wrote: Little offtopic here but can u find out before the bullet is hit? (without any TraceLine() hacks)?? Impossible. Traceline is required to determine whether anything collides with that line. Once you've determined that you've hit a player, you can check which hitbox the line hit. You can then vary the amount of damage done (or do no damage at all) based on what hitbox was hit by the traceline. Since there aren't any real bullets in the game, you don't actually hit a player with a bullet. You hit a player with a traceline, then deal out damage based on what the line hit. Bullets don't exist. -- Jeffrey botman Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] determing where bullet hit?
Botman, I wasn't sure how to word that. But you are right. That is what I really meant. How to tell where a traceline actually hit the player. r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Jeffrey botman Broome [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, February 06, 2005 1:40 PM Subject: Re: [hlcoders] determing where bullet hit? Freecode wrote: Little offtopic here but can u find out before the bullet is hit? (without any TraceLine() hacks)?? Impossible. Traceline is required to determine whether anything collides with that line. Once you've determined that you've hit a player, you can check which hitbox the line hit. You can then vary the amount of damage done (or do no damage at all) based on what hitbox was hit by the traceline. Since there aren't any real bullets in the game, you don't actually hit a player with a bullet. You hit a player with a traceline, then deal out damage based on what the line hit. Bullets don't exist. -- Jeffrey botman Broome ___ 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
[hlcoders] determing where bullet hit?
Is it possible to determine where bullets actually hits a target? eg: head, neck, chesh, stomach, arm, leg, foot r00t 3:16 CQC Gaming www.cqc-gaming.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders