Somehow allow us to pick sound effects to mute

This has probably been suggested before buut: Let us do some kinda combo key to pick sound effects associated with that item and adjust the volume. Having a Faminebind with flies and squishy sounds constantly sucks ass. I have to either mute the game or have a constant ear to eat swirl of shitty sounds. Like literally it swirls ear to ear. I'm listening to it as I post this. I hate it please make it stop.
Last bumped on Apr 7, 2023, 2:51:20 AM
This thread has been automatically archived. Replies are disabled.
Yeah i'd love to give warcry's a try but gwarr---gwarr---gwarr---gwarr---gwarr---gwarr every 5 seconds is too much to handle.
"
function change_sound()
old_sound = nil -- remove the old sound resource
new_sound = audio.loadSound("new_sound.wav") -- load the new sound resource
end


That's lua to change one sound resource to another assuming you're working within a global function. You can of course reverse it and set to nill or a muted sound resource.

If you wanted to create it as a local function for specific skills then this with pseudo parms.

"
local function playChargesSoundEvent(character, sound, handle)
if handle(character, "Xorn_Play_Charges") == 1 then
character = Ext.GetCharacter(character)
if character then
local sound1 = audio.loadSound("chargesound1.wav")
local sound2 = audio.loadSound("chargesound2.wav")
local mutesound = nil -- If specific sound event checks if it should be muted
--Insert variables for specific local sounds
else
handle(character, "Xorn_Play_Charges") == mutesound


Sorry, I just like showing the community how easy this sorta stuff can be.
I could probably do a little study and come up with a C version. I just mostly do Lua right now and it's 3am. There really isn't a great excuse for this sort of neglect to basic features.
"Never trust floating women." -Officer Kirac

Report Forum Post

Report Account:

Report Type

Additional Info