Xonotic
HunterKiller Class Reference
+ Inheritance diagram for HunterKiller:
+ Collaboration diagram for HunterKiller:

Public Member Functions

 ATTRIB (Turret, netname, string)
 short name More...
 
 ATTRIB (Turret, mdl, string)
 currently a copy of the model More...
 
 ATTRIB (Turret, model, string)
 full name of model More...
 
 ATTRIB (Turret, head_model, string)
 full name of tur_head model More...
 
 ATTRIB (Turret, m_weapon, Weapon)
 
virtual void Turret ::display ()
 
virtual void Turret ::tr_config ()
 (SERVER) dump turret cvars to config in data directory (see: sv_cmd dumpturrets) More...
 
virtual void Turret ::tr_death ()
 (SERVER) called when turret dies More...
 
virtual void Turret ::tr_precache ()
 (BOTH) precaches models/sounds used by this turret More...
 
virtual void Turret ::tr_setup ()
 (BOTH) setup turret data More...
 
virtual void Turret ::tr_think ()
 (SERVER) logic to run every frame More...
 

Public Attributes

string head_model = strcat("models/turrets/", "hk.md3")
 
int m_id = 0
 
vector m_maxs = '32 32 64'
 
vector m_mins = '-32 -32 0'
 
Weapon m_weapon = WEP_HK
 
string mdl = "base.md3"
 
string model = strcat("models/turrets/", this.mdl)
 
string netname = "hk"
 
int spawnflags = TUR_FLAG_SPLASH | TUR_FLAG_MEDPROJ | TUR_FLAG_PLAYER | TUR_FLAG_RECIEVETARGETS
 
string turret_name = _("Hunter-Killer Turret")
 

Detailed Description

Definition at line 7 of file hk.qh.

Member Function Documentation

◆ ATTRIB() [1/5]

Turret::ATTRIB ( Turret  ,
netname  ,
string   
)
inherited

short name

◆ ATTRIB() [2/5]

Turret::ATTRIB ( Turret  ,
mdl  ,
string   
)
inherited

currently a copy of the model

◆ ATTRIB() [3/5]

Turret::ATTRIB ( Turret  ,
model  ,
string   
)
inherited

full name of model

◆ ATTRIB() [4/5]

Turret::ATTRIB ( Turret  ,
head_model  ,
string   
)
inherited

full name of tur_head model

◆ ATTRIB() [5/5]

Turret::ATTRIB ( Turret  ,
m_weapon  ,
Weapon   
)
inherited

◆ Turret ::display()

virtual void Turret::Turret ::display ( )
inlinevirtualinherited

Definition at line 25 of file turret.qh.

References string_null.

25  {
26  returns(this.turret_name, string_null);
27  }
string string_null
Definition: nil.qh:9
string turret_name
human readable name
Definition: turret.qh:11

◆ Turret ::tr_config()

virtual void Turret::Turret ::tr_config ( )
inlinevirtualinherited

(SERVER) dump turret cvars to config in data directory (see: sv_cmd dumpturrets)

Definition at line 54 of file turret.qh.

References ENDCLASS.

54 { }

◆ Turret ::tr_death()

virtual void Turret::Turret ::tr_death ( )
inlinevirtualinherited

(SERVER) called when turret dies

Definition at line 37 of file turret.qh.

37  {
38 
39  }

◆ Turret ::tr_precache()

virtual void Turret::Turret ::tr_precache ( )
inlinevirtualinherited

(BOTH) precaches models/sounds used by this turret

Definition at line 41 of file turret.qh.

References ATTRIB, entity(), METHOD, and weaponentities.

41  {
42 
43  }
+ Here is the call graph for this function:

◆ Turret ::tr_setup()

virtual void Turret::Turret ::tr_setup ( )
inlinevirtualinherited

(BOTH) setup turret data

Definition at line 29 of file turret.qh.

29  {
30 
31  }

◆ Turret ::tr_think()

virtual void Turret::Turret ::tr_think ( )
inlinevirtualinherited

(SERVER) logic to run every frame

Definition at line 33 of file turret.qh.

33  {
34 
35  }

Member Data Documentation

◆ head_model

string HunterKiller::head_model = strcat("models/turrets/", "hk.md3")

Definition at line 13 of file hk.qh.

◆ m_id

int Turret::m_id = 0
inherited

Definition at line 6 of file turret.qh.

◆ m_maxs

vector HunterKiller::m_maxs = '32 32 64'

Definition at line 10 of file hk.qh.

◆ m_mins

vector HunterKiller::m_mins = '-32 -32 0'

Definition at line 9 of file hk.qh.

◆ m_weapon

Weapon HunterKiller::m_weapon = WEP_HK

Definition at line 16 of file hk.qh.

◆ mdl

string HunterKiller::mdl = "base.md3"

Definition at line 11 of file hk.qh.

◆ model

string HunterKiller::model = strcat("models/turrets/", this.mdl)

Definition at line 12 of file hk.qh.

◆ netname

string HunterKiller::netname = "hk"

Definition at line 14 of file hk.qh.

◆ spawnflags

Definition at line 8 of file hk.qh.

◆ turret_name

string HunterKiller::turret_name = _("Hunter-Killer Turret")

Definition at line 15 of file hk.qh.


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