View Single Post
Author Message
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 12-15-2020 , 22:44   [TF2] Give Bots More Weapons (v1.14 dated 18Oct2022)
Reply With Quote #1

Description:
This plugin gives Bots random weapons. The weapons change when they spawn or touch a locker. The weapons may be non-stock, Gun Mettle, warpaint, killstreak, stat tracker, or Unusual.

Credits:
The plugin is makes use of code developed by luki1412 in his outstanding plugin titled 'Give Bots Weapons' with further improvements made by manicogaming. Added weapon drop cleanup code by Shadowysn. Edits to weapon chances were made by That Annoying Guide.

Performance:
Please be aware that this plugin requires increased resources on your server since every Bot will be outfitted with multiple weapons, some of which are unusual and skinned. If you are concerned about server performance you should consider running luki1412's plugin instead of this one. The luki1412 version does not require TF2Attributes and has better server performance. Here's a link: https://forums.alliedmods.net/showthread.php?p=2453169

Dependencies:
This plugin requires TF2Attributes by nosoop. Here's a link: https://forums.alliedmods.net/showthread.php?p=2788398

Video of GiveBotsMoreWeapons Plugin:


Installation:
Put givebotsmoreweapons.smx into the foldoer: /sourcemod/plugins/
Change map

Convars:
sm_gbmw_enabled 1 (default - Enables this plugin)
sm_gbmw_enabled 0 (Disables this plugin)
sm_gbmw_MVM_red_enabled 1 (default - Enables giving RED BOTS custom weapons in MvM mode)
sm_gbmw_MVM_red_enabled 0 (Disables giving RED BOTS custom weapons in MvM mode)
sm_gbmw_delay 0.2 (default - Time delay for giving weapons to BOTS)
sm_gbmw_team 1 (default - Which team should receive weapons 1-both, 2-red, 3-blu)

Change Log:
v1.14 18Oct2022: Added check for SourceTV and Replay Bots to prevent bug.
v1.13 14Oct2022: Added new warpaint weapons. Added weapon spells.
v1.12 25Sep2022: Added convar to support giving weapons to RED BOTS in MvM.
v1.11 15Sep2022: Updated syntax to SM 1.11 standard. Removed weapons dropped at locker.
v1.10 17Feb2021: Fixed bug where limiting weapons on payload maps wasn't working.
v1.9 16Feb2021: Fixed bug where limiting weapons to only one team wasn't working.
v1.8 05Jan2021: Fixed bug where Heavy Saxxy type weapons would punch instead of swing.
v1.7 01Jan2021: Added edits by That Annoying Guide. Changed quality settings again.
v1.6 31Dec2020: Fixed sapper bug. Changed quality settings.
v1.5 26Dec2020: Removed gamedata dependency
v1.4 22Dec2020: Ensured Australium and Strange weapons always have a kill count
v1.3 21Dec2020: Updated weapon quality colors.
v1.2 20Dec2020: Added support for Medieval mode. Will only give melee weapons while in Medieval mode.
v1.1 dated 19Dec2020: Removed TF2ItemsInfo dependency
Attached Files
File Type: sp Get Plugin or Get Source (GiveBotsMoreWeapons.sp - 340 views - 103.0 KB)
File Type: smx GiveBotsMoreWeapons.smx (28.2 KB, 705 views)

Last edited by PC Gamer; 10-18-2022 at 17:08.
PC Gamer is offline