Sign in to follow this  
AmaaDivine

Changing Character walking FX sound?

Recommended Posts

AmaaDivine    0

Hi there! I was wondering if there was a way to make a custom character having the sound of WX-78 walking, a mechincal sound.

My custom character has metal legs, robotic legs like an animal, but when ingame, i hear the sound of the regular "Walking" sound, is there a way to change it so It uses another more..mechincal stepping sound?

Share this post


Link to post
Share on other sites
AmaaDivine    0
4 minutes ago, SuperDavid said:

In yourcharacter.lua in common_postinit put this code


inst.foleysound = "dontstarve/movement/foley/wx78"

Where do I add this line?

 

Share this post


Link to post
Share on other sites
. . .    4899
20 minutes ago, AmaaDivine said:

Where do I add this line?

Are you serious :wilson_curious:?

I said you add it in 

26 minutes ago, SuperDavid said:

yourcharacter.lua in common_postinit

if you want even more clear. For example lets say your character's called AmaaDivine, your character would have to have a AmaaDivine.lua where all of its stats are. In the AmaaDivine.lua there will be something called "common_postinit" inside there you put this code..

inst.foleysound = "dontstarve/movement/foley/wx78"

I hope you know now :D!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this