Andromedason Posted December 28, 2023 Share Posted December 28, 2023 Hi, I'm wondering if there is a way to disable Woodie's OSTs when he is in his different cursed forms. Whether through a mod, editing files, or whatever. Reason being that the themes are overtaking the boss themes and I want to be able to hear them while I fight in the moose form. If no such way does exist, I can just resort to using videos in the background, but I'd rather have them play in the game... If anyone has any idea, let me know, thank you!! Link to comment Share on other sites More sharing options...
ClumsyPenny Posted December 30, 2023 Share Posted December 30, 2023 AddComponentPostInit("dynamicmusic", function(self) self.inst:ListenForEvent("enabledynamicmusic", function(inst, enable) if not enable then self.inst:DoTaskInTime(0, function() if GLOBAL.TheFocalPoint.SoundEmitter:PlayingSound("beavermusic") then self.inst:PushEvent("enabledynamicmusic", true) GLOBAL.TheFocalPoint.SoundEmitter:KillSound("beavermusic") end end) end end) end) I cooked up this hack, it goes in modmain.lua if you want it to make a mod yourself. Basically it runs whenever something disables the dynamic music (combat, crafting, etc.) and checks if any Wereform music is playing, in that case it re-enables it. The one quirk about this though is that transforming will interrupt the current music playing, but it will resume as you fight something or do other relevant actions. It would be a pain to try to fix that, but it's not really a big deal. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now