Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
tesla.qh
Go to the documentation of this file.
1#pragma once
2
3#include "tesla_weapon.qh"
4
7/* mins */ ATTRIB(TeslaCoil, m_mins, vector, '-60 -60 0');
8/* maxs */ ATTRIB(TeslaCoil, m_maxs, vector, '60 60 128');
9/* modelname */ ATTRIB(TeslaCoil, mdl, string, "tesla_base.md3");
10/* model */ ATTRIB_STRZONE(TeslaCoil, model, string, strcat("models/turrets/", this.mdl));
11/* head_model */ ATTRIB_STRZONE(TeslaCoil, head_model, string, strcat("models/turrets/", "tesla_head.md3"));
12/* netname */ ATTRIB(TeslaCoil, netname, string, "tesla");
13/* fullname */ ATTRIB(TeslaCoil, m_name, string, _("Tesla Coil"));
15
16#define X(BEGIN, P, END, class, prefix) \
17 BEGIN(class) \
18 TR_PROPS_COMMON(P, class, prefix) \
19 END()
20 TR_PROPS(X, TeslaCoil, tesla)
21#undef X
22
string netname
Definition tesla.qh:12
string model
Definition tesla.qh:10
vector m_maxs
Definition tesla.qh:8
string mdl
Definition tesla.qh:9
string head_model
Definition tesla.qh:11
vector m_mins
Definition tesla.qh:7
string m_name
Definition tesla.qh:13
Weapon m_weapon
Definition tesla.qh:14
int spawnflags
Definition tesla.qh:6
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
#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_HITSCAN
Definition turret.qh:139
const int TUR_FLAG_MISSILE
Definition turret.qh:146
const int TUR_FLAG_PLAYER
Definition turret.qh:145
#define TR_PROPS(L, class, prefix)
Definition all.qh:44
#define REGISTER_TURRET(id, inst)
Definition all.qh:119