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)

cs1.7 12-11-2008 03:26

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

Concept~ 12-11-2008 11:25

Re: No Headshot With Helmet v1.1.0
 
Excelent, CSS Style =P

ConnorMcLeod 12-11-2008 16:40

Re: No Headshot With Helmet v1.1.0
 
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)
        }
    }



Owyn 06-29-2009 13:02

Re: No Headshot With Helmet v1.1.0
 
if hit by knife in the head i still see blood and no shield effect =\

Simon Logic 06-30-2009 04:52

Re: No Headshot With Helmet v1.1.0
 
Quote:

Originally Posted by ConnorMcLeod (Post 726058)
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. (Post 860146)
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.

alias_retaer 07-11-2009 11:18

Re: No Headshot With Helmet v1.1.0
 
Quote:

set armor threshold when helmet acts as shield
can someone say it simply... ?
I cant undrestand it... xax :D

almaro 09-15-2011 20:33

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.

KingJTellem 04-14-2013 09:04

Re: No Headshot With Helmet v1.1.0
 
Quote:

Originally Posted by almaro (Post 1556098)
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


All times are GMT -4. The time now is 08:29.

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