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

[ZR] Class Attribute Damage Money


Post New Thread Reply   
 
Thread Tools Display Modes
Author
000
Member
Join Date: Jul 2022
Plugin ID:
8099
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 07-06-2022 , 19:52   [ZR] Class Attribute Damage Money
    Reply With Quote #1

    Description:
    Unlike Zombie:Reloaded's built-in damage money system,
    this plugin does not give money equal to the damage the player has done.
    Instead, money is given per hit which is defined in playerclasses.txt.

    This is intended for more competitive like servers where money plays a key role.

    Also for CS:S it will generate a config file in cfg/sourcemod/zombiereloaded since game specific CVARs from CS:GO are not available.

    Note: This plugin does not support Napalm burning.
    If you are interested in that, you may check this from Oylsister and use them together.

    Requirements:
    SourceMod 1.11+
    Zombie:Reloaded
    [ZR] Tools

    Installation:
    - Put all files from the release folder in your game root folder ("csgo", "cstrike", ...). However, check the "plugins" folder beforehand because files for csgo and css are separated.
    - Reload map.

    If the plugin(s) are not working as intended, check your logs in addons/sourcemod/logs and report here.
    If error logs are not available, report nevertheless.

    Configuration:
    This plugin is configurable via playerclasses.txt.
    This means you can change values per playerclass.

    PHP Code:
    "money_per_hit"        "1"
    // Amount of money the player gets for each hit (0 = disabled).
    // I recommend to set the value to 1-5 for humans and
    // and for infected to 100-500. 
    Add these values to all playerclasses you have, anywhere you want.

    Note: The maximum amount of money a player can hold is defined with mp_maxmoney ConVar (in CS:GO).
    Also: The plugin will automatically disable zr_account_cashdmg (ZR's damage money system).

    Credits:
    - Fredd based on his port from CS 1.6 to CS:S.

    Changelog:
    Code:
    - v1.0
    • Initial release.
    - v1.1
    • CS:Source fixes.
    - v1.2
    • Code changes for CS:S version;

    Last edited by DarkDeviL; 06-15-2023 at 12:55. Reason: Restore to previous version.
    000 is offline
    evans
    Senior Member
    Join Date: May 2021
    Location: OnSmokeDetonate();
    Old 08-28-2022 , 18:00   Re: [ZR] Class Attribute Damage Money
    Reply With Quote #2

    Hi, very good job. Any chance to share version usable with sourcemod 1.10 ? Right now it's a bit problematic for me to update to 1.11 . Thanks in advance.
    __________________

    Last edited by evans; 08-28-2022 at 18:01.
    evans is offline
    000
    Member
    Join Date: Jul 2022
    Old 08-29-2022 , 09:29   Re: [ZR] Class Attribute Damage Money
    Reply With Quote #3

    Quote:
    Originally Posted by evans View Post
    Hi, very good job. Any chance to share version usable with sourcemod 1.10 ? Right now it's a bit problematic for me to update to 1.11 . Thanks in advance.
    Hi,
    Just compile it with SourceMod 1.10:

    1. Download package.
    2. Go to scripting folder of package.
    3. Take the .sp file and move to your addons/sourcemod/scripting folder of your server.
    4. Drag & Drop the file onto conpile.exe.
    5. Go to addons/scripting/compiled.
    6. Use the file.

    Last edited by 000; 09-02-2022 at 16:16.
    000 is offline
    evans
    Senior Member
    Join Date: May 2021
    Location: OnSmokeDetonate();
    Old 08-29-2022 , 17:01   Re: [ZR] Class Attribute Damage Money
    Reply With Quote #4

    OMG )))), could get that idea )), thank you ofc , works!
    __________________
    evans is offline
    000
    Member
    Join Date: Jul 2022
    Old 08-29-2022 , 17:30   Re: [ZR] Class Attribute Damage Money
    Reply With Quote #5

    Quote:
    Originally Posted by evans View Post
    OMG )))), could get that idea )), thank you ofc , works!
    Have fun ^_^

    But remeber that this time it was an exception. Actually you shouldn't do that since functions of newer versions might be used, which are not available in older ones.

    I advice you to update, always.

    If you need help updating, you can contact me via PM.

    Last edited by 000; 08-29-2022 at 17:58.
    000 is offline
    evans
    Senior Member
    Join Date: May 2021
    Location: OnSmokeDetonate();
    Old 09-02-2022 , 10:19   Re: [ZR] Class Attribute Damage Money
    Reply With Quote #6

    Yes, that makes sense. I think i can make it but thank you anyway )) if i'm lost i will contact you.
    __________________

    Last edited by evans; 09-02-2022 at 10:19.
    evans is offline
    000
    Member
    Join Date: Jul 2022
    Old 09-12-2022 , 04:29   Re: [ZR] Class Attribute Damage Money
    Reply With Quote #7

    Updated to v1.2.

    Comment on update:
    I was surprised that people are interested in it, so I flew over the files again and saw that in the CS:S version there was an array storing players' money. It has been removed.

    The refill was also not intended. Idk why I had added this. It has been removed.

    Last edited by 000; 09-12-2022 at 04:30.
    000 is offline
    Reply



    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 22:14.


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