Thread: .bot Maker
View Single Post
Re: .bot Maker
Old
  (#4)
TomTom
ET Waypointing team member
 
TomTom's Avatar
 
Status: Offline
Posts: 745
Join Date: Jun 2006
Post Re: .bot Maker - 09-01-2009

Ned is most likely right. Avira (8.2.0.337) reports that the .rar file contains W32/Hidrag.a, but Avira does get a fair number of likely false positives. However you could just use the source listing above, or just learn to create the files from notepad. Included below I have merged the info from 2 related files in fritzbot/docs. Just copy it into notepad, read it, edit 4 of the last 6 lines as desired, and Save As... to fritzbot/bots in the form <botname>.bot
(<botname> should be a unique filename of your choice)


Code:
//=========================================
//    Example Bot
//    Version 1.1
//      By: Maleficus
//          and TomTom
//
//     This bot is provided for you as an
//    example of how to add your own bot(s).
//
//    After making your own bot file - copy it to the
//    "bots" directory inside your "fritzbot" folder
//
//    To add your bot to your game, in the console, just type
//      /addbot <botname>
//    where <botname> is the name of the .bot file you saved.
//      If the file is named example.bot then...
//    /addbot example
//=========================================
//
//    References:
//      Color codes -> see
//        http://games.chruker.dk/enemy_territory/colors.php
//      Wiki -> see
//        http://wiki.bots-united.com/index.php/Fritzbot-ET_Bot_File_Format
//
//    Format:
//        // [optional comments]
//        {
//        funname        text
//        class          0..4
//        weapon         0..11
//        team           0..1
//        }
//
//      Codes:
//       class -> 
//        0 = Soldier, 1 = Medic, 2 = Engineer, 3 = Field Ops, 4 = Covert Ops
//
//       weapon -> (must match class and team, else default weapon used)
//        0 = Mp40, 1 = thompson,
//        2 = sten, 3 = k43, 4 = silenced k43,
//        5 = Silenced Garand, 6 = FG42, 7 = Garand,
//        8 = mortar (useless),
//        9 = panzer, 10 = mobile mg42, 11 = flame
//
//       team ->
//         0 = Axis, 1 = Allies
// <<<end of main comment

{
funname        "^1Example ^5Bot"  //
class          2 // Engineer
weapon         7 // Garand
team           1 // Allies
}
  
Reply With Quote