4 /* spawnfunc */ ATTRIB(HLAC, m_canonical_spawnfunc, string, "weapon_hlac");
5 /* ammotype */ ATTRIB(HLAC, ammo_type, int, RESOURCE_CELLS);
6 /* impulse */ ATTRIB(HLAC, impulse, int, 6);
7 /* flags */ ATTRIB(HLAC, spawnflags, int, WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH);
8 /* rating */ ATTRIB(HLAC, bot_pickupbasevalue, float, 4000);
9 /* color */ ATTRIB(HLAC, wpcolor, vector, '0 1 0');
10 /* modelname */ ATTRIB(HLAC, mdl, string, "hlac");
12 /* model */ ATTRIB(HLAC, m_model, Model, MDL_HLAC_ITEM);
14 /* crosshair */ ATTRIB(HLAC, w_crosshair, string, "gfx/crosshairhlac");
15 /* crosshair */ ATTRIB(HLAC, w_crosshair_size, float, 0.6);
16 /* wepimg */ ATTRIB(HLAC, model2, string, "weaponhlac");
17 /* refname */ ATTRIB(HLAC, netname, string, "hlac");
18 /* wepname */ ATTRIB(HLAC, m_name, string, _("Heavy Laser Assault Cannon"));
20 #define X(BEGIN, P, END, class, prefix) \
22 P(class, prefix, ammo, float, BOTH) \
23 P(class, prefix, animtime, float, BOTH) \
24 P(class, prefix, damage, float, BOTH) \
25 P(class, prefix, edgedamage, float, BOTH) \
26 P(class, prefix, force, float, BOTH) \
27 P(class, prefix, lifetime, float, BOTH) \
28 P(class, prefix, radius, float, BOTH) \
29 P(class, prefix, refire, float, BOTH) \
30 P(class, prefix, reload_ammo, float, NONE) \
31 P(class, prefix, reload_time, float, NONE) \
32 P(class, prefix, secondary, float, NONE) \
33 P(class, prefix, shots, float, SEC) \
34 P(class, prefix, speed, float, BOTH) \
35 P(class, prefix, spread, float, SEC) \
36 P(class, prefix, spread_add, float, PRI) \
37 P(class, prefix, spread_crouchmod, float, BOTH) \
38 P(class, prefix, spread_max, float, PRI) \
39 P(class, prefix, spread_min, float, PRI) \
40 P(class, prefix, switchdelay_drop, float, NONE) \
41 P(class, prefix, switchdelay_raise, float, NONE) \
42 P(class, prefix, weaponreplace, string,NONE) \
43 P(class, prefix, weaponstartoverride, float, NONE) \
44 P(class, prefix, weaponstart, float, NONE) \
45 P(class, prefix, weaponthrowable, float, NONE) \
47 W_PROPS(X, HLAC, hlac)
51 REGISTER_WEAPON(HLAC, hlac, NEW(HLAC));
53 SPAWNFUNC_WEAPON(weapon_hlac, WEP_HLAC)