View Single Post
Author Message
xkirby
Member
Join Date: Dec 2012
Location: I live somewhere.
Old 10-14-2015 , 10:30   [TF2-MVM] Chaos MVM
Reply With Quote #1

CHAOS MVM
GET READY FOR THE APOCOLYPSE
(NOW ON GITHUB!)


Chaos MVM is exactly what it sounds like: Pure. Ungodly. CHAOS. How does it achieve this, you may ask? By allowing one to completely rewrite the MVM Shop to allow for bigger, better, and lengthier upgrades! However, because of limitations with the standard official MVM Upgrade Station, this also includes a built-in Custom Shop that allows you to also make CUSTOM UPGRADES. That's right, there's a "Custom" section that allows you to buy plugin-controlled upgrades.

CVARS
cmvm_usestations: Defaults to 0. Turn to 1 to use MVM's Upgrade Stations. NOTE: Setting this to 1 might require a map restart or two.
cmvm_upgradefile: Defaults to "configs/sm_chaosmvm_upgrades.txt". This goes in the SourceMod configs folder btw, and is for the Custom Shop.
cmvm_stationfile: Defaults to "sm_chaosmvm_station". No extension needed, and belongs in your tf/scripts/items folder. It should download automatically for each client, but they'll have to move it manually.

COMMANDS
sm_parseshop: Reparses both Shop files.
sm_resetall: This resets every player's money and stats.
sm_upgrade or sm_buy: Opens the Custom Shop. Bind to a key for easier access.
sm_reset: Resets your stats and money.

REQUIREMENTS
Requires TF2Attributes.
Make sure you're playing MVM.

EXAMPLE CUSTOM UPGRADE PLUGINS
If you go on the Github page, you'll find some example plugins for special abilities you can buy from the Sourcemod-based Custom Upgrade shop! The included upgrades list file already takes these plugins into account, so it's recommended to either use them or remove them from "sm_chaosmvm_upgrades.txt".

KNOWN QUIRKS/ISSUES
  • If you need to reparse the shop, make sure everyone resets their stats first.
  • Make sure you choose between the normal MVM Upgrade Stations or the Custom Menu before starting the game. That console command can be used on server load. I recommend using the Custom Menu as no one has to download anything or move files around to get it to work.

NOTE: If you use the normal MVM Upgrade Shop, be prepared to have users move the shop file that gets downloaded to their tf/scripts/items folder and then relog for it to work.

Have fun folks! I know I've had my fair share of fun with this. :)
Attached Files
File Type: sp Get Plugin or Get Source (sm_chaosmvm.sp - 342 views - 43.8 KB)
File Type: smx sm_chaosmvm.smx (22.2 KB, 383 views)
File Type: inc sm_chaosmvm.inc (1.5 KB, 352 views)
File Type: txt sm_chaosmvm_station.txt (13.7 KB, 432 views)
File Type: txt sm_chaosmvm_upgrades.txt (89.5 KB, 424 views)
__________________
I used to play TF2. I also created some plugins for Sourcemod. Nothing too fancy, just out of the ordinary.

Last edited by xkirby; 12-02-2019 at 20:09. Reason: Made quite a few changes and bugfixes. It's still a buggy mess though.
xkirby is offline