3 #include "hellion_weapon.qh"
6 /* spawnflags */ ATTRIB(Hellion, spawnflags, int, TUR_FLAG_SPLASH | TUR_FLAG_FASTPROJ | TUR_FLAG_PLAYER | TUR_FLAG_MISSILE);
7 /* mins */ ATTRIB(Hellion, m_mins, vector, '-32 -32 0');
8 /* maxs */ ATTRIB(Hellion, m_maxs, vector, '32 32 64');
9 /* modelname */ ATTRIB(Hellion, mdl, string, "base.md3");
10 /* model */ ATTRIB_STRZONE(Hellion, model, string, strcat("models/turrets/", this.mdl));
11 /* head_model */ ATTRIB_STRZONE(Hellion, head_model, string, strcat("models/turrets/", "hellion.md3"));
12 /* netname */ ATTRIB(Hellion, netname, string, "hellion");
13 /* fullname */ ATTRIB(Hellion, turret_name, string, _("Hellion Missile Turret"));
14 ATTRIB(Hellion, m_weapon, Weapon, WEP_HELLION);
16 #define X(BEGIN, P, END, class, prefix) \
18 P(class, prefix, aim_firetolerance_dist, float) \
19 P(class, prefix, aim_maxpitch, float) \
20 P(class, prefix, aim_maxrot, float) \
21 P(class, prefix, aim_speed, float) \
22 P(class, prefix, ammo, float) \
23 P(class, prefix, ammo_max, float) \
24 P(class, prefix, ammo_recharge, float) \
25 P(class, prefix, health, float) \
26 P(class, prefix, respawntime, float) \
27 P(class, prefix, shot_dmg, float) \
28 P(class, prefix, shot_force, float) \
29 P(class, prefix, shot_radius, float) \
30 P(class, prefix, shot_refire, float) \
31 P(class, prefix, shot_speed, float) \
32 P(class, prefix, shot_speed_gain, float) \
33 P(class, prefix, shot_speed_max, float) \
34 P(class, prefix, shot_spread, float) \
35 P(class, prefix, shot_volly, float) \
36 P(class, prefix, shot_volly_refire, float) \
37 P(class, prefix, target_range, float) \
38 P(class, prefix, target_range_min, float) \
39 P(class, prefix, target_range_optimal, float) \
40 P(class, prefix, target_select_anglebias, float) \
41 P(class, prefix, target_select_missilebias, float) \
42 P(class, prefix, target_select_playerbias, float) \
43 P(class, prefix, target_select_rangebias, float) \
44 P(class, prefix, target_select_samebias, float) \
45 P(class, prefix, track_accel_pitch, float) \
46 P(class, prefix, track_accel_rot, float) \
47 P(class, prefix, track_blendrate, float) \
48 P(class, prefix, track_type, float) \
50 TR_PROPS(X, Hellion, hellion)
54 REGISTER_TURRET(HELLION, NEW(Hellion));