Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
heal.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/mutator/nades/nades.qh
>
4
5
#ifdef SVQC
6
bool
autocvar_g_nades_heal
=
true
;
7
float
autocvar_g_nades_heal_time
;
8
float
autocvar_g_nades_heal_rate
;
9
float
autocvar_g_nades_heal_friend
;
10
float
autocvar_g_nades_heal_foe
;
11
12
void
nade_heal_boom
(
entity
this
);
13
#endif
// SVQC
14
15
const
int
PROJECTILE_NADE_HEAL
= 80;
16
const
int
PROJECTILE_NADE_HEAL_BURN
= 81;
17
18
CLASS
(
HealNade
,
Nade
)
19
ATTRIB
(
HealNade
,
m_color
,
vector
, '1 0 0');
20
ATTRIB
(
HealNade
,
m_name
,
string
, _(
"Heal grenade"
));
21
ATTRIB
(
HealNade
,
m_icon
,
string
,
"nade_heal"
);
22
ATTRIB
(
HealNade
,
netname
,
string
,
"heal"
);
23
ATTRIB
(
HealNade
,
impulse
,
int
, 6);
24
ENDCLASS
(
HealNade
)
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
HealNade
Definition
heal.qh:18
HealNade::netname
string netname
Definition
heal.qh:22
HealNade::m_color
vector m_color
Definition
heal.qh:19
HealNade::m_name
string m_name
Definition
heal.qh:20
HealNade::m_icon
string m_icon
Definition
heal.qh:21
HealNade::impulse
int impulse
Definition
heal.qh:23
Nade
Definition
nades.qh:14
PROJECTILE_NADE_HEAL_BURN
const int PROJECTILE_NADE_HEAL_BURN
Definition
heal.qh:16
autocvar_g_nades_heal_friend
float autocvar_g_nades_heal_friend
Definition
heal.qh:9
autocvar_g_nades_heal_time
float autocvar_g_nades_heal_time
Definition
heal.qh:7
autocvar_g_nades_heal_rate
float autocvar_g_nades_heal_rate
Definition
heal.qh:8
nade_heal_boom
void nade_heal_boom(entity this)
Definition
heal.qc:34
autocvar_g_nades_heal
bool autocvar_g_nades_heal
Definition
heal.qh:6
PROJECTILE_NADE_HEAL
const int PROJECTILE_NADE_HEAL
Definition
heal.qh:15
autocvar_g_nades_heal_foe
float autocvar_g_nades_heal_foe
Definition
heal.qh:10
nades.qh
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
ATTRIB
#define ATTRIB(...)
Definition
oo.qh:148
vector
vector
Definition
self.qh:92
common
mutators
mutator
nades
nade
heal.qh
Generated on
for Xonotic QuakeC by
1.14.0