/********************************************* **********************************
SM Damage
Version: 2.0
Author: SWAT_88
1.0 First version, should work on basically any mod
1.1 Added Damage Init for each client
1.2 Added Multi Mod Support
1.3 Now the damage is tracked correctly in stats plugins.
1.4 Fixed g_attacker bug.
1.5 Added Different damage multiplier per weapon (only in MultiMod version)
1.6 Fixed commands from server console. (only in MultiMod version)
1.6 Added Different damage amount per weapon. (only in MultiMod version)
2.0 Fixed this error: "[SM] Native "GetClientWeapon" reported: Client index 0 is invalid".
Description:
Individual damage multiplier for each client.
That means the weapons have more damage.
There are 4 version of the plugin:- CSS Only Version:
- All Values for damage mutliplier are valid; also 0 (= no damge).
- The damage is tracked correctly in stats plugins.
- Hooker Extension is needed (Already in Attachments).
- Works with any weapons except granades and knifes.
- MultiMod Version:
- Only Values >= 1 are valid.
- Unfortunately the damage ist tracked incorrectly in stats plugins.
- MultiMod support.
- No Hooker Extension is needed.
- Works with any weapon.
- L4D Version - by Vulkan:
- For more information look here.
- SDKHooks Version - by AtomicStryker:
- Requirements: SDKHooks by DJ Tsunami
- All damage settings can now STACK.
- You can also use multipliers below 1.0.
- For more information look here
Commands: sm_damage <player> <multiplier>
sm_damage_weapon <weapon> <multiplier> - Add/Set damage multiplier of weapon
sm_damage_amount <weapon> <amount> - Add/Set damage amount of weapon
sm_damage_clear - Clear weapon storage.
Cvars: sm_damage_enabled "1" - 0: disables the plugin - 1: enables the plugin
sm_damage_info "1" - 0: disables information - 1: shows which player/s are involved
sm_damage_init "1.0" - 1.0: standard multiplier for each client on connect - x: sets damage multiplier for each client on connect.
Setup (SourceMod): Install the smx file to addons\sourcemod\plugins.
(Re)Load Plugin or change Map.
TO DO:Nothing.
Copyright: Everybody can edit this plugin and copy this plugin.
Thanks to:
AtomicStryker
Vulkan
[KH] Royal CS
Donations:I'm a student and code this plugins in my freetime, while you probably play games .
If you like my work, kindly make a donation via PayPal.
Feel free to donate whatever amount you like.
Thank you for supporting this plugin!
Don't forget to support SourceMod too.
Consider: Without SourceMod none of these plugins would exist!
Notice: This
HAVE FUN!!!
********************************************* **********************************/