AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   No Headshot With Helmet v1.1.0 (https://forums.alliedmods.net/showthread.php?t=56475)

Simon Logic 06-14-2007 12:13

No Headshot With Helmet v1.1.0
 
1 Attachment(s)
Info:
When player has a helmet he can't be killed by headshot.

Requirements:
* CS/CZ mod
* AMX/X 1.7x or higher
* CStrike module
* Fakemeta module

New cvars:
* amx_superhelmet_when_armor <num> (default=0)
set armor threshold when helmet acts as shield

Credits:
* Cheap_Suit for 'hitgroup 8' idea

Changelog:
v1.1.0 [2007-06-22]
+ added cvar 'amx_superhelmet_when_armor'
+ helmet can act as shield (req. by Stixsmaster)
* optimized core as XxAvalanchexX suggested (experimental; actually stable)

Arkshine 06-14-2007 12:19

Re: No Headshot With Helmet
 
Nice ! :)

Cheap_Suit 06-14-2007 13:14

Re: No Headshot With Helmet
 
If you want a ricochet effect you can try hitgroup 8 which is the shield.

XxAvalanchexX 06-14-2007 13:46

Re: No Headshot With Helmet
 
I would register TraceLine as a post hook, and then you can use get/set_tr2 on the ptr handler passed, instead of retracing your own.

godlike 06-14-2007 16:14

Re: No Headshot With Helmet
 
i dont get it , so when i shoot someone in the head and he got a helmet he doesnt get killed at all? Does it do the same damage or what?

[X]-RayCat 06-14-2007 19:01

Re: No Headshot With Helmet
 
This is good idea, but then helmet must cost more than it does cost as default.

Stixsmaster 06-14-2007 21:23

Re: No Headshot With Helmet
 
I think what it does is cause sum damage but not an instant kill like in real life...

---Stixsmaster

P.S. I would like the ricochet effect added if that is ok...

Simon Logic 06-15-2007 06:31

Re: No Headshot With Helmet
 
@Cheap_Suit
But then you can't kill a player at all shooting at his head. Right?

@XxAvalanchexX - see PM.

@godlike
It does damage but no headshot (instant kill) available. Stixsmaster is right.

@[X]-RayCat
Actually i did it for CSDM because Helmet presence has minor sense. So i will not bother with buying & price.

I have a plan to improve this version when you shoot at victim's face to make 50/50 chance for headshot.

soccdoodcss 06-21-2007 13:43

Re: No Headshot With Helmet
 
Sounds useful. Maybe set a pcvar for less damage or no damage. I know i wouldn't mind playing some CSDM with anti-headshot helmets.

Stixsmaster 06-21-2007 14:24

Re: No Headshot With Helmet
 
yea same...

---Stixsmaster


All times are GMT -4. The time now is 16:02.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.