/* rating */ BOT_PICKUP_RATING_MID,
/* color */ '0 1 0',
/* modelname */ "tuba",
-/* simplemdl */ "foobar",
+/* model */ MDL_TUBA_ITEM,
/* crosshair */ "gfx/crosshairtuba",
/* wepimg */ "weapontuba",
/* refname */ "tuba",
}
}
-bool W_Tuba(int req)
+bool W_Tuba(entity thiswep, int req)
{SELFPARAM();
switch(req)
{
}
case WR_INIT:
{
- precache_model(W_Model("g_tuba.md3"));
- precache_model(W_Model("v_tuba.md3"));
- precache_model(W_Model("h_tuba.iqm"));
- precache_model(W_Model("v_akordeon.md3"));
- precache_model(W_Model("h_akordeon.iqm"));
- precache_model(W_Model("v_kleinbottle.md3"));
- precache_model(W_Model("h_kleinbottle.iqm"));
TUBA_SETTINGS(WEP_SKIP_CVAR, WEP_SET_PROP);
return true;
}
}
#endif
#ifdef CSQC
-bool W_Tuba(int req)
+bool W_Tuba(entity thiswep, int req)
{SELFPARAM();
// nothing to do here; particles of tuba are handled differently
// WEAPONTODO