.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   FritzBot (http://forums.bots-united.com/forumdisplay.php?f=53)
-   -   add all custom bots at once? (http://forums.bots-united.com/showthread.php?t=5173)

onepercenter 19-04-2006 20:17

add all custom bots at once?
 
hello, first of, i would like to say this is the best thing ever!!! i rarely play online anymore lol, thank you so much, use are all awesome people.

i was just wondering is it possible to load all my bots at once instead of typing like /addbot mybot1; addbot mybot2; addbot mybot3; addbot mybot4 etc etc....

Edit: i forgot to mention this is enemy territory, not rtcw :)

Thank you very much. and keep up the great work.

onepercenter 19-04-2006 20:42

Re: add all custom bots at once?
 
i wonder if it is even possible, i hope it is, i have alot of bots :(

Valiant 19-04-2006 21:01

Re: add all custom bots at once?
 
I'm not sure if you can "Add All" in any sense of the word. Last time I heard, the botlimit was 32 anyway.

The way I go about it is, I just bind a key for addbot and mash it to fill in empty slots (in RTCW). In ET, you can specify the minimum amount of bots to be added as whatever number you want there to be - provided your maxplayers is high enough. All you have to do is click the Fritzbot box on the bottom of the host game screen and set the numbers to your liking.

onepercenter 19-04-2006 21:27

Re: add all custom bots at once?
 
i meant to add all my bots that i made in the C:\Program Files\Wolfenstein - Enemy Territory\fritzbot\bots folder.

the ones that i used

{
funname "^1_^7W^1_ ^7OnePercenter ^1#^71"
class 2 // Engineer
weapon 0 // Mp40
team 0 // Axis
}


if i could have all the bots in there like onepercenter.bot and the rest to come in just like it does normally but with my own bots.


I hope you can understand what i am asking. Thanks.

Valiant 19-04-2006 21:54

Re: add all custom bots at once?
 
I just didn't quite get your meaning there, sorry about that.

Yes what you're talking about doing is very simple really. All you have to do is make yourself a .cfg file in notepad and place it in your Etmain folder, fill it in with the commands you want such as:

Addbot onepercenter
addbot whoever
addbot theotherone

and so on, make sure there is no / at the front and that the name matches the filename of the .bot files.

Then when you're in game, all you should have to do is open your console and type /exec yourbots.cfg. So if you named the cfg file "Mybots" you'd type in /exec mybots.cfg for example. Alternatively you can make an autoexec.cfg in your Etmain and place the line:

Exec mybots.cfg

That should load up your custom botlist whenever the map starts (hopefully), and if you're going to use this method I would place the .cfg's in the fritzbot folder so that they don't kick in at unwanted times and flood your client with bad commands.

Though in either case you should prevent the default bots for each map from loading so that you're not frustrated trying to clear out the ones you didn't want. To do this set the minbots to 0 in the area I described earlier and leave the maxbots at 16 or whatever number you need. For a dedicated server, you probably can just add the exec command to your server.cfg to get the same result.

onepercenter 19-04-2006 23:14

Re: add all custom bots at once?
 
ty man, that answered my question perfectly, your the ownage :)

Infinite Death 20-04-2006 03:05

Re: add all custom bots at once?
 
is
{
funname "Whatever"
class 2 // Engineer
weapon 0 // Mp40
team 0 // Axis
}

the only thing you put in the file then save it as a .bot? also do you have to create seperate bot files per bot or can you do a whole bunch in one .bot file?

also im not exactly sure how to make a cfg file like you explained , i know how to exec a cfg just not sure how to set up one , is there a tutorial i can look at that explains all this?

CrapShoot 20-04-2006 03:35

Re: add all custom bots at once?
 
Each bot needs to be in it's own file.

For creating a custom config to /exec, look here:

http://wiki.bots-united.com/index.ph...d_Server_Setup

Infinite Death 20-04-2006 04:07

Re: add all custom bots at once?
 
thanks alot :)

Infinite Death 20-04-2006 04:53

Re: add all custom bots at once?
 
only one of my bots are joining, the rest come up with the messege "No closing brace in bot file or file to long!!!"

they all have closing braces they are all identical to the one bot that does join just different names any idea whats wrong?


All times are GMT +2. The time now is 19:42.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.