Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
bash.qh
Go to the documentation of this file.
1#pragma once
2
4
5#ifdef SVQC
8
11#endif // SVQC
12
14 ATTRIB(BashBuff, m_name, string, _("Bash"));
15 ATTRIB(BashBuff, netname, string, "bash");
16#ifndef SVQC
17 ATTRIB(BashBuff, m_icon, string, "buff_bash");
18#endif
19#ifdef GAMEQC
21#endif
22 ATTRIB(BashBuff, m_color, vector, '1 0.39 0');
24
26BUFF_SPAWNFUNCS(bash, BUFF_BASH)
27BUFF_SPAWNFUNC_Q3COMPAT(item_scout, BUFF_BASH)
float autocvar_g_buffs_bash_force
Definition bash.qh:6
vector buff_Bash_AttackerCalculateForce(vector frag_force, entity frag_target, entity frag_attacker)
Definition bash.qc:10
vector buff_Bash_TargetCalculateForce(vector frag_force, entity frag_target, entity frag_attacker)
Definition bash.qc:4
float autocvar_g_buffs_bash_force_self
Definition bash.qh:7
#define BUFF_SPAWNFUNC_Q3COMPAT(o, r)
Definition buffs.qh:78
#define REGISTER_BUFF(id, inst)
Definition buffs.qh:14
#define BUFF_SPAWNFUNCS(e, b)
Definition buffs.qh:72
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string netname
Definition bash.qh:15
string m_name
Definition bash.qh:14
vector m_color
Definition bash.qh:22
int m_skin
Definition bash.qh:20
Definition buffs.qh:17
ATTRIB(StatusEffect, m_name, string)
#define NEW(cname,...)
Definition oo.qh:117
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define ATTRIB(...)
Definition oo.qh:148
vector
Definition self.qh:92
vector frag_force
Definition sv_ctf.qc:2323
entity frag_target
Definition sv_ctf.qc:2321