Xonotic
spawnshield.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/mutator/status_effects/all.qh
>
4
5
CLASS
(
SpawnShield
,
StatusEffects
)
6
ATTRIB
(
SpawnShield
,
netname
,
string
, "spawnshield");
7
#if 0
8
// NOTE: status effect name and icon disabled as they are not displayed
9
// re-enable if status effects are given a visual element
10
ATTRIB
(SpawnShield,
m_name
,
string
, _(
"Spawn Shield"
));
11
ATTRIB
(SpawnShield, m_icon,
string
,
"shield"
);
12
#endif
13
ATTRIB
(SpawnShield, m_color,
vector
,
'0.36 1 0.07'
);
14
ATTRIB
(SpawnShield, m_hidden,
bool
,
true
);
15
ATTRIB
(SpawnShield, m_lifetime,
float
, 10);
16
ENDCLASS
(SpawnShield)
17
REGISTER_STATUSEFFECT
(SpawnShield,
NEW
(SpawnShield));
REGISTER_STATUSEFFECT
REGISTER_STATUSEFFECT(SpawnShield, NEW(SpawnShield))
NEW
#define NEW(cname,...)
Definition:
oo.qh:105
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
netname
string netname
Definition:
powerups.qc:20
all.qh
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
StatusEffects
Definition:
all.qh:30
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
SpawnShield
Definition:
spawnshield.qh:5
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
m_name
string m_name
Definition:
scores.qh:135
common
mutators
mutator
status_effects
status_effect
spawnshield.qh
Generated on Thu Mar 17 2022 17:26:28 for Xonotic by
1.8.13