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

[TF2] Bot Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Plugin ID:
3727
Plugin Version:
1.3.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    44 
    Plugin Description:
    Allows for customization of TFBots
    Old 07-05-2013 , 01:00   [TF2] Bot Manager
    Reply With Quote #1

    [TF2] Bot Manager

    v1.3.0

    Description:
    Mimics the functionality of tf_bot_quota "fill" but allows for plugins to hook into the bot adding/kicking processes. Also extends the default functionality of tf_bot_quota "fill" and customizes the join/part messages to be more clear.

    Cvars:
    • bot_manager_version - plugin version
    • bot_manager_auto_update - enables automatic updating (has no effect if Updater is not installed)
    • sm_bot_quota - number of players to keep in the server, use this instead of tf_bot_quota
    • sm_bot_join_after_player - if nonzero, bots will wait until a player joins before entering the game, use this instead of tf_bot_join_after_player
    • sm_bot_game_logic - 0 = use plugin logic when assigning bots, 1 = use game logic
    • sm_bot_supported_map - if nonzero, bots will only be present on maps that have nav files
    • sm_bot_on_team_only - if nonzero, players will only be considered "in-game" if they're on a team for purposes of assigning bots

    Installation:
    Put botmanager.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load botmanager" into your console or rcon.

    Auto Update:
    Install Updater. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.

    Changelog:
    • v1.3.0 (7/14/20)
      • Added support for TF2 Classic
    • v1.2.0 (11/22/13)
      • Added some randomization to choosing which bot to kick
    • v1.1.0 (7/7/13)
      • Added plugin library registration
    • v1.0.0 (7/5/13)
      • Initial release

    Download Plugin (botmanager.smx)
    View Source (botmanager.sp)
    View Include File (botmanager.inc)

    Requires updater.inc to compile.
    __________________

    Last edited by Dr. McKay; 07-14-2020 at 04:57.
    Dr. McKay is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 07-05-2013 , 01:01   Re: [TF2] Bot Manager
    Reply With Quote #2

    Modules


    Random Difficulty
    Randomizes the difficulty of each joining bot.

    Download Module (botmanager-randomdifficulty.smx)
    View Source (botmanager-randomdifficulty.sp)



    Bot Names
    Allows for custom bot names. Create a text file under addons/sourcemod/configs/botnames.ini and put your names in there, one per line. Comments can be denoted with a semicolon (;).

    You should have at least as many names as your server will have bots, ideally more.

    Download Module (botmanager-names.smx)
    View Source (botmanager-names.sp)


    .
    __________________

    Last edited by Dr. McKay; 07-14-2020 at 04:39.
    Dr. McKay is offline
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 07-05-2013 , 02:27   Re: [TF2] Bot Manager
    Reply With Quote #3

    Will surtenly use this.
    __________________
    Happy DODs player is offline
    seupoj
    Senior Member
    Join Date: Mar 2013
    Location: India
    Old 07-05-2013 , 08:38   Re: [TF2] Bot Manager
    Reply With Quote #4

    This is good
    __________________
    seupoj is offline
    Send a message via Skype™ to seupoj
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 07-07-2013 , 14:51   Re: [TF2] Bot Manager
    Reply With Quote #5

    Plugin updated to v1.1.0. Added plugin library registration.
    __________________
    Dr. McKay is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 07-07-2013 , 14:55   Re: [TF2] Bot Manager
    Reply With Quote #6

    Released a Bot Names module.
    __________________
    Dr. McKay is offline
    lyric
    Veteran Member
    Join Date: Sep 2012
    Old 07-07-2013 , 15:23   Re: [TF2] Bot Manager
    Reply With Quote #7

    Quote:
    Originally Posted by Dr. McKay View Post
    Also extends the default functionality of tf_bot_quota "fill" and customizes the join/part messages to be more clear.
    can you elaborate on whath that means? what is unclear about Bot disconnect and Bot connect messages the standard way? thanks
    __________________
    lyric is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 07-07-2013 , 15:27   Re: [TF2] Bot Manager
    Reply With Quote #8

    Quote:
    Originally Posted by lyric View Post
    can you elaborate on whath that means? what is unclear about Bot disconnect and Bot connect messages the standard way? thanks
    It basically replicates tf_bot_quota fill. sm_bot_supported_map and sm_bot_on_team_only are additions that the vanilla game doesn't have.

    Normal bot join messages look like this:

    Player Aimbot has joined the game
    Player Aimbot has joined team RED

    Bot Manager join messages look like this:

    BOT Aimbot has joined the game
    __________________

    Last edited by Dr. McKay; 07-07-2013 at 15:27.
    Dr. McKay is offline
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 07-07-2013 , 16:27   Re: [TF2] Bot Manager
    Reply With Quote #9

    @Mckay:

    Wonderfull that you gave it a names module. Will use this ad for sure.

    BOT joined ad is also great....

    mmmmmm maybe i am asking something really bizar here. But can you maybe write a module for your plugin.

    - Bot module : weapons
    - Bot module : hats

    I know that they ar out there these plugins but for me sadly they dont work 100%...

    If i have more ideas i ll post them keep up your goodworks on this plugin.
    __________________
    Happy DODs player is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 07-07-2013 , 16:35   Re: [TF2] Bot Manager
    Reply With Quote #10

    Quote:
    Originally Posted by Happy DODs player View Post
    @Mckay:

    Wonderfull that you gave it a names module. Will use this ad for sure.

    BOT joined ad is also great....

    mmmmmm maybe i am asking something really bizar here. But can you maybe write a module for your plugin.

    - Bot module : weapons
    - Bot module : hats

    I know that they ar out there these plugins but for me sadly they dont work 100%...

    If i have more ideas i ll post them keep up your goodworks on this plugin.
    Weapon and hat modules are outside the scope of this plugin. This only manages joining/disconnecting.
    __________________
    Dr. McKay is offline
    Reply


    Thread Tools
    Display Modes

    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:10.


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