3 CLASS(OverkillShotgun, Weapon)
4 /* spawnfunc */ ATTRIB(OverkillShotgun, m_canonical_spawnfunc, string, "weapon_okshotgun");
5 /* ammotype */ ATTRIB(OverkillShotgun, ammo_type, Resource, RES_SHELLS);
6 /* impulse */ ATTRIB(OverkillShotgun, impulse, int, 2);
7 /* flags */ ATTRIB(OverkillShotgun, spawnflags, int, WEP_FLAG_HIDDEN | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN | WEP_FLAG_MUTATORBLOCKED);
8 /* rating */ ATTRIB(OverkillShotgun, bot_pickupbasevalue, float, 6000);
9 /* color */ ATTRIB(OverkillShotgun, wpcolor, vector, '0.5 0.25 0');
10 /* modelname */ ATTRIB(OverkillShotgun, mdl, string, "ok_shotgun");
12 /* model */ ATTRIB(OverkillShotgun, m_model, Model, MDL_OK_SHOTGUN_ITEM);
14 /* crosshair */ ATTRIB(OverkillShotgun, w_crosshair, string, "gfx/crosshairshotgun");
15 /* crosshair */ ATTRIB(OverkillShotgun, w_crosshair_size, float, 0.65);
16 /* wepimg */ ATTRIB(OverkillShotgun, model2, string, "ok_weapon_shotgun");
17 /* refname */ ATTRIB(OverkillShotgun, netname, string, "okshotgun");
18 /* wepname */ ATTRIB(OverkillShotgun, m_name, string, _("Overkill Shotgun"));
20 #define X(BEGIN, P, END, class, prefix) \
22 P(class, prefix, ammo, float, PRI) \
23 P(class, prefix, animtime, float, PRI) \
24 P(class, prefix, bot_range, float, PRI) \
25 P(class, prefix, bullets, float, PRI) \
26 P(class, prefix, damage, float, PRI) \
27 P(class, prefix, damagefalloff_forcehalflife, float, PRI) \
28 P(class, prefix, damagefalloff_halflife, float, PRI) \
29 P(class, prefix, damagefalloff_maxdist, float, PRI) \
30 P(class, prefix, damagefalloff_mindist, float, PRI) \
31 P(class, prefix, force, float, PRI) \
32 P(class, prefix, refire, float, PRI) \
33 P(class, prefix, solidpenetration, float, PRI) \
34 P(class, prefix, spread, float, PRI) \
35 P(class, prefix, spread_pattern, float, PRI) \
36 P(class, prefix, spread_pattern_scale, float, PRI) \
37 P(class, prefix, refire_type, float, SEC) \
38 P(class, prefix, reload_ammo, float, NONE) \
39 P(class, prefix, reload_time, float, NONE) \
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, OverkillShotgun, okshotgun)
50 ENDCLASS(OverkillShotgun)
51 REGISTER_WEAPON(OVERKILL_SHOTGUN, NEW(OverkillShotgun));
53 //SPAWNFUNC_WEAPON(weapon_okshotgun, WEP_OVERKILL_SHOTGUN)