Detect attacer hit victim to shoulder.
I need to detect players shoulder // or killed victim in back.
|
Re: Detect attacer hit victim to shoulder.
You can't shoulder. With get_user_attacker you can:
PHP Code:
|
Re: Detect attacer hit victim to shoulder.
You can but with more code. I don't have the time to test but my idea is : using Ham_TraceAttack, you get TR_vecEndpos, using EngFunc_GetBonePosition ( bone 24 -> left shoulder inside and bone 38 -> right shoulder inside ) ; Knowing their origin you can imagine a box with a specific size for both shoulder and finally checking if EndPos is contained in one of this box ; if so you hit a player's shoulder.
|
Re: Detect attacer hit victim to shoulder.
|
Re: Detect attacer hit victim to shoulder.
No this plugin will not help him.
|
Re: Detect attacer hit victim to shoulder.
arkshine
I thought he was talking about arm, but if he really asks about shoulder, you are right) |
Re: Detect attacer hit victim to shoulder.
I need if attacker hitted/killed victim in shoulder he dies,and don't do 60 damage.
|
Re: Detect attacer hit victim to shoulder.
Quote:
How about other modles/? Sorry for da bump Im just drinking,ive tryied BONExxx And it is bad with other modelss. |
Re: Detect attacer hit victim to shoulder.
Theses bones are from a CS generic player model. Valid for all generic player models. If you are talking about zombie it should be the same. Well you can see yourself. Use Half-life Model Viewer and dump model info, you will see if the bone number is different.
|
Re: Detect attacer hit victim to shoulder.
OKEY will try :/
And how about a plugin I saw,but I don't remember it now,when I hitted enemy back/shoulder he die instantly? |
| All times are GMT -4. The time now is 09:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.