Bots: Difference between revisions

From CKRAS Wiki

No edit summary
No edit summary
 
Line 10: Line 10:
<big>G</big>uide how to add bots to your [[CS2]] [[Gameserver]].
<big>G</big>uide 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"'''
You can manage Bots with our [[CKRAS BOT]] / [[MatchZy]] - ease by typing '''!bots, !crouchbot !boost, !nobots''' or '''!rcon bot_"command"'''





Latest revision as of 16:22, 24 January 2024


Guide how to add bots to your CS2 Gameserver.

You can manage Bots with our CKRAS BOT / MatchZy - ease by typing !bots, !crouchbot !boost, !nobots 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 - Adds 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.

bot_quota

bot_quota <Amount>

This command adjusts the maximum number of bots you can have in your server. The default value is 10.

bot_knives_only

bot_knives_only <0 / 1>

This console command forces all bots on the server to use knives.

Enter 1 to only allow bots to use knives, and 0 to turn the command off. Enter !rcon mp_restartgame 1 (CKRAS BOT) after this command for it to take effect.

bot_loadout

bot_loadout <Weapon Codes>

This command sets what bots in your server will spawn with, such as particular weapon and grenade setups.

A list of weapon codes, separated by spaces. For example, to make bots spawn with an AK-47 and a flashbang, you'd enter: "ak47 flashbang". See command examples for more help.

(SV_CHEATS REQUIRED for bot_loadout !rcon sv_cheats 0|1 see CKRAS BOT Commands)

Example:

bot_loadout ak47 hegrenade

bot_loadout awp deagle

bot_stop

bot_stop <0 / 1>

This command, if set to 1, causes bots to stop what they're doing. This means they will stop moving, shooting and all other processes until you turn the command off (by setting it to 0, which is default).

Enter 1 to stop all bots from doing what they're doing and stand still, and 0 to turn the command off and resume bots movement and actions back to normal.

bot_difficulty

bot_difficulty <difficulty level>

The difficulty level can be a number from 0 to 3, with 1 being the easiest and 3 being the hardest.

  • 0 or easy: Easy difficulty.
  • 1 or normal: Normal difficulty.
  • 2 or hard: Hard difficulty.
  • 3 or expert: Expert difficulty.

Extra Information

Find additional information relating to this command below.

sv_cheats Required No
Client or Server Command Server

We recommend to use CKRAS BOT for your CS2 Gameserver at CKRAS