mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'quieter-wavedash' into 'master'
Quieter wavedashing See merge request KartKrew/Kart!1035
This commit is contained in:
commit
60863a88a3
2 changed files with 7 additions and 7 deletions
|
|
@ -9414,7 +9414,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
if (K_IsLosingSliptideZip(player) && player->sliptideZip > 0)
|
||||
{
|
||||
if (!S_SoundPlaying(player->mo, sfx_waved2))
|
||||
S_StartSound(player->mo, sfx_waved2);
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved2, 255/2); // Losing combo time, going to boost
|
||||
S_StopSoundByID(player->mo, sfx_waved1);
|
||||
S_StopSoundByID(player->mo, sfx_waved4);
|
||||
player->sliptideZipDelay++;
|
||||
|
|
@ -9448,7 +9448,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
S_StopSoundByID(player->mo, sfx_waved1);
|
||||
S_StopSoundByID(player->mo, sfx_waved2);
|
||||
S_StopSoundByID(player->mo, sfx_waved4);
|
||||
S_StartSound(player->mo, sfx_waved3);
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved3, 2*255/3); // Boost
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -9456,7 +9456,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
S_StopSoundByID(player->mo, sfx_waved1);
|
||||
S_StopSoundByID(player->mo, sfx_waved2);
|
||||
if (player->sliptideZip > 0 && !S_SoundPlaying(player->mo, sfx_waved4))
|
||||
S_StartSound(player->mo, sfx_waved4);
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved4, 2*255/5); // Passive woosh
|
||||
}
|
||||
|
||||
player->aizdrifttilt -= player->aizdrifttilt / 4;
|
||||
|
|
@ -9473,7 +9473,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
S_StopSoundByID(player->mo, sfx_waved2);
|
||||
S_StopSoundByID(player->mo, sfx_waved4);
|
||||
if (!S_SoundPlaying(player->mo, sfx_waved1))
|
||||
S_StartSound(player->mo, sfx_waved1);
|
||||
S_StartSoundAtVolume(player->mo, sfx_waved1, 255/2); // Charging
|
||||
}
|
||||
|
||||
if (player->drift
|
||||
|
|
|
|||
|
|
@ -1131,10 +1131,10 @@ sfxinfo_t S_sfx[NUMSFX] =
|
|||
{"gate04", false, 32, 64, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"gate05", false, 32, 64, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
|
||||
{"waved1", false, 32, 64, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"waved2", false, 32, 64, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"waved1", false, 32, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"waved2", false, 32, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"waved3", false, 32, 64, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"waved4", false, 32, 64, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
{"waved4", false, 32, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
|
||||
// Passing sounds
|
||||
{"pass01", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, ""},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue