First off I know how to change a player's footstep sound via scripting with the SetFootstepType function. What I'm wondering is if there is a way to change it to one of the subtypes for a footstep type based on the terrain that you are on. IE. default footstep type: walking on wood, dirt, stone, etc...
I see the different colums in the footsepsound.2da for the different terrains and the sound that is used while on that terrain but I don't know of any particular way to "pretend" a terrain change. There is also the sufacemat.2da that contains the info for the different surfaces but not sure that will help with anything.
The reason for this is that I have some of the CEP wood placeables put down over standard cobble for a "wood docks" look. It would be nice if it could sound like the player is walking on wood also.
Thanks.
Modifié par GhostOfGod, 19 juillet 2012 - 12:37 .





Retour en haut






