G-Bots – CSS/HL2DM Like Bots
Join the official X3NAddons Discord Community for updates & support: https://discord.gg/USukDAH7Cu
Support my development in making addons: https://ko-fi.com/mightyx3n
A standalone bot addon for Garry’s Mod — CSS-style commands, Red vs Blue team mode, weapon loadout system, and an admin menu. Works in any gamemode.
Find more infor on the https://gbots.org/ Website
Works with my NoBlock – Disable Player Collision Addon
⚠️ Early Access / Beta:
- This addon is still in early development. Not everything may work as expected and bugs are likely. Please report any issues on the Discord or commit fixes to the ApolloSource page.
Things to add:
- Vehicle Support: Allowing bots to get into vehicles where a player is driving.
- Profile Pictures: Add profile pictures to the bots.
- Voice Comms: Allow to tell the bots using CSS voice comms, to come, go, stay whatever.
- Bots Follows Player: Add an option to force the bots to follow players, good for playing HL2 Campaign, and some gamemodes.
- Hooks: Adding hooks to allow anyone to create support for gamemodes.
- Tell me in the comments below what else should be added.
- CSS-style bot commands — bot_add, bot_kick, bot_kill, bot_place, bot_add_fill and more
- Red vs Blue team mode with team select screen on join and changeteam command
- Bots auto-balance between teams when filling, with optional force team setting
- Weapon loadout system — create named loadouts with scope (Global/Red/Blue) and enabled toggle; bots randomly pick one on spawn
- Default HL2 loadout pre-configured — no setup required out of the box
- Sandbox tools (camera, physgun, toolgun) never given to bots
- Custom playermodel selection — random from all valid models, or a custom pool per team
- Admin menu (bot_menu) with General, Loadouts and Playermodels tabs
- Save and load all settings to the data folder — with auto-load on map start
- Auto-add bots to quota when a player joins
- NPC team alignment — bad NPCs fight alongside bots in teamplay, good NPCs fight the opposing side
- Bots attack NPCs that are hostile toward them
- Bots automatically respawn after death
- Bots drop empty weapons and switch to their next best weapon
- Realistic movement mode — limits bot speed for better navigation in Sandbox (enabled by default)
- Bots no longer jump constantly — only jump when navmesh requires it
- Bots only attack breakable props blocking their path, not unbreakable ones
- Melee reliably triggers on proximity
- Navmesh auto-generation support for maps without a navmesh
- Bot difficulty settings — easy, normal, hard, expert
- bot_stop to freeze all bots, bot_mimic to mirror your movement
- Ignore players mode — bots and NPCs ignore human players and only fight each other
- Works in any gamemode — sandbox, darkrp, and more
- CSS bot names in FFA mode, callsign names for Red team, NATO alphabet for Blue team
- Partial TFA Base compatibility — bots can carry TFA weapons without crashing
- bot_add — Add one bot (auto team balance if teamplay on)
- bot_add_red / bot_add_blue — Add a bot to a specific team
- bot_add_fill — Fill server up to bot_quota
- bot_kick [name] — Kick a bot by name, or all bots if no name given
- bot_kill [name/all] — Kill bots without removing them
- bot_place — Place a bot at your crosshair
- bot_quota [n] — Set the maximum bot cap
- bot_autoadd [0/1] — Auto-fill bots to quota when a player joins
- bot_difficulty [0-3] — Set difficulty: 0=easy, 1=normal, 2=hard, 3=expert
- bot_teamplay [0/1] — Enable Red vs Blue team mode
- bot_force_team [0/10/11] — Force all bots to a team: 0=auto, 10=Red, 11=Blue
- bot_stop [0/1] — Freeze or unfreeze all bots
- bot_mimic [0/1] — Bots mimic the first human player
- bot_ignore_player [0/1] — Bots and NPCs ignore human players
- bot_realistic_movement [0/1] — Limit bot movement speed for better navigation (default: 1)
- bot_data_save — Save all settings to the data folder
- bot_data_load — Load settings from the data folder
- bot_data_delete — Delete saved settings
- bot_autoload [0/1] — Auto-load saved settings on map start
- bot_menu — Open the admin menu (admins only)
- changeteam — Open the team selection menu
⚠️ Known Issues:
- Bots require a navmesh to navigate — enable bot_generatenav 1 for auto-generation on maps without one
- Bots cannot spawn in singleplayer (maxplayers must be greater than 1)
- Not all gamemodes have been tested — behaviour may vary
- TFA Base weapons partially supported — bots can carry them but some weapon behaviour may not function correctly
- G-Bots: MightyX3N
- Original HL2MP bot system from (Half-Life 2: Deathmatch Gamemode): Froggy
- Bots
- AI
- Bot
- CSS Bots
- HL2 DM Bots
- Deathmatch
- Team Deathmatch
- Sandbox
- Any Gamemode
If you or you know anyone that wants to help maintain this addon i have made a website called ApolloSource, that allows gmod developers to get fixes.
Here is the addon https://apollosource.com/addon.php?id=addon_b940be53b80c650d