t1morino88eex Posted December 2, 2016 Share Posted December 2, 2016 (edited) Hello, I think it would be useful to have the option to disable WX's charged state sound in the game menu settings similar to Wigfrids umlauts. It can drive one crazy on the long term. Since it is not there I was wondering if there is an existing mod that does that, the steam workshop gives no results. Would it be hard to remove that sounds effect? Could I simply delete the sound file in the game files? Edited December 3, 2016 by t1morino88eex Link to comment Share on other sites More sharing options...
DVGMedia Posted December 2, 2016 Share Posted December 2, 2016 well i think if you lower sound effects you wont be hearing it anymore same goes for ambient noises for sanity moans. or you know not play wx? and be a selfess human Link to comment Share on other sites More sharing options...
DarkXero Posted December 3, 2016 Share Posted December 3, 2016 AddPrefabPostInit("wx78", function(inst) inst:ListenForEvent("ms_overcharge", function(inst) inst:DoTaskInTime(0, function(inst) inst.SoundEmitter:KillSound("overcharge_sound") end) end) end) Link to comment Share on other sites More sharing options...
t1morino88eex Posted December 3, 2016 Author Share Posted December 3, 2016 (edited) Thank you DarkXero for the lead, I managed to find the wx.lua in prefabs game folder and added the inst.SoundEmitter:KillSound("overcharge_sound") to a few more functions and it did the trick. Not an elegant one since I'll have to do the same additions for every update most likely. Thank you for the help! Edited December 3, 2016 by t1morino88eex Link to comment Share on other sites More sharing options...
t1morino88eex Posted December 3, 2016 Author Share Posted December 3, 2016 (edited) I think I just managed to create a small little mod for the first time. It seems to be working great, not sure if I did ok by making it a server mod, as in if it would have worked as a client one, but it does the job as it should. If anyone is up for uploading it in the steam workshop please go ahead. Edited December 3, 2016 by t1morino88eex Link to comment Share on other sites More sharing options...
t1morino88eex Posted December 3, 2016 Author Share Posted December 3, 2016 Tried setting it up as a client mod, doesn't work though. Link to comment Share on other sites More sharing options...
DarkXero Posted December 3, 2016 Share Posted December 3, 2016 4 hours ago, t1morino88eex said: Tried setting it up as a client mod, doesn't work though. Whoops. AddPrefabPostInit("wx78", function(inst) if GLOBAL.TheWorld.ismastersim then inst:ListenForEvent("ms_overcharge", function(inst) inst:DoTaskInTime(0, function(inst) inst.SoundEmitter:KillSound("overcharge_sound") end) end) else inst:DoPeriodicTask(1, function(inst) if inst.SoundEmitter:PlayingSound("overcharge_sound") then inst.SoundEmitter:KillSound("overcharge_sound") end end) end end) Link to comment Share on other sites More sharing options...
t1morino88eex Posted December 4, 2016 Author Share Posted December 4, 2016 Works wonders, thank you DarkXero! 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