Dynamic Footstep System In First Person | No Mesh Or Animations - Unreal Engine 4 Tutorial

Поділитися
Вставка
  • Опубліковано 10 лип 2024
  • Hey guys, in today's video, I'm going to be showing you how to create a dynamic footstep system for your first person character. We will play different sounds on different surfaces. You don't need a mesh or animations for this, however if you have those the below video might be better for you. (At the bottom of this section).
    Part 1: • First Person Footsteps...
    Wood Footsteps:
    freesound.org/people/RonaldVa...
    freesound.org/people/RonaldVa...
    Concrete Footsteps:
    freesound.org/people/Yoyodama...
    freesound.org/people/movingpl...
    Grass Footsteps:
    freesound.org/people/Snoman/s...
    freesound.org/people/Snoman/s...
    Dynamic Footstep System (Third Person/With Mesh): • Dynamic Footstep Syste...
    #Ue4 #UnrealEngine4 #Ue4Tutorial
    ___________________________________________________________________________
    00:00 - Intro
    00:27 - Overview
    01:05 - Setting Up The Audio
    03:12 - Setting Up The Different Surfaces
    06:17 - Decide Which SFX To Play
    10:09 - Final Overview
    10:25 - Outro
    ___________________________________________________________________________
    Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
    The Basics Of Nodes Playlist: • The Basics Of Nodes In...
    Blender Tutorials Playlist: • Blender Tutorials
    ___________________________________________________________________________
    If you enjoy make sure to subscribe: / @mattaspland
    Join My Discord Server: / discord
    Follow Me On Instagram: / matt_aspland_
    ___________________________________________________________________________
    If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
    Link to PayPal: www.paypal.com/
    You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
    Thank you :)
    ___________________________________________________________________________
    ♫Music By♫
    ●Kronicle - Chill Noons
    ●Soundcloud - / the-chemist-10

КОМЕНТАРІ • 121

  • @Phoenix-sj9kf
    @Phoenix-sj9kf 3 роки тому +6

    I want to thank you for all of your tutorials because I used to feel like I couldn't do anything and now I feel like a pro! You really show how to do something but make sure your videos are quick and easy. Thx :D

  • @fathom3014
    @fathom3014 Рік тому +5

    its actually crazy how much stuff i look up and you have a video for, i appreciate all the time and effort you put into these videos man!

  • @earthbornjim9975
    @earthbornjim9975 3 роки тому

    Hi. Just happened to find your channel a day ago, and in that time, I have been able to successfully add a number of features into my project i'm doing which I wasn't quite sure how to approach all because of your videos i've been burning through. Nice work. Very easy to follow and understand. Definitely earned a sub.

    • @MattAspland
      @MattAspland  3 роки тому

      Thank you so much man, that means a lot to me! I appreciate it. Glad to have you here :)

  • @TxumaVazquezAizpuru
    @TxumaVazquezAizpuru 3 роки тому

    Thanks Matt. Great tutorial and congratulations for your commitment.

  • @thedog2320
    @thedog2320 3 роки тому +1

    another solid tutorial! got it working in VR as well. good job, keep them coming!

    • @fooloo993
      @fooloo993 2 роки тому

      What did you have to change, if anything, to get it working in VR?

  • @lyndeecylen6967
    @lyndeecylen6967 3 роки тому

    Thank you so much for the tutorial- it was perfectly short, but really helpful :)

  • @dkns-indiegamedevjourneyso3113

    Thanks Matt... really clear, easy to follow tutorial again. 😃

  • @mokyfn
    @mokyfn Рік тому +2

    Thank you! You helped me a lot with my first project.

  • @fleurbird
    @fleurbird 3 роки тому

    Cool. This adds quite some realism in games

    • @MattAspland
      @MattAspland  3 роки тому

      Thanks, I always love this extra detail in games :)

  • @Vlad79X
    @Vlad79X 3 роки тому +1

    yooo I'm early and exactly on the right tutorial! nice one bro

    • @MattAspland
      @MattAspland  3 роки тому +1

      Thanks mate! Glad to hear it :)

  • @stevenwynn819
    @stevenwynn819 3 роки тому

    Very nice addition to your earlier tutorial.

  • @Hpalhazred
    @Hpalhazred 2 роки тому

    Great tutorial, thanks!!!

  • @TheWellCzech
    @TheWellCzech 8 місяців тому

    perfect. nice and easy thank you very much. very useful

  • @Gray2000umia
    @Gray2000umia 2 роки тому

    A HUGE thanks for that tutorial ^_^

  • @thana3270
    @thana3270 3 роки тому

    keep this up you are killing it

  • @mbh1817
    @mbh1817 2 роки тому +1

    Thanks for the tutorial, if there is anyone who can't hear any footsteps don't forget to set the Footstep Interval (or whatever you named it) variable to a higher value than 0. I forgot to do that, so I spent at least half an hour trying to figure out what was wrong :)

    • @ThatOneGuyWhoCausesMayhem
      @ThatOneGuyWhoCausesMayhem Рік тому

      I have no idea what you mean

    • @1neeye
      @1neeye Рік тому

      I increased it to 1k but then also can't hear the sound tf an using ue5

  • @ahmedpc8432
    @ahmedpc8432 Рік тому

    Very useful, thanks! But I recommend to implement the tracing function into a timer so it does not trace a line every frame, which can save performance.

  • @lucycutie0195
    @lucycutie0195 3 роки тому

    I can already tell how helpful your tutorials will be for my exam! Thank you for working hard and helping many like me who struggles to understand coding but, really wants to make cool things! Keep the good work going!

    • @MattAspland
      @MattAspland  3 роки тому

      That's great to hear! It's always my pleasure to help out, if there's anything you need, just ask. I'm always happy to help :) Thanks for your support!

    • @DirtyBird01
      @DirtyBird01 5 місяців тому

      @@MattAspland This worked great! but when the sound switches from say grass to concrete and then I leave concrete and go back onto grass the concrete footsteps stay and it doesn't automatically switch back to the right sound cue? It will continue to play concrete steps even on grass?

  • @abbyhambleton8245
    @abbyhambleton8245 4 місяці тому

    Thankyou!

  • @galoneo
    @galoneo Рік тому

    Hey Matt! Thanks Man! Cool! 🙏🏻Great job! ✅ God Bless You!☀️☀️☀️ You help me! 👍🏻👍🏻👍🏻

  • @jcgxp
    @jcgxp 3 роки тому

    Yo thanks. I wanted to do this as well!

    • @MattAspland
      @MattAspland  3 роки тому

      That's great! Happy to provide :)

  • @alexjr977
    @alexjr977 3 роки тому +1

    Thank you Matt ;)

  • @3DAntonio47
    @3DAntonio47 2 роки тому

    Hey, yet another super helpful video man, these are great. I've got a question though and need some advice. Do you know if it possible to have multiple physical materials assigned to one material and if so, how would we do that?
    I've set up a 'ground' material to be able to paint with 2 different textures with this one material. I'm using vertex colour for input data and a lerp to go between two textures, such as grass and mud. So if I mesh-paint with left click I paint 'grass' and if I hold shift I paint with 'mud' on any mesh that has the 'ground' material. I've also set up 2 sound-ques that correspond to the grass and mud physical materials.
    However, the material only has one physical material slot. So if I assign the physical material as 'grass' the mud texture I paint onto the mesh will never play the mud sound because I'm not sure how to include the 'mud' physical material. Any advice would be super apricated!

  • @glebnersisyan6127
    @glebnersisyan6127 3 роки тому +1

    Great video, you should create a series, for example creating a stealth video game from start to finish.

    • @Jimmybear06
      @Jimmybear06 3 роки тому

      Yeah, I think matt should make more series aswell

    • @MattAspland
      @MattAspland  3 роки тому +2

      Great idea! I've just added it to my list :)

  • @aliahmedgaming6083
    @aliahmedgaming6083 3 роки тому +1

    Thank you very much

  • @CryptMhg
    @CryptMhg 3 роки тому

    ah yes minecraft grass sound xD great tutorial as always

    • @MattAspland
      @MattAspland  3 роки тому +1

      Haha, the best grass sound lol. Thank you mate :)

  • @skreet7251
    @skreet7251 3 роки тому

    i also add water :D thanks for the tutorial

  • @fooloo993
    @fooloo993 2 роки тому

    Does anyone know if I need to change the project settings in order for the raytracing to work? The number I'm subtracting from the Z location of the VR Pawn should be more than enough for the line to hit the ground and check for physics, but my sounds are not changing.

  • @sulphurous2656
    @sulphurous2656 Рік тому

    What would be the best way to change the interval of the footstep sounds when increasing/decreasing the player walk speed like when sprinting or crouching?

  • @abdullahsohail5395
    @abdullahsohail5395 3 роки тому

    Nice video

  • @DarkUndeadSpawn
    @DarkUndeadSpawn 3 роки тому +4

    Thank you for the help, Just one thing i would like to ask. And that is How would you change the sound of physical material when you sprint on the same surface?

    • @kevinnisbet5648
      @kevinnisbet5648 Рік тому

      Play a different audio asset based on the characters speed.

  • @shoguneiraidenbaal359
    @shoguneiraidenbaal359 3 роки тому +1

    Materia Domain - Defferet Decal don't work phys material, how to do it ? Thx !

  • @arielshtern4125
    @arielshtern4125 Рік тому +1

    Doesn't work for me.
    It only works when I assign a specific sound cue to the "Play sound at location" node. But then it just plays the same sound cue on all of the surfaces, completely ignoring the code that checks for the physical surface type.

  • @ZappyFN
    @ZappyFN 2 роки тому +1

    i need help how do i make the sounds faster when i run?

  • @fosterboy1587
    @fosterboy1587 2 роки тому

    Great video matt I final got round to doing this I have a issue with sound it only works on 1 material the other 2 doesn't work any suggestions

  • @dherianchacon6212
    @dherianchacon6212 2 роки тому

    love u

  • @siennakei6128
    @siennakei6128 2 роки тому +1

    Hey Matt, great tutorial. I'm having a problem though with the Switch on EPhysicalSurface... my sound effects aren't switching from surface to surface. The footsteps that play are just the ones set in the fist video in the Play Sound at Location node. Do you know what could be causing this? Thanks

    • @fooloo993
      @fooloo993 2 роки тому +1

      I don't know if you ever got it to work, but doubling my capsule half height and subtracting that number from the 'z' in the get actor location worked for me

    • @AustinThomasFilms
      @AustinThomasFilms 5 місяців тому

      I know this comment is 2 years old but plugging a sound into the 'Default' slot at 8:17 fixed my problem...

    • @farizazmir5228
      @farizazmir5228 3 місяці тому

      may i know what u meant by plugging a sound?is it the original sound that i use@@AustinThomasFilms

    • @AustinThomasFilms
      @AustinThomasFilms 3 місяці тому

      @@farizazmir5228 My game takes place outside more than it does inside, so I set the default sound to be a footsteps on dirt sound effect … that way the game defaults to dirt footsteps when it doesn’t know which sound to play. I’m having a hard time describing it but as long as you put something in that default slot I think you will be okay

  • @bilegtni5202
    @bilegtni5202 3 роки тому

    love you

  • @superSamioo
    @superSamioo 3 роки тому +7

    When you realize the grass sound effect is from Minecraft

    • @MattAspland
      @MattAspland  3 роки тому +3

      Haha, at first I thought it was just very similar lol

  • @LuigisNo1
    @LuigisNo1 3 роки тому

    So I've got a question, so we run the check physics mat off the moveforward and moveright event it does the do once and all that. However when I set up a shift to run and change the movement speed and the interval on the foot step sound, the value doesn't update unless I come to a complete stop and then hold the run button and start moving. I'm struggling a bit to think how I can get the step interval to be updating in the do once section if I'm already moving.

    • @MattAspland
      @MattAspland  3 роки тому +1

      Hey mate, that's a good point yep. What we could maybe do is when we set the interval, we also go into the "Reset" of the DoOnce, so that it then redoes it once again with the new value. I think this may work, let me know how it goes :)

    • @LuigisNo1
      @LuigisNo1 3 роки тому +1

      @@MattAspland Thanks man I'll try playing around with it and let you know. Love the videos!

    • @MattAspland
      @MattAspland  3 роки тому

      @@LuigisNo1 Sounds great man, and cheers dude. That means a lot :)

    • @LuigisNo1
      @LuigisNo1 3 роки тому +1

      @@MattAspland Yep works perfectly! Just set a custom event "AdjustStepInt" tied that to the update and whenever I change the variable in my crouch or sprint button inputs I call the event.

    • @MattAspland
      @MattAspland  3 роки тому

      @@LuigisNo1 Nice one, great work mate!

  • @DirtyBird01
    @DirtyBird01 5 місяців тому +2

    This worked great! but when the sound switches from say grass to concrete and then I leave concrete and go back onto grass the concrete footsteps stay and it doesn't automatically switch back to the right sound cue? It will continue to play concrete steps even on grass?

    • @AustinThomasFilms
      @AustinThomasFilms 5 місяців тому +1

      I had the same issue! What worked for me was plugging a sound into the 'default' slot (8:17 in the video).

    • @DirtyBird01
      @DirtyBird01 5 місяців тому +1

      @@AustinThomasFilms thanks! That fixed it for me too

  • @user-yuri665
    @user-yuri665 2 роки тому +1

    But how can you add footstep/splashing sounds on water

  • @unclefruit8532
    @unclefruit8532 2 роки тому

    when you create "footstepSFX CUE" ?

  • @eternaltomsa8573
    @eternaltomsa8573 Рік тому +1

    great tutorial but.... at 7:16, this vector - vector value was in my case complete bug that I was trying to fix for days but did not know where was the problem, because if I set this vector to 150, footsteps works OK, but if I start to step on weirder shape surfaces like stairs, it bugs and I can no longer hear the footsteps anymore and need to restart the game, so if that helps anyone, just crank the number to like 1000 and it works good

    • @crybaby_cl0udd
      @crybaby_cl0udd Рік тому

      How do you find vector - vector, it doesn't show me :/

    • @aftershek4240
      @aftershek4240 Рік тому

      @@crybaby_cl0udd its substract

  • @drninator
    @drninator 3 роки тому

    It works fine with and without running on the standard surface but on grass or wood my footsteps go all carzy and im lost right now does anyone know why this happens? and when I jump the sound only plays every 2 times no matter how long I wait

    • @drninator
      @drninator 3 роки тому

      Nevermind got it to work. Thanks for the great tutorial

  • @aleckchaoul3105
    @aleckchaoul3105 2 роки тому

    I did the previous tutorial and can hear only my default sound, I added the nodes from this tutorial and did everything else exactly as was shown and the default footsteps still play. Anybody got any ideas?

    • @fooloo993
      @fooloo993 2 роки тому

      I don't know if you ever got it to work, but doubling my capsule half height and subtracting that number from the 'z' in the get actor location worked for me

  • @realNoobDog
    @realNoobDog 3 роки тому

    can you make a tutorial how to make a lowrider that if you press the arrow keys that the hydraulics move.
    nice video=)

  • @slymncag
    @slymncag 3 роки тому

    Hey Matt thanx for video and can u show jump bp with these bps

    • @slymncag
      @slymncag 3 роки тому +1

      İ make it same but when i jump footstep sound is not stoping

    • @MattAspland
      @MattAspland  3 роки тому

      Hey, did you follow the previous tutorial for it as well?
      If so, make sure that out of the get velocity off of the Z, you have == 0. And that goes into an AND Boolean.

  • @sakibrahaman6941
    @sakibrahaman6941 3 роки тому +1

    can you make a tutorial on this--
    when the boll rolls that make sound of rolling... and when it will hit With something.
    please

    • @MattAspland
      @MattAspland  3 роки тому +1

      Hey mate, great idea, thanks! I'll add it to my list

    • @sakibrahaman6941
      @sakibrahaman6941 3 роки тому

      @@MattAspland Thanks..
      But please make this first 🥰🥰

    • @skreet7251
      @skreet7251 3 роки тому

      i would just play a rolling sound when the ball moves. (im not the best)

  • @Mj3DArts
    @Mj3DArts 3 роки тому +1

    but can you make a dynamic footstep system working on a auto landscape with layerblends etc??

    • @Mj3DArts
      @Mj3DArts 3 роки тому

      @@ZWOGs That's not an auto material landscape material though, its just a normal layer blend material but thanks anyway

    • @ZWOGs
      @ZWOGs 3 роки тому

      @@Mj3DArts You're right. I thought I found two solutions but I can't figure out why neither of them are working. Did you get it figured out?

    • @Mj3DArts
      @Mj3DArts 3 роки тому +1

      @@ZWOGs there's a way but it's kinda a hack way to do it and it's limited to 2 auto layers only, and it's heavy on performance with a lot of calculations ..im waiting for the new version of chaos that should make it possible to use something called physical material mask, that makes it possible to do something similar to the video you posted but working with auto materials.
      But damn I've been waiting for that over a year and unreal just keeps updating everything else but that it seems 😞

    • @ZWOGs
      @ZWOGs 3 роки тому +1

      @@Mj3DArts Wow! That is kinda crazy to think that it can do all of these crazy advanced things, but then have difficulty with audio for materials lol. Guess my audio will have to be added in post then haha. Thanks for the heads up!

  • @Pabson420
    @Pabson420 7 місяців тому

    i cant get that vector _ vector node its just not there anywhere maybe its name is difrent im on unreal engine 5.1

    • @annameikeing
      @annameikeing 7 місяців тому

      use subtract

    • @Pabson420
      @Pabson420 7 місяців тому

      thanks. im new to this as you can see xD@@annameikeing

  • @iijune8172
    @iijune8172 3 роки тому

    Please can you make a video on how to make position system like in racing games

    • @MattAspland
      @MattAspland  3 роки тому +1

      Hey there, it's on my list :)

    • @iijune8172
      @iijune8172 3 роки тому +1

      @@MattAspland thanks!

  • @gamerdweebentertainment1616
    @gamerdweebentertainment1616 3 роки тому

    Sorry... haven't still checked... but you've done animation one too, right? No Pressure... I see you're pumping these tutorials like madlad.

    • @MattAspland
      @MattAspland  3 роки тому

      Hey mate, no worries. And I have done yep, it should be in the description, but I'll link it here too :)
      ua-cam.com/video/1TTey8wUUvU/v-deo.html

  • @keremius5201
    @keremius5201 3 роки тому

    can you do Tutorial for play anim montage to Aİ i cant do it

    • @MattAspland
      @MattAspland  3 роки тому +1

      Hey, it should be the same as for your character. You can use "Play Anim Montage" when you want it to happen, making sure you have "Slot_Default_Slot" in the AI's animation blueprint.

  • @AlexStepanovHE
    @AlexStepanovHE Рік тому

    everything works, but the only problem I found, is that sometimes when you jump into different surface, it still makes one extra footstep sound of the previous. For example I'm standin in the water and jumping on the grass, but still hearing one extra sound of water.
    Have anyone noticed that?

  • @THEGUMP-
    @THEGUMP- Рік тому

    you should really do this for UE5 because like this one checkpyschicsmaterial isnt here anymore

  • @nothingspeaks
    @nothingspeaks 3 роки тому +1

    these will work for 3rd person right?

    • @MattAspland
      @MattAspland  3 роки тому

      Hey yeah it should, I have a better video for third person however. It is linked in the description, but I'll leave it here too :)
      ua-cam.com/video/1TTey8wUUvU/v-deo.html

  • @arielguerra9338
    @arielguerra9338 Рік тому

    everytime I stop the sound keeps looping

  • @justchicknugget
    @justchicknugget 2 роки тому

    Minecraft sounds huh? Btw thanks

  • @iiior605
    @iiior605 3 роки тому

    Matt, tut about phone will be soon?😇😇😇😇

    • @MattAspland
      @MattAspland  3 роки тому

      Hi mate. Wasn't it for a mission objective system? If so, I've done two videos on it if that helps :)
      ua-cam.com/video/g26Iri4RDsE/v-deo.html

    • @iiior605
      @iiior605 3 роки тому +1

      @@MattAspland yes, that's like look this system, but I don't know how I can move DM scroll up and down (that's need in more details:)

    • @MattAspland
      @MattAspland  3 роки тому

      @@iiior605 Great, also sorry what do you mean by D&M? Sorry if that's an obvious question lol

    • @iiior605
      @iiior605 3 роки тому +1

      @@MattAspland dm = direct messages (aka private chat with person)

    • @MattAspland
      @MattAspland  3 роки тому

      @@iiior605 Ah okay, I can add a chat system to my list too :)

  • @fleurbird
    @fleurbird 3 роки тому

    And remember, you can add physics material to the "layerinfo" in your landscape materials.

    • @MattAspland
      @MattAspland  3 роки тому +1

      Yep, thank you Fleur! Great tip :)

  • @cameronmitchell679
    @cameronmitchell679 9 місяців тому

    i can't help but notice these sounds are in minecraft