bms_bot
Jump to navigation
Jump to search
bms_bot
is a point entity available in Black Mesa. A NextBot entity that acts like a player entity. Unlike Counter-Strike: Global Offensive, this bot does not have complex artificial intelligence, all it can do is walk randomly and execute certain commands, which is why this bot is only suitable for testing of some mechanics and optimization if there is more than one player on your map. All keyvalues, outputs and inputs are same as player entity in Black Mesa.
Bug:Creating the entity through ent_create will crash the game. Use the bot_add command.
Bug:It doesn't move if damaged.
Bug:It spams GetUserSetting: cvar 'cl_toggle_duck' unknown. message (the message visible only with enabled
developer
command).Dedicated Console Variables
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
bot_add |
| Void | Spawn a bot. The bot will have a unique numbering depending on how many bots you have already spawned (the first bot will use Bot01 name). |
bot_changeclass |
| String | Change class for all bots. It is Team Fortress 2 leftover, Black Mesa don't provide any classes for players. |
bot_crouch | 0 | Bool | Force all bots to crouch. Doesn't work. |
bot_flipout | 0 | Bool | When on, all bots fire their guns. |
bot_forcefireweapon |
| String | Force all bots to use and fire from specified weapon. Use classname as parameter. |
bot_forceattackon | 1 | Bool | Force all bots to hold attack button instead of spamming it. |
bot_forceattack2 | 0 | Bool | Force all bots to fire secondary attack instead of main. |
bot_mimic | 0 | Integer | Bot uses usercmd of player by index. |
bot_mimic_yaw_offset | 0 | Integer | Offsets the bot yaw. |
bot_model | models/player/mp_scientist_hev.mdl | String | Model to use. Doesn't seems work. |
bot_sendcmd |
| String | Forces bots to send the specified command. |
bot_kill |
| Integer | Kills the bot with the specified userid or kills all of them if no id is given. |
Note:There are many cvars with nb_ prefix. These doesn't affect this entity.