|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Public Member Functions | |
| ATTRIB (Turret, head_model, string) | |
| full name of tur_head model | |
| ATTRIB (Turret, m_icon, string) | |
| icon | |
| ATTRIB (Turret, m_weapon, Weapon) | |
| ATTRIB (Turret, mdl, string) | |
| currently a copy of the model | |
| ATTRIB (Turret, model, string) | |
| full name of model | |
| ATTRIB (Turret, netname, string) | |
| short name | |
| virtual void | describe () |
| virtual void | display () |
| virtual void | tr_attack () |
| (SERVER) called when turret attacks | |
| virtual void | tr_config () |
| (SERVER) dump turret cvars to config in data directory (see: sv_cmd dumpturrets) | |
| virtual void | tr_death () |
| (SERVER) called when turret dies | |
| virtual void | tr_precache () |
| (BOTH) precaches models/sounds used by this turret | |
| virtual void | tr_setup () |
| (BOTH) setup turret data | |
| virtual void | tr_think () |
| (SERVER) logic to run every frame | |
Public Attributes | |
| string | head_model = strcat("models/turrets/", "hellion.md3") |
| vector | m_color = '1 1 1' |
| color | |
| int | m_id = 0 |
| vector | m_maxs = '32 32 64' |
| vector | m_mins = '-32 -32 0' |
| string | m_name = _("Hellion Missile Turret") |
| Weapon | m_weapon = WEP_HELLION |
| string | mdl = "base.md3" |
| string | model = strcat("models/turrets/", this.mdl) |
| string | netname = "hellion" |
| int | spawnflags = TUR_FLAG_SPLASH | TUR_FLAG_FASTPROJ | TUR_FLAG_PLAYER | TUR_FLAG_MISSILE |
Definition at line 5 of file hellion.qh.
full name of tur_head model
References ATTRIB().
|
inlinevirtualinherited |
Definition at line 61 of file turret.qh.
References describe(), SUPER, and TC.
Referenced by describe().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
(SERVER) called when turret attacks
Definition at line 51 of file turret.qh.
References entity(), m_weapon, tr_attack(), weaponentities, and Weapon::wr_think().
Referenced by tr_attack(), and turret_fire().
|
inlinevirtualinherited |
(SERVER) dump turret cvars to config in data directory (see: sv_cmd dumpturrets)
Definition at line 58 of file turret.qh.
References tr_config().
Referenced by tr_config().
|
inlinevirtualinherited |
(SERVER) called when turret dies
Definition at line 41 of file turret.qh.
References entity(), and tr_death().
Referenced by tr_death(), and turret_die().
|
inlinevirtualinherited |
(BOTH) precaches models/sounds used by this turret
Definition at line 45 of file turret.qh.
References tr_precache().
Referenced by tr_precache(), and turret_initialize().
|
inlinevirtualinherited |
(BOTH) setup turret data
Definition at line 33 of file turret.qh.
References entity(), METHOD, this, and tr_setup().
Referenced by load_unit_settings(), tr_setup(), turret_initialize(), and turret_respawn().
|
inlinevirtualinherited |
(SERVER) logic to run every frame
Definition at line 37 of file turret.qh.
References entity(), and tr_think().
Referenced by tr_think(), turret_think(), and turrets_manager_think().
Definition at line 11 of file hellion.qh.
|
inherited |
Definition at line 9 of file turret.qh.
Referenced by turret_initialize().
| vector Hellion::m_maxs = '32 32 64' |
Definition at line 8 of file hellion.qh.
| vector Hellion::m_mins = '-32 -32 0' |
Definition at line 7 of file hellion.qh.
| string Hellion::m_name = _("Hellion Missile Turret") |
Definition at line 13 of file hellion.qh.
| Weapon Hellion::m_weapon = WEP_HELLION |
Definition at line 14 of file hellion.qh.
| string Hellion::mdl = "base.md3" |
Definition at line 9 of file hellion.qh.
Definition at line 10 of file hellion.qh.
| string Hellion::netname = "hellion" |
Definition at line 12 of file hellion.qh.
| int Hellion::spawnflags = TUR_FLAG_SPLASH | TUR_FLAG_FASTPROJ | TUR_FLAG_PLAYER | TUR_FLAG_MISSILE |
Definition at line 6 of file hellion.qh.