AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [Hidden:Source] Mirror Damage (https://forums.alliedmods.net/showthread.php?t=78951)

paegus 10-14-2008 07:15

[Hidden:Source] Mirror Damage
 
1 Attachment(s)
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
 *
 */


Grifza 06-02-2009 18:21

Re: [Hidden:Source] Mirror Damage
 
Hey paegus,

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

Thanks.

Edit: Found it. Never mind.

Cain 06-06-2009 10:59

Re: [Hidden:Source] Mirror Damage
 
Does this work for DoD:Source ??

paegus 06-07-2009 10:39

Re: [Hidden:Source] Mirror Damage
 
not specifically though i'm sure it would work with some minor tweaks here or there.


All times are GMT -4. The time now is 10:34.

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