Jump to content
  • 0

How to add Footstep sounds?


Doomsday

Question

I've looked it up and found this mod for footsteps but none of the downloads were working as they were all error 404. So I'm wondering how I could add footsteps sounds in myself or if there are any other mods for this.

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 1

This has been done in some mods, such as Real Guns Hardcore.

 

The method I've seen is to use custom DECORATE and ACS code to:

 

1. Replace the DoomPlayer with a custom player that generates footsteps.

2. In the custom replacement player's See state, check if the player's Z-Height is above the ground (i.e., player is not touching the floor), if so, skip the footstep.

3. If the player is on the ground, spawn a custom Thing at the player's location that plays a footstep sound and then stops.

4. Play the remaining See frames (this has the effect of inserting a "delay" between footsteps)

 

There may be more optimized ways to do this with with ZScript, such as monitoring the player's position for changes and playing the sound that way.

Edited by JadingTsunami

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...