Fritzbot-ET Bot File Format

From Bots-United Wiki

Jump to: navigation, search

Individual .bot files are simple text files of the form;

// [optional comments]
{
funname        text
class          0..4
weapon         0..11
team           0..1
}

Where text and the ranges 0..n are replaced by;

Keywords:

funname = bots name, can include color characters e.g. "^1Red Beard"
class = bots class (see values below)
weapon = bots weapon of choice, if applicable (listed below). 
team = bots preferred team (listed below)


Class info:

0 = Soldier
1 = Medic
2 = Engineer
3 = Field Ops
4 = Covert Ops


Team:

0 = Axis
1 = Allies

Weapons

0 =  MP40
1 =  Thompson
2 =  Sten
3 =  k43
4 =  Silenced k43
5 =  Silenced Garand
6 =  FG42
7 =  Garand
8 =  Mortar
9 =  Panzer
10 = Mobile MG42
11 = Flamethrower

(Weapon values greater than 11 will result in an error. Weapon values that do not match the class and team values are ignored and the default weapon used instead. Soldiers bots spawning that exceed the ET g_heavyWeaponRestriction limit will spawn with the smg.)

Notes

  • If funname's text is more than one word, be sure to put the whole name in quotes.
  • You CAN have color carets in the name, just like a human player.
  • File contents must start with a "{" and end with a "}" or FritzBot will not accept it!
  • There is currently no limit to the number of .bot files you may create (and put in your \fritzbot\bots directory)!

(Content reproduced from fritzbot/docs/botinfo.txt)


Permanent link to this page

Retrieved from "Fritzbot-ET_Bot_File_Format"