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

[TF2] Give Bots Weapons (04.01.2023)


Post New Thread Reply   
 
Thread Tools Display Modes
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 10-05-2019 , 22:21   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #71

Quote:
Originally Posted by That Annoying Guide View Post
Ok after days of fumbling around with your code I still haven't found a way to get it to work with players. I'm pretty new to this so would you know how to do this? (Sorry if it's really simple and I'm just dumb )
If you want all players (Humans and Bots) to have the random weapons, then do this:

Change line 1690 in the source:
Code:
from this:  	return (client && IsClientInGame(client) && IsFakeClient(client));

to this:  	return (client && IsClientInGame(client));
Then compile it.

Of course, other players won't be able to see your weapon if you don't actually own it.

Last edited by PC Gamer; 10-05-2019 at 22:22.
PC Gamer is offline
That Annoying Guide
Member
Join Date: Aug 2019
Old 10-06-2019 , 06:18   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #72

Quote:
Originally Posted by PC Gamer View Post
If you want all players (Humans and Bots) to have the random weapons, then do this:

Change line 1690 in the source:
Code:
from this:  	return (client && IsClientInGame(client) && IsFakeClient(client));

to this:  	return (client && IsClientInGame(client));
Then compile it.

Of course, other players won't be able to see your weapon if you don't actually own it.
Thank you. Though we don't find not being able to see other people's weapons. That just adds to the chaos!
That Annoying Guide is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 10-26-2019 , 05:20   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #73

Quote:
Originally Posted by That Annoying Guide View Post
Thank you. Though we don't find not being able to see other people's weapons. That just adds to the chaos!
Sappers seem to break when given this way for example. This plugin also doesn't include every weapon since bots can't/dont know how to use it. If you're fine with that then sure, changing that one line will allow you to give weapons to people as well. I might make a new version with config that gives both weapons and cosmetics if I have time and there is interest in such a plugin.
__________________
luki1412 is offline
That Annoying Guide
Member
Join Date: Aug 2019
Old 10-26-2019 , 09:11   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #74

Quote:
Originally Posted by luki1412 View Post
Sappers seem to break when given this way for example. This plugin also doesn't include every weapon since bots can't/dont know how to use it. If you're fine with that then sure, changing that one line will allow you to give weapons to people as well. I might make a new version with config that gives both weapons and cosmetics if I have time and there is interest in such a plugin.
I did notice that, so I just removed sapper randomization and the rest seem to work alright. I did just add more weapons to the list as well. and If you do have that time I'd love to see a double up plugin.
That Annoying Guide is offline
Item1
New Member
Join Date: Oct 2019
Old 11-11-2019 , 14:13   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #75

Yo, Is there anyway to add attributes to these weapons I want to give unusual and australium weapons and if there is please help me with this, thank you
Item1 is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 11-14-2019 , 14:48   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #76

Quote:
Originally Posted by Item1 View Post
Yo, Is there anyway to add attributes to these weapons I want to give unusual and australium weapons and if there is please help me with this, thank you
Not at the moment.
__________________
luki1412 is offline
Item1
New Member
Join Date: Oct 2019
Old 12-03-2019 , 18:43   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #77

Quote:
Originally Posted by luki1412 View Post
Not at the moment.
What do you mean? When will this be possible?
Item1 is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 02-10-2020 , 16:36   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #78

Just wanted to say thanks for this plugin! It adds a bit of spice to the game, especially when you add it with your bot cosmetic plugin.

[B]Video:[/B

Last edited by PC Gamer; 02-10-2020 at 21:54.
PC Gamer is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 02-12-2020 , 15:04   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #79

Quote:
Originally Posted by PC Gamer View Post
Just wanted to say thanks for this plugin! It adds a bit of spice to the game, especially when you add it with your bot cosmetic plugin.

[B]Video:[/B
You're welcome. Altough I can see you modified it quite a bit. What I like the most about it is that I can have a full server of bots without a heavy performance penalty because of the items. One of the reasons I chose to make it.

PS: You can manually edit nav meshes so bots dont get stuck railings and thin walls.
__________________
luki1412 is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 02-12-2020 , 15:17   Re: [TF2] Give Bots Weapons (06.11.2017)
Reply With Quote #80

Can you upload your version here also PCgamer. ?

And it is a really great plugin for Tf2 bots . My compliments.
__________________
Happy DODs player 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 11:09.


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