precache_sound ("weapons/grabber_fire.wav"); // grabber\r
precache_sound ("weapons/grabber_altfire.wav"); // grabber\r
precache_sound ("weapons/grabber_impact.wav"); // grabber\r
- precache_sound ("weapons/stomachkick.wav");\r
+\r
+ float i;\r
+ for(i = 0; i < 8; i += 1)\r
+ precache_sound (strcat("weapons/hit", ftos(i), ".wav"));\r
\r
if (cvar("sv_precacheweapons"))\r
{\r
damage = ceil(random() * (cvar("g_balance_vore_kick_damage_max") - cvar("g_balance_vore_kick_damage_min")) + cvar("g_balance_vore_kick_damage_min"));\r
\r
Damage(self.predator, self, self, damage, DEATH_STOMACHKICK, self.predator.origin, v_forward * cvar("g_balance_vore_kick_force"));\r
- sound(self.predator, CHAN_PROJECTILE, "weapons/stomachkick.wav", VOL_BASE, ATTN_NORM);\r
+ sound(self.predator, CHAN_PROJECTILE, strcat("weapons/hit", ftos(floor(random() * 8)), ".wav"), VOL_BASE, ATTN_NORM);\r
self.predator.punchangle_x -= cvar("g_balance_vore_kick_predator_punchangle");\r
self.punchangle_x += cvar("g_balance_vore_kick_prey_punchangle");\r
\r