Ziro2k Posted September 26, 2017 Share Posted September 26, 2017 Is there any known method to disable a character's footstep sounds (temporarily or otherwise)? I have a character that can turn into a floating ball of gas, and it breaks the illusion to hear his feet hitting the ground constantly. Link to comment https://forums.kleientertainment.com/forums/topic/82391-disable-walking-sound-effect/ Share on other sites More sharing options...
RedHairedHero Posted September 29, 2017 Share Posted September 29, 2017 (edited) I won't know off the top of my head because I can't look at the game files at the moment. But what I would do is to pull up Notepad++ if you're using that for coding, do Find in Files, search in the Don't Starve Together > Data folder and search PlaySound. This will be a big list, but it will show you all the sounds played in the game. From here you should be able to find where the walking sound is played from (there will be several different ones since they change depending on the surface such as snow and webs). I would do this first, then see how we could potentially prevent the sound from activating. Edited September 29, 2017 by RedHairedHero Link to comment https://forums.kleientertainment.com/forums/topic/82391-disable-walking-sound-effect/#findComment-959218 Share on other sites More sharing options...
CarlZalph Posted September 29, 2017 Share Posted September 29, 2017 See: scripts/stategraphs/SGwilson.lua && scripts/worldtiledefs.lua Specifically: DoFoleySounds, DoEquipmentFoleySounds, DoMountedFoleySounds being used in the states && PlayFootstep If you want to just silence the player since it's now a gas ball all together, you can merely: playerentityhere.SoundEmitter:SetMute(true or false) Editing the stategraph can be a bit of a pickle for newer modders, so the easiest route is to merely silence the player all together. Link to comment https://forums.kleientertainment.com/forums/topic/82391-disable-walking-sound-effect/#findComment-959277 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