Xonotic
|
Public Member Functions | |
ATTRIB (Weapon, m_canonical_spawnfunc, string) | |
the canonical spawnfunc name More... | |
ATTRIB (Weapon, m_pickup, entity) | |
virtual void | Weapon ::display () |
virtual void | Weapon ::m_spawnfunc_hookreplace () |
control what happens when this weapon is spawned More... | |
virtual void | Weapon ::wr_aim () |
(SERVER) runs bot aiming code for this weapon More... | |
virtual void | Weapon ::wr_checkammo1 () |
(SERVER) checks ammo for weapon primary More... | |
virtual void | Weapon ::wr_checkammo2 () |
(SERVER) checks ammo for weapon second More... | |
virtual void | Weapon ::wr_config () |
(SERVER) dump weapon cvars to config in data directory (see: sv_cmd dumpweapons) More... | |
virtual void | Weapon ::wr_drop () |
(SERVER) the weapon is dropped More... | |
virtual void | Weapon ::wr_glow () |
(BOTH) weapon specific glow More... | |
virtual void | Weapon ::wr_gonethink () |
(SERVER) logic to run when weapon is lost More... | |
virtual void | Weapon ::wr_impacteffect () |
(CLIENT) impact effect for weapon explosion More... | |
virtual void | Weapon ::wr_init () |
(BOTH) precaches models/sounds used by this weapon, also sets up weapon properties More... | |
virtual void | Weapon ::wr_killmessage () |
(SERVER) notification number for kill message (may inspect w_deathtype for details) More... | |
virtual void | Weapon ::wr_pickup () |
(SERVER) a weapon is picked up More... | |
virtual void | Weapon ::wr_playerdeath () |
(SERVER) called whenever a player dies More... | |
virtual void | Weapon ::wr_reload () |
(SERVER) handles reloading for weapon More... | |
virtual void | Weapon ::wr_resetplayer () |
(SERVER) clears fields that the weapon may use More... | |
virtual void | Weapon ::wr_setup () |
(SERVER) setup weapon data More... | |
virtual void | Weapon ::wr_suicidemessage () |
(SERVER) notification number for suicide message (may inspect w_deathtype for details) More... | |
virtual void | Weapon ::wr_think () |
(SERVER) logic to run every frame More... | |
virtual void | Weapon ::wr_update () |
(SERVER) update cvar based properties More... | |
virtual void | Weapon ::wr_viewmodel () |
(CLIENT) weapon specific view model More... | |
virtual void | Weapon ::wr_zoom () |
(BOTH) weapon specific zoom reticle More... | |
virtual void | Weapon ::wr_zoomdir () |
(CLIENT) check whether the weapon should zoom (special handling) More... | |
Public Attributes | |
Resource | ammo_type = RES_BULLETS |
float | bot_pickupbasevalue = 7000 |
int | impulse = 3 |
string | m_canonical_spawnfunc = "weapon_okmachinegun" |
int | m_id = 0 |
string | m_name = _("Overkill MachineGun") |
string | mdl = "ok_mg" |
string | model2 = "ok_weapon_smg" |
string | netname = "okmachinegun" |
int | spawnflags = WEP_FLAG_HIDDEN | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN | WEP_FLAG_PENETRATEWALLS | WEP_FLAG_MUTATORBLOCKED |
string | w_crosshair = "gfx/crosshairuzi" |
float | w_crosshair_size = 0.6 |
string | w_reticle = string_null |
A: reticle : per-weapon zoom reticle. More... | |
vector | wpcolor = '1 1 0' |
Definition at line 3 of file okmachinegun.qh.
|
inlinevirtualinherited |
Definition at line 127 of file weapon.qh.
References cvar_string(), ENDCLASS, entity(), m_name, string_null, and weapon_defaultspawnfunc().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
(CLIENT) weapon specific view model
Definition at line 118 of file weapon.qh.
References string_null.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Resource OverkillMachineGun::ammo_type = RES_BULLETS |
Definition at line 5 of file okmachinegun.qh.
float OverkillMachineGun::bot_pickupbasevalue = 7000 |
Definition at line 8 of file okmachinegun.qh.
int OverkillMachineGun::impulse = 3 |
Definition at line 6 of file okmachinegun.qh.
string OverkillMachineGun::m_canonical_spawnfunc = "weapon_okmachinegun" |
Definition at line 4 of file okmachinegun.qh.
|
inherited |
Definition at line 42 of file weapon.qh.
Referenced by accuracy_add(), client_hasweapon(), MUTATOR_HOOKFUNCTION(), PlayerDamage(), SpawnThrownWeapon(), TEST(), W_SwitchWeapon(), W_SwitchWeapon_Force(), W_ThrowWeapon(), and weapon_prepareattack_checkammo().
string OverkillMachineGun::m_name = _("Overkill MachineGun") |
Definition at line 20 of file okmachinegun.qh.
string OverkillMachineGun::mdl = "ok_mg" |
Definition at line 10 of file okmachinegun.qh.
string OverkillMachineGun::model2 = "ok_weapon_smg" |
Definition at line 18 of file okmachinegun.qh.
string OverkillMachineGun::netname = "okmachinegun" |
Definition at line 19 of file okmachinegun.qh.
int OverkillMachineGun::spawnflags = WEP_FLAG_HIDDEN | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN | WEP_FLAG_PENETRATEWALLS | WEP_FLAG_MUTATORBLOCKED |
Definition at line 7 of file okmachinegun.qh.
string OverkillMachineGun::w_crosshair = "gfx/crosshairuzi" |
Definition at line 16 of file okmachinegun.qh.
float OverkillMachineGun::w_crosshair_size = 0.6 |
Definition at line 17 of file okmachinegun.qh.
|
inherited |
A: reticle : per-weapon zoom reticle.
Definition at line 72 of file weapon.qh.
Referenced by DrawReticle().
vector OverkillMachineGun::wpcolor = '1 1 0' |
Definition at line 9 of file okmachinegun.qh.