So I understand how to play footstep sounds using the first person running animation and adding play sound nodes on the timeline, I also know how to play different sounds based on the material you’re walking on. But what I don’t know is how to play footstep sounds at different speeds. Lets say I’m crouching. I want the footstep sounds to sound slower, and when I’m running, I want them to sound faster. How do I go about doing this?
On the run/walk/crouch walk animation, if you scroll down there is an “anim notifies” section (not sure of spelling). Move the animation to where the player’s foot hits the ground, then right click and select “New Notify”. Name the notify something like “PlayFootstepSound”. In the anim blueprint, you can now right click in the event graph and search for “PlayFootstepSound”. On the event, play your footstep sound
If you don’t understand part of this, please let me know. If it solves your issue, please accept this answer
You can try changing the pitch property of the sound. Higher values result in the sfx sounding faster while lower values does the opposite.
Ah, that’s technically what I did, though the first person template only has a run animation and allows me to only put in one play sound for that animation. That’s why both walk,crouch and run play the same animation/same walk sound effect without speeding up or slowing down whenever my speed changes.
If you only have a run animation, how do you have a crouch and walk then? If you only have the one animation, you could simply duplicate it and call the other 2 “Run” and “Walk” to get the footstep results you want
This is starting to confuse me, lol. You see, the first person template has only a run animation that’s invisible, you can only see headbobbing or an item you’re holding. So basicly this run animation is only used for playing a sound effect when I’m walking, y’know, so when I crouch or walk, you don’t see the run animation. So I’m starting to guess this is a lot more complicated than I thought, lol.
Are you saying that when you crouch or walk, there is no animation playing?
There is, walking, running and crouching use the same running animation. (It’s just like, it’s invisible, like you can’t see your legs running, y’know)
ahhh… i think I understand. So, you are using the same animation for run, walk and crouch, but you want footsteps to sound at different times for the different movement states?
Yeah, that’s what I’m trying to do.
So, what I would do in your case:
- Duplicate the “Run” animation 2 times and rename them “Walk” and “Crouch” (you should now have 3 of the same animations)
- On the run animation, find where you think the footstep sounds should go, and plaace anim notifies there (i am going to assume you know how to do that, if you don’t just comment below)
- On the walk and crouch animation, set the play rate to something lower (e.g. 0.5) to make the animation more like a walk than a run. Do the same thing with notifies now. The notifies should play with a longer delay between them to sound more like walking/crouching
If you have any questions, or this isn’t what you are trying to achieve, please let me know
I can create a project and set this up for you if you want me to (I’ll just post screenshots)
Hmm, I’m not overly familiar with how to change animations n all that when walking or crouching or running, y’know, but I can try giving it a shot tomorrow morning. If you want you can show screenshots how to do it, as that would help immensely.
Sure thing! I’ll try to get that done sometime today
Alrighty, thanks!