Monday, July 16, 2012
Why they work only in beta 1?
They don't truly work in public beta 1. The bot AI from Quake 3 just happened to be left over in the source code there. As long as you had an aas file compiled for your map (bot pathing), the bots would load and move about, but they had ZERO knowledge of ZEQ2-lite. Meaning they didn't know how to fly, shoot, move, respond, or do anything properly if it wasn't in basic Quake 3 functionality.
Is necessary to recompile the "cgame.qvm" file?
Franco is correct. It'd be in game.qvm (and some in the engine source). Bot's use the same set of data and entities that players themselves use. All bot code was removed in the later revisions since it was non-functional and intended to be replaced with a more proper bot handling concept fully utilizing playerstates.
Honestly just a few server commands need to be simulated in order to create a dummy player entity (and thus something usable by AI code).
Zeth can you recompile the file for the beta 2?
This would not be helpful or practical as the former bot code was unintentional and broken. A better solution would be for users experienced with Quake 3 design to examine the engine server commands necessary to instantiate a playerstate structure. From there it's pretty easy to create things.
|