diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-03-31 14:39:39 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-03-31 14:39:39 +0200 |
commit | fc1917ad290a2c7e672302d3372b75fbbcfaf3df (patch) | |
tree | ea7e98a11a6b374031dca0bc705eeb7f0d88c1d0 /src | |
parent | 6e7cdc271d9283da9543bc23f73f460375f17b58 (diff) |
More garbage sound replacements
Diffstat (limited to 'src')
-rw-r--r-- | src/cgame/cg_main.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 4150632..194310e 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -2234,6 +2234,39 @@ struct { char *to, *from; } replacements[ ] = { "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" }, + + // Tyrant <-> Battlesuit + { "models/weapons/flamer/fireloop.wav", "sound/player/level4/charge_start.wav" }, + { "sound/player/human_bsuit/taunt.wav", "sound/player/level4/taunt.wav" }, + { "sound/player/human_bsuit/fall1.wav", "sound/player/level4/jump1.wav" }, + { "sound/player/human_bsuit/jump1.wav", "sound/player/level4/jump1.wav" }, + { "sound/player/human_bsuit/death1.wav", "sound/player/level4/death1.wav" }, + { "sound/player/human_bsuit/death2.wav", "sound/player/level4/death2.wav" }, + { "sound/player/human_bsuit/death3.wav", "sound/player/level4/death3.wav" }, + { "sound/player/human_bsuit/pain25_1.wav", "sound/player/level4/pain25_1.wav" }, + { "sound/player/human_bsuit/pain50_1.wav", "sound/player/level4/pain50_1.wav" }, + { "sound/player/human_bsuit/pain75_1.wav", "sound/player/level4/pain75_1.wav" }, + { "sound/player/human_bsuit/pain100_1.wav", "sound/player/level4/pain100_1.wav" }, + + // Dragoon <-> Acid tube + { "sound/player/level3/taunt.wav", "sound/buildables/acid_tube/construct1.wav" }, + { "sound/player/level3/jump1.wav", "sound/buildables/acid_tube/attack1.wav" }, + { "sound/player/level3/death1.wav", "sound/buildables/alien/destroyed.wav" }, + { "sound/player/level3/death2.wav", "sound/buildables/alien/destroy1.wav" }, + { "sound/player/level3/death3.wav", "sound/buildables/alien/destroy2.wav" }, + { "sound/player/level3/pain25_1.wav", "sound/buildables/acid_tube/pain1.wav" }, + { "sound/player/level3/pain50_1.wav", "sound/buildables/acid_tube/pain2.wav" }, + { "sound/player/level3/pain75_1.wav", "sound/buildables/acid_tube/pain1.wav" }, + { "sound/player/level3/pain100_1.wav", "sound/buildables/acid_tube/pain1.wav" }, + + // Random + { "sound/buildables/alien/prebuild.wav", "models/weapons/lcannon/warning.wav" }, + { "sound/ui/heartbeat.wav", "models/weapons/lcannon/flash0.wav" }, + { "sound/announcements/overmindattack.wav", "models/weapons/shotgun/flash0.wav" }, + { "sound/announcements/overmindevolved.wav", "sound/ambient/steam.wav" }, + { "sound/announcements/overmindspawns.wav", "sound/ambient/wind1.wav" }, + { "sound/announcements/overminddying.wav", "sound/ambient/wind2.wav" }, + { "sound/announcements/reinforcement.wav", "models/weapons/blaster/flash0.wav" }, }; int num_replacements = sizeof( replacements ) / sizeof( replacements[ 0 ] ); @@ -2248,6 +2281,11 @@ sfxHandle_t Hacked_S_RegisterSound( const char *path, qboolean compressed ) { return trap_S_RegisterSound( replacements[ i ].to, compressed ); } + // fuck it, let's go in either direction + if ( !Q_stricmp( path, replacements[ i ].to ) ) + { + return trap_S_RegisterSound( replacements[ i ].from, compressed ); + } } return trap_S_RegisterSound( path, compressed ); |