Raised This Month: $404 Target: $400
 101% 

[Any] Damage Modifier (Version 0.3.0, 2018-04-14)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
almostagreatcoder
Member
Join Date: Oct 2015
Plugin ID:
6023
Plugin Version:
0.3.0
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Any Game: Tweak around with the damage points a player endures or inflicts (set a multiplier).
    Old 02-18-2018 , 15:37   [Any] Damage Modifier (Version 0.3.0, 2018-04-14)
    Reply With Quote #1

    [Any] Damage Modifier ( Version 0.3.0, 2018-04-14 )

    A Plugin that provides the ability of tweaking around with the damage points a player endures or inflicts. Easy to install and pretty lightweight, just for the fun of it.

    For example you could double the damage for all players on the server like this: sm_makedamage @all 2.0
    Or - make yourself almost invincible: sm_takedamage @me 0.1

    But hey: be responsible and don't do admin abuse. People should have fun playing on your server!

    Features
    • Set a multiplier for the damage a player endures
    • Set a multiplier for the damage a player inflicts
    • Store default multiplier for certain players in a config file

    Player Commands

    sm_damage_status -> Show the damage multipliers of each player.

    Admin Commands

    As an admin, you can do this (slay flag):
    • sm_takedamage <name|#userid> <multiplier> -> Silently set the multiplier of damage taken by a certain player. For example: sm_takedamage @all 0.5 divides the damage points for all player in half.
    • sm_makedamage <name|#userid> <multiplier> -> Silently set the multiplier of damage caused by a certain attacker. For example: sm_makedamage joe 2 doubles the damage points caused by player 'joe'.
    Keep in mind: both settings add up! So for example this would result in normal damage point behaviour:
    sm_takedamage @all 0.5
    sm_makedamage @all 2

    CVars
    • sm_damage_version -> the plugin's version, obviously...
    • sm_damage_enabled -> 1/0 for enabling or disabling the plugin. (Default 1)
    • sm_damage_keepit -> 1/0 for restoring a player's damage factors on a reconnect or after a map change. (Default 0)

    Installation

    Download the ZIP file and extract it into the sourcemod base folder. Usually here: .../fof/addons/sourcemod
    After that, restart your server or (re)load the plugin: sm plugins load damage_mod

    Configuration

    Take a look inside the damage_mod.cfg and modify it to your needs! It's pretty straightforward, really!

    Spoiler


    Download

    Download from GitHub: https://github.com/TheOnePerson/dama...damage_mod.zip

    View the GitHub repository here: https://github.com/TheOnePerson/damage_mod. Use the functionality there to contribute to the sources!

    Last edited by almostagreatcoder; 04-14-2018 at 05:24.
    almostagreatcoder is offline
    almostagreatcoder
    Member
    Join Date: Oct 2015
    Old 02-24-2018 , 04:45   Re: [Any] Damage Modifier (Version 0.2.0, 2018-02-24)
    Reply With Quote #2

    I just uploaded a new version 0.2.0. Some minor code refactorings and a status command added.

    Have fun!
    almostagreatcoder is offline
    almostagreatcoder
    Member
    Join Date: Oct 2015
    Old 04-08-2018 , 06:49   Re: [Any] Damage Modifier (Version 0.2.1, 2018-04-08)
    Reply With Quote #3

    I uploaded a new version 0.2.1 right now. There was a minor error occuring when a clients immediately disconnects. This is fixed now.
    almostagreatcoder is offline
    almostagreatcoder
    Member
    Join Date: Oct 2015
    Old 04-14-2018 , 05:26   Re: [Any] Damage Modifier (Version 0.3.0, 2018-04-14)
    Reply With Quote #4

    I just uploaded a new version 0.3.0 with the ability of restoring a player's damage factors on a reconnect or after a map change. A new cvar sm_damage_keepit controls this.

    Have fun!
    almostagreatcoder is offline
    alex123pavlov
    Member
    Join Date: Jun 2018
    Old 07-05-2018 , 21:44   Re: [Any] Damage Modifier (Version 0.3.0, 2018-04-14)
    Reply With Quote #5

    Excellent fashion, thanks. Can you make the menu?
    alex123pavlov 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 12:10.


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