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
14/* mins */ ATTRIB(DualPlasmaTurret, m_mins, vector, '-32 -32 0');
15/* maxs */ ATTRIB(DualPlasmaTurret, m_maxs, vector, '32 32 64');
16/* modelname */ ATTRIB(DualPlasmaTurret, mdl, string, "base.md3");
17/* model */ ATTRIB_STRZONE(DualPlasmaTurret, model, string, strcat("models/turrets/", this.mdl));
18/* head_model */ ATTRIB_STRZONE(DualPlasmaTurret, head_model, string, strcat("models/turrets/", "plasmad.md3"));
19/* netname */ ATTRIB(DualPlasmaTurret, netname, string, "plasma_dual");
20/* fullname */ ATTRIB(DualPlasmaTurret, m_name, string, _("Dual Plasma Cannon"));
22
23#define X(BEGIN, P, END, class, prefix) \
24 BEGIN(class) \
25 TR_PROPS_COMMON(P, class, prefix) \
26 END()
27 TR_PROPS(X, DualPlasmaTurret, plasma_dual)
28#undef X
29
ATTRIB(Turret, m_icon, string)
icon
fields which are explicitly/manually set are marked with "M", fields set automatically are marked wit...
Definition weapon.qh:44
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_STRZONE(cname, name, type, val)
Definition oo.qh:252
vector
Definition self.qh:92
entity this
Definition self.qh:72
const int TUR_FLAG_PLAYER
Definition turret.qh:145
const int TUR_FLAG_SPLASH
Definition turret.qh:138
const int TUR_FLAG_MEDPROJ
Definition turret.qh:143
#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:216
const int WEP_FLAG_SPECIALATTACK
Definition weapon.qh:227