A Team Fortress 2 Plugin that gives Bots (Fake Clients) attributes for MvM. This was an edit of pongo1231's plugin for his server.
I wanted to improve it to be more flexible and have more variety (I guess?) with bots getting attributes, and to fix the issue were attributes would stack on each other if bots would swtich weapons. This plugin can be customizable via notepad or any editor.
- pongo1231 [Original plugin]
- CombineSlayer24 [For editing]
- caxanga334 [For editing, code help and more]
- Katsute [For PR commits]
- RussiaTails [For PR commits]
- Sourcemod (You should already have this)
- Metamod (You should already have this)
- TF2Attributes
- TF2Utils
- Give Bots Weapons [Gives Bots random weapons,]
- Give Bots Cosmetics [Gives bots random cosmetics,]
- Force Bots ready up [Instead of waiting 150 seconds, you can make all bots ready up]
- sm_tf_mvm_sentry_infammo[1/0 - 1 default]
- Should bot Sentryguns have unlimited ammo?
- sm_tf_mvm_sentry_infammo_player[1/0 - 0 default]
- Should player Sentryguns have unlimited ammo?
- sm_tf_mvm_upgrades_player [1/0 - 0 default]
- Should players get upgrades?
- sm_tf_mvm_upgrades_bot [1/0 - 1 default]
- Should bots get upgrades?
When you your first download the requirements needed, you can start your server in a MvM map. Any bots that you add, TFBots (Default), or any Third-Party Bots like RCBots2, as long as it has BOT or the heavy-bot icon in the PING section. After 5 seconds from spawning/repsawning, they will receive upgrades to their weapons. And it's all done.
With any code editor (Notepad++ or your preference), open BotUpgrades.sp, there will be comments explaining how it works, before where the attributes get applied, theres some explaination on how to add/edit attributes for bots.
- You can change/add any attribute you want
- To do, if you want to say, give/edit Sniper's Primary damage
- Go to "case TFClass_Sniper", under "Sniper Primary Attributes"
- You can edit the value from instead +75% to +100%. Just set what it is from "1.75", to "2.0".
- Some values are invert_percentage and percentage. I hope you know what they do, if not then take a look on here
- If you see "Client" instead of the weapon slot name, the upgrade will be applied on the Character Upgrades section
- Go to here to find a list of all attributes ( https://wiki.teamfortress.com/wiki/List_of_item_attributes )