Raised This Month: $ Target: $400
 0% 

[Req-TF2] Bot Management


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Undead46
Junior Member
Join Date: Mar 2008
Old 03-10-2009 , 21:15   [Req-TF2] Bot Management
Reply With Quote #1

I would like to see a bot management menu, if possible, integrated into my SM Admin.

So it would be something like this:
Code:
->Bot Management
-->Add
--->Red Team
---->Heavy
---->Medic
---->Etc...
--->Blue Team
---->Heavy
---->Medic
---->Etc...
-->Kick
--->Red Team
---->Bot Name 1
---->Bot Name 2
---->Etc...
--->Blue Team
---->Bot Name 1
---->Bot Name 2
---->Etc...
Undead46 is offline
Cooltad
Veteran Member
Join Date: Apr 2008
Old 03-10-2009 , 21:37   Re: [Req-TF2] Bot Management
Reply With Quote #2

no plugin needed. you can already do this. simply integrate it into admin menu.
bot
bot_changeteams
bot_mimic 1
etc
__________________
Please, give me some rep if you found what I posted useful. :]
Cooltad is offline
Undead46
Junior Member
Join Date: Mar 2008
Old 03-11-2009 , 18:23   Re: [Req-TF2] Bot Management
Reply With Quote #3

Doesn't that require sv_cheats 1?
Undead46 is offline
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Old 03-11-2009 , 23:17   Re: [Req-TF2] Bot Management
Reply With Quote #4

No if you use this
http://forums.alliedmods.net/showthr...ht=admin+cheat
__________________
KawMAN is offline
Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
Undead46
Junior Member
Join Date: Mar 2008
Old 03-12-2009 , 07:45   Re: [Req-TF2] Bot Management
Reply With Quote #5

Okay, so now how do I go about adding the bot stuff to my admin menu?
Undead46 is offline
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Old 03-12-2009 , 10:48   Re: [Req-TF2] Bot Management
Reply With Quote #6

go to addons/sourcemod/config and edit adminmenu_custom.txt

betwen
PHP Code:
"Commands"
{


Add
PHP Code:
"TF2 Bot Management"
    
{
        
"Add Bot"
        
{
            
"cmd"            "bot @1 @2"
            "admin"            "sm_kick"
            "execute"        "server"
            "1"
            
{
                
"type"         "list"
                "title"        "Team"
                "1"        "-team blu"
                "1."        "Blue"
                "2"        "-team red"
                "2."        "Red"
                "3"        " "
                "3."        "Random Team"

 
            
}
            
"2"
            
{
                
"type"         "list"
                "title"        "Class"
                "1"        " "
                "1."        "Random Class"
                "2"        "-class scout"
                "2."        "Scout"
                "3"        "-class pyro"
                "3."        "Pyro"
                "4"        "-class HeavyWeapons"
                "4."        "Heavy"
                "5"        "-class Demoman"
                "5."        "Demoman"
                "6"        "-class Engineer"
                "6."        "Engineer"
                "7"        "-class Medic"
                "7."        "Medic"
                "8"        "-class Sniper"
                "8."        "Sniper"
                "9"        "-class Soldier"
                "9."        "Soldier"
                "10"    "-class Spy"
                "10."    "Spy"
            
}
 
        }
    } 
save and reload Admin Menu Plugin
__________________
KawMAN is offline
Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
Undead46
Junior Member
Join Date: Mar 2008
Old 03-12-2009 , 16:40   Re: [Req-TF2] Bot Management
Reply With Quote #7

Will try, thanks :]
Undead46 is offline
dr_l_Church
Junior Member
Join Date: Aug 2009
Old 09-01-2009 , 17:43   Re: [Req-TF2] Bot Management
Reply With Quote #8

now... how would i set those commands to a certain admin level such as n
dr_l_Church is offline
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 09-02-2009 , 17:57   Re: [Req-TF2] Bot Management
Reply With Quote #9

That is what the line:
"admin" "sm_kick"
is doing. sm_kick allows all admins that can kick to use the following menu item. You could change it to sm_ban, for example, to only allow admins that can ban to use that menu item.
Wazz is offline
toddstallard
Junior Member
Join Date: Feb 2010
Old 06-04-2010 , 11:01   Re: [Req-TF2] Bot Management
Reply With Quote #10

Quote:
Originally Posted by KawMAN View Post
go to addons/sourcemod/config and edit adminmenu_custom.txt

betwen
PHP Code:
"Commands"
{


Add
PHP Code:
"TF2 Bot Management"
    
{
        
"Add Bot"
        
{
            
"cmd"            "bot @1 @2"
            "admin"            "sm_kick"
            "execute"        "server"
            "1"
            
{
                
"type"         "list"
                "title"        "Team"
                "1"        "-team blu"
                "1."        "Blue"
                "2"        "-team red"
                "2."        "Red"
                "3"        " "
                "3."        "Random Team"

 
            
}
            
"2"
            
{
                
"type"         "list"
                "title"        "Class"
                "1"        " "
                "1."        "Random Class"
                "2"        "-class scout"
                "2."        "Scout"
                "3"        "-class pyro"
                "3."        "Pyro"
                "4"        "-class HeavyWeapons"
                "4."        "Heavy"
                "5"        "-class Demoman"
                "5."        "Demoman"
                "6"        "-class Engineer"
                "6."        "Engineer"
                "7"        "-class Medic"
                "7."        "Medic"
                "8"        "-class Sniper"
                "8."        "Sniper"
                "9"        "-class Soldier"
                "9."        "Soldier"
                "10"    "-class Spy"
                "10."    "Spy"
            
}
 
        }
    } 
save and reload Admin Menu Plugin
@KawMAN

I added your code to my admin menu however when you look at the server log is gives an error back stating the following. Also can you add a menu for to kick all bots or single bot by user name?

//This is displayed when you add a bot

Invalid argument '-team'
Invalid argument '-class'
toddstallard 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 03:44.


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