Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
plasma_dual.qh
Go to the documentation of this file.
1#pragma once
2
3#include "plasma_weapon.qh"
4
7/* refname */ ATTRIB(PlasmaDualAttack, netname, string, "turret_plasma_dual");
8/* wepname */ ATTRIB(PlasmaDualAttack, m_name, string, _("Dual plasma"));
11
13#ifdef GAMEQC
15/* mins */ ATTRIB(DualPlasmaTurret, m_mins, vector, '-32 -32 0');
16/* maxs */ ATTRIB(DualPlasmaTurret, m_maxs, vector, '32 32 64');
17/* modelname */ ATTRIB(DualPlasmaTurret, mdl, string, "base.md3");
18/* model */ ATTRIB_STRZONE(DualPlasmaTurret, model, string, strcat("models/turrets/", this.mdl));
19/* head_model */ ATTRIB_STRZONE(DualPlasmaTurret, head_model, string, strcat("models/turrets/", "plasmad.md3"));
20#endif
21/* netname */ ATTRIB(DualPlasmaTurret, netname, string, "plasma_dual");
22/* fullname */ ATTRIB(DualPlasmaTurret, m_name, string, _("Dual Plasma Cannon"));
23#ifdef SVQC
24/* weapon */ ATTRIB(DualPlasmaTurret, m_weapon, Weapon, WEP_PLASMA_DUAL);
25#endif
26
27#define X(BEGIN, P, END, class, prefix) \
28 BEGIN(class) \
29 TR_PROPS_COMMON(P, class, prefix) \
30 END()
31 TR_PROPS(X, DualPlasmaTurret, plasma_dual)
32#undef X
33
fields which are explicitly/manually set are marked with "M", fields set automatically are marked wit...
Definition weapon.qh:42
ATTRIB(Weapon, m_canonical_spawnfunc, string)
the canonical spawnfunc name
#define X()
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))
#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
#define ATTRIB_STRZONE(cname, name, type, val)
Definition oo.qh:252
vector
Definition self.qh:92
const int TUR_FLAG_PLAYER
can damage players
Definition turret.qh:146
const int TUR_FLAG_SPLASH
can deal splash damage
Definition turret.qh:139
const int TUR_FLAG_MEDPROJ
turret fires medium projectiles
Definition turret.qh:144
#define TR_PROPS(L, class, prefix)
Definition all.qh:44
#define REGISTER_TURRET(id, inst)
Definition all.qh:119
#define REGISTER_WEAPON(id, inst)
Definition all.qh:136
const int WEP_FLAG_HIDDEN
Definition weapon.qh:258
const int WEP_FLAG_SPECIALATTACK
Definition weapon.qh:269