Raised This Month: $ Target: $400
 0% 

[TF2] Class Restrictions For Bots (26.12.2022)


Post New Thread Reply   
 
Thread Tools Display Modes
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 01-26-2014 , 15:53   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #31

Quote:
Originally Posted by moxie2020 View Post
I like the plugin except 1 thing, bots do not keep their class even when it is set to do so. It chooses a random but restricted class every spawn. These causes huge lag if you use the bot random weapon plugin. Any way to get it to only change the classes if a bot is on a restricted class?
Bots change classes because of cvar tf_bot_keep_class_after_death.

Plugin checks whether the class is full or not by comparing number of bots on that class and cvar for that class. If the team is full, then the plugin changes its class. If the team is not full, then it allows a bot to spawn/change class/change team.

My plugin forces this cvar to 0 so you cant change it. Now thinking about it, I dont think it is needed anymore...
__________________

Last edited by luki1412; 01-26-2014 at 16:08.
luki1412 is offline
nachomeep
Junior Member
Join Date: Mar 2014
Old 03-31-2014 , 15:22   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #32

Can we make it so they both have the same restrictions? Like there can be 1 spy bot, but no human spies in that case?
nachomeep is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 03-31-2014 , 17:39   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #33

Quote:
Originally Posted by nachomeep View Post
Can we make it so they both have the same restrictions? Like there can be 1 spy bot, but no human spies in that case?
THere are 2 plugins. One only for bots and one only for humans. Download both and limit/disable spies or any class you want.
__________________
luki1412 is offline
clearlyandmaxi
New Member
Join Date: Sep 2014
Old 09-07-2014 , 14:23   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #34

I was wondering, is it possible to set different class limits based on game type? For example, could i have 2 engineers on payload and have no engineers on 5cp?
clearlyandmaxi is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 01-26-2015 , 11:25   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #35

Quote:
Originally Posted by clearlyandmaxi View Post
I was wondering, is it possible to set different class limits based on game type? For example, could i have 2 engineers on payload and have no engineers on 5cp?
Use map confings. More info here.
__________________
luki1412 is offline
Kahl_Drogo
Senior Member
Join Date: Apr 2012
Old 01-06-2016 , 08:45   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #36

Hi.

Valve now use .mp3 insted wav can you update ?
__________________
Kahl_Drogo is offline
DreadedGhoul575
Senior Member
Join Date: Apr 2016
Old 04-03-2016 , 11:22   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #37

How do I install? (I'm new to this website). I wanna do this
DreadedGhoul575 is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 04-21-2016 , 08:35   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #38

Quote:
Originally Posted by Kahl_Drogo View Post
Hi.

Valve now use .mp3 insted wav can you update ?
Sure. Give me a sec.

EDIT: Done.
__________________

Last edited by luki1412; 04-21-2016 at 10:22.
luki1412 is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 04-21-2016 , 10:23   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #39

Quote:
Originally Posted by DreadedGhoul575 View Post
How do I install? (I'm new to this website). I wanna do this
Visit https://wiki.alliedmods.net/index.ph..._Documentation for the documentation.
__________________
luki1412 is offline
zyox123cc
Senior Member
Join Date: Jul 2016
Location: spycrab
Old 10-29-2016 , 05:03   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #40

This plugin has errors
I set the other branches
But he was fixed only spy sniper
zyox123cc 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 19:25.


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