Raised This Month: $32 Target: $400
 8% 

[TF2] Give Bots More Weapons (v1.14 dated 18Oct2022)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PC Gamer
Veteran Member
Join Date: Mar 2014
Plugin ID:
7421
Plugin Version:
1.14
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Gives Bots random weapons
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, 702 views)

Last edited by PC Gamer; 10-18-2022 at 17:08.
PC Gamer is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 12-17-2020 , 21:47   Re: [TF2] Give Bots More Weapons
Reply With Quote #2

I'm running version 1.9.1 of TF2ItemsInfo by chauffer. Link: https://github.com/sim1/tf2itemsinfo

I'm running version 1.3.2 of TF2Attributes by FlaminSarge. Link: https://github.com/FlaminSarge/tf2attributes
PC Gamer is offline
nostalgia
Junior Member
Join Date: Dec 2020
Location: in your brain
Old 12-17-2020 , 22:39  
Reply With Quote #3

Quote:
Originally Posted by PC Gamer View Post
I'm running version 1.9.1 of TF2ItemsInfo by chauffer. Link: https://github.com/sim1/tf2itemsinfo

I'm running version 1.3.2 of TF2Attributes by FlaminSarge. Link: https://github.com/FlaminSarge/tf2attributes
thank you so much....

well i kind of need a guide since the installation stuff werent provided in the links and yes i saw

can you maybe just please make a installation vid? it'll make my life a whole lot easier

thx!

plus i reinstalled sourcemod and metamod but its just the plugins i need a explanation of
__________________


her is free 2tf stufff!!!!!1111111
there no vius, clic here for free link code to gt free bornig tem captoin!!11111111


freetf2crapnovirusipromise.tf

=

Last edited by asherkin; 12-20-2020 at 11:25.
nostalgia is offline
StrikeR14
AlliedModders Donor
Join Date: Apr 2016
Location: Behind my PC
Old 12-18-2020 , 07:19   Re: [TF2] Give Bots More Weapons
Reply With Quote #4

Quote:
Originally Posted by nostalgia View Post
well i kind of need a guide since the installation stuff werent provided in the links and yes i saw

can you maybe just please make a installation vid? it'll make my life a whole lot easier

thx!
There's no reason for such an effort...

.inc files go to sourcemod/scripting/include
.sp files go to sourcemod/scripting
In most cases .txt files without `phrases` in their name go to sourcemod/gamedata
.smx files go to sourcemod/plugins
__________________
Currently taking TF2/CSGO paid private requests!

My Plugins | My Discord Account

Last edited by StrikeR14; 12-18-2020 at 07:41.
StrikeR14 is offline
nostalgia
Junior Member
Join Date: Dec 2020
Location: in your brain
Old 12-18-2020 , 08:38  
Reply With Quote #5

Quote:
Originally Posted by StrikeR14 View Post
There's no reason for such an effort...

.inc files go to sourcemod/scripting/include
.sp files go to sourcemod/scripting
In most cases .txt files without `phrases` in their name go to sourcemod/gamedata
.smx files go to sourcemod/plugins
oh thanks i was just a bit worried if on where to put them

i'll try when i get back from skool

its all the same

thank you very much for nothing

and yes i did do everything right

reinstalled sourcemod and metamod, did what you told me to and yes i was in insecure mode

why doesnt it work ugh

yeah the answer for something i was trying to do for a week turns out to be not even freaking working
__________________


her is free 2tf stufff!!!!!1111111
there no vius, clic here for free link code to gt free bornig tem captoin!!11111111


freetf2crapnovirusipromise.tf

=

Last edited by asherkin; 12-20-2020 at 11:25.
nostalgia is offline
StrikeR14
AlliedModders Donor
Join Date: Apr 2016
Location: Behind my PC
Old 12-18-2020 , 18:14   Re: [TF2] Give Bots More Weapons
Reply With Quote #6

Quote:
Originally Posted by nostalgia View Post
its all the same

thank you very much for nothing
You're welcome. Next time, provide more information (logs) before you complain.
Regardless, I wouldn't mess up with plugins that contain deprecated dependencies like TF2ItemsInfo.
__________________
Currently taking TF2/CSGO paid private requests!

My Plugins | My Discord Account
StrikeR14 is offline
nostalgia
Junior Member
Join Date: Dec 2020
Location: in your brain
Old 12-18-2020 , 21:18  
Reply With Quote #7

Quote:
Originally Posted by StrikeR14 View Post
You're welcome. Next time, provide more information (logs) before you complain.
Regardless, I wouldn't mess up with plugins that contain deprecated dependencies like TF2ItemsInfo.
literally this is the reason why i want someone to make a yt tutorial

it doesnt have to be edited or anything i just wanna know what im doing wrong

Could someone send me a screenshot of this working please
__________________


her is free 2tf stufff!!!!!1111111
there no vius, clic here for free link code to gt free bornig tem captoin!!11111111


freetf2crapnovirusipromise.tf

=

Last edited by asherkin; 12-20-2020 at 11:19.
nostalgia is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 12-19-2020 , 00:28   Re: [TF2] Give Bots More Weapons
Reply With Quote #8

Quote:
Originally Posted by nostalgia View Post
i just wanna know what im doing wrong
I'm willing to bet you aren't running a dedicated TF2 server.

With that being said you can try running the updated version in the original post and let me know if it works for you. I removed the requirement for TF2ItemsInfo in this version. You'll still need TF2Attributes.

Last edited by PC Gamer; 12-19-2020 at 01:29.
PC Gamer is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 12-20-2020 , 02:07   Re: [TF2] Give Bots More Weapons (v1.1 dated 19Dec2020)
Reply With Quote #9

Quote:
Originally Posted by nostalgia View Post
this version does not work on the compiler meaning we cant edit it, so you should probably fix it, or give me a link where it works
This plugin requires TF2Attributes in order to compile. There is no problem compiling the plugin. If you want to edit plugins you'll have to take the time to learn how to compile plugins. Asking me to change my plugin won't change the fact that you haven't learned how to compile plugins. Also remember that Sourcemod is designed to work on a dedicated server. There is no reason to compile a plugin on the internet if you have local access to a dedicated server.

You seemed to be having great difficulty getting TF2ItemsInfo to run. I realize that it isn't easy so I removed the TF2ItemsInfo features from the plugin. Now you are able to run the plugin. I am happy for you.

Now that you have a functioning plugin you are complaining that some of the features previously provided by TF2ItemsInfo aren't implemented. Those were removed to allow people to run it without TF2ItemsInfo. I am looking at alternative ways to implement some of the removed features, but it will take some time. Some of the features you requested simply don't interest me and likely won't be included.

So, it seems to me that you now have a decision to make. Will you: a. Do nothing and continue complaining about all the work other people are doing for you., or b. Take the time to learn SourceMod to edit/compile plugins the way you want on your dedicated TF2 server.
PC Gamer is offline
nostalgia
Junior Member
Join Date: Dec 2020
Location: in your brain
Old 12-20-2020 , 02:24  
Reply With Quote #10

Quote:
Originally Posted by PC Gamer View Post
This plugin requires TF2Attributes in order to compile. There is no problem compiling the plugin. If you want to edit plugins you'll have to take the time to learn how to compile plugins. Asking me to change my plugin won't change the fact that you haven't learned how to compile plugins. Also remember that Sourcemod is designed to work on a dedicated server. There is no reason to compile a plugin on the internet if you have local access to a dedicated server.

You seemed to be having great difficulty getting TF2ItemsInfo to run. I realize that it isn't easy so I removed the TF2ItemsInfo features from the plugin. Now you are able to run the plugin. I am happy for you.

Now that you have a functioning plugin you are complaining that some of the features previously provided by TF2ItemsInfo aren't implemented. Those were removed to allow people to run it without TF2ItemsInfo. I am looking at alternative ways to implement some of the removed features, but it will take some time. Some of the features you requested simply don't interest me and likely won't be included.

So, it seems to me that you now have a decision to make. Will you: a. Do nothing and continue complaining about all the work other people are doing for you., or b. Take the time to learn SourceMod to edit/compile plugins the way you want on your dedicated TF2 server.
for the normal version of this plugin (aka give bots weapons) i could edit it 100% fine and compile it with http://www.sourcemod.net/compiler.php however, with this version, it does not work, so thats really what i was asking

sorry if i sounded rude, sometimes i ask for too much, and plus

i am really stupid with coding sometimes, so im sorry

Now really all I want to do is to change the bots killstreak weapon chance and make bots with australiums always be strange, I know you already told me you are not interested on it, but I am, so thats why I asked, I do have experience with coding, however it's not a lot, But I do know SOMETHING at least, and yes I'm once again very sorry for being that stupid, but we all make mistakes right? So no matter how hard it is to change or modify that plugin, I'm determined to do it, and I won't give up.
So, it seems to me that you now have a decision to make. Will you: a. Do nothing and continue complaining about all the work other people are doing for you., or b. Take the time to learn SourceMod to edit/compile plugins the way you want on your dedicated TF2 server.

did you use the code for the bot randomizer plugin vid you did on this plugin?
__________________


her is free 2tf stufff!!!!!1111111
there no vius, clic here for free link code to gt free bornig tem captoin!!11111111


freetf2crapnovirusipromise.tf

=

Last edited by asherkin; 12-20-2020 at 11:22.
nostalgia 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 01:42.


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