3 CLASS(Vaporizer, Weapon)
4 /* spawnfunc */ ATTRIB(Vaporizer, m_canonical_spawnfunc, string, "weapon_vaporizer");
5 /* ammotype */ ATTRIB(Vaporizer, ammo_type, int, RESOURCE_CELLS);
6 /* impulse */ ATTRIB(Vaporizer, impulse, int, 7);
7 /* flags */ ATTRIB(Vaporizer, spawnflags, int, WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_FLAG_SUPERWEAPON | WEP_TYPE_HITSCAN | WEP_FLAG_NODUAL);
8 /* rating */ ATTRIB(Vaporizer, bot_pickupbasevalue, float, 10000);
9 /* color */ ATTRIB(Vaporizer, wpcolor, vector, '0.5 1 1');
10 /* modelname */ ATTRIB(Vaporizer, mdl, string, "minstanex");
12 /* model */ ATTRIB(Vaporizer, m_model, Model, MDL_VAPORIZER_ITEM);
14 /* crosshair */ ATTRIB(Vaporizer, w_crosshair, string, "gfx/crosshairminstanex");
15 /* crosshair */ ATTRIB(Vaporizer, w_crosshair_size, float, 0.6);
16 /* reticle */ ATTRIB(Vaporizer, w_reticle, string, "gfx/reticle_nex");
17 /* wepimg */ ATTRIB(Vaporizer, model2, string, "weaponminstanex");
18 /* refname */ ATTRIB(Vaporizer, netname, string, "vaporizer");
19 /* wepname */ ATTRIB(Vaporizer, m_name, string, _("Vaporizer"));
21 #define X(BEGIN, P, END, class, prefix) \
23 P(class, prefix, ammo, float, PRI) \
24 P(class, prefix, animtime, float, PRI) \
25 P(class, prefix, damage, float, PRI) \
26 P(class, prefix, refire, float, PRI) \
27 P(class, prefix, ammo, float, SEC) \
28 P(class, prefix, animtime, float, SEC) \
29 P(class, prefix, damage, float, SEC) \
30 P(class, prefix, delay, float, SEC) \
31 P(class, prefix, edgedamage, float, SEC) \
32 P(class, prefix, force, float, SEC) \
33 P(class, prefix, lifetime, float, SEC) \
34 P(class, prefix, radius, float, SEC) \
35 P(class, prefix, refire, float, SEC) \
36 P(class, prefix, shotangle, float, SEC) \
37 P(class, prefix, speed, float, SEC) \
38 P(class, prefix, spread, float, SEC) \
39 P(class, prefix, reload_ammo, float, NONE) \
40 P(class, prefix, reload_time, float, NONE) \
41 P(class, prefix, switchdelay_raise, float, NONE) \
42 P(class, prefix, switchdelay_drop, float, NONE) \
43 P(class, prefix, weaponreplace, string, NONE) \
44 P(class, prefix, weaponstart, float, NONE) \
45 P(class, prefix, weaponstartoverride, float, NONE) \
46 P(class, prefix, weaponthrowable, float, NONE) \
48 W_PROPS(X, Vaporizer, vaporizer)
52 REGISTER_WEAPON(VAPORIZER, vaporizer, NEW(Vaporizer));
54 SPAWNFUNC_WEAPON(weapon_vaporizer, WEP_VAPORIZER)
55 SPAWNFUNC_WEAPON(weapon_minstanex, WEP_VAPORIZER)
58 .float vaporizer_lasthit;
60 .float jump_interval2;