Raised This Month: $51 Target: $400
 12% 

[L4D2] Shield


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
2668
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 11-18-2011 , 20:37   [L4D2] Shield
    Reply With Quote #1

    Tank with two shield can not be hurt (gun) from left or right side;
    Survivor with a shield on back (front ) can not be hurt (infected, witch, rock) from back ( front );

    This is a test version ,more options will be added;

    Requirement: sdk hooks

    Command:
    !shield : a menu for shield operation;
    !shield + password : give me a shield;

    Convars:

    "l4d_shield_chance_tank", "100", "chance of shield tank[0.0, 100.0]" );
    "l4d_shield_chance_drop", "100", "chance of drop from dead one who have shield[0.0, 100.0]" );
    "l4d_shield_password", "1234", "!shield + password"

    Update:
    fix the crashing prblem;

    version 1.1
    If you hold a shield , infected can not hurt you from front;
    version 1.2
    fix some problem.

    A simple version (shield_simple_l4d)


    Shield is not a melee weapon anymore , it is just a shield, you hold it to eliminate damage;

    "l4d_shield_enabled", "1", "0: diable shield, 1:enable shield");
    "l4d_shield_damage_from_ci", "0", "0: can not hurt from common infected, 1:normal"
    "l4d_shield_damage_from_si", "0", "0: can not hurt from special infected "
    "l4d_shield_damage_from_tankrock", "0", "0: can not hurt from tankrock "
    "l4d_shield_damage_from_witch", "0", "0: can not hurt from witch "
    "l4d_shield_damage_from_back", "0", "0: can not hurt from back if if it's on the survivor's back, 1:normal"
    "l4d_shield_password", "1234", "give me a shield !shield + password"
    Attached Thumbnails
    Click image for larger version

Name:	c2m1_highway0381.jpg
Views:	3298
Size:	91.0 KB
ID:	95488   Click image for larger version

Name:	c2m1_highway0383.jpg
Views:	2560
Size:	79.8 KB
ID:	95489   Click image for larger version

Name:	c2m1_highway0386.jpg
Views:	2488
Size:	84.5 KB
ID:	95490   Click image for larger version

Name:	c2m1_highway0087.jpg
Views:	2135
Size:	92.7 KB
ID:	95567  
    Attached Files
    File Type: smx shield_l4d.smx (13.3 KB, 936 views)
    File Type: sp Get Plugin or Get Source (shield_l4d.sp - 1839 views - 22.0 KB)
    File Type: smx shield_simple_l4d.smx (9.1 KB, 728 views)
    File Type: sp Get Plugin or Get Source (shield_simple_l4d.sp - 1479 views - 12.6 KB)

    Last edited by panxiaohai; 12-01-2011 at 03:24.
    panxiaohai is offline
     



    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 16:01.


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