Sturmbot Commands.

General notes:

Client console: 
This is the in-game console. To be able to use this you must have -console in your game path.
If a sturmbot password has been set you will not be able to issue sturmbot commands via this console unless you give the password using the sturmbot_password command.
If entered successfully (or if no password is set), you can then issue sturmbot commands.


Server console: 
This is the console of a dedicated dod server. 
When issuing sturmbot commands via a server console the following format must be used:

sturmbot "command_name argument1 argument2...."

All sturmbot commands must be preceded with the word sturmbot and the actual command and its arguments must be inside quotation marks " " 


bot.cfg: 
This is a file located in your sturmbot directory for setting your sturmbot preferences.


Following is a list of the sturmbot commands:
(commands are available for use in both consoles and the bot.cfg unless otherwise specified)


Command name:			

sturmbot_password [password]  	
----------------------------
Notes: available through client console only


select_password [password]	


botchat [off/limited/full]      		
--------------------------
Notes: off: bots will not talk, limited: bots will talk a little or full: bots will talk to each other and humans a lot


killall
-------
Notes: This will kill all bots prompting them to respawn. Please note this does not kick bots just kills them.
(not available via bot.cfg)


formsquad [on/off]
------------------
Notes: If set on, this will make the bots act in squads.


rank [on/off]
-------------
Notes: If set on, bots will have a rank in their name (Pvt. Gen. etc), off and they will just have plain names.


addbot [team] [class] [skill] [name]
------------------------------------
Notes:

team: 1 = Allies, 2 = Axis

class (normal maps):
Allies: 1 = rifleman, 2 = sergeant, 3 = Sniper, 4 = Support Infantry, 5 = Machine gunner
Axis: 1 = grenadier, 2 = unteroffizier, 3 = scharfschuetze, 4 = Scharfhrer, 5 = MG-Schtze 
class (para maps):
Allies: 1 = garand, 2 = carbine, 3 = thompson, 4 = greasgun, 5 = springfield, 6 = BAR, 7 = 30cal
Axis: 1 = kar98, 2 = kar43, 3 = scoped kar, 4 = mp40, 5 = mp44, 6 = fg42, 7 = mg34, 8 = mg42
Please note that if you give numbers for para classes and then play a non-para map, bots with a class higher than 5 will join with a random class.

skill: 1-8 (1 low skill, 8 deadly)

If arguments are not given for any of the above a random setting will be used (0 can be used to force random). Similarly if a name is not given a random name from the allied_names and axis_names files will be used.


throw_grenade [number]
----------------------
Notes: This sets how often (out of 10000 times) the bot will throw a grenade


observer [on/off]
-----------------
Notes: This will make bots ignore all human players. (Handy for waypointers for testing purposes)


min_reaction [number]
---------------------
Notes: This sets the bots minimum reaction time in milliseconds (default is 70)


max_reaction [number]
---------------------
Notes: This sets the bots maximum reaction time in milliseconds (default is 120)


botdontshoot [on/off]
---------------------
Notes: This will stop the bots attacking anything.


pistolonly [on/off]
-------------------
Notes: This makes bots use only their pistols (except heavy machine gun classes)


grenadeonly [on/off]
--------------------
Notes: This makes bots use only their grenades (except heavy machine gun classes)


knifeonly [on/off]
------------------
Notes: This makes bots use only their knives (except heavy machine gun classes)


friendlyfiremode [on/off]
-------------------------
Notes: This takes the bots out of teamplay mode, they will target any other player (human or bot) regardless of team.


bots
----
Notes: Produces a list of the bots in the game giving their bot number, team, class and name
(not available through bot.cfg)


monsterbot [botnumber]
----------------------
Notes: Gives the bot given in the argument an exceptional amount of health - turning them into a monsterbot. Lasts until they eventually are killed.


fillserver [number] [team] [skill]
----------------------------------
Notes: This will add the number of bots given (arg 1) to your game with the specified team and skill.
If no arguments are given random bots will be added until server is full.
(not available through bot.cfg)


kickteam [team]
---------------
Notes: kicks all bots on team given
team: 1 = allies, 2 = axis
(not available through bot.cfg)


maxteamkills [number]
---------------------
Notes: This sets the number of times a player can teamkill before the bots will react.


min_bots [number]
-----------------
Notes: Sets the minimum number of bots in the game at once.
(not available through client console)


max_bots [number]
-----------------
Notes: sets the maximum number of bots in the game at once.
(not available through client console)


learn [reset/init/load/save]
----------------------------
Notes: This shouldn't normally need touching but just in case...
reset and init will reinitiate the bots learning
load will load the latest learn files for current map
save will save the learn files for current map
(not available through bot.cfg)


help
----
Notes: prints a list of sturmbot commands
(available in client console only)

 
addbotmenu
----------
Notes: displays the addbot menu


sturmbotmenu
------------
Notes: displays the sturmbot menu



The following four commands should really be left on default value unless you are a sturmbot expert

learnrate
dangerfactor
scorefactor
cyclefreq




Sturmbot comes with a few 'funmodes'. These can sometimes be a little unstable.
They are:


bloodmode [0-3]
---------------
Notes: 0 = regular dod, 1 = blood splashes, 2 = blood & bodies stay, 3 = bots blow up, gibbing everywhere


maxbodies [0-64]
------------------
Notes: This sets the maximum number of sturmbot bodies that will be left lying on the map (with bloodmode 2+) at any one time.
This can increase lag so use wisely.


gunmode [on/off]
----------------
Notes: Bots will drop their weapons when they die, leaving them for other players to pick up and use.


robotmode [on/off]
------------------
Notes: Bots will explode into pieces of circuit-board when they die


ghostmode [mode] [team]
-----------------------
Notes: Makes bots fade in and out of visibility 
mode 0 = off, 1 = slight translucency, 2 = more translucency, 3 = mostly invisible
team 1 = allies, 2 = axis (if no team argument given mode is applied to both teams)