Re: NTBot -
30-09-2011
for HL1 read the botman's readme.txt file. Don't know about HL2 though.
basically (again for HL1):
pfnStartFrame() for running AI code
pfnClientCommand() for intercepting the command input (and if detected bot commands do the operation)
pfnClientMessage() for intercepting the messages engine sent to client to get information of players
etc.
the commands are defined by the bot itself (as noted above), however engine does provide pfnCreateFakeClient() for MODs to create "fake" clients (aka. bot), which can be used by the plugin as well.
|