diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-03-31 14:15:48 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-03-31 14:22:02 +0200 |
commit | 6e7cdc271d9283da9543bc23f73f460375f17b58 (patch) | |
tree | a734bf60a02b43cd1d40dff3ca47e0f4955e23b9 | |
parent | 023ee0eb8bcff377a7abc8333892ea6141ddd6f5 (diff) |
Some new original sounds
-rw-r--r-- | sound/player/human_base/death1_shitware.wav | bin | 0 -> 26480 bytes | |||
-rw-r--r-- | sound/player/human_base/death2_shitware.wav | bin | 0 -> 26744 bytes | |||
-rw-r--r-- | sound/player/human_base/death3_shitware.wav | bin | 0 -> 43970 bytes | |||
-rw-r--r-- | sound/player/human_base/taunt_shitware.wav | bin | 0 -> 126876 bytes | |||
-rw-r--r-- | src/cgame/cg_main.c | 7 |
5 files changed, 6 insertions, 1 deletions
diff --git a/sound/player/human_base/death1_shitware.wav b/sound/player/human_base/death1_shitware.wav Binary files differnew file mode 100644 index 0000000..ba0e7f0 --- /dev/null +++ b/sound/player/human_base/death1_shitware.wav diff --git a/sound/player/human_base/death2_shitware.wav b/sound/player/human_base/death2_shitware.wav Binary files differnew file mode 100644 index 0000000..efc2cc2 --- /dev/null +++ b/sound/player/human_base/death2_shitware.wav diff --git a/sound/player/human_base/death3_shitware.wav b/sound/player/human_base/death3_shitware.wav Binary files differnew file mode 100644 index 0000000..a3f9173 --- /dev/null +++ b/sound/player/human_base/death3_shitware.wav diff --git a/sound/player/human_base/taunt_shitware.wav b/sound/player/human_base/taunt_shitware.wav Binary files differnew file mode 100644 index 0000000..0f26a3d --- /dev/null +++ b/sound/player/human_base/taunt_shitware.wav diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 27b4ebd..4150632 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -2228,7 +2228,12 @@ sfxHandle_t trap_S_RegisterSound( const char *sample, qboolean compressed ); struct { char *to, *from; } replacements[ ] = { - { "sound/player/level0/taunt.wav", "models/weapons/rifle/flash0.wav" }, + /* Clients cache sounds, so new files need to have different paths to get + a live reload to work properly. */ + { "sound/player/human_base/death1_shitware.wav", "sound/player/human_base/death1.wav" }, + { "sound/player/human_base/death2_shitware.wav", "sound/player/human_base/death2.wav" }, + { "sound/player/human_base/death3_shitware.wav", "sound/player/human_base/death3.wav" }, + { "sound/player/human_base/taunt_shitware.wav", "sound/player/human_base/taunt.wav" }, }; int num_replacements = sizeof( replacements ) / sizeof( replacements[ 0 ] ); |