Page 1 of 1

Bots...???

Posted: Sun Apr 24, 2005 3:37 am
by BinarySpike
I have Mac os X and want to have some bots on my map so people don't leave while I'm eating or something....

How do I do this???


Sir_Pants asked me how to do it on Mac os X, and I didn't know so I guess I would be asking for both of us...


The only thing I know is -disablebots...

Would I like not have -disablebots and open bzflag multiple times and put connect and set them on autopilot with '9'???
(laggy...)

Or is there a command /addbot...??????


Thanks,
BinarySpike

Posted: Sun Apr 24, 2005 3:45 am
by Sir_Pants
all i know for windows is cd C:\program files\bzflag2.0.x\ then you type in bzflag -solo #

Re: Bots...???

Posted: Sun Apr 24, 2005 12:13 pm
by Guest
BinarySpike wrote: The only thing I know is -disablebots...
You do that by running bzflag in Terminal? Right?
Well I just ran ./bzflag -help (in the right directory, don't worry. :P )
and it says [-solo <num-robots>] :)
So I guess it is just " -solo 4 " for 4 bots...
And I just tried it. It works. If you open bzflag from terminal like this:

/Applications/BZFlag/BZFlag-2.0.2.app/Contents/MacOS/bzflag -solo 2

That will open bzflag and any server (that allows bots) that you log onto will have your 2 bots.

Also try:
/Applications/BZFlag/BZFlag-2.0.2.app/Contents/MacOS/bzflag -help

That is how I found out how to do it..

:D hehe
/me bows

Posted: Sun Apr 24, 2005 2:31 pm
by BinarySpike
Hmmmm...... Ok, I just wanted some bots to keep my players happy while I'm gone...

But, how do they be put on teams? or is that something bzfs does by itself?

I just want three bots, one on each team (red, blue, rogue)...



*edit*
I want this in bzfs not bzflag...
(bzfs doesn't reconize the -solo command)

Posted: Sun Apr 24, 2005 3:39 pm
by Guest
Oh... I don't know how to do it in bzfs.
Try trunning this:

/Applications/BZFlag/BZFlag-2.0.2.app/Contents/MacOS/bzfs -help

If it is possible to do it from bzfs, that will tell you how.


And, if you run bzflag -solo 3 then join to your server as obs, then the 3 bots should each go on a separate team... :)

Posted: Sun Apr 24, 2005 4:37 pm
by JeffM
the server (bzfs) has no bots. The bots are only part of the client. There is no way to run bots with out a client, since the cleint is the only thing that knows how to play the game.

*

Posted: Sun Apr 24, 2005 7:27 pm
by BinarySpike
I understand but how do I tell the client to have bots?
(I've played on like the viper.pimpi.org clone and there are bots and every body sees it...)


I've also played on other servers and they had bots.
(there were bots and players...)

Posted: Sun Apr 24, 2005 7:46 pm
by Sir_Pants
ok binary heres what you do since i got it to work for me
open terminal then type cd /applications/bzflag/bzflag-2.0.x.app/contents/macos then type ./bzflag -solo 4 and if you want to add bots names and not ur own type name@serverdomain for some reason my mac didnt install a directory it jsut install the app in apps folder so i have to type cd /applications/bzflag-2.0.x.app/contents/macos then the command for bots only thing is the bots dont seem to jump but o well

Posted: Sun Apr 24, 2005 9:14 pm
by Guest
Lol. Everyone is just telling you to do what I already said...

Just because you have opened you'r client with bots, doesn't mean that other players can't play...
Try it.

Run bzfs as normal, then run bzflag from Terminal with the -solo # thing and then join you'r server...

Posted: Mon Apr 25, 2005 3:38 am
by Sir_Pants
im so lost all i know is that i got bots to run on my home network server so im happy lol thanks everyone

Posted: Mon Apr 25, 2005 3:51 am
by BinarySpike
Sir_Pants wrote:and if you want to add bots names and not ur own type name@serverdomain
Huh?

so I type ..../bzflag -solo 3 Bot@localhost Bot2@localhost Bot3@localhost
:?: :?: :?: :?:


So basicly anybody can put bots in my level?

I totally understand that you use .../bzflag -solo!!!



*edit*
Ok, I tested the bots... (still what's with this Bot@localhost thing?)

The only problem is their really, really, really stupid! :|

They don't move thought the transporter, get flag, or jump... ???

Posted: Mon Apr 25, 2005 4:32 am
by Sir_Pants
lol i know they are stupid, and the bot@localhost is just so they have a name i think, like the bots name is bot and they will join localhost which is ur server but it also makes you have the name "bot" and i guess the ai isnt the smartest bot out there

Posted: Mon Apr 25, 2005 4:58 pm
by Guest
If you don't do the 'bot@localhost' thing the bots will onlyfollow you and will have yourname followed by a number...


And yes. The bots just drive and shoot. They don't interact with the map at all.

Re: Bots...???

Posted: Wed Mar 24, 2021 9:44 am
by lemmy04
So if I wanted to ... lets say have a server that has x bots, split evenly on the red and blue teams, and then allow actual players to only connect as rogues, it can't be done?

Re: Bots...???

Posted: Wed Mar 24, 2021 10:07 am
by blast
It could be done, but not without some programming. One option would be to write a bzfs plugin that controls the automatic team selection. Another option would be modifying the client to adjust what team it joins the bots to.

Re: Bots...???

Posted: Wed Mar 24, 2021 5:40 pm
by Zehra
While not an exact match, the duplicate map plug-in does perform some form of modified automatic team selection.

Or if you're interested, feel free to private message me a plug-in request with specifications.

-Zehra

Re: Bots...???

Posted: Sat Apr 03, 2021 6:21 pm
by alfa1
Use autopilot robots but only on a local (non-public) server because, otherwise, it is forbidden, basically. You can, though, modify the server to allow it. More info on: Levels and Robots (Simplified Version).