Add sentences support.

This commit is contained in:
Giegue
2023-05-02 23:40:00 -03:00
parent c782c2aaf5
commit 95461427b2
8 changed files with 40 additions and 39 deletions

View File

@@ -253,10 +253,7 @@ void CMHWGrunt::Precache()
PRECACHE_SOUND("hassault/hw_spindown.wav");
// get voice pitch
if (RANDOM_LONG(0, 1))
m_voicePitch = 102 + RANDOM_LONG(0, 7);
else
m_voicePitch = 93; // slight voice change for hwgrunt
m_voicePitch = 95 + RANDOM_LONG(0, 3); // slighly lower than normal grunt
CMHGrunt hgrunt;
hgrunt.Precache();