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

[Hidden:Source] Mirror Damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Plugin ID:
590
Plugin Version:
1.0.2
Plugin Category:
Gameplay
Plugin Game:
The Hidden: Source
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Reflects a potion of team-damage back on attacker or allows the vicitms 'armour' to absorb some.
    Old 10-14-2008 , 06:15   [Hidden:Source] Mirror Damage
    Reply With Quote #1

    Written for Hidden:Source Beta 4b

    Code:
    /*
     * Hidden:SourceMod - Mirror Damage
     *
     * Description:
     *  Reflects a potion of team-damage back on attacker
     *  or allows the vicitms 'armour' to absorb some.
     *
     * CVars:
     *  hsm_mirror_ratio [0~1] : ratio of damage to restore to victim 0-100%
     *  hsm_mirror_armour [0/1] : disable damage reflection on attacker?
     *  hsm_mirror_spawnguard [seconds]: Time from spawn to have 100%. Is disabled as soon as hidden attacks
     *  hsm_mirror_weight [0/1] : does the victim gain weight from team-attacks. 0: Disabled, 1:Enabled. Default 1.
     *
     * Changelog:
     *  v1.0.2
     *   Actually added option to bonus weight of victim
     *   Spawnguard now elapses automatically when the hidden attacks or is attacked.
     *  v1.0.1
     *   Added message from server when an attacker dies due to mirrored damage.
     *   Added option to boost victim's weighting by the amount of health they lost.
     *  v1.0.0
     *   Initial Release
     *
     */
    Attached Files
    File Type: sp Get Plugin or Get Source (hsm_mirrordmg.sp - 2458 views - 6.4 KB)
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod

    Last edited by psychonic; 03-23-2010 at 12:17. Reason: Reason: changed "game" field to newly created category "The Hidden"
    paegus 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 14:34.


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