Nuclide
Software Development Kit for id Tech
|
A virtual multiplayer opponent. More...
#include <NSBot.h>
Public Member Functions | |
void | NSBot (void) |
virtual void | SetState (botstate_t) |
virtual botstate_t | GetState (void) |
virtual botpersonality_t | GetPersonality (void) |
virtual float | GetForwardSpeed (void) |
Overridable: Returns the desired maximum forward movement speed. More... | |
virtual float | GetSideSpeed (void) |
Overridable: Returns the desired maximum side movement speed. More... | |
virtual float | GetBackSpeed (void) |
Overridable: Returns the desired maximum backwardss movement speed. More... | |
virtual void | ChatSay (string) |
virtual void | ChatSayTeam (string) |
virtual void | Pain (entity, entity, int, vector, int) |
Called whenever the entity receives damage. More... | |
virtual void | RouteClear (void) |
When called, will wipe any memory of an ongoing route. More... | |
virtual void | WeaponThink (void) |
virtual void | WeaponAttack (void) |
virtual void | SeeThink (void) |
virtual void | BrainThink (int, int) |
virtual void | RunAI (void) |
virtual void | CreateObjective (void) |
virtual void | CheckRoute (void) |
Internal use only. More... | |
virtual void | PreFrame (void) |
virtual void | PostFrame (void) |
virtual void | UseButton (void) |
virtual void | SetEnemy (entity) |
virtual float | GetRunSpeed (void) |
virtual float | GetWalkSpeed (void) |
nonvirtual void | ForceWeaponAttack (vector, float) |
virtual void | SetName (string) |
nonvirtual void | SetInfoKey (string, string) |
Server: Set the value of an InfoKey. More... | |
nonvirtual void | SetInfoKeyFloat (string, float) |
Server: Floating point based version of SetInfoKey(). More... | |
nonvirtual string | GetInfoKey (string) |
Get the string value of an InfoKey. More... | |
nonvirtual float | GetInfoKeyFloat (string) |
Floating point based version of GetInfoKey(). More... | |
A virtual multiplayer opponent.
Base class for all bots.
|
virtual |
Floating point based version of GetInfoKey().
|
virtual |
|
virtual |
|
virtual |
Called whenever the entity receives damage.
Reimplemented from NSSurfacePropEntity.
Reimplemented in NSClient, NSClientPlayer, and NSClientSpectator.
Reimplemented in NSClient, NSClientPlayer, and NSClientSpectator.
When called, will wipe any memory of an ongoing route.
Reimplemented from NSActor.
|
virtual |
Server: Floating point based version of SetInfoKey().
|
virtual |