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) |
Re: No Headshot With Helmet
Nice ! :)
|
Re: No Headshot With Helmet
If you want a ricochet effect you can try hitgroup 8 which is the shield.
|
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.
|
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?
|
Re: No Headshot With Helmet
This is good idea, but then helmet must cost more than it does cost as default.
|
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... |
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. |
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.
|
Re: No Headshot With Helmet
yea same...
---Stixsmaster |
Re: No Headshot With Helmet v1.1.0
Updated:
v1.1.0 [2007-06-22] + added cvar 'amx_superhelmet_when_armor' + kevlar can act as shield (req. by Stixsmaster) * optimized core as XxAvalanchexX suggested (experimental) |
Re: No Headshot With Helmet v1.1.0
is it possible to make it work for sum ppl. not all. if u kno what i meen
|
Re: No Headshot With Helmet v1.1.0
e.g. for admins only? or custom?
|
Re: No Headshot With Helmet v1.1.0
ya is it?
|
Re: No Headshot With Helmet v1.1.0
it's unfair, i don't like it
|
Re: No Headshot With Helmet v1.1.0
this is brilliant. :)
too bad i dont play cs. i will suggest this one in the SUGGESTION category to make it work for HLDM. (Instead of buying helmet, maybe they could be picked up like other things: weapons, hev, etc etc....and when u pick one up it goes on your head? when u get shot more than 2 times it flies off your head? ) |
Re: No Headshot With Helmet v1.1.0
Quote:
Quote:
|
Re: No Headshot With Helmet v1.1.0
wats the cvar to turn it off
|
Re: No Headshot With Helmet v1.1.0
The is no cvar. You can just pause the plugin.
|
Re: No Headshot With Helmet v1.1.0
Is there a way to allow certain weapons to be allowed for a normal headshot. I am thinking the pump shotgun for cz. Its hard enough to kill someone with the pump shotty. Or is there a line I can add to the .sma to ignore the no headshot plugin while using the pump shotty? If I can add a line where would the exact placement of the line go? Great plugin btw, works well on cz. Thanks, smgcz :)
|
Re: No Headshot With Helmet v1.1.0
could you make a version where this is not the regular helmet, but it's a special item? then it has to be bought seperately. the regular cs helmet from the cs buy menu is then just a normal helmet.
Player: /buy_anti_hs_helmet |
Re: No Headshot With Helmet v1.1.0
Excelent, CSS Style =P
|
Re: No Headshot With Helmet v1.1.0
Why don't use Ham_TrecaAttack instead of Traceline ?
PHP Code:
|
Re: No Headshot With Helmet v1.1.0
if hit by knife in the head i still see blood and no shield effect =\
|
Re: No Headshot With Helmet v1.1.0
Quote:
Quote:
|
Re: No Headshot With Helmet v1.1.0
Quote:
I cant undrestand it... xax :D |
Re: No Headshot With Helmet v1.1.0
Brilliant idea! More realistic.
May I add the feature in this plugins: - Yes, no HS when using helmet - But the helmet will be stripped off when receiving HS (protect for one HS only), emit sound "DANG!" for the player only and show "HELMET PROTECTION! You have lost helmet protection" or something like that - Of course players can buy the helmet again if he can reach buy zone - I would like to exclude AWP from helmet, but the code would become complicated at unnecessary extent (slow down the server) - I don't care if knife HS can't be protected by helmet. |
Re: No Headshot With Helmet v1.1.0
Quote:
|
| All times are GMT -4. The time now is 08:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.