Raised This Month: $150 Target: $400
 37% 

[Hidden:Source] Mirror Damage


Post New Thread Reply   
 
Thread Tools Display Modes
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:
    7 
    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 - 1480 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
    Grifza
    Junior Member
    Join Date: Jun 2009
    Location: South Africa
    Old 06-02-2009 , 17:21   Re: [Hidden:Source] Mirror Damage
    Reply With Quote #2

    Hey paegus,

    I was just wondering where the custom hsm cvars must go? Autoexec? Server.cfg?

    Thanks.

    Edit: Found it. Never mind.

    Last edited by Grifza; 06-03-2009 at 13:09. Reason: Fixed
    Grifza is offline
    Cain
    SourceMod Donor
    Join Date: May 2005
    Location: South Carolina, USA
    Old 06-06-2009 , 09:59   Re: [Hidden:Source] Mirror Damage
    Reply With Quote #3

    Does this work for DoD:Source ??
    Cain is offline
    paegus
    Senior Member
    Join Date: Nov 2004
    Location: Extreme low earth orbit
    Old 06-07-2009 , 09:39   Re: [Hidden:Source] Mirror Damage
    Reply With Quote #4

    not specifically though i'm sure it would work with some minor tweaks here or there.
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod
    paegus 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 23:04.


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