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. The 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. 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): US: 1 = Rifleman, 2 = Master Sergeant, 3 = Sergeant, 4 = Staff Sergeant, 5 = Sniper, 6 = Support Infantry, 7 = Machine Gunner British: 1 = Rifleman, 2 = Sergeant Major, 3 = Marksman, 4 = Gunner Axis: 1 = Grenadier, 2 = Stosstruppe, 3 = Unteroffizier, 4 = Scharfschuetze, 5 = Sturmtruppe, 6 = MG34-Schütze, 7 = MG42-Schütze class (paratrooper maps): US: 1 = Rifleman, 2 = Master Sergeant, 3 = Sergeant, 4 = Staff Sergeant, 5 = Sniper, 6 = Support Infantry, 7 = Machine Gunner British: 1 = Rifleman, 2 = Sergeant Major, 3 = Marksman, 4 = Gunner Axis: 1 = Kar98, 2 = Kar43, 3 = Kar with Scope, 4 = MP40, 5 = MP44, 6 = FG42 with Bipod, 7 = FG42 with Scope, 8 = MG34, 9 = MG42 Please note that if you give numbers for paratrooper classes and then play a non-paratrooper map, bots with a class higher than 7 will join with a random class. skill: 0-8-9 (0 = low skill, 8 = deadly skill, 9 = random skill) 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 US_Names.txt, Brit_Names.txt, and Axis_Names.txt files will be used. Note that the in-game "addbotmenu" menu uses different options for the skill levels. Within the in-game "addbotmenu" menu, you will have skill level choices for 1-9, with choice "0" being random. But, when using the "addbot" console command, the skill numbers are 0-8, with "9" being random. 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 60). max_reaction [number] --------------------- Notes: This sets the bots maximum reaction time in milliseconds (default is 110). botdontshoot [on/off] --------------------- Notes: This will stop the bots attacking anything. pistolonly [on/off] ------------------- Notes: This makes bots use only their pistols. grenadeonly [on/off] -------------------- Notes: This makes bots use only their grenades. knifeonly [on/off] ------------------ Notes: This makes bots use only their knives. 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. 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. max_bots [number] ----------------- Notes: Sets the maximum number of bots in the game at once. botteambalance [on/off] ----------------------- Notes: If turned on, this feature makes the bots switch teams as needed to keep equal numbers of players on each team. random_skill [0-100] -------------------- Notes: If set to a high level, random bots will be more likely to have a high skill level. learn_priority [0-1000] ----------------------- Notes: If set to a high level, bots will place more priority on learning. botusemapmarkers [on/off] ------------------------- Notes: If turned on, bots will place warning map markers. 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. Miscellaneous Commands ---------------------- The following four commands should really be left on default value unless you are a SturmBot expert: learnrate dangerfactor scorefactor cyclefreq Fun Modes --------- SturmBot comes with a few 'fun modes'. These can sometimes be a little unstable. They are: bloodmode [0-3] --------------- Notes: 0 = Regular DoD. 1 = Blood splashes. 2 = Blood and 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. 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)