(26 Nov 11, 11:30PM)V-Man Wrote: Since the "sound" command is hard-coded, you'll not find a script that actually swaps them.Thanks V-man. I have different player sounds for the files for pain, die, and land. I want to be able to choose in-game between the packages for the original sounds, screams, and grunts. I made a slider where you can choose one of the three options from settings, but I still need a way to change the sounds without physically changing the sound files each time. I'm thinking about running all 3 sounds for each one every time, but then having the slider just mute the other 2 that aren't in use, but I don't know what the script is for pain, dying, and hard landing. If you have the script for those, I can put them in the exec file. The files I want to choose from are pain1 thru pain6, die1 and die2, and land.
On the other hand, you could simply swap them before gameplay (if that's what you're going for, I can't see a specific goal in mind with your question) by placing in the "mods\packages\audio\sounds\[sound type]" folder your custom sound file with the same name as the sound file to be replaced. And make sure your launcher/batch/sh file has "mod=mods" active. :D
Is there a way to reset all the sounds to reload and register back up from 0?