Raised This Month: $51 Target: $400
 12% 

[TF2] Class Restrictions For Bots (26.12.2022)


Post New Thread Reply   
 
Thread Tools Display Modes
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-13-2013 , 11:33   Re: [TF2] Class Restrictions for bots
Reply With Quote #11

Quote:
Originally Posted by SPYderman View Post
Then again, since when has VALVe ever made a 'major' update for their bots other than MVM.
When they made them work on Payload, CP, and (I think) CTF maps. Originally, they only worked on KOTH maps.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 11-13-2013 at 11:34.
Powerlord is offline
Custo
Member
Join Date: Mar 2013
Location: Liberty City, LC State
Old 11-14-2013 , 14:07   Re: [TF2] Class Restrictions for bots
Reply With Quote #12

It's true, bots use to only work on KOTH. Bots then understood basic CP maps that were attack and defend when the Mac update came out, and then understood PL in the hatless update. Them, somewhat, understanding CTF seems to be undocumented. Probably for the use of the BLU bots in MvM, since they need to cap a flag to win.

But since then, with out counting the MvM update, there really hasn't been any updates/big updates regarding the bots. Which is kinda disapointing.
Custo is offline
SPYderman
Senior Member
Join Date: Aug 2013
Old 11-17-2013 , 04:35   Re: [TF2] Class Restrictions for bots
Reply With Quote #13

Quote:
Originally Posted by Powerlord View Post
When they made them work on Payload, CP, and (I think) CTF maps. Originally, they only worked on KOTH maps.
Yes, but I mean in the last however long it's been since they've actually made a big update for them, there hasn't been really anything new. I enjoy that they showed some sort of sign by fixing a bug that caused the red team to shoot BLU cart because they thought it was an enemy dispenser from an earlier update. I wish they would fix engineers going inside their own buildings and such, though.
SPYderman is offline
Custo
Member
Join Date: Mar 2013
Location: Liberty City, LC State
Old 11-18-2013 , 16:47   Re: [TF2] Class Restrictions for bots
Reply With Quote #14

Valid point, would be nice if they got around to fixing up the bots. But I don't think they will, since they have them setup in that little "Training Mode" they put in.

I don't know, it would be sweet if they fixed up the bots though, like what you said with the engineers.
Custo is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 11-19-2013 , 09:44   Re: [TF2] Class Restrictions for bots
Reply With Quote #15

Amount of tf2 updates is decreasing so I doubt that :/

New weapons like once a year and usually only event updates. I know this is an old game but still the 2nd most played game on Steam.
__________________
luki1412 is offline
Mr.Spoon
Junior Member
Join Date: Apr 2010
Old 11-28-2013 , 14:14   Re: [TF2] Class Restrictions for bots
Reply With Quote #16

Just saw this and THANK YOU!

However when I add the smx and do a plugin refresh I get an error:

Code:
L 11/28/2013 - 12:08:01: [SM] Plugin encountered error 25: Call was aborted
L 11/28/2013 - 12:08:01: [SM] Native "SetFailState" reported: THIS PLUGIN IS FOR TEAM FORTRESS 2 ONLY!
L 11/28/2013 - 12:08:01: [SM] Displaying call stack trace for plugin "classrestrictbots.smx":
L 11/28/2013 - 12:08:01: [SM]   [0]  Line 63, /home/groups/alliedmodders/forums/files/4/3/1/0/9/127818.attach::OnPluginStart()
I just update my SM and MM to the latest stables yesterday...

Last edited by Mr.Spoon; 11-28-2013 at 14:16.
Mr.Spoon is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 11-29-2013 , 16:10   Re: [TF2] Class Restrictions for bots
Reply With Quote #17

Quote:
Originally Posted by Mr.Spoon View Post
Just saw this and THANK YOU!

However when I add the smx and do a plugin refresh I get an error:

Code:
L 11/28/2013 - 12:08:01: [SM] Plugin encountered error 25: Call was aborted
L 11/28/2013 - 12:08:01: [SM] Native "SetFailState" reported: THIS PLUGIN IS FOR TEAM FORTRESS 2 ONLY!
L 11/28/2013 - 12:08:01: [SM] Displaying call stack trace for plugin "classrestrictbots.smx":
L 11/28/2013 - 12:08:01: [SM]   [0]  Line 63, /home/groups/alliedmodders/forums/files/4/3/1/0/9/127818.attach::OnPluginStart()
I just update my SM and MM to the latest stables yesterday...
My bad, geez such a stupid mistake. Oh well, updated. Re-download it please and let me know if you find any bugs ;)
Not much feedback given since I made this plugin :/
__________________
luki1412 is offline
SPYderman
Senior Member
Join Date: Aug 2013
Old 12-08-2013 , 12:44   Re: [TF2] Class Restrictions for bots
Reply With Quote #18

Quote:
Originally Posted by luki1412 View Post
My bad, geez such a stupid mistake. Oh well, updated. Re-download it please and let me know if you find any bugs ;)
Not much feedback given since I made this plugin :/
Mostly because there really isn't anything to give feedback about. It works perfect for me. If a suggestion, I would say add a cvar where if set to 1, humans picking a class will count toward the bots restriction. Like if there's a restriction to where bots can only have 2 soldiers on the team, if a human goes soldier for that team the bots will only try to have 1 bot soldier? I don't know, it's something I would take use of.
SPYderman is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 12-09-2013 , 08:21   Re: [TF2] Class Restrictions for bots
Reply With Quote #19

Quote:
Originally Posted by SPYderman View Post
Mostly because there really isn't anything to give feedback about. It works perfect for me. If a suggestion, I would say add a cvar where if set to 1, humans picking a class will count toward the bots restriction. Like if there's a restriction to where bots can only have 2 soldiers on the team, if a human goes soldier for that team the bots will only try to have 1 bot soldier? I don't know, it's something I would take use of.
Yeah, looks like it. I thought that it might have bugs or something. I tried to fix any bug I found and there is none left. That is why I thought I can get some feedback on it and maybe improve it.

Well if I count in human classes as well, it would be Class restrictions for everyone. There are such plugins around, BUT because the original version does not ignore bots, Im going to fix it and post it here as well as update both.
__________________

Last edited by luki1412; 12-09-2013 at 09:14.
luki1412 is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 12-09-2013 , 11:37   Re: [TF2] Class Restrictions for bots and/or humans
Reply With Quote #20

Updated my plugin and added plugin only for humans.
Did some testing and both were working fine, but let me know if you find any problems.
__________________

Last edited by luki1412; 12-09-2013 at 11:38.
luki1412 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 20:08.


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