UE4 - Footstep Sound different on each floor - Tutorial.
Вставка
- Опубліковано 8 вер 2024
- My first Indie Game: Wildlife Rescue Simulator is up on Steam. Please add it to your Wishlist: store.steampow...
Support me on Patreon: / bartkamski
Join me on discord: / discord
Check my UE4 marketplace assets: unrealengine.c...
This is third of Ue4 Audio tutorial series.
I'm gonna show cool stuff you can do in Ue4 with sounds
and also basic knowledge about how UE4 Audio Engine works.
If you have any requests, post it in comments.
In this Tutorial I show how to setup footsteps sounds in first person template different for each floor.
Concrete and water footsteps sounds download link:
gum.co/MZXSj
It is free but please consider donation. Thank you.
Full Footsteps Sound asset with mechanics, 8 different types of floor
(concrete, wood, water, snow, gravel, ground, metal, grass)
and also rattle sounds is available on UE4 marketplace:
www.unrealengi...
0:37 Seting up Sound Cue
1:58 Notifies in Animation Blueprint
3:28 FirstPersonBP Setup Footsteps Audio Component and Play it
5:35 Seting up Line Trace in AmimBP
7:29 Seting up Surface in Project settings
8:01 Phisical Materials
8:55 Connecting Phisical Materials to Materials
9:26 Connecting LineTrace hit result to trigger proper sound
Zapraszam do moich tutoriali Unreal Engine 5 po polsku, dla początkujących. Jeśli chcesz się nauczyć robić gry to te tutoriale są dla Ciebie: ua-cam.com/play/PLVOrr7PB_5MUc_xT4dPb2572ZDysU2Wch.html
great tutorial ! thanks man ! Easy to follow and Really nice! Respect from Brazil!
Great Vid. You should mention the Trace Complex checkbox to detect surface. Thanks
pretty sure you don't need trace complex. Mine isnt checked and its playing my footstep sounds
Nice and easy as always. Thank You Bartoszu for this great tutorial.
Thank you so much For this now i can make footsteps in my game Thank
Not sure if you're still around but I got up to the 5minute mark fine, just the audio wont play. Is it because I have deleted the use of the weapon and arms? I migrated the FPCharacter into my project and still have the animation mesh, but I believe because im not using the animation its not triggering the 'notify's'
This is a very good tutorial but it doesn't work on oblique surfaces types. To fix this, replace the yellow (substract) vector (the one with z= 100) at 10:40 with "vector + vector" and replace Z axis with -500.
Anyway thanks for the tutorial man!
THANK YOU!!!! IVE BEEN LOOKING ALL NIGHT FOR WHY MY LANDSCAPE + FOOTSTEP SYSTEM WASNT WORKING (: (:
good to hear you solved it
if you think about what you just said you are adding -500.. you can just subract 500 using the same vector - that he did.. but hey whatever works works! lol
Great tutorial, easy setup and can be easily updated for more surface types and animations :), Thanks
Very sweet! 4.22 approved! :D Greetings from germany! ^.^ Thank you so much!
very clean efficient tutorial thank you very much, cheers
Awesome!
Works in 4.23 thanks man works a treat :)
Hello and thanks for this tutorial! However, my material is made of different textures (for landscape painting), how would you deal with it? Thanks!
Very helpful! Thank you!
If you can't add the animgraph it's because you're in animgraph not in the event graph.
hi man, what if you want to make sound for meshes of rocks or metal or etc? and what if you place a landscape material on a whole voxel plugin ? how u gonna notify the difference?
Thank you so much for making this video it was Awesome! I followed step by step and I now have footstep sounds in my level, Great. Any chance you could make tutorials on VR with Google Cardboard?
I got this confused with the Subsurface Footstep plugin. Apologies :P
Hello when I walk or run I got no sound can you help please ?
It's working "Set Integer Paramater" for Switch Sound Cue in Unreal Engine 5?
From where do you acquire these high quality footsteps audio? or if you create them yourself can you share what software you use to make? or maybe share your source from where you get these footsteps audio from? Thanks a lot by the way your product is amazing and I use it in all of my game production. Keep the good work up :)
I record them, There is a link to those sounds in the description.
Great tutorial! thanks a bunch! I do have some questions. It works great I just have some problems with my game. I have a lake that can be swam in, how can I stop the sound of foot steps while the character swims in the game?
Friend! I'm very thankful!
Hello, it works perfect, it's like I already had it, but I have a problem, when trying to add another third person character that moves around with the navigator, it doesn't work ... I'm not realizing something, can you help me?
GREAT TUTE.
how do i create a blueprint for virtual reality? I am very dizzy . Can you make a tutorial for me?
Sounds Great! Is the sound in the level for everyone to hear?
Great video, but how do you get the jump start and jump end to work? Please help. Thanks
Thanks for this tutorial :)
I LOVE YOUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
Love u too, baby :*
I added the notify and the linetrace is working really well, but I can't hear any sound. How can I fix this?
you win my heart thans
Very nice
thank you
one doubt!... when i jump i don't sound to be played, and when i actually touch the ground i want sound to be working again. how can i do this?
THANKS
So is there a way to do this without the Anim, since my project doesn't require the arms so they've been deleted?
you can make it easier and more correctly by changing the sounds when the materials change ...
sorry about this bad English
Hi! great video! I have run in to a problem though. When I'm trying to test the "Line Trace" with the "Print String" node it says "Error" when I try to compile. It says "Error: Enum to String has invalid enum value '0'", and the node between the "Get Surface Type" and "Print String" is marked with "Error". Any ideas?
I means that Line trace doesn't recognize phisical materials like there is no any, you should check this step: 7:29 Seting up Surface in Project settings.
Thanks a lot for the quick answer! I double checked all of that, still nothing. The wierd thing is that when I complete the rest, the system actually works as it should. So the materials definetly gets recognized by the Line Trace. So wierd..
Thank you
is not working !!! i do 10 time what you do and is not working
CBtube you have to be more specific, there are 10 000 things that could not work. If you want somebody to help you with your issue try to describe it as detail as possible.
How could you do this for AI / NPC characters?
Problem - I've a Material with multiple textures I use to paint the landscape.. Is there a way to change th surface type of the textures?
In case if you (or somebody else still need it) - in the Modes tab go to Landscape->Paint, then in each of the layers you have (and which you want to have a different sound) press 'Create Layer Info' ("+" symbol), save the file somewhere, then locate and double-click it and you will see Phys Material section, here you can select your physical material as Bartosz kindly teach us before :)
@@user-lz4sq5wg1o combined several meshes into 'static mesh' and only default sound works on this object, can 'static mesh' use different physical materials?
why you did line trace in animation rather than FPcharacter class?
Because I use Animation Notifies 03:01 I don't have acces to it from FPcharacter.
Hello, I followed the procedure, but when I stop walking, the sound of footsteps continue, what do I do?
It is hard to say can you describe in details your problem?
The song dont stop after i stop move,i think this happening because i dont put many sounds,just the grass song.Sorry for my english,i am a Brazilian guy.
My ''Event animnotify_footstep'' is not showing up. Any work around for this? I did everything correctly.
there is a bug sometimes, try to compile, save, reopen.
Found it out, i was in the wrong graph. Thanks for your help Bartosz. Great tutorials!
I cannot add a new notify, its not working. :^(
You can't add it or you can't see it in Anim BP?
i can't see it in AnimBP, is there any solution mate?
I'm stuck at 9:40, i'm using a third person character and tutorial worked completly fine but now it won't come up with get surface type, how can i fix this?
Did you setup surfaces in project settings? 7:29
Bartosz Kamiński Yeah I did, but it doesn't matter now cause I improvised and now it works for me, so thanks anyway
Andrew Smith i basically used this tutorial and another tutorial for third person view as well
In Anim_BP when you cast to your character in object try to get pawn owner prntscr.com/g4h4rj
Resolution is very low it is hard to see. But get actor location should be plug to Cast node, not try to get pawn owner.
I hope for a new guide for 4.24, this tutotial does not work...
I can't find the "Add Anim Modify Event" on AnimBP, can u help me?
Try to save, compile, close anim tab and reopen it. If this doesn't help close the project and reopen it. There is sometimes issue with that.
found it, thanks for the great tutorial and answer. ur awesome.
Second problem: the engine recognizes the floors Default and Wood, now, the Default makes the wood sound even-though i've setted the "Default" to play another sound.
I don't know, you have to be more specific. There is at least 3 places where it could be wrong. Go through them step by step: Line trace => surface type => sound Cue parameter
i followed the tutorial again and again.
the thing is, even though it recognizes the different platforms ("Wood" and "Default"), it's not changing the sound - the sound keeps coming out of the "Unset" and not from the 0 or the 1.
Like, input-->met:wood. output-->still unset (and the wood is set to 1).
Hi can this work for NPC's too?
yeah i used notifies, but i wasn't happy with it, i managed to get it to work with the footsteps system you just have to create all the variables in the viewport for your NPC and add all the soundcues to your NPC's mesh, and in the blue prints you need to cast to the NPC instead of the third person character and you will need to change all the nodes in the anim BP to the NPC's nodes, takes about 10 minutes per NPC.
@@harryhunt1735 I'm trying to do this too, but can't figure it out. as you cast to npc what do you connect the object pin to? sorry I'm new to this
@@fckgogle866 use the node try get pawn owner and connect that to it
Harry Hunt thanks for answering ! I still can’t get it to work, did u have to do something else?
@@fckgogle866 if u add me on discord I can help u sort it out tomorrow if u want: Frostyhaz
#8792
same, same, but different; BUT STILL SAME
XD
But still different ! xd
lol
This is not "how you do it", this is "watch me doing it" XD
You should already know some of Unreal Engine before attempting to watch "some" Unreal Engine tutorials. You can't expect every video to explain what every node/setting does.
Polish?
I follow ALL your steps but for some reason, the ADD ANIM NOTIFY EVENT doesn't appear in my character blueprint. can you help me please?
Need to save, compile, close and reopen Animation BP. If that not help try to restart the project.
Kind of pointless if you don't have a first person animation...
You can use it exactly the same with third person animation.
hello my footsteps make quick two step sounds. how can i fix?
+Hassan Pervaiz It is hard to say but you should check notifies on animation sequence.