AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Bot Manager (https://forums.alliedmods.net/showthread.php?t=219937)

Dr. McKay 07-05-2013 01:00

[TF2] Bot Manager
 
[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.

Dr. McKay 07-05-2013 01:01

Re: [TF2] Bot Manager
 
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)


.

Happy DODs player 07-05-2013 02:27

Re: [TF2] Bot Manager
 
Will surtenly use this. :bacon!:

seupoj 07-05-2013 08:38

Re: [TF2] Bot Manager
 
This is good

Dr. McKay 07-07-2013 14:51

Re: [TF2] Bot Manager
 
Plugin updated to v1.1.0. Added plugin library registration.

Dr. McKay 07-07-2013 14:55

Re: [TF2] Bot Manager
 
Released a Bot Names module.

lyric 07-07-2013 15:23

Re: [TF2] Bot Manager
 
Quote:

Originally Posted by Dr. McKay (Post 1983621)
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

Dr. McKay 07-07-2013 15:27

Re: [TF2] Bot Manager
 
Quote:

Originally Posted by lyric (Post 1985661)
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

Happy DODs player 07-07-2013 16:27

Re: [TF2] Bot Manager
 
@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.

Dr. McKay 07-07-2013 16:35

Re: [TF2] Bot Manager
 
Quote:

Originally Posted by Happy DODs player (Post 1985689)
@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.


All times are GMT -4. The time now is 08:44.

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