Plugin for bots
Plugin for bots
Is it possible to make a plugin wich runs solo bots:
Number_of_bots = 10 - Number_of_players
so if there is no real player, there will be 10 bots
If 6 players plays, there will be 4 bots.
Number_of_bots = 10 - Number_of_players
so if there is no real player, there will be 10 bots
If 6 players plays, there will be 4 bots.
OWNER at lddw's servers
Citrus.admin
Cruel.admin
WinXP.admin
Spazzy.cops
Metec.mapper
Heart.trusted
Citrus.admin
Cruel.admin
WinXP.admin
Spazzy.cops
Metec.mapper
Heart.trusted
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
Plugins don't have the power to do that, AFAIK.
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
-
- Sergeant
- Posts: 250
- Joined: Wed Jan 05, 2005 3:12 pm
IIRC BZFS cannot run bots. Currently, bots are either "-solo" type via a CLI command to bzflag game client, or an autopilot (press 9) from within the game itself. AFAIK, there are no server side bots yet.
IKFS that plugins run on BZFS only, so it's not possible to do a plugin for bots as proposed above. I have seen a custom client and script that will provide a requested number of autopilot tanks (and remove them on request). You can search for that solution if interested.
IANAD, but I believe server-side bots are in the mix and may show up in a future release.
IKFS that plugins run on BZFS only, so it's not possible to do a plugin for bots as proposed above. I have seen a custom client and script that will provide a requested number of autopilot tanks (and remove them on request). You can search for that solution if interested.
IANAD, but I believe server-side bots are in the mix and may show up in a future release.
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
BZFS can't do bots. Period. So, you would have to 1) Mod BZFS to add-in the bot AI 2) Add API Support 3) Build the plugin and 4) Release the patch to the devs hoping they acceptdonny_baker wrote:And I would have to disagree with you. A plug-in is written in C++ and can do just about anything you can code. And counting is definately something that can be done in C++.
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
I would think so if JeffM started a server-side bot plugin.Theme97 wrote:I assume that's coming in 2.2 then..?A Meteorite wrote:Add API Support
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
- RPG
- Lieutenant, Junior Grade
- Posts: 2015
- Joined: Fri Sep 17, 2004 2:37 am
- Location: Chicago, Illinois
- Contact:
From the readme:
========================================================================
DYNAMIC LINK LIBRARY : serverSideBotSample Project Overview
========================================================================
***** NOT A RELEASE PLUGIN ******
***** TESTING ONLY *******
***** WILL DO HORIBLE THINGS TO YOUR COMPUTER ********
This is the sample server side bot plugin.
it is just new under developmnet, so PLEASE don't use it, or at least expect
it to work. It WILL crash on you. It will not do anything. The only reason
it is in CVS is to make it easyer to work on. When the bot is complete
this will be replaced with more info.