Nuclide
Software Development Kit for id Tech
NSBot Class Reference

A virtual multiplayer opponent. More...

#include <NSBot.h>

Inheritance diagram for NSBot:
NSNavAI NSClient NSClientSpectator NSClientPlayer

Public Member Functions

 void (void) NSBot
 
virtual void (botstate_t) SetState
 
virtual botstate_t (void) GetState
 
virtual botpersonality_t (void) GetPersonality
 
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 (string) ChatSay
 
virtual void (string) ChatSayTeam
 
virtual void (void) Pain
 
virtual void (void) RouteClear
 
virtual void (void) WeaponThink
 
virtual void (void) WeaponAttack
 
virtual void (void) SeeThink
 
virtual void (int, int) BrainThink
 
virtual void (void) RunAI
 
virtual void (void) CreateObjective
 
virtual void (void) CheckRoute
 
virtual void (void) PreFrame
 
virtual void (void) PostFrame
 
virtual void (void) UseButton
 
virtual void (entity) SetEnemy
 
virtual float (void) GetRunSpeed
 
virtual float (void) GetWalkSpeed
 
nonvirtual void ForceWeaponAttack (vector, float)
 
virtual void (string) SetName
 
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...
 

Detailed Description

A virtual multiplayer opponent.

Base class for all bots.

Member Function Documentation

◆ botpersonality_t()

virtual NSBot::botpersonality_t ( void  )
virtual

◆ botstate_t()

virtual NSBot::botstate_t ( void  )
virtual

◆ float() [1/2]

virtual NSBot::float ( void  )
virtual

◆ float() [2/2]

virtual NSBot::float ( void  )
virtual

◆ ForceWeaponAttack()

void NSBot::ForceWeaponAttack ( vector  attackPos,
float  attackTime 
)

◆ GetBackSpeed()

float NSBot::GetBackSpeed ( void  )
virtual

Overridable: Returns the desired maximum backwardss movement speed.

Reimplemented from NSNavAI.

Reimplemented in NSClient.

◆ GetForwardSpeed()

float NSBot::GetForwardSpeed ( void  )
virtual

Overridable: Returns the desired maximum forward movement speed.

Reimplemented from NSNavAI.

Reimplemented in NSClient.

◆ GetInfoKey()

string NSBot::GetInfoKey ( string  strKey)

Get the string value of an InfoKey.

◆ GetInfoKeyFloat()

float NSBot::GetInfoKeyFloat ( string  strKey)

Floating point based version of GetInfoKey().

◆ GetSideSpeed()

float NSBot::GetSideSpeed ( void  )
virtual

Overridable: Returns the desired maximum side movement speed.

Reimplemented from NSNavAI.

Reimplemented in NSClient.

◆ SetInfoKey()

void NSBot::SetInfoKey ( string  strKey,
string  strValue 
)

Server: Set the value of an InfoKey.

◆ SetInfoKeyFloat()

void NSBot::SetInfoKeyFloat ( string  strKey,
float  floatValue 
)

Server: Floating point based version of SetInfoKey().

◆ void() [1/18]

virtual NSBot::void ( botstate_t  )
virtual

◆ void() [2/18]

virtual NSBot::void ( entity  )
virtual

◆ void() [3/18]

virtual NSBot::void ( int  ,
int   
)
virtual

◆ void() [4/18]

virtual NSBot::void ( string  )
virtual

◆ void() [5/18]

virtual NSBot::void ( string  )
virtual

◆ void() [6/18]

virtual NSBot::void ( string  )
virtual

◆ void() [7/18]

virtual NSBot::void ( void  )
virtual

◆ void() [8/18]

virtual NSBot::void ( void  )
virtual

◆ void() [9/18]

NSBot::void ( void  )

◆ void() [10/18]

virtual NSBot::void ( void  )
virtual

◆ void() [11/18]

virtual NSBot::void ( void  )
virtual

◆ void() [12/18]

virtual NSBot::void ( void  )
virtual

◆ void() [13/18]

virtual NSBot::void ( void  )
virtual

◆ void() [14/18]

virtual NSBot::void ( void  )
virtual

◆ void() [15/18]

virtual NSBot::void ( void  )
virtual

◆ void() [16/18]

virtual NSBot::void ( void  )
virtual

◆ void() [17/18]

virtual NSBot::void ( void  )
virtual

◆ void() [18/18]

virtual NSBot::void ( void  )
virtual

The documentation for this class was generated from the following files: