Andreasgamming Posted February 8, 2018 Share Posted February 8, 2018 Me and a friend don't like that creepy out of tune piano sound that hand makes when it appears in game when our sanity is at a certain point. If you don't know what I'm talking about is that Shadow hand that reaches for the fire during the night time. I'm no good with music mods and I really don't want to attempt it being at my level of modding. Link to comment Share on other sites More sharing options...
Aquaterion Posted February 8, 2018 Share Posted February 8, 2018 (edited) AddPrefabPostInit("shadowhand", function(inst) if inst.SoundEmitter then inst.SoundEmitter:SetMute(true) end return inst end) Note: this mutes all of its sounds, as that's what I thought you wanted Edited February 8, 2018 by Aquaterion Link to comment Share on other sites More sharing options...
nicknightyx Posted February 8, 2018 Share Posted February 8, 2018 @Aquaterion And where to put this code? Link to comment Share on other sites More sharing options...
Aquaterion Posted February 8, 2018 Share Posted February 8, 2018 modmain.lua sorry Link to comment Share on other sites More sharing options...
Andreasgamming Posted February 8, 2018 Author Share Posted February 8, 2018 Just that in the modmain? I'm used to using a character template So I'm not sure if there is anything else needed in the modmain, I've never Written codes for it before. Link to comment Share on other sites More sharing options...
Aquaterion Posted February 8, 2018 Share Posted February 8, 2018 33 minutes ago, Andreasgamming said: Just that in the modmain? I'm used to using a character template So I'm not sure if there is anything else needed in the modmain, I've never Written codes for it before. just copy and paste that onto what you have in your modmain.lua already if anything Link to comment Share on other sites More sharing options...
Andreasgamming Posted February 9, 2018 Author Share Posted February 9, 2018 Okay Thanks! 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