Page 1 of 1
Change footstep sound for player?
Posted: Sun Sep 25, 2016 2:22 am
by aubergine18
Is there a property that allows alteration of footstep sound for a `player` prototype?
Also: What is the heartbeat sound for?
Re: Change footstep sound for player?
Posted: Sun Sep 25, 2016 2:08 pm
by Reinard-kun
aubergine18 wrote:Is there a property that allows alteration of footstep sound for a `player` prototype?
Well, there a whole folder at data/base/sound/walking that has all sorts of walking sounds. But, the walking sound of a player is not set in player's prototype - it is set in data/base/prototypes/tile/tiles.lua Seems like players walk silently if there is no sound set to a tileset they're on.
aubergine18 wrote:Also: What is the heartbeat sound for?
When at super low hp, you can hear the heartbeat.
Re: Change footstep sound for player?
Posted: Sun Sep 25, 2016 8:08 pm
by aubergine18
Thanks for the infos. Looks like I won't be able to create character specific footstep sound.
Re: Change footstep sound for player?
Posted: Mon Sep 26, 2016 4:46 pm
by DedlySpyder
aubergine18 wrote:Thanks for the infos. Looks like I won't be able to create character specific footstep sound.
You can swap a players character with a new one with different sounds. Depends on how often you need to do this.
Re: Change footstep sound for player?
Posted: Mon Sep 26, 2016 4:54 pm
by aubergine18
DedlySpyder wrote:You can swap a players character with a new one with different sounds. Depends on how often you need to do this.
Yes, I can change character but as far as I can tell the only sounds that allows me to change the sounds for heartbeat and eating. As Reinard-kun mentioned above, the walking sounds are associated with terrains not player characters.