[TF2] MvM Rewards (v1.0 24Dec2022)
2 Attachment(s)
Description:
This plugin gives server Administrators the ability to change cash rewards on PvP maps with a MvM Upgrade Station. Plugin Credits: Thanks goes to Bacardi for his help with capture rewards Thanks goes to Tylerst for his cash commands Dependencies: This plugin requires TF2Attributes by FlaminSarge. Here's a link: https://github.com/FlaminSarge/tf2attributes Maps that this was tested on: CTF 2Fort w/ MvM upgrades - Link: https://steamcommunity.com/sharedfil...28&searchtext= CTF Turbine w/ MvM Upgrades (Vscript) - Link: https://steamcommunity.com/sharedfil...?id=2902325887 Optional Dependency: [L4D2/CS:GO/TF2/NMRiH] VScript File Replacer by Silvers Link: https://forums.alliedmods.net/showthread.php?t=318024 This plugin, once installed and configured with a configuration file will allow you to replace the VScript cash given per kill. Since this plugin already gives cash per kill you can set the amount of cash per kill from the VScript map to zero. To do that for the two maps listed above you would create a config file labeled vscripts_override.cfg and put it in your /tf/addons/sourcemod/data directory. The file content would look like this: PHP Code:
Server Console Variables: sm_mvm_cash_joinserver_amount Default 200, Amount to give players joining the map sm_mvm_cash_roundstart_amount Default 200, Amount to give players at round start sm_mvm_cash_kill_amount Default 60, Amount to give players for each kill sm_mvm_cash_assist_amount Default 50, Amount to give players for each assist sm_mvm_cash_capture_amount Default 100, Amount to give players who actually captured the objective or flag sm_mvm_cash_roundwin_amount Default 300, Amount to give team players for winning the round sm_mvm_cash_roundloss_amount Default 200, Amount to give team players losing the round Admin Commands: sm_showcash <targets> Shows cash amounts of selected target/targets sm_setcash <targets> <amount> Sets cash of selected target/targets to command amount sm_addcash <targets> <amount> Increases target/targets cash by command amount sm_removecash <targets> <amount> Decreases target/targets cash by command amount sm_wipeall <targets> Immediately removes all upgrades from target(s) Command Examples: !addcash 500 (increase your cash amount by 500 credits) !setcash @red 0 (removes all cash from all players on RED team) !setcash Tony 800 (forces player named Tony's cash to be 800 credits total) !wipeall @all (forcefully removes all upgrades from all players) Installation: Put mvmrewards.smx into the folder: /sourcemod/plugins/ Change map Change Log: v1.0 24Dec2022, Initial Release |
| All times are GMT -4. The time now is 21:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.