Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
stunned.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/mutator/status_effects/all.qh
>
4
5
#ifdef GAMEQC
6
SOUND
(Stunned_Remove,
"onslaught/ons_spark1"
);
7
#endif
8
CLASS
(
Stunned
,
StatusEffect
)
9
ATTRIB
(
Stunned
,
netname
,
string
,
"stunned"
);
10
#if 0
11
// NOTE: status effect name and icon disabled as they are not displayed
12
// re-enable if status effects are given a visual element
13
ATTRIB
(
Stunned
,
m_name
,
string
, _(
"Stunned"
));
14
ATTRIB
(
Stunned
, m_icon,
string
,
"buff_disability"
);
15
#endif
16
ATTRIB
(
Stunned
,
m_color
,
vector
,
'0.67 0.84 1'
);
17
ATTRIB
(
Stunned
,
m_hidden
,
bool
,
true
);
18
ATTRIB
(
Stunned
,
m_lifetime
,
float
, 10);
19
#ifdef GAMEQC
20
ATTRIB
(
Stunned
,
m_sound_rm
,
Sound
, SND_Stunned_Remove);
21
#endif
22
ENDCLASS
(
Stunned
)
23
REGISTER_STATUSEFFECT
(
Stunned
,
NEW
(
Stunned
));
Sound
Definition
sound.qh:119
StatusEffect
Definition
all.qh:33
StatusEffect::ATTRIB
ATTRIB(StatusEffect, m_name, string)
Stunned
Definition
stunned.qh:8
Stunned::netname
string netname
Definition
stunned.qh:9
Stunned::m_sound_rm
Sound m_sound_rm
Definition
stunned.qh:20
Stunned::m_lifetime
float m_lifetime
Definition
stunned.qh:18
Stunned::m_hidden
bool m_hidden
Definition
stunned.qh:17
Stunned::m_color
vector m_color
Definition
stunned.qh:16
m_name
string m_name
Definition
scores.qh:142
all.qh
REGISTER_STATUSEFFECT
#define REGISTER_STATUSEFFECT(id, inst)
Definition
all.qh:12
NEW
#define NEW(cname,...)
Definition
oo.qh:120
CLASS
#define CLASS(...)
Definition
oo.qh:149
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:286
ATTRIB
#define ATTRIB(...)
Definition
oo.qh:152
vector
vector
Definition
self.qh:96
SOUND
#define SOUND(name, path)
Definition
all.qh:30
common
mutators
mutator
status_effects
status_effect
stunned.qh
Generated on
for Xonotic QuakeC by
1.16.1