Weapon Mode
rbot weaponmode <mode>
Aliases:
rbot wmodeChanges the purchase/weapon profile for all bots. The mode number selects which weapon category bots will prefer.
Knife-only mode (1) also automatically forces rbot_knife_mode=1 internally.
Weapon mode values
| Mode | Profile | Notes |
|---|---|---|
1 | Knife only | Forces rbot_knife_mode=1 |
2 | Pistol only | |
3 | Shotgun only | |
4 | Machine gun only | |
5 | Rifle only | |
6 | Sniper only | |
7 | All weapons | Default purchase behavior |
Knife mode side-effectSetting weapon mode to
1 (knife-only) automatically sets rbot_knife_mode=1. This affects buy and combat selection paths across the bot logic.Swap Teams
rbot swap
Aliases:
rbot swaptteamsForces all clients — both bots and human players — through the team change menu commands.