32#define X(BEGIN, P, END, class, prefix) \
34 P(class, prefix, ammo, float, BOTH) \
35 P(class, prefix, animtime, float, BOTH) \
36 P(class, prefix, bullethail, float, BOTH) \
37 P(class, prefix, burstcost, float, BOTH) \
38 P(class, prefix, bursttime, float, NONE) \
39 P(class, prefix, damage, float, BOTH) \
40 P(class, prefix, damagefalloff_forcehalflife, float, BOTH) \
41 P(class, prefix, damagefalloff_halflife, float, BOTH) \
42 P(class, prefix, damagefalloff_maxdist, float, BOTH) \
43 P(class, prefix, damagefalloff_mindist, float, BOTH) \
44 P(class, prefix, force, float, BOTH) \
45 P(class, prefix, headshot_multiplier, float, BOTH) \
46 P(class, prefix, pickup_ammo, float, NONE) \
47 P(class, prefix, refire, float, BOTH) \
48 P(class, prefix, reload, float, SEC) \
49 P(class, prefix, reload_ammo, float, NONE) \
50 P(class, prefix, reload_time, float, NONE) \
51 P(class, prefix, secondary, float, NONE) \
52 P(class, prefix, shots, float, BOTH) \
53 P(class, prefix, solidpenetration, float, BOTH) \
54 P(class, prefix, spread, float, BOTH) \
55 P(class, prefix, switchdelay_drop, float, NONE) \
56 P(class, prefix, switchdelay_raise, float, NONE) \
57 P(class, prefix, tracer, float, BOTH) \
58 P(class, prefix, weaponreplace, string, NONE) \
59 P(class, prefix, weaponstartoverride, float, NONE) \
60 P(class, prefix, weaponstart, float, NONE) \
61 P(class, prefix, weaponthrowable, float, NONE) \
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
string m_canonical_spawnfunc
float bot_pickupbasevalue
fields which are explicitly/manually set are marked with "M", fields set automatically are marked wit...
ATTRIB(Weapon, m_canonical_spawnfunc, string)
the canonical spawnfunc name
string W_Model(string w_mdl)
#define MODEL(name, path)
string W_Sound(string w_snd)
#define SOUND(name, path)
#define W_PROPS(L, class, prefix)
#define REGISTER_WEAPON(id, inst)
const int WEP_FLAG_RELOADABLE
const int WEP_TYPE_HITSCAN
const int WEP_FLAG_MUTATORBLOCKED
#define SPAWNFUNC_WEAPON(name, weapon)
const int WEP_FLAG_PENETRATEWALLS