Fix voice gender using server data and update loading screen UI

- Use authoritative playerRace/playerGender at spawn for voice profiles
  instead of unreliable model name parsing
- Support nonbinary gender with useFemaleModel body type fallback
- Move voice setup into spawnPlayerCharacter() for all spawn paths
- Remove legacy single-player default Human Male clip preloading
- Make loading screen text black and move progress bar to top
This commit is contained in:
Kelsi 2026-02-23 06:22:30 -08:00
parent efc7e65dfc
commit f2f6ffd2cd
5 changed files with 58 additions and 15 deletions

View file

@ -27,6 +27,7 @@ public:
void playLanding(FootstepSurface surface, bool hardLanding);
void setSwimmingState(bool swimming, bool moving);
void setCharacterVoiceProfile(const std::string& modelName);
void setCharacterVoiceProfile(const std::string& raceFolder, const std::string& raceBase, bool male);
void playWaterEnter();
void playWaterExit();
void playMeleeSwing();