Content

Post new topic Reply to topic

Why the bots don't work in beta 2?

Author Message
qwerty In Advance View user's profile Send private message

Reply with quote Monday, July 16, 2012

Why they work only in beta 1?
Is necessary to recompile the "cgame.qvm" file?
Zeth can you recompile the file for the beta 2?

Beta 2


/addbot
unknown cmd addbot

franco_15 View user's profile Send private message

Reply with quote Monday, July 16, 2012

no, it's necessary recompile the "GAME.QVM" file...
but don't worry, I'm in that Wink

Zeth The Admin View user's profile Send private message

Reply with quote 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.

qwerty In Advance View user's profile Send private message

Reply with quote Tuesday, July 17, 2012

If I want the beautimus and broken bots? Laughing
which file should be changed?
http://ZEQ2.com/SVN/Source/Game/Game/

I can replace it with a file of 859 revision source Embarassed

qwerty In Advance View user's profile Send private message

Reply with quote Thursday, July 19, 2012

Zeth?

Zeth The Admin View user's profile Send private message

Reply with quote Thursday, July 19, 2012

There's not exactly a single file that can just be easily converted. The former bot source code was removed from DOZENS of places in cgame, game, as well as the engine itself. It would be an exhaustive process to manually re-add those areas. Arnold (JadenKorn) would have more knowledge on this matter.

Post new topic Reply to topic

Actions

Online [ 0 / 6125]