]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Add some better stomach kick sounds. Much better >:)
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 7 Jul 2011 20:37:32 +0000 (23:37 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 7 Jul 2011 20:37:32 +0000 (23:37 +0300)
12 files changed:
data/qcsrc/server/miscfunctions.qc
data/qcsrc/server/vore.qc
data/sound/weapons/hit0.wav [new file with mode: 0644]
data/sound/weapons/hit1.wav [new file with mode: 0644]
data/sound/weapons/hit2.wav [new file with mode: 0644]
data/sound/weapons/hit3.wav [new file with mode: 0644]
data/sound/weapons/hit4.wav [new file with mode: 0644]
data/sound/weapons/hit5.wav [new file with mode: 0644]
data/sound/weapons/hit6.wav [new file with mode: 0644]
data/sound/weapons/hit7.wav [new file with mode: 0644]
data/sound/weapons/stomachkick.ogg [deleted file]
data/voretournament-credits.txt

index 3a053c192f4d86984426745807d76f0c837af5eb..245d0a08c8bcb6ea089e775d816c22319f4e9263 100644 (file)
@@ -1446,7 +1446,10 @@ void precache()
     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
index 0b0e01cd115677bd1d5fa31959204123b95d9f1c..498376c413e5e3b991d03ad03541424a8effc767 100644 (file)
@@ -425,7 +425,7 @@ void Vore_StomachKick()
                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
diff --git a/data/sound/weapons/hit0.wav b/data/sound/weapons/hit0.wav
new file mode 100644 (file)
index 0000000..a34d5dc
Binary files /dev/null and b/data/sound/weapons/hit0.wav differ
diff --git a/data/sound/weapons/hit1.wav b/data/sound/weapons/hit1.wav
new file mode 100644 (file)
index 0000000..a3efa18
Binary files /dev/null and b/data/sound/weapons/hit1.wav differ
diff --git a/data/sound/weapons/hit2.wav b/data/sound/weapons/hit2.wav
new file mode 100644 (file)
index 0000000..5ffaf34
Binary files /dev/null and b/data/sound/weapons/hit2.wav differ
diff --git a/data/sound/weapons/hit3.wav b/data/sound/weapons/hit3.wav
new file mode 100644 (file)
index 0000000..6f11240
Binary files /dev/null and b/data/sound/weapons/hit3.wav differ
diff --git a/data/sound/weapons/hit4.wav b/data/sound/weapons/hit4.wav
new file mode 100644 (file)
index 0000000..598e06d
Binary files /dev/null and b/data/sound/weapons/hit4.wav differ
diff --git a/data/sound/weapons/hit5.wav b/data/sound/weapons/hit5.wav
new file mode 100644 (file)
index 0000000..bb74e1b
Binary files /dev/null and b/data/sound/weapons/hit5.wav differ
diff --git a/data/sound/weapons/hit6.wav b/data/sound/weapons/hit6.wav
new file mode 100644 (file)
index 0000000..f041c4a
Binary files /dev/null and b/data/sound/weapons/hit6.wav differ
diff --git a/data/sound/weapons/hit7.wav b/data/sound/weapons/hit7.wav
new file mode 100644 (file)
index 0000000..f35118d
Binary files /dev/null and b/data/sound/weapons/hit7.wav differ
diff --git a/data/sound/weapons/stomachkick.ogg b/data/sound/weapons/stomachkick.ogg
deleted file mode 100644 (file)
index 5f39efa..0000000
Binary files a/data/sound/weapons/stomachkick.ogg and /dev/null differ
index 359ae6ba1c3a2cde548e4f41093e5e8050d16eeb..7d502df7beb0673112c057f334d15c9d24dc4328 100644 (file)
@@ -183,6 +183,11 @@ http://www.opengameart.org/content/so-thats-coming-along
 bart\r
 http://www.opengameart.org/user/1\r
 \r
+*37 hits/punches\r
+http://opengameart.org/content/37-hitspunches\r
+Independent.nu\r
+N/A\r
+\r
 **---------------- Music: ----------------\r
 \r
 *Space Walk\r