mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Implemented complete combat audio system with 40+ combat sounds: Weapon swing sounds (whooshes): - Small weapons (1H): 3 variations + crit - Medium weapons (2H): 3 variations + crit - Large weapons (heavy 2H): 3 variations + crit - Miss whooshes: separate 1H/2H sounds Impact sounds by armor type: - Flesh (unarmored/cloth): 3 variations + crit - Chain armor: 3 variations + crit - Plate armor: 3 variations + crit - Shield blocks: 3 variations + crit - Metal weapon parries: 1 sound - Wood impacts: 3 variations - Stone impacts: 3 variations Emote sounds: - Clap: 7 variations Technical details: - Loads 40+ sound files from Sound\Item\Weapons and Sound\Character - Simple API: playWeaponSwing(size, isCrit), playImpact(size, type, isCrit) - Random variation selection for non-crit sounds - Volume at 0.8 with global scale control - Crit sounds play 1.2x louder for emphasis - Uses 1H axe impact sounds as base (similar across weapon types) - Ready for integration with combat system Usage examples: ```cpp combatSoundManager->playWeaponSwing(WeaponSize::SMALL, false); combatSoundManager->playImpact(WeaponSize::MEDIUM, ImpactType::PLATE, true); combatSoundManager->playWeaponMiss(true); // 2H miss combatSoundManager->playClap(); ``` This adds essential combat audio feedback for melee combat! |
||
|---|---|---|
| .. | ||
| activity_sound_manager.hpp | ||
| ambient_sound_manager.hpp | ||
| audio_engine.hpp | ||
| combat_sound_manager.hpp | ||
| footstep_manager.hpp | ||
| mount_sound_manager.hpp | ||
| music_manager.hpp | ||
| npc_voice_manager.hpp | ||
| ui_sound_manager.hpp | ||