Bms bot: Difference between revisions
Jump to navigation
Jump to search
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).
Note:There are many cvars with nb_ prefix. These doesn't affect this entity.
No edit summary |
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
||
Line 2: | Line 2: | ||
{{ent not in fgd|nolink=1}} | {{ent not in fgd|nolink=1}} | ||
{{this is a|model entity|name=bms_bot|game=Black Mesa}} A [[NextBot]] entity that acts like a {{ent|player}} entity. Unlike {{csgo|4}}, 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 {{ent|player}} entity in {{bms|4}}. | {{this is a|model entity|name=bms_bot|game=Black Mesa}} A [[NextBot]] entity that acts like a {{ent|player}} entity. Unlike {{csgo|4}}, 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 {{ent|player}} entity in {{bms|4}}. | ||
{{bug|Creating the entity through {{ent|ent_create}} ''will'' crash the game. Use the {{ent|bot_add}} command. | {{bug|hidetested=1|Creating the entity through {{ent|ent_create}} ''will'' crash the game. Use the {{ent|bot_add}} command.}} | ||
{{bug|It doesn't move if damaged. | {{bug|hidetested=1|It doesn't move if damaged.}} | ||
{{bug|It spams ''GetUserSetting: cvar 'cl_toggle_duck' unknown.'' message (the message visible only with enabled {{command|developer}} command). | {{bug|hidetested=1|It spams ''GetUserSetting: cvar 'cl_toggle_duck' unknown.'' message (the message visible only with enabled {{command|developer}} command).}} | ||
==Dedicated Console Variables== | ==Dedicated Console Variables== |
Revision as of 07:23, 20 May 2025
bms_bot
is a model 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.



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 ![]() |
|
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. |
