Moderators: Nexuiz Moderators, Moderators
Cinquero wrote:Is there something I can use to play around with BOT AI?
Is there an easy way to create a bot that connects as a client to a server?
No. Bots are part of the server code. To add "standalone" bot you would need to write an app that connects to a Nexuiz server and emulates a player first. And adding bots that way is more difficult than integrating them into the server.
Noxin911 wrote:I want to write a standalone bot ... is there any documentation about the communication between server and client or could anybody tell me where in the code i could find this ?
Or has anyone write an example for a connection ... a client how connect make 3 steps and disconnect...
PHREAK wrote:Call me paranoid but there's only one reason to code a standalone AI that I know of.
I'm sure people can figure out what that is.
May I just ask why you would like to do this?
Call me paranoid but there's only one reason to code a standalone AI that I know of.
I'm sure people can figure out what that is.
Other then that, I can't see the benefit of it nor a purpose.
Sorry if I got this wrong.
I don't know of any documentation on the network protocol nor such a sample client...
Seriously, does it need to be standalone or just a bot client?
you could take out the CRC check of the CSQC support in the engine
Noxin911 wrote:we want running the bot at an other computer and so it think a bot client is ok.
could you tell me what you mean withyou could take out the CRC check of the CSQC support in the engine
csqc stands for client side quake c (quake c is the language the gamecode is written in). Think of it as some sort of scripting the engine. Basically you could use the engine as it is and implement the bot ai without having to reengineer the network protocol or loading the maps (since the engine will do all that for you). You could even watch your bot
01127 cl.model_precache[1] = Mod_ForName(cl.model_name[1], false, false, true);
01128 if (cl.model_precache[1]->Draw == NULL)
01129 Con_Printf("Map %s not found\n", cl.model_name[1]);Return to Nexuiz - Development