On 29.02.2012 11:46, Yasir I. Al-Dosary - zgzg2020™ wrote:
> Hi,
> I am trying to understand the Engine better. I have a question that I
> couldn't figure out.
> Based on the code below, why do bots need to have their snapshots
> built? (if there is no sending is going to happen? Especially Bots
> take their info from the AAS world, right?)
> I tried to find out where on the other end the built Snapshots will be
> read, but couldn't.
>

The AI accesses the snapshot data through two functions:
trap_BotGetServerCommand, used to handle chat messages and
trap_BotGetSnapshotEntity, used to catch events. They didn't need to
implement it this way. Instead of building the snapshot, the data could
as well be routed through the AAS like all other world state. I guess
they took a shortcut here.
@Ben: player state comes from the AAS as well
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to