This Sourcemod plugin is designed for the Half-Life 2: Deathmatch (HL2DM) game and provides various menu options for controlling bots in the game. Here's a brief description of its functions:
Menu Creation:
The plugin creates several menus for controlling different aspects of the game, such as adding/kicking bots, adjusting bot preferences, tuning server settings, and more.
Initialization:
The plugin will launch the menu 5 seconds after the admin connects.
It also sets up default server settings on map start.
Menu Options:
The plugin offers menus for options like adding/kicking bots, adjusting bot preferences (handicap, shooting behavior), changing server modes (deathmatch, team play, etc.), tuning server settings (weapon spawns, physics), enabling/disabling bots, setting spawn weapons, and restarting the server.
Server Commands:
The plugin issues various server commands based on player menu selections.
For example, it sets team play modes, adjusts bot preferences, changes server modes, and issues commands related to bot spawning and shooting behavior.
Timed Actions:
The plugin includes timers for delayed actions, such as giving weapons to players on spawn.
Admin Commands:
Some commands, such as restarting the server or reloading the map - team game mode, are available to administrators.
//Commands "sm_hrc" enter the menu in game server
---------------------------------------------------------------------------------------
hl2mp\cfg\sourcemod\HRCBOTMENU.cfg default
->> "sm_hrcmenu_autoshow 0/1" "sm_allweapons 0/1" "sm_highkill 0/1"
---------------------------------------------------------------------------------------
Bot Management:
The plugin adds bots automatically when players join or through manual admin commands.
It also handles bot kicking and cleanup when players disconnect.
Restart Functionality:
There is an option to restart the server using a timer which allows players to automatically reconnect after a server restart //only works with autostart cmd managed server ->> "Protecting srcds from crashes.cmd", "SRCDS Guardian 3.0.cmd", leased, WindowsGSM, LinuxGSM etc...
Sound and Visual Feedback:
The plugin provides audio and visual feedback, such as playing sounds to all players when certain actions are performed.
Configuration:
The plugin uses cvars (ConVars) for configuration, allowing administrators to set various parameters.
--------------------------------------------------------------------------------------------------------------------------------------------
■ in v 0.9b ->> added bot spawn sounds, global votemap start sound, admin change *menu maps*
■ in v 1.0 ->> added mod high kill, no suicide dead frags - function
■ in v 1.2 ->> fix high kill mode setting in no spam chat
//for the plugin to work properly in manual mode recommended to delete cvars in server.cfg:
mp_teamplay ,hrcbot_autobalancebots //and bots feel good
■ credits to code -restart server-retry- 3sigma", // aka X@IDER