[an error occurred while processing this directive]
Let me explain exactly what Q2BotCore is. It is a Win32 DLL that you
can make calls to that enable you to connect to and talk to a Quake2
server. Almost everything I can think of that's important is in. The
functions go something like this:
qbStartup(): Starts up the bot core.
qbShutdown(): Shuts down the bot core.
qbConnect(): Connects to a Q2 server.
qbDisconnect(): Disconnects from a Q2 server.
qbConsoleCommand(): Send a console command.
qbUpdateUserinfo(): Change a userinfo key/value pair.
qbMovementOrder(): Send a movement command.
qbGetGameState(): Get the current state of the game.
qbGetInventory(): Get a copy of your inventory.
qbGetModelString(): Gets the filename for a modelindex.
qbGetPlayerName(): Gets the name/skin of a player.
The actual q2bot.h header file is here.
These functions take care of everything behind your back, like a little
black box. If you can think of anything else to add, I would love to
hear it. I am developing my own bot on top of this platform, so I see
things that are missing as I need them. Look for
BastardBot soon. (I have a working version, but it's missing some
basic stuff that I'd like to get sone with.)
NEW!
The map DLL is available for download. (It is actually included in the
q2botcore.zip file.) This library does neat stuff with .bsp files.
The two libraries are actually totally independent from eachother, and
you could use it separately if you wanted. These function are available:
qmLoadMap(): Loads a .bsp file and does some preprocessing.
qmUnloadMap(): Wipes map out of memory.
qmFindPath(): Creates a path from any point to any other. This function took
months to develop and it's still in the works.
qmTraceLine(): Traces a line in space to see if it intersects anything.
The actual q2map.h header file is here.
Finally, I can say that I support the most recent version of Quake2, version
3.17. Lets hope id doesn't make any more releases for awhile.
Last updated Sunday, 19-Jul-1998 14:35:37 CDT
This page has [an error occurred while processing this directive] hits