]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/turret/hellion.qh
Fix #2199 "sv_cmd dumpturrets doesn't work". The new implementation is similar to...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret / hellion.qh
index 216b4c7ec18f00e13304a99ed5e477f73db2be79..83556ebc52eed52e2c8a94beb57cfc1b14a32989 100644 (file)
@@ -12,5 +12,43 @@ CLASS(Hellion, Turret)
 /* netname    */ ATTRIB(Hellion, netname, string, "hellion");
 /* fullname   */ ATTRIB(Hellion, turret_name, string, _("Hellion Missile Turret"));
     ATTRIB(Hellion, m_weapon, Weapon, WEP_HELLION);
+
+#define X(BEGIN, P, END, class, prefix) \
+       BEGIN(class) \
+               P(class, prefix, aim_firetolerance_dist, float) \
+               P(class, prefix, aim_maxpitch, float) \
+               P(class, prefix, aim_maxrot, float) \
+               P(class, prefix, aim_speed, float) \
+               P(class, prefix, ammo, float) \
+               P(class, prefix, ammo_max, float) \
+               P(class, prefix, ammo_recharge, float) \
+               P(class, prefix, health, float) \
+               P(class, prefix, respawntime, float) \
+               P(class, prefix, shot_dmg, float) \
+               P(class, prefix, shot_force, float) \
+               P(class, prefix, shot_radius, float) \
+               P(class, prefix, shot_refire, float) \
+               P(class, prefix, shot_speed, float) \
+               P(class, prefix, shot_speed_gain, float) \
+               P(class, prefix, shot_speed_max, float) \
+               P(class, prefix, shot_spread, float) \
+               P(class, prefix, shot_volly, float) \
+               P(class, prefix, shot_volly_refire, float) \
+               P(class, prefix, target_range, float) \
+               P(class, prefix, target_range_min, float) \
+               P(class, prefix, target_range_optimal, float) \
+               P(class, prefix, target_select_anglebias, float) \
+               P(class, prefix, target_select_missilebias, float) \
+               P(class, prefix, target_select_playerbias, float) \
+               P(class, prefix, target_select_rangebias, float) \
+               P(class, prefix, target_select_samebias, float) \
+               P(class, prefix, track_accel_pitch, float) \
+               P(class, prefix, track_accel_rot, float) \
+               P(class, prefix, track_blendrate, float) \
+               P(class, prefix, track_type, float) \
+       END()
+       TR_PROPS(X, Hellion, hellion)
+#undef X
+
 ENDCLASS(Hellion)
 REGISTER_TURRET(HELLION, NEW(Hellion));