#ifdef REGISTER_WEAPON
REGISTER_WEAPON(TUBA, w_tuba, 0, 1, WEP_FLAG_HIDDEN | WEP_TYPE_SPLASH, BOT_PICKUP_RATING_MID, "tuba", "tuba", "@!#%'n Tuba");
#else
+#ifdef SVQC
//#define TUBA_NOTE(n) strcat("weapons/tuba_note", ftos(n), ".wav")
.float tuba_notecount;
.entity tuba_note;
{
precache_model ("models/weapons/g_tuba.md3");
precache_model ("models/weapons/v_tuba.md3");
- precache_model ("models/weapons/h_tuba.dpm");
+ precache_model ("models/weapons/h_tuba.iqm");
//float i;
//for(i = -18; i <= +27; ++i)
return TRUE;
};
#endif
+#ifdef CSQC
+float w_tuba(float req)
+{
+ if(req == WR_IMPACTEFFECT)
+ {
+ // nothing to do here; particles of tuba are handled differently
+ }
+ else if(req == WR_PRECACHE)
+ {
+ // nothing to do
+ }
+ return TRUE;
+}
+#endif
+#endif