How To Create A Weapons System With Simulated Physics Pickups - Unreal Engine 5 Tutorial

  Рет қаралды 73,741

MizzoFrizzo

MizzoFrizzo

Күн бұрын

In this tutorial, which is a standalone video but also serves as Part 5 of my True First-Person Shooter Tutorial Series, I'll show you how to set up a weapons system with simulated physics on the pickups, along with some basic firing logic.
Patreon: / mizzofrizzo
Subreddit: / mizzofrizzo_tutorials
Facebook: / 884349679908510
Part 1: • How To Make A True Fir...
Part 2.1: • How To Make A True Fir...
Part 2.2: • How To Make A True Fir...
Part 3: • How To Create Your Own...
Part 4.1: • How To Make A True Fir...
Part 4.2: • How To Make A True Fir...
Part 5: • How To Create A Weapon...
Part 6: • How To Make A True Fir...
Part 7: • How To Draw A Line Tra...
Part 8: • How To Make A True Fir...
Part 9: • How To Make A True Fir...
Timestamps:
0:00 - Intro
1:39 - Download and Add Free Weapons Packs
3:06 - Create Static Meshes and Add Collisions
5:42 - Add New Input Mapping
7:26 - Start Creating Interfaces, Enumerations, and Weapon Blueprint Classes
11:00 - Create Pickups Blueprint Classes
14:43 - Weapon Blueprint Classes Set Up
17:40 - Create a Weapon Blueprint
18:36 - Implement Pickup Logic
26:45 - Create Weapon Socket
28:53 - Switch on Enum_WeaponName
32:10 - Final Touches on Pickup Logic
33:42 - Create Additional Weapon Pickup
36:51 - Fix Weapon Scale
38:30 - Implement Basic Weapon Fire Mode and Firing Logic
50:45 - Demo and Outro

Пікірлер: 514
@MizzoFrizzo
@MizzoFrizzo 14 сағат бұрын
For a limited time I'm offering lifetime access to my Discord server, Mizzo's Dizzo, to the first 150 people who make a one-time payment of $10USD! 🤯 Head over to my Patreon and jump on board: www.patreon.com/MizzoFrizzo
@McLarsen100
@McLarsen100 7 ай бұрын
Don't stop. You are helping so many people with these tutorials. 🙏
@JustJoshinYouBro
@JustJoshinYouBro 4 ай бұрын
Love how you're planning for people to add more. Too many tutorials focus on just getting this one project finished and don't keep in mind we might want to keep going and add more.
@ziplow
@ziplow 10 ай бұрын
Really great series of tutorials! Nice to hear a fellow Aussie's voice too as a bonus.
@MizzoFrizzo
@MizzoFrizzo 10 ай бұрын
Thanks, man, that's very kind of you to say... Haha Aussie Aussie Aussie!!!
@jackdaw556
@jackdaw556 19 күн бұрын
I just wanna say that in my short unreal engine learning adventure your tutorials are the best source of knowledge. As many others said - do not stop. You deserve way more subs
@now_ever
@now_ever 4 ай бұрын
This thing is pure gold and brilliant! It's a bit strange, but I'm familiar with object oriented programming in general, because of year of C++ in University, wich was like only year ago. However, I'm not good enough to make such systems on C++ on my own, so I was searching how to make it with Blueprints. And mostly people are using simple nodes to make one rifle with animations, wich is not scalable at all. Basically, you show how to use all advanced features in such short time. So now I better understand how to use it in my own "projects", then after watching whole playlists on the topic
@S0KL0
@S0KL0 8 ай бұрын
Thank you, i have benn looking around the internet for a good weapon tutorial and none have realy been good, but you, you are a god, this has everything i need, i am realy grateful and thankful, you just got yourself a permanent sub. I hope you have a wonderful life.
@ADONiSNoFRILLS-015
@ADONiSNoFRILLS-015 8 ай бұрын
One of the best UE5 videos I have ever seen. Thank you!!!! 👏
@boomerz9685
@boomerz9685 9 ай бұрын
Finally someone I can actually understand. Keep up the good work!
@ciastuch_plastuch
@ciastuch_plastuch 6 ай бұрын
GORGEOUS tutorial! Everything well explained and working as expected! Well done and many thanks !
@MizzoFrizzo
@MizzoFrizzo 6 ай бұрын
I'm so glad, dude! Thanks for watching and thanks for engaging...! ✌️
@alexanderalikin1210
@alexanderalikin1210 7 ай бұрын
Finally a proper and robust solution, tired of those subpar tutorials that don’t give you the scalability everyone needs. Thanks!
@UnrealBench
@UnrealBench Ай бұрын
The best system I've seen so far. Good job 👌
@-RiSK-AK
@-RiSK-AK 14 күн бұрын
What a calm and understandable video!
@hosseinnafisinia9151
@hosseinnafisinia9151 4 ай бұрын
Well done man, I really love the way you used BPinterface to interact. Keep up good work lad.
@Justlivin00
@Justlivin00 Ай бұрын
Thank you for this tutorial. I just finished watching it and can definitely say I will be back to follow along and learn from this.
@Gamer_968
@Gamer_968 3 ай бұрын
Thank you for the effort you made to provide explanations to us in a simple and understandable way. I wish you success and continue to provide more. 💙
@AurelManghost
@AurelManghost 9 ай бұрын
Thank you Mizzo for your teaches because now I understand what to use if I want to create my game alone
@CornerOfMysteriousStories
@CornerOfMysteriousStories 8 ай бұрын
Great tutorial, thank you very much! I'm waiting for more vids like this
@melvyn1970
@melvyn1970 5 ай бұрын
Another fantastic tutorial, keep it up 👍
@intaloemanoel
@intaloemanoel 9 ай бұрын
Wonderful tutorial!
@Develonaut
@Develonaut 2 ай бұрын
"A fucking massive asualt rifle" has me rolling dude. Thing is absolutely huge! Another great video!!!
@Mohammed02
@Mohammed02 10 ай бұрын
That's was so Useful thanx and keep on we waiting U bro 👍💚
@MizzoFrizzo
@MizzoFrizzo 10 ай бұрын
That's very kind of you to say. Glad you found value in it! Thanks for watching and thanks for engaging!
@Mohammed02
@Mohammed02 10 ай бұрын
can u make tutorial about aim down sight like how to aim for each weapon ?@@MizzoFrizzo
@MizzoFrizzo
@MizzoFrizzo 10 ай бұрын
@Mohammed02 Did you watch Part 1 of this TFPS Series? Of course I'll be doing that...
@Mohammed02
@Mohammed02 10 ай бұрын
Thanx , yes I watched it @@MizzoFrizzo
@mathewgalvan6899
@mathewgalvan6899 6 ай бұрын
Subbed, thank you for the tutorial!
@amad3us_
@amad3us_ 6 ай бұрын
Thank you man! Amazing!
@MoHa-bl6lv
@MoHa-bl6lv 9 ай бұрын
The greatest channel on youtube keep on
@MizzoFrizzo
@MizzoFrizzo 9 ай бұрын
Sorry, guys, if anybody is having trouble attaching (picking up) the weapons, try changing all the "keep relative" to "snap to target" on the attach actor to component node (also, remember to HOLD 'F' if you set up your action input the same as mine). 🙏
@intaloemanoel
@intaloemanoel 9 ай бұрын
Hey! I deleted the comment because I thought I found the problem but nope... I tried changing to Snap to Target but still no success about it. I don't know if it's the problem but I'm using other weapon models but as default scene component, it should've been working right?
@MizzoFrizzo
@MizzoFrizzo 9 ай бұрын
@intaloemanoel Yeah it should. Sorry man I have no idea without looking over your code. Only other things I can suggest are double triple checking your spawn weapon logic and the class defaults of your pickup BPs...
@intaloemanoel
@intaloemanoel 9 ай бұрын
@@MizzoFrizzo Thank you so much! I'll look for it :)
@user-cw8pb7do6l
@user-cw8pb7do6l 9 ай бұрын
sorry could you be a bit clearer here for start where is the attach actor to component node
@user-cw8pb7do6l
@user-cw8pb7do6l 9 ай бұрын
I found it BP-character _ the 2 boxes at the very right/end off event graph
@Clydiie
@Clydiie 3 ай бұрын
"a fking massive rifle" lmao Seriously, thank you for these videos. These are honestly the easiest videos to follow I've found in 6 months of trying to learn Unreal. I feel like I've learned more in these 5 episodes than I have in 6 months.
@MizzoFrizzo
@MizzoFrizzo 3 ай бұрын
Haha classic. Hey thanks, man, that's very kind. I highly recommend going on to my two weapon system after this one, as it adds to it nicely. I also added a full ammunition inventory with reserve ammo etc.
@Clydiie
@Clydiie 3 ай бұрын
@MizzoFrizzo I 100% will be thank you, I'll most likely be watching all your videos for the rest of the day lol
@McLarsen100
@McLarsen100 7 ай бұрын
If you find your gun turning right after "Left-click (Mouse)" then choose the other animation inside the BP_Pistol -> Play Animation. (there is two Fire_Pistol_W and they have the same name).
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
The one you originally selected is probably for the other pistol in the other pack.
@bev2224
@bev2224 Ай бұрын
I started ue5 learning to code now I’m trying to learn blueprints thanks for this
@Mister-Architect
@Mister-Architect 3 ай бұрын
merci beaucoup pour ce tutoriel ! tu es un génie :)
@thebasementdweller9944
@thebasementdweller9944 8 ай бұрын
Great tutorial, but I seem to be having an issue getting the firing animation to play, as an FYI I am not using the starter weapon pack and got my weapons, character model, and animations off sketchfab. When I try to fire my weapon using an animation montage nothing happens, but when I pull a print string off the play montage execution pin it shows its firing, however, when I pull the print string out of the complete node it doesn't say its firing. So I decided to use play animation sequence on model as you did in the video and it worked, but upon firing, it repositions my weapon in a different location about a foot above where there actual socket is located do you have any idea why my play anim montage isn't playing or why using play animation sequence is working but repositioning my weapon? I haven't had a single issue with any other part of the tutorial and even went onto the next part and got that working as well being able to seamlessly transition between weapons and there respective animation blend spaces. Thanks for any advice you can give.
@hernanramirez1120
@hernanramirez1120 2 ай бұрын
Hello, how are you, I also have this problem, were you able to find the solution?🤷‍♂
@hallen.09
@hallen.09 4 ай бұрын
Hey, for anyone who's gun is not appearing and is getting the following error: PIE: Error: Blueprint Runtime Error: "Accessed None trying to read property K2Node_Event_CharacterPickingUp". Node: Spawn Weapon Graph: EventGraph Function: Execute Ubergraph BP Weapon Pickup Blueprint: BP_WeaponPickup Make sure you connect Character Picking Up to a "get a reference to self" in Interact event call triggered by the EnhancedInputAction IA_Interact event. That fixed it for me. Great tutorial by the way.
@MizzoFrizzo
@MizzoFrizzo 4 ай бұрын
Yes, as we do in the video. 🙂
@hallen.09
@hallen.09 4 ай бұрын
@@MizzoFrizzo Yeah I realised that right after I posted lol 🤦
@kjoligbris
@kjoligbris 7 ай бұрын
Bro your video is amazing. Had a funny 5 mins when I forgot to plug something in tho 😅
@QDollaz007
@QDollaz007 Ай бұрын
Good job
@schumirc2
@schumirc2 8 ай бұрын
Sensacional! Parabéns pela explicação!
@MizzoFrizzo
@MizzoFrizzo 8 ай бұрын
🫶
@lupen-gameplay8887
@lupen-gameplay8887 7 ай бұрын
I have seen many tutorials and few like yours. Great quality! I just have one question... As the system has stated, when referring to a class to spawn weapons along the way, the information that you want to store in them is lost. Like for example ammunition. How would you make sure that if I use 12 bullets from a gun, and I throw the gun to pick it up again, I still have the remaining ammunition?
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
I'll add more to this system in future videos, such as an inventory and ammunition system. 🙂
@PureRealityGamesStudio
@PureRealityGamesStudio 7 ай бұрын
Hi @MizzoFrizzo, congrats for the great tutorial. I have a question about your system: It is usual in the development to create a Bp for Attach and a Bp for pickup? Thinking about updating the system is seems a little bit of extra work to always create 2Bps of the same new weapon I want to add in my game. Like, if we use as example a game like Escape from tarkov (or any other AAA games), do you know if they work in the same way? I´m asking you this because I´m working on my own weapon system and I want to add new weapons just by setting up a data table and changing only one BP (with the skeletal mesh), and I thought if could not have a way to keep it all in the same BP, like disabling collisions+physics while the gun is attached and then reactivating collisions+physics when dropping it using a detach from actor node for example.
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
No idea, man.
@PureRealityGamesStudio
@PureRealityGamesStudio 7 ай бұрын
@@MizzoFrizzo Thanks anyways man, keep up with your good work. Congrats
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
@PureRealityGamesStudio Sorry man I'm not an expert, I just hope to make some yt guides that are of good quality and don't waste too much of people's time. 🫡
@notthings6443
@notthings6443 Ай бұрын
유익한 정보 감사합니다.
@MizzoFrizzo
@MizzoFrizzo Ай бұрын
English?
@Endyboiiyt
@Endyboiiyt 25 күн бұрын
He said thank you for the useful information
@rexz-1153
@rexz-1153 3 ай бұрын
Man you just AWESOME
@thereweare7461
@thereweare7461 10 ай бұрын
Thank you very much for this Series, what is the next Part about?
@MizzoFrizzo
@MizzoFrizzo 10 ай бұрын
Not sure but probably about animation...
@shahmaarbaba
@shahmaarbaba 9 ай бұрын
u r incredible man
@MizzoFrizzo
@MizzoFrizzo 9 ай бұрын
You're so kind. Thanks for watching and thanks for engaging! ✌️
@user-oz7bv5sq4h
@user-oz7bv5sq4h 4 ай бұрын
Hey @MizzoFrizzo I have a question which may sound dumb. But with this Weapon System would it also act as a start to an Inventory system as well? Asking because I notice we're creating Pickup Logic and a system that stores the weapons. Also, I understand the Enum_Name, Enum_Type etc. But let's say I have an apple I want to pickup, none of these values would apply. Basically, can this system be expanded upon as a full Inventory System or are the two separate?
@MizzoFrizzo
@MizzoFrizzo 4 ай бұрын
No not really. For an inventory system I'd use arrays of structures etc, but it's definitely possible to set up an inventory system that works well with this weapons system. Unfortunately I'm under the weather atm and can't tell you when I'll be able to cover that.
@Zero-it7pd
@Zero-it7pd 2 ай бұрын
No because you are not keeping any of the logic for the item picked up. And when you pick up another it destroys the original and creates a new copy. So each time you swap out the weapon you just create a new one.
@JP-oo4wz
@JP-oo4wz 3 ай бұрын
hey all, for anyone having the gun spawning at the feet instead of hands issue like i had, the 'Parent' slot for the 'Attach Actor to Component' node in BP_FirstPersonCharacter has to be connected to your first person character model, which would be your arms mesh :) hope this helps!
@trevorbotha3548
@trevorbotha3548 11 күн бұрын
When I am adding the BPI Interact Implemented Interface, it is not coming up on the left under my blueprint. It is also not on the pickup Child, Could anyone give me some advice ?
@MrA16Music
@MrA16Music 7 ай бұрын
Amazing tutorial. Do you think you could make a tutorial for how to have different first person animation depending on which weapon is active? I literally can't find anything about that
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
It's in the very next video, my dude. 🙂 kzbin.info/www/bejne/iqqsqoh-ndSliKsfeature=shared
@MrA16Music
@MrA16Music 7 ай бұрын
@@MizzoFrizzo Awesome, thanks!
@ryanjordansound2290
@ryanjordansound2290 26 күн бұрын
I'm currently working in Unreal version 5.0.3 and do not have the input folder with inputs in my project. I'm assuming I need to be using an updated version?
@MizzoFrizzo
@MizzoFrizzo 26 күн бұрын
Probably a good idea to at least use 5.3.2
@spiritdragon6224
@spiritdragon6224 4 ай бұрын
do you know what would have to be done to this to make it network replicable
@TheKelkal42
@TheKelkal42 10 ай бұрын
thanks for all man
@MizzoFrizzo
@MizzoFrizzo 10 ай бұрын
Thanks for watching, bro! ✌️
@Weas3l101
@Weas3l101 11 күн бұрын
I think i followed the tutorial well but, my guns spawn and i can interact with them. But when I interact they dont spawn and when i interact with another gun, they dont spawn infront when i swap guns. Any idea of where i went wrong?
@Damager0415
@Damager0415 Ай бұрын
Hey @MizzoFrizzo ! So i ran into this issue where the Model I am holding when I pickup the weapon, has a different Scale from the one in for example BP_Pistol. BP_Pistol has the scale set to 0.7 but in game it changes back to 1. Do you know a fix?
@Damager0415
@Damager0415 Ай бұрын
Nvm, I figured it out. The "snap to Target" messes it up
@1manband1
@1manband1 24 күн бұрын
First off, Thanks for the tut. It's great and easily digestible. Currently I'm stuck at 26:41 when setting the parent of the Attach Actor to Component Node. The Bones for my mesh don't appear in the components section. Is this something you've set up in a previous video of this series? TIA Edit: I just attached it to the mesh and it seems to work, but I'm not sure if that will cause problems down the road
@MizzoFrizzo
@MizzoFrizzo 24 күн бұрын
Oh that's a metahuman body. Just use mesh or whatever your character's skeletal mesh is. 👍
@InterKoum
@InterKoum 7 ай бұрын
I have a problem ! When i shoot with the little gun the gun completly glitch and rotate in the hand and the gun can be spammed ! Can somebody help me please ?
@familieboon3876
@familieboon3876 6 ай бұрын
Hi, Question at 20:40 I don't get a 'Spawn Weapon' event reference, I checked it like 6 times and I did the same as you did, The only thing I get is a add 'spawnable from Instance' node with a select node in it, I can get the node in my Character Blueprint. Am I doing something wrong here?
@MizzoFrizzo
@MizzoFrizzo 6 ай бұрын
You must be. 🤷‍♂️
@Vap3Lif3_MCMXCV
@Vap3Lif3_MCMXCV 5 ай бұрын
@MizzoFrizzo Subbed and looking forward to following this series. I was having an issue where when I tried playing the level, the weapons would just disappear and nothing would spawn in my characters hands. Figured out that i missed the reference to self at about 32:20. LOL, I feel stupid for missing that, but glad I figured it out.
@MizzoFrizzo
@MizzoFrizzo 5 ай бұрын
I even missed it lol look closely and you'll see a cut... 😏
@Vap3Lif3_MCMXCV
@Vap3Lif3_MCMXCV 5 ай бұрын
@@MizzoFrizzo LOL 🤣 even the pros make mistakes. The only difference is how good they can cover it up 😉
@Defer94
@Defer94 3 ай бұрын
Am i the only one having the Interact (message) node missing at 19:25? I looked for it even in the Find in Blueprint browser and nothing, its just no there (along with BPI interact). Could it be that its coming from a specific plugin? EDIT: Solved by adding a Get Reference to Self node connected to the target pin in the Get Overlapping Actors node. It will then appear...
@obbldudeTV
@obbldudeTV 4 ай бұрын
Just out of curiosity why use the static mesh then select skeletal mesh in the BP? Couldn't you have just used the skeletal mesh in the first place? Just wondering as to why do one over the other in this instance. I'm still super new to UE5 so just trying to figure out why. Is it just using the static mesh while it's on the ground and when picked up it calls the skeletal mesh? If that's the case that makes sense. I'm just asking because I'm going to be adding a reload system and need to change the bones around a little bit to do so and I just want to make sure that when I change the bones on the gun that it's going to reflect that in the project. I'm not doubting you at all BTW just trying to make sense of it is all. Thank you.
@MizzoFrizzo
@MizzoFrizzo 4 ай бұрын
Yep that's why
@michaelwood3825
@michaelwood3825 6 ай бұрын
Any guidance on setting this up for MP? I understand the basics, and have tried a few ways to make this replicate using switch on authority, and also setting up multicast and run on server but I'm struggling to get my head round it!
@MizzoFrizzo
@MizzoFrizzo 6 ай бұрын
No sorry I don't. All the best with it though!
@worldofvr4962
@worldofvr4962 3 ай бұрын
easy to follow along tutorial however i have a problem i cant see the gun in my hand! i can see when its dropped on the floor but doesn't appear in my hand. the only part i didn't follow was adding the parent to body as i haven't set any of that up. I am using adventure character not a meta human, does that matter?
@worldofvr4962
@worldofvr4962 3 ай бұрын
Fixed it parent needs to be mesh if your not following along with the series.
@KajunWaters
@KajunWaters Ай бұрын
Yo bro! Watched your "How To Make Your First Game - Unreal Engine 5 Beginner Tutorial" and made my first game in one sitting! Your content is amazing bro. Question, will this tutorial be able to work in a third person game? Want to implement a weapons system but I see this is for first person shooters.
@MizzoFrizzo
@MizzoFrizzo Ай бұрын
That's awesome, man! Yes it will, you just need to make sure that all 'keep relative' on the attach to nodes are changed to 'snap to target'. 👍
@kajun.waters
@kajun.waters Ай бұрын
@@MizzoFrizzo Bet thank you bro, trying it now
@77abidi
@77abidi 13 күн бұрын
Man, this tutorial was running perfectly until 20:00, when you type spawn weapon on the event interact i dont have this function, i tried to drag the spawn weapon from my bp character but it says : "error this blueprint (self) is not a therefore ‘ target ’ must have a connection." and i cant connect anything on that, can you please help me? Thanks
@MizzoFrizzo
@MizzoFrizzo 12 күн бұрын
You clearly missed something. Go back over the section where we create the blueprint interface...
@blackmaskedman
@blackmaskedman 3 ай бұрын
GREAT tutorial, But how do i add animations to weapons? (working on a massive TPS Project) and this tutorial helped me a lot
@tritium0728
@tritium0728 4 ай бұрын
Hey will i have any issues with this tutorial following along with my TPS project. I don't plan on implementing a FPS system except when scoping in. Thanks!
@MizzoFrizzo
@MizzoFrizzo 4 ай бұрын
Nope, it should work fine as long as you change all the Keep Relative on the attach actor to component nodes to Snap To Target. Enjoy!
@tritium0728
@tritium0728 4 ай бұрын
Awesome appreciate the quick reply! @@MizzoFrizzo
@ikepike
@ikepike 6 ай бұрын
Sounds like an great tutorial, but is it also possible to swap/hold between two weapons (such as in some fps games?)
@MizzoFrizzo
@MizzoFrizzo 6 ай бұрын
Yep. I'll eventually be releasing a tutorial on how to add an inventory and ammunition system to this.
@ikepike
@ikepike 6 ай бұрын
@@MizzoFrizzo nicee
@indielife192
@indielife192 6 ай бұрын
in terms of it shooting at the end of the video, does this tutorial only work with firing in the animation its in at the end? or can I have it so the person shoots ahead aswell
@MizzoFrizzo
@MizzoFrizzo 6 ай бұрын
What do you mean?
@indielife192
@indielife192 6 ай бұрын
@@MizzoFrizzo when showing it off at the end, the gun is shot facing the sky, im doing a college project right now trying to learn shooting guns, so was just curious if it had to be facing the gun upwards as seen in the video. But its all good now figured a way out :)
@MizzoFrizzo
@MizzoFrizzo 6 ай бұрын
@indielife192 Of course it doesn't. Look at the start of the video. 🤦‍♂️
@indielife192
@indielife192 6 ай бұрын
@@MizzoFrizzo its something that didn’t have much given time to decide how I was going to make a working gun so i wasnt able to watch the whole video, i tried finding where the animation could be changed but was running out of time, thats all
@MizzoFrizzo
@MizzoFrizzo 6 ай бұрын
@@indielife192 This is generally how these tutorials work. Animation is a different topic, on which more information can be found in other videos in the series.
@user-qj1jl1io6z
@user-qj1jl1io6z 2 ай бұрын
Icannot find the weapon pack are there any similar ones that I can use?
@MizzoFrizzo
@MizzoFrizzo 2 ай бұрын
Try FPS Weapon Bundle. It doesn't come with animations or FX but has some really nice SKMs...
@user-qj1jl1io6z
@user-qj1jl1io6z 2 ай бұрын
@@MizzoFrizzo thanks
@netherworld8196
@netherworld8196 4 ай бұрын
How would I incorporate this into a inventory system? I haven’t fully watched video so was wondering how easy it would be to do so?
@MizzoFrizzo
@MizzoFrizzo 4 ай бұрын
Go on to my two weapon system after this one and you will see. ✌️
@seankannemeyer1984
@seankannemeyer1984 4 ай бұрын
Love this! Do you think I would be able to use this system w / melee weapons?
@MizzoFrizzo
@MizzoFrizzo 4 ай бұрын
Of course
@Nickster-ky4zn
@Nickster-ky4zn 3 ай бұрын
Great tutorial series so far! I'm having a issue with the physics and the weapons not simulating physics and not falling after i pick up a new weapon, what could be causing this? Was there a change to unreal that makes this not work right? because everything else in tutorial works perfectly fine so far. I'm using Version 5.3.2 of Unreal Engine in case that matters.
@MizzoFrizzo
@MizzoFrizzo 3 ай бұрын
Nope, everything works fine in 5.3. You must have missed something...
@Nickster-ky4zn
@Nickster-ky4zn 3 ай бұрын
It turns out i set the pickup class to BP weapon master instead of BP weapon pickup for the variable in the BP_WeaponMaster... anyway thanks for the tutorials they have been a huge help with learning unreal! @@MizzoFrizzo
@RealPelekito
@RealPelekito 6 ай бұрын
where do you place the diffrent hand animations that you had at the start?
@MizzoFrizzo
@MizzoFrizzo 6 ай бұрын
Continue with the series..
@emrahcoban4488
@emrahcoban4488 5 ай бұрын
Hey mate, the depth of my knowledge about UE5 and blueprints was up to here, I got super confused with all the different parent classes and functionality affecting each other lol. I am stuck in pickup logic and BP classes set up. Before continuing with this awesome series, I need to understand why we created 3 of both pickup and weapon BPs. Could you direct me to some other videos where I can understand BPIs and communicating various logic with each other and that sorta stuff? Thanks mate!
@MizzoFrizzo
@MizzoFrizzo 5 ай бұрын
Sorry, I don't know of any specific videos that explain inheritance etc...
@emrahcoban4488
@emrahcoban4488 5 ай бұрын
@@MizzoFrizzo oh ok. Thanks anyway for the great videos and keep em coming please. I'll try to catch up lol
@MizzoFrizzo
@MizzoFrizzo 5 ай бұрын
@@emrahcoban4488 Here you go: kzbin.info/www/bejne/oWqVlpR9hZmjqdUfeature=shared
@emrahcoban4488
@emrahcoban4488 5 ай бұрын
@@MizzoFrizzo you're a saint and a superstar!
@daviteixeiracesar6428
@daviteixeiracesar6428 2 ай бұрын
Hi, could you tell me the exact version of Unreal you use in the tutorial?
@MizzoFrizzo
@MizzoFrizzo 2 ай бұрын
No sorry I don't remember, but it doesn't matter. There's nothing in this video that has changed. You could even make it in 4.27.
@JakeyWebber96
@JakeyWebber96 10 ай бұрын
Very nice
@MizzoFrizzo
@MizzoFrizzo 10 ай бұрын
Slay...
@jju8756
@jju8756 2 ай бұрын
My question is, how do I attach two skeletal meshes? For example, if I have two guns or something, I have one static mesh but two skeletal meshes, one for the right hand and one for the left hand." current weapon" only allows me to set one, and I've tried adding "Enum_WeaponSubType" and so on, but I can't get it to work. (I'm Japanese, so my English might be a little strange. Thanks for the great explanatory video, which is not available in Japan)
@jju8756
@jju8756 2 ай бұрын
2pistols=dual wielding(Sorry, I don't know how to say it in English.)
@chuckymerchant236
@chuckymerchant236 3 ай бұрын
Started out terrified to do this but I'm loving it so far! I'm a little stuck on 1 thing though...when I hit play the gun doesn't spawn into the hand. it just kinda whacks me in the nuts and falls to the floor again? any suggestions would help. cheers!
@MizzoFrizzo
@MizzoFrizzo 3 ай бұрын
Just go back over everything. I promise you it works if you set it up properly.
@chuckymerchant236
@chuckymerchant236 3 ай бұрын
​@@MizzoFrizzo I've followed this religiously so far, I just know it's gonna be something sooo stupid 😂
@chuckymerchant236
@chuckymerchant236 3 ай бұрын
just deleted everything I done last night, deleted the IMC default and now I'm about to jump in the bath with the toaster.
@MizzoFrizzo
@MizzoFrizzo 3 ай бұрын
@chuckymerchant236 Don't do that lol are you fairly new to unreal?
@chuckymerchant236
@chuckymerchant236 3 ай бұрын
@@MizzoFrizzo I already did man 😂 Just starting part 3 again now. I've been using Unreal for a few months and had nothing but problems since day 1 to be honest. I'm pretty good at building the environment I want, but this is my firat proper dive into blueprints. I started off great and then that thing with the guns happened, I went back over it all again today and checked everything was the same as you done and got frustrated and deleted it all 😂. Could the problem be the naming of things? I used the black pistol instead of the silver one and I've been naming everything I need to edit in caps so I can tell what belongs to the engine and what I've done. Is it something as stupid as that cos I honestly just want to make this one single game and it's just proving to be one of the hardest things I've ever done at this point
@sleepstudy7448
@sleepstudy7448 10 ай бұрын
Can you add a system where instead of dropping the gun when you pick up another weapon is should go on your back or something
@MizzoFrizzo
@MizzoFrizzo 10 ай бұрын
I'll see what I can do. 🙂
@kjoligbris
@kjoligbris 7 ай бұрын
I'm using the Default Damage nodes for my damage and health system. Any idea how I'd change each weapons damage output? Currently I have a projectile that fires which has a simple Apply damage script.
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
Yes. Use the damage variable stored in each weapon as done in this tutorial...
@kjoligbris
@kjoligbris 7 ай бұрын
@@MizzoFrizzo How would I get those damage values into my Projectile bp?
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
@kjoligbris I'm not a full-time tutor. I don't usually try to help people learn UE5 outside of the tutorials I decide to record, but maybe you should try adding the current weapon variable to your projectile bp and then you can use its variables to do all kinds of nifty stuff.
@ManegrIs3n
@ManegrIs3n 4 ай бұрын
im having an issue when the metahuman picks up the gun you cant see the gun but the gun shooting logic works and you can se the muzzle flash but not the gun itsealf
@MizzoFrizzo
@MizzoFrizzo 4 ай бұрын
Yeah that's weird. Let me know if you figure out what the problem is/was.
@Ted1587
@Ted1587 7 ай бұрын
Hi, great tutorial! Am having a problem where when i pick another pistol up with a pistol already in my hand, the pistol on the floor just disappears.
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
The pistol pickup is supposed to disappear. You've picked it up, in which case we 'destroy actor'.
@jasonlee4640
@jasonlee4640 5 ай бұрын
I have a strange issue, when I pick up the weapon, following the switch on Enum, all my movement keys revert to backwards, i.e. the only movement I have is backward. Double checked the Spawn Weapon node setup in the player event graph and all is correct. Any ideas welcome.
@MizzoFrizzo
@MizzoFrizzo 5 ай бұрын
Wow that's really weird! I have no idea what might be causing that...
@Crouton_6
@Crouton_6 4 ай бұрын
you have to make sure the physics on the weapon isnt set to blockall or blockalldynamic or itll do something like this.
@MizzoFrizzo
@MizzoFrizzo 4 ай бұрын
@@Crouton_6 🤯
@cloudreacherinc.3168
@cloudreacherinc.3168 3 ай бұрын
First off all thank you for these toturials , is there a way to replicate all the systems for multiplayer ?
@MizzoFrizzo
@MizzoFrizzo 3 ай бұрын
Of course
@julzg5107
@julzg5107 10 күн бұрын
BP weaponmaster class reference is not compatible with BP weapon component class reference. what is problem... i had the same as video before 20m
@MizzoFrizzo
@MizzoFrizzo 10 күн бұрын
Where did you get BP Weapon Component? We did not do anything with components in this video...
@pwnonator
@pwnonator 7 ай бұрын
Thanks for the video, it helped me but i have a problem with the interact key. When i push e, it spams pick up, so trying to figure how to slow that down with a delay now, but u got me on track, thanks
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
Did you change the trigger to "is one shot" as instructed?
@MizzoFrizzo
@MizzoFrizzo 7 ай бұрын
@6:30
@pwnonator
@pwnonator 7 ай бұрын
no, i left it as default so i can have a button press, so what do i do in that case? Edit: I made it hold and selected .1 and 1 sht and seems to work now. Edit: 2 I switched it back to press, add a do once node and a .5sec delay to the interact enhance input, feels better. Thanks for the video and getting me on track@@MizzoFrizzo
@OddNate
@OddNate 2 ай бұрын
I can't seem to be able to add my gun model to the skeletal mesh Asset, did you have like a pre-setup filter on?
@MizzoFrizzo
@MizzoFrizzo 2 ай бұрын
Nope I try to demonstrate every step that is required. Maybe describe what's happening...?
@OddNate
@OddNate 2 ай бұрын
@@MizzoFrizzo When I clicked to add my gun asset to the skeletal mesh, I came up with the basic skeleton, cube (can’t remember the last one) but I couldn’t add my gun in even if I dragged it from the content browser.
@MizzoFrizzo
@MizzoFrizzo 2 ай бұрын
@@OddNate That's weird. You must have messed something up for that to be the case...
@OddNate
@OddNate 2 ай бұрын
@@MizzoFrizzo What do you think could cause that? I don’t know if it helps but I’m starting from a blank project but that should affect anything right?
@MizzoFrizzo
@MizzoFrizzo 2 ай бұрын
@mcminer31 Are you trying to add a skeletal mesh to the pickup BP which only contains a static mesh component?
@charles8059
@charles8059 5 ай бұрын
Hi, first of all thanks for this tutorial, it's very helpful, however, I'm a bit lost at 24:00. I got that 'Current Weapon', however I can't get the 'Pickup Class' and I got no idea why.. I double checked the entire tutorial, but I can't find the moment when we created that part.. What have I done wrong? :(
@MizzoFrizzo
@MizzoFrizzo 5 ай бұрын
You missed the part where we add the variable Pickup Class to our BP_WeaponMaster. It's of type Class Reference to BP_WeaponPickup. You then also need to set the Pickup Class in the class defaults of each weapon BP.
@charles8059
@charles8059 5 ай бұрын
@@MizzoFrizzo thank you so much! I had a typo in the variable.. So I did not miss that haha, anyway, it works now. Thanks again!
@MizzoFrizzo
@MizzoFrizzo 5 ай бұрын
@@charles8059 You're very welcome, my guy. 🫶
@elganzandere
@elganzandere 9 ай бұрын
Question. I have several Metahumans so I have been implementing everything in the 3rdPersonChar default BP. Is that alright, or must it be done in each Metahuman you wish to play as ?
@MizzoFrizzo
@MizzoFrizzo 9 ай бұрын
I'm not sure if they'll inherit the logic. Try it and see...
@elganzandere
@elganzandere 9 ай бұрын
@@MizzoFrizzo will report back, once I know.
@elganzandere
@elganzandere 9 ай бұрын
Hand socket(s) & everything else appear to have inherited from Parent, as expected. v5.2.1
@MizzoFrizzo
@MizzoFrizzo 9 ай бұрын
@elganzandere The models aren't scaled the same so I'd be concerned with the position of the socket relative to the hands...
@elganzandere
@elganzandere 9 ай бұрын
@@MizzoFrizzo good to know, thank you. greatly appreciate you narrating in a way that minimizes having to *pause* / alt+tab out of Editor to rewind, et cetera
@Gamer_Dued
@Gamer_Dued 3 ай бұрын
Nice totorial but I have 1 question I cant find the _Main file anywhere I searched up I looked at the place but it is not there
@MizzoFrizzo
@MizzoFrizzo 3 ай бұрын
It's a folder we created. 🤦‍♂️
@Hxttrick
@Hxttrick 8 ай бұрын
For some reason 'Simulate Physics' is greyed out and can't be enabled for the PickupObject in BP_PickupMaster
@McLarsen100
@McLarsen100 7 ай бұрын
Use the Square. It doesn't matter in the end ;)
@jaxonmcdonald6625
@jaxonmcdonald6625 7 ай бұрын
I had the same problem but I figured it out because I used skeletal mesh instead of static mesh. Hope that helps!!!
@HTETyt
@HTETyt 3 ай бұрын
This is probably fixed in the future videos but just in case: If I switch weapons while holding fire, it will take the previous firing mode and apply it to the current weapon. Ofcourse, switching pistol to assault rifle don't really do anything, but switching assualt rifle to pistol, wellllll... *rapid firing pistol shots in the distance* The pistol is in AutoFiring mode xD It will reset to their own default firing modes when I release the trigger.
@franccca
@franccca 9 ай бұрын
Hey, Mizzo! I have a question: can the player hold two guns with this system? Actually I'm trying to make de Character hold a flashlight in his left hand. Because right now he throws it away to get the pistol Lol
@MizzoFrizzo
@MizzoFrizzo 9 ай бұрын
Yeah of course, dude. First thing I would do is set up a separate spawn logic for left-handed items. 😉
@Conversion108
@Conversion108 10 ай бұрын
thanks!
@shirakuyanai4095
@shirakuyanai4095 3 ай бұрын
How to pickup items only when hovering crosshair over them? I can't find anything about it on google.
@MizzoFrizzo
@MizzoFrizzo 3 ай бұрын
Search "line trace interaction" 😉
@shirakuyanai4095
@shirakuyanai4095 3 ай бұрын
@@MizzoFrizzo Couldn't find that either. But I did find out that you can use interface in combination with line trace by channel to achive this.
@MizzoFrizzo
@MizzoFrizzo 3 ай бұрын
@@shirakuyanai4095 Yes. Try youtube. It comes right up.
@Zhroomtrip
@Zhroomtrip 2 ай бұрын
Any idea how the hell this happened? My engine crashes and now the spawn actor by class return value won't connect to the set current weapon node. Timestamp 26:50. It's says actor reference isn't compatible. It was all working perfect before
@Zhroomtrip
@Zhroomtrip 2 ай бұрын
i figured it out...
@bwinta
@bwinta 2 ай бұрын
@@Zhroomtrip What did you do to fix it?
@jako_091
@jako_091 6 ай бұрын
Please i need help! Every Time i try to use "Weapon to Spawn" it says "BP Weapon Class Reference is not compitable with BP Weapon Component Class References" Please Help me thanks And heres the Time where i have to use it 20:53
@MizzoFrizzo
@MizzoFrizzo 6 ай бұрын
I can't be sure why that would be happening. Perhaps go back to where we create the weapon to spawn reference and make sure you follow along correctly...
@williambailey1451
@williambailey1451 9 ай бұрын
At 36:43 my Assault Rifle still isn't showing in my characters hand and I'm not sure what I've done wrong since I've followed all of you videos instructions very closely.
@MizzoFrizzo
@MizzoFrizzo 9 ай бұрын
That's strange. Maybe go back through the video and double triple check you haven't missed anything. I think it happens to the best of us...
@williambailey1451
@williambailey1451 9 ай бұрын
@@MizzoFrizzo damn... this is gonna take a while. The pistol shows up tho.
@MizzoFrizzo
@MizzoFrizzo 9 ай бұрын
@williambailey1451 First things I would check are the class defaults of the assault rifle pickup, and the spawn weapon logic.
@MizzoFrizzo
@MizzoFrizzo 9 ай бұрын
@@williambailey1451 Did you figure out the problem? Would really like to know what happened...
@snowfoxvr4874
@snowfoxvr4874 Ай бұрын
hey the pistol falls through objects do you know how to fix btw love the vid
@forkplustoaster9603
@forkplustoaster9603 25 күн бұрын
Do the objects it falls through have collisions?
@yamin45247
@yamin45247 10 күн бұрын
at 24:11 , you linked " current weapon " variable with " pickup class " , but when i try to do that it give me that they aren't compatible , i hope you can help me in this and thanks
@MizzoFrizzo
@MizzoFrizzo 10 күн бұрын
What I'm doing there is getting the variable 'pickup class' from 'current weapon' which is an object reference to a child of BP_WeaponMaster. Make sure you created that variable inside BP_WeaponMaster @17:12 and then set it in the class defaults of the children.
@yamin45247
@yamin45247 9 күн бұрын
@@MizzoFrizzo yea they are linked as you did in the video , when i try to link the target of the " pickup class " target to the " current weapon " it says :"Weapon Master Object Reference is no compatible with BP Weapon Master Object Reference"
@MizzoFrizzo
@MizzoFrizzo 9 күн бұрын
@@yamin45247 Strange. I don't know what you've missed, but you've definitely missed something...
@yamin45247
@yamin45247 9 күн бұрын
@@MizzoFrizzo Could the versions make this difference ?
@MizzoFrizzo
@MizzoFrizzo 9 күн бұрын
@@yamin45247 I very much doubt it.
@MilkGGs
@MilkGGs 10 ай бұрын
do you know how to fix this issue im having with this error code "Blueprint Runtime Error: "Accessed None trying to read property CurrentWeapon". Node: Switch on Enum_WeaponName Graph: EventGraph Function: Execute Ubergraph BP Third Person Character Blueprint: BP_ThirdPersonCharacter" Im at the 33 min mark with error
@MilkGGs
@MilkGGs 10 ай бұрын
nvm fixed it
@MizzoFrizzo
@MizzoFrizzo 10 ай бұрын
@@MilkGGs Was it the Is Valid??
@MilkGGs
@MilkGGs 10 ай бұрын
@@MizzoFrizzo the problem was I had gotten ahead and I was on track and then my ue crashed and I didnt have something saved when ever I reloaded so I just had to redo it, but I do have another question about when I fire the gun in my hand it turns sideways through my hand, but my character holds it fine up until I fire the weapon
@MizzoFrizzo
@MizzoFrizzo 10 ай бұрын
@@MilkGGs That's really strange, man. It's hard for me to say why that might be happening without first looking over your code. 🤔
@MilkGGs
@MilkGGs 10 ай бұрын
@@MizzoFrizzo yeah im going to keep at it try and figure it out
@simon_coding
@simon_coding 4 ай бұрын
Hello, i have a question, can i use those weapons in this pack in a free/paid game?? Because i didn't find a real answer for this question, some people say yes and some people say no. Thank you.
@MizzoFrizzo
@MizzoFrizzo 4 ай бұрын
No idea.
@netherworld8196
@netherworld8196 4 ай бұрын
Should be able to if it’s up on the unreal market place. The only thing you have to watch out for is when it uses features not on unreal like ai stuff where you need to use their website to do stuff.
@netherworld8196
@netherworld8196 4 ай бұрын
95% of stuff on market place should be safe to use in game.
@simon_coding
@simon_coding 4 ай бұрын
Ok thanks@@netherworld8196
@Meansters
@Meansters 5 ай бұрын
okay i had trouble with the assult rifle firing if anyone else has this problem make sure in Bp_assult rifle or Pistol it is play animation instead of set
@sololt
@sololt 3 ай бұрын
I am at 8:51 and I can not find the "chandra" for the variable pin type what did i do wrong??
@MizzoFrizzo
@MizzoFrizzo 3 ай бұрын
It's an object reference to whichever character blueprint you're using
@Blacklisted_Gaming
@Blacklisted_Gaming Ай бұрын
it's the name of your character. If you're using the default FPS blueprint, it will be BP First Person Character
@sololt
@sololt Ай бұрын
@Blacklisted_Gaming thank you
10 Unreal Engine 5 PLUGINS I can't live without!
9:37
Cinecom.net
Рет қаралды 441 М.
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 28 МЛН
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 568 М.
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 5 МЛН
1 класс vs 11 класс (неаккуратность)
01:00
How To Make A Third Person Shooter - Unreal Engine 5 Tutorial
57:03
Unreal Engine Customize Weapon Tutorial
6:07
Seredias
Рет қаралды 6 М.
I Optimised My Game Engine Up To 12000 FPS
11:58
Vercidium
Рет қаралды 479 М.
3 Devs Make An FPS - Godot vs Unity vs Unreal || GameDev Battles
12:39
Monster Hunter Wilds - Message from the Developers
6:07
Monster Hunter
Рет қаралды 63 М.
5 Tricks you (probably) don't know about Unreal Engine 5
10:44
Cinecom.net
Рет қаралды 346 М.
дед пранканул маму киллера #роблокс #мем #анимация
0:43
MAIZEN But Everything is weird - MAIZEN Minecraft Animation #shorts
0:27
Kamui - Minecraft Animation
Рет қаралды 27 МЛН
Bling Bang Bang Born fight: Aaron Vs Zane #minecraftshorts
0:13
BigBlockCraft
Рет қаралды 13 МЛН