Raised This Month: $208 Target: $400
 52% 

No Headshot With Helmet v1.1.0


Post New Thread Reply   
 
Thread Tools Display Modes
cs1.7
Senior Member
Join Date: Oct 2008
Old 12-11-2008 , 04:26   Re: No Headshot With Helmet v1.1.0
Reply With Quote #21

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
cs1.7 is offline
Concept~
BANNED
Join Date: Dec 2008
Old 12-11-2008 , 12:25   Re: No Headshot With Helmet v1.1.0
Reply With Quote #22

Excelent, CSS Style =P
Concept~ is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-11-2008 , 17:40   Re: No Headshot With Helmet v1.1.0
Reply With Quote #23

Why don't use Ham_TrecaAttack instead of Traceline ?
PHP Code:
    RegisterHam(Ham_TraceAttack"player""Player_TraceAttack")
}

public 
Player_TraceAttack(ididattackerFloat:damageFloat:fDirection[3], ptrdamagebits)
{
    if( 
get_tr2(ptrTR_iHitgroup) == HIT_HEAD )
    {
        static 
Float:flArmor
        pev
(idpev_armorvalueflArmor)

        if( 
flArmor >= && get_pdata_int(id112) == )
        {
            if( 
get_pcvar_float(g_cvarSHelmetThreshold) < flArmor )
                
set_tr2(ptrTR_iHitgroupHIT_SHIELD)
            else
                
set_tr2(ptrTR_iHitgroupHIT_GENERIC)
        }
    }

__________________
- tired and retired -
ConnorMcLeod is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 06-29-2009 , 14:02   Re: No Headshot With Helmet v1.1.0
Reply With Quote #24

if hit by knife in the head i still see blood and no shield effect =\
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 06-30-2009 , 05:52   Re: No Headshot With Helmet v1.1.0
Reply With Quote #25

Quote:
Originally Posted by ConnorMcLeod View Post
Why don't use Ham_TrecaAttack instead of Traceline ?
Because on 14-06-07 there was no sign about HS

Quote:
Originally Posted by .Owyn. View Post
if hit by knife in the head i still see blood and no shield effect =\
I see no problems here. Plugin named "No Headshot" should block bullet hits only.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
alias_retaer
Member
Join Date: Jul 2009
Old 07-11-2009 , 12:18   Re: No Headshot With Helmet v1.1.0
Reply With Quote #26

Quote:
set armor threshold when helmet acts as shield
can someone say it simply... ?
I cant undrestand it... xax
alias_retaer is offline
almaro
Junior Member
Join Date: Sep 2011
Location: Indonesia
Old 09-15-2011 , 21:33   Re: No Headshot With Helmet v1.1.0
Reply With Quote #27

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.
almaro is offline
KingJTellem
Member
Join Date: Dec 2011
Old 04-14-2013 , 10:04   Re: No Headshot With Helmet v1.1.0
Reply With Quote #28

Quote:
Originally Posted by almaro View Post
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.
this is a very good ide hope they can make it like that
KingJTellem is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:51.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode