Make Bot Mimic Again
For developer, see TECH.md.
CS2-Bot-Controller is a plugin for Counter-Strike 2 that takes control of bot behavior at the engine level.
It can:
- lock a bot's weapon
- freeze a bot's aim
- fully freeze a bot for external control
- record a player's movement
- replay that movement on any bot
- inject concurrent, cancellable usercmd buttons with optional durations
- Download the latest
BotController-MM-windows.ziporBotController-MM-linux.zipfrom the Releases page. - Download the latest
BotController-CSS-API.zip (CounterStrikeSharp)orBotController-SW2-API.zip (SwiftlyS2)from the Releases page. - Extract the archive and copy the
/addons/folder into your server's/game/csgo/directory. - Restart the server.
| Command | Description |
|---|---|
bc_lock <all|aim|weapon> <slot> [slot1..slot5] |
Apply a lock to a bot slot |
bc_unlock <all|aim|weapon> <slot> |
Remove a lock from a bot slot |
bc_unlock_all <all|aim|weapon> |
Remove one lock kind from all bot slots |
bc_status |
Show current hook status and per-slot lock state |
weapon mode requires the weapon slot as the third argument.
Examples:
bc_lock aim 1
bc_lock weapon 1 slot3
bc_unlock_all weapon
bc_status
!record [fileName]
!stoprecord
!replay <botSlot> [fileName]
!stopreplay <botSlot>
fileName is optional. When omitted, the invoking player's SteamID is used.
- API usage, build details, ABI notes, and integration examples are documented in TECH.md.
- cs2kz-metamod for helping determine the replay framework.
- 御坂17032号 and Miksen for adding Linux support to the plugin.
- nicedayzhu for adding swiftlys2 api support to the plugin.
- un1 for the voice framework and signature updates.
CS2-Bot-Controller is licensed under the GNU Affero General Public License version 3 (AGPL-3.0). Commercial use involving closed-source distribution or hosted services may require a separate license. See the LICENSE file for details.
- XBribo
- Other contributors