Bots

From Soldat Community Wiki
Jump to: navigation, search

Bots are artificial intelligence software designed to play in the place of a human. They are programmed to analyse scenarios in the game and come up with the adequate response.

They are also programmed to choose paths in which they will attack. The way to do it is called WayPointing (Read more: here).


The bots files can be found in Soldat\bots. Each bot has a respective file. Those may be edited by right clicking and opening with notepad.


Bots List

The game has 16 default bots. Some of the bots' names are influenced from the 1987 Predator film.

  • Admiral
  • Billy
  • Blain
  • Boogie Man
  • Commando
  • D Dave
  • Dangerous Dave
  • Danko
  • Dutch
  • John
  • Kruger
  • Poncho
  • Roach
  • Sgt. Mac
  • Sniper
  • Stevie
  • Terminator


Values in .BOT files

* Name - Display name
* Color1 - Shirt color
* Color2 - Pants color
* Skin_Color - Skin color
* Hair_Color - Hair color
* Favourite_Weapon - Which primary gun the bot favors and will tend to use that gun more often
  Possible values:
      Desert Eagles
      HK MP5
      Ak-74
      Steyr AUG
      Spas-12
      Ruger 77
      M79
      Barret M82A1
      FN Minimi
      XM214 Minigun
* Secondary_Weapon - Which secondary gun the bot favors and will tend to use (0=USSOCOM, 1=Combat Knife, 2=Chainsaw, 3=M72 LAW)
* Friend - Enter player's name that the bot won't hurt
* Accuracy - How accurate is the bot's shooting (values: 10-200)
* Shoot_Dead - Enable/Disable bot shooting dead enemies (values: 0-1)
* Grenade_Frequency - How frequent will a bot use grenades (values: 10-200)
* Camping - Enable/Disable bot camping (values: 0-1)
* OnStartUse - ?
* Hair - Hair style (1=?, 2=?, 3=?)
* Headgear - Bot's headgear (0=?, 1=?, 2=?)
* Chain - Chain style (0=?, 1=?, 2=?)
* Chat_Frequency - How frequently will a bot use chat messages (values: 10-200)

The following values depend on the chat frequency. Also, you can set only one sentence per scenario.
* Chat_Kill - Default taunt upon eliminating an enemy.
* Chat_Dead - Default taunt upon death.
* Chat_Lowhealth - Default taunt  upon low health points.
* Chat_SeeEnemy - Default taunt  when new enemy is seen
* Chat_Winning - Default taunt when winning.


Bot file example (Terminator.BOT):

[BOT]
Name=Terminator
Color1=$00464646
Color2=$004B3532
Skin_Color=$00a8caa8
Hair_Color=$00010101
Favourite_Weapon=Barrett M82A1
Secondary_Weapon=0
Friend=Sarah O'Connor
Accuracy=0
Shoot_Dead=0
Grenade_Frequency=10000
Camping=255
OnStartUse=255
Hair=4
Headgear=1
Chain=0
Chat_Frequency=8
Chat_Kill=You have been terminated
Chat_Dead=I'll be back
Chat_Lowhealth=I'm an obsolete design
Chat_SeeEnemy=It is time
Chat_Winning=I'm back

Reference

Soldat Forums - "Making a bot the original way" by Chakra