Use a Custom sound for Low Rings

Yes its the same one from Gunstar heroes like RR
This commit is contained in:
NepDisk 2025-05-22 09:08:24 -04:00
parent 43ad4b045b
commit 171eafee1f
3 changed files with 5 additions and 3 deletions

View file

@ -86,7 +86,7 @@
#define ASSET_HASH_TEXTURES_KART 0xb4211b2f32b6a291
#define ASSET_HASH_CHARS_KART 0x1e68a3e01aa5c68b
#define ASSET_HASH_MAPS_KART 0x38558ed00da41ce9
#define ASSET_HASH_MAIN_PK3 0x90bc93435f9aa4c4
#define ASSET_HASH_MAIN_PK3 0x3bbd056a4ce5e993
#define ASSET_HASH_MAPPATCH_PK3 0x7b0709aedd6b48b3
#ifdef USE_PATCH_FILE
#define ASSET_HASH_PATCH_PK3 0x0000000000000000

View file

@ -850,6 +850,9 @@ _(eggspr)
// Chaining Sound
_(bstchn)
// Low Ring Sound
_(ringlw)
// Shout message sound effect
_(sysmsg)

View file

@ -3176,8 +3176,7 @@ void A_AttractChase(mobj_t *actor)
if (actor->target->player->rings <= 10)
{
S_StartSoundAtVolume(actor->target, sfx_s251, 255 - actor->target->player->rings*8);
S_StartSoundAtVolume(actor->target, sfx_s251, 255 - actor->target->player->rings*8);
S_StartSoundAtVolume(actor->target, sfx_ringlw, 255 - actor->target->player->rings*10);
}
if (actor->target->player->ringboost > (4*TICRATE + TICRATE/2))