Bots

From CKRAS Wiki

Revision as of 11:30, 24 October 2023 by Ckras (talk | contribs)

Guide how to add bots to your CS2 Gameserver.

You can manage Bots with our CKRAS BOT - ease by typing !addbot !nobot or !rcon bot_"command"


bot_add

bot_add   <T / CT> <Difficulty> <Name>

This command adds a bot to your current game. If you specify a team (T or CT), the bot will be added to that team. You can also optionally specify a difficulty and a name (if there is an existing profile).

Name Description
T / CT Enter the letter T to add a Terrorist bot or CT to add a Counter-Terrorist bot.
Difficulty The difficulty the spawned bot should have. Options are:
  • easy
  • normal
  • hard
  • expert
Name Optional - if not specified, the bot will have a random name. The name of the bot you wish to add (this name will show in the scoreboard/kill list/chat). The name must have an existing profile (e.g. Mark, Opie, etc).

bot_add_ct

bot_add_ct <Difficulty> <Name>

This console command adds a bot to the CT side. If the bot spawns dead, it will respawn at the start of the next round. You can optionally specify a difficulty and a name (if there is an existing profile).

Name Description
Difficulty The difficulty the spawned bot should have. Options are:
  • easy
  • normal
  • hard
  • expert
Name Optional - if not specified, the bot will have a random name. The name of the bot you wish to add (this name will show in the scoreboard/kill list/chat). The name must have an existing profile (e.g. Mark, Opie, etc).

bot_add_ct Examples

bot_add_ct - Adss a bot to the CT Side

bot_add_ct easy - Adds an easy bot to the CT side.

bot_dont_shoot

bot_dont_shoot <0 / 1>

This command can be used to prevent NPC characters (bots) from being able to fire guns.

Enter 1 to stop bots from being able to shoot their weapons, and 0 to allow them to fire as normal.

Extra Information

Find additional information relating to this command below.

sv_cheats Required No
Client or Server Command Server