degeneratehyperbola/NEPS

Custom sounds engine playback

degeneratehyperbola opened this issue · 0 comments

Custom sounds are played through windows multimedia player with PlaySoundA
The better solution would be to play them using in-game surface player, that way we are able to control their volume speed and whatever the engine lets us. But alas, sounds fail to load from the csgo/sound directory when playing on servers not hosted on the current machine.
I've tried emitSound, which is hooked, but to unloaded sounds that does nothing. I need a way to load them into game's cache system. And do you think I am going to do reverse engineering just for some hitsounds (I already did, and spent hours on this :'c )?