No video

How To Make A Multiplayer FPS (First Person Shooter) - Part 4 - Unreal Engine 5.4 Tutorial

  Рет қаралды 4,120

Pitchfork Academy (MizzoFrizzo & Co.)

Pitchfork Academy (MizzoFrizzo & Co.)

2 ай бұрын

In this tutorial, which is Part 4 of my How To Make A Multiplayer First Person Shooter In Unreal Engine 5 tutorial series, I'll show you how to set up the core code of a replicated two weapon system, as well as how to blend between animations based on which weapon your character is holding.
Patreon: / mizzofrizzo
Subreddit: / mizzofrizzo_tutorials
Facebook: / 884349679908510
Part 1 (UE5.3 version): • How To Make A Multipla...
Part 1.1 (UE5.4 version): • How To Make A Multipla...
Part 2: • How To Make A Multipla...
Part 3: • How To Make A Multipla...
Part 4: • How To Make A Multipla...
Part 5: • How To Make A Multipla...
Part 6: • How To Make A Multipla...
Part 7: • How To Make A Multipla...

Пікірлер: 89
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
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
@abdulkarimjouhar
@abdulkarimjouhar 2 ай бұрын
For all the people your videos has helped and will help, thank you.
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
I appreciate it so much, my guy, but why not just donate via Patreon and get access to the Discord???
@abdulkarimjouhar
@abdulkarimjouhar 2 ай бұрын
@@PitchforkAcademy I don't have discord :)
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
@@abdulkarimjouhar Wellll you should get it. Can't be an indie developer without it, really.
@abdulkarimjouhar
@abdulkarimjouhar 2 ай бұрын
@@PitchforkAcademy I'm not a game developer or anything of that sorts. I found myself looking into what developers do to make video games and one thing lead me to another and now im watching random tutorials on KZfaq :)
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
@abdulkarimjouhar Wow, you're very generous to make a donation to a channel that you aren't even using. Thanks very much and all the best to you! 🫶
@yakovAU
@yakovAU 2 ай бұрын
Exceptional tutorial. not many go as in depth as this.
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
That's very kind of you to say! I'm really hoping to make something very cool with this one... 😁
@detri-codes
@detri-codes 2 ай бұрын
This is what I like so much about this channel. Things are explained so well and in detail that you're really absorbing what you're doing, so you can invent your own gameplay systems. After following the TFPS tutorials I felt like a blueprint genius because all the knowledge actually stuck.
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
@AaronDosser You can't imagine just how much comments like this mean to me. Thank you so much for your kind words, your support, and thank you for watching! 🫶
@Folairies
@Folairies 2 ай бұрын
Damn man, your tutorials are great. I lost the files to my project when i was following your tutorial and am too lazy to rewatch, but I always come back to your videos. :)
@BrutalFoX.
@BrutalFoX. 2 ай бұрын
I've been away for a while, been sick, now I'm back, can't wait for more videos, ty for sharing your knowledge
@lukewestfall1186
@lukewestfall1186 18 күн бұрын
Thanks! Learning allot. Hopefully will be able to make my own adjustments in time.
@PitchforkAcademy
@PitchforkAcademy 18 күн бұрын
Thank you so much! 🤩 You most certainly will be able to as you learn more and more about how to achieve whatever it is you want to achieve. 🫶
@HawkenRaider
@HawkenRaider 2 ай бұрын
You really love the finals lol how could you not though really amazing game, super fun
@spreader5502
@spreader5502 9 сағат бұрын
32:20 When I drag Self to Set either the Primary Weapon or Secondary Weapon I get an error saying "Self Object Reference is not compatible with BP Weapon Comp Master Object Reference". I know it's something really dumb, I just can't seem to find it
@ndmnet
@ndmnet Ай бұрын
@MizzoFrizzo the interact event is declaring in a different signature idk why, I set it up as shown and double-checked related functions and files.
@ndmnet
@ndmnet Ай бұрын
nvm, I parented the weapon pickup master from the item pick-up master. For everyone else both item and weapon masters were duplicated from the main pick-up master. I found out the hard way.
@MichaelEmbers
@MichaelEmbers 2 ай бұрын
you got me! cant wait to join the frizzo crew
@thebaldguy458
@thebaldguy458 Ай бұрын
Hey, great tutorial so far but when i run the project and pick up the gun it gives this error "Blueprint Runtime Error: "Accessed None trying to read property FirstPersonCharacter". Node: Set Current Weapon Int Graph: EventGraph Function: Execute Ubergraph ABP Custom Arms Blueprint: ABP_CustomArms"
@thebaldguy458
@thebaldguy458 Ай бұрын
for some reason the ABP can't find the "first person character", tho it was working before with the default arms animation controller
@Folairies
@Folairies 2 ай бұрын
Is your next tutorial going to cover damage, and if so will we be able to connect the line trace with bullet drop tutorial to it? I was thinking of adding it to my game but didn't want to if it wouldn't work. :)
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
The next one will be about line traces and applying damage, yep! Maybe after that you can try to do bullet drop but it will likely present its own challenges haha
@Folairies
@Folairies 2 ай бұрын
@@PitchforkAcademy Okay, thanks for letting me know. Excited for the next tutorial!
@mxaxcbpg6500
@mxaxcbpg6500 2 ай бұрын
Love ya Mizzo keep smashing out the awesome content my brother
@Cryaboutit447
@Cryaboutit447 Ай бұрын
If your having problems with the gun going in the body of the character after you pickup 2 weapons this is how to fix it: "BP_Weapon_Comp_Master" then, where it says "destroy component" make sure you connect it to the secondary and primary weapon. Examp.le: destroy component Then, set primary weapon. do the same thing for the secondary weapon
@PitchforkAcademy
@PitchforkAcademy Ай бұрын
In other words, pay close attention and set up everything exactly as shown in the tutorial. 😉
@lukewestfall1186
@lukewestfall1186 26 күн бұрын
1:10:34 for some reason it works at first, but if I swap weapons a few times then it shows both primary and secondary at the same time again. Any tips on where I went wrong? The visibility seems correct
@6henny443
@6henny443 2 ай бұрын
In my game, the weapon pick up is replicating on both sides for the pistol and the rifle except whichever weapon you pick up. It will only swap to the other weapon one time if you try to swap again it will just take every weapon out of your hand and every time you pick up multiple assault rifles, it will stick one in the middle of yourpelvis
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
That's really weird. I think you must have made a mistake or two somewhere along the line. Good luck!
@6henny443
@6henny443 2 ай бұрын
@@PitchforkAcademy I just re ran through everything and it seems to be good now
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
@6henny443 I make my tutorials so that that's what you need to do for 99.99% of problems...
@seththecheeseman
@seththecheeseman 2 ай бұрын
@@6henny443 do ya know where ya messed up im having the same problem the you was and cant find it
@6henny443
@6henny443 2 ай бұрын
@@seththecheeseman had a mistake somewhere just wasn't sure exactly where just went over the weapon comp master bp again
@A.VRUBEL
@A.VRUBEL 2 ай бұрын
ty, I was really looking forward to this video
@Hunt4Glory
@Hunt4Glory 20 күн бұрын
Im getting the "accessed none trying to read property FirstPersonCharacter" . Node: Set current weapon INT Grapph: Event function: execute Ubergraph MH first person anim BP Blueprints: MH_FirstPerson_AnimBP
@PitchforkAcademy
@PitchforkAcademy 20 күн бұрын
@@Hunt4Glory Sounds like your reference is wrong somehow.
@Ect-m5m
@Ect-m5m 7 күн бұрын
Hey! Had to change IA_Interact to "pressed" instead of "hold". Weapon couldn't be pickup otherwise.
@PitchforkAcademy
@PitchforkAcademy 7 күн бұрын
@@Ect-m5m Were you holding the key? 🤨
@PitchforkAcademy
@PitchforkAcademy 7 күн бұрын
@@Ect-m5m I clearly show how to set it up to work with being held...
@Ect-m5m
@Ect-m5m 5 күн бұрын
@@PitchforkAcademy I did the exact same steps multiple times but wasn't working so I tried to fix the issue myself and I found out that when it's on pressed instead it was working. And yes I tried multiple times holding 1-2 secs ish just to make sure.
@6henny443
@6henny443 2 ай бұрын
Monthly uploads though :( is the tutorial prior to 5.4 fully available?
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
It was just the timing because my girl left to go traveling overseas. I'll be uploading much more frequently now... Not sure what you're asking though.
@6henny443
@6henny443 2 ай бұрын
@@PitchforkAcademy I was just talking about how there was a different series for 5.4. I didn’t know if the entire tutorial wascompleted.yet. I decided to go with 5.3.2
@ndmnet
@ndmnet Ай бұрын
@MizzoFrizzo I have no errors but the rifle will not pick up and none of my debugs are saying where the issues is or stopping at all in the weapon comp master
@ndmnet
@ndmnet Ай бұрын
still not working even after seeing that the weapon comp master is correctly parented
@ndmnet
@ndmnet Ай бұрын
this tutorial doesnt work at this point because I cant find where the issues is and debugging does nothing to at all every one I try and stop at is doesn't even know its overlapping with the AR collision
@ndmnet
@ndmnet Ай бұрын
Yeah so holding the F key down was the probroblem. I have never played a game that makes you hold a key down to pick up stuff off the ground so I am going to decrease it. Also the it spans another rifle at my location if you already have one equipped. my guess is you go over that but if not then now yall know
@lukewestfall1186
@lukewestfall1186 29 күн бұрын
@@ndmnetyes it has to do with weapon replication, he mentions it at like 29:00
@user-rc6tn2cz5p
@user-rc6tn2cz5p 28 күн бұрын
Hello, sir @MizzoFrizzo 👋👋👋 I'm having trouble picking up weapons, I've tried to fix it and keep watching the video several times to find my mistake in the Blueprint...but I can't find where the mistake is 😓 Is there anyone here who has experienced something similar like me, please help 🙏🙏🙏
@omaralhassan2300
@omaralhassan2300 2 ай бұрын
hey i just finished the tutorial. and its great everything works as expected and is set up well to be modular and customizable. i cant wait until the next tutorial. i hope we go in to actual gunplay XD would be awesome to have both a projectile weapon and a line trace weapon example XD. i just have an error happening on my end with the first-person anims. for some reason i cant get it to work i get this error (Blueprint Runtime Error: "Accessed None trying to read property FirstPersonCharacter". Node: Set Current Weapon INT Graph: EventGraph Function: Execute Ubergraph First Person Anim BP Blueprint: FirstPerson_AnimBP) but i kept going and the 3dperson anims works fine no problems there. it looks like it cant access the int that i set up even tho i did the exact same thing. it redirects me to this part 1:12:25. idk real what iv done wrong. do bear in mind i don't use metahuman arms. i just use the default Manny arms again many thanks for making these tutorials it helps a lot to us new guys to unreal especially cuz most tutes are outdated,
@omaralhassan2300
@omaralhassan2300 2 ай бұрын
ok never mind i fixed it it was because i didn't notice the section where you cast it to the first person character, probably something i missed in a previous tutorial. but saw a glimpse of it on the top left at 1:11:58. and it removed the error messages :) ok cool im already learning how to fix stuff now
@omaralhassan2300
@omaralhassan2300 2 ай бұрын
is it just me or does this happen to anyone else, when the client pick ups the rifle it can spawn infinite copies of the rifle when holding f. it doesn't do it with the pistol and the server cant do it either
@seththecheeseman
@seththecheeseman 2 ай бұрын
yeah does that with me dont know how to stop it
@6henny443
@6henny443 Ай бұрын
you end up figuring out what it was? running through here again, I found my client could drop unlimted ar's if he had an ar but it works otherwise and doesn't do that for the pistol or server. the code matches exactly and it works exactly as it works in the video, only drops one, But for the AR, the client has ability to keep activating drop, and it just keeps spawning a drop, even if not near a pickup.
@omaralhassan2300
@omaralhassan2300 Ай бұрын
@@6henny443 sadly not. Im still trying to figure it out. If u pick up the dublicated ar does it also just stick the guns to your hands ?. Also on server side if u try to interact with nothing while holding the rifle. It also just sticks the weapons to my hands.
@6henny443
@6henny443 Ай бұрын
@@omaralhassan2300 So if you are at the drop point in the tut we haven't yet set up the logic to hide the other gun or put in inventory yet. He does that later and it should work as long as you follow along. My issue is right now I started the tut over and at this point 56:35 my game does exactly as his, but for some reason if I'm on the client, and I have an AR, I can press interact and it will drop 1 AR weather I am near a pickup or not. If i am near a pickup, it only drops one and has the desired "swap" effect. However if I am away from the pickup, I can drop one AR at a time infinitely, but it doesn't do that for the pistol? and doesn't do it for either weapon on server. Idk
@omaralhassan2300
@omaralhassan2300 Ай бұрын
@@6henny443 Nono I have watched the tut like 4 times now. And I still have the issue. And the same behaviour as u. Try to interact with nothing while holding the ar. Then pick up a pistol. It should stick together for some reason. If I pick it up normally it behaves correctly but its got somthin to do with interacting with nothing. Idk why it does this. And on Client I can spawn infinit ars and if I pick it up it sticks. But for some reason the pistol behaves perfectly
@omaralhassan2300
@omaralhassan2300 2 ай бұрын
hey im stuck at 48:01 for some reason when i try connect the get pickup class to the ROS_Drop Weapon's Weapon to drop it says its incompatible. when i hover over it, BP Pickup Master Class Reference is not compatible with BP Weapon pickup Master Class Reference.
@yakovAU
@yakovAU 2 ай бұрын
same here. i think it might be a UE5.4 thing
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
The error is telling you exactly what your problem is. Find your ROS_Drop Weapon and click on it, then over in the details panel change the Weapon To Drop input type to BP Weapon Pickup Master -> class reference.
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
Sometimes there may be a bug where you have to delete the node and call it again.
@omaralhassan2300
@omaralhassan2300 2 ай бұрын
@@PitchforkAcademy hey iv tried deleting it and doing the step again like you described but it still doesn't let me drop the pickup class to the ROS Drop Weapon's weapon to drop it just says BP Pickup Master Class Reference is not compatible with BP Weapon pickup Master Class Reference.
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
@@omaralhassan2300 Okay, so you've set the variable type incorrectly inside your Weapon Comp Master. Go in there and change Pickup Class to Weapon Pickup Master class reference.
@Zhroomtrip
@Zhroomtrip Ай бұрын
any idea why the weapon visibilty is not working for client?
@IAmTiiX
@IAmTiiX 25 күн бұрын
Did you figure this out? I'm having an issue where the client sees the weapon applied to both the first person mesh and the third person mesh and I can't for the life of me figure out why, even after rewatching all parts multiple times.
@Zhroomtrip
@Zhroomtrip 25 күн бұрын
@IAmTiiX no I've been busy.are you on 5.4?
@Zhroomtrip
@Zhroomtrip 25 күн бұрын
@@IAmTiiX I'll probably just make it destroy actor instead of change visibility. that's better anyways
@IAmTiiX
@IAmTiiX 25 күн бұрын
@@Zhroomtrip Yeah, I'm on 5.4.3.
@CrypticNord
@CrypticNord 2 ай бұрын
Are you making a part 5 of the first person version?
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
Am I making a Part 5 of this series? Is that what you're asking?
@pikachuuuuu02
@pikachuuuuu02 2 ай бұрын
I have a question, why we have 2 different things, pickup and component? Can't we just attach the weapon which is on the floor to hand_r socket, instead of deleting it then spawning a component in hand? Or Is there something that I don't know? The only thing that I can think of is the pickup only contains info bout the static mesh, but comp contains a whole lot of info and there is something to do with it?
@natecoet3291
@natecoet3291 2 ай бұрын
You have two skeletons. One for the third person and one for the first person in order to attach the weapon to both, one locally so what you see as the player, and not locally what the other players see, you need to spawn it. If you attach the weapon it will attach only to one skeleton meaning it will not attach to the third person on the server and on to the first person as the client. That is why. If you were doing a true first person with one skeleton then you could attach the weapon directly.
@pikachuuuuu02
@pikachuuuuu02 2 ай бұрын
got it thanks
@datasets.Wisdom
@datasets.Wisdom Ай бұрын
algorithm
@WeponzTV
@WeponzTV 2 ай бұрын
Hey bro, you got a discord?
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
Watch the first 2mins of the video... 😉
@WeponzTV
@WeponzTV 2 ай бұрын
@@PitchforkAcademy oh lol not following the tutorial, but will check now.
@sumantbag01
@sumantbag01 2 ай бұрын
can you share your discord link here please...
@PitchforkAcademy
@PitchforkAcademy 2 ай бұрын
No it's shared via Patreon
@ss_ramsay
@ss_ramsay 2 ай бұрын
Ya I don't think you got the memo
How To Make A Multiplayer FPS (First Person Shooter) - Part 5 - Unreal Engine 5.4 Tutorial
32:32
Pitchfork Academy (MizzoFrizzo & Co.)
Рет қаралды 2,5 М.
How To Make A Third Person Shooter - Unreal Engine 5 Tutorial
57:03
Pitchfork Academy (MizzoFrizzo & Co.)
Рет қаралды 15 М.
No empty
00:35
Mamasoboliha
Рет қаралды 12 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 42 МЛН
Я обещал подарить ему самокат!
01:00
Vlad Samokatchik
Рет қаралды 10 МЛН
When a CIA Hacker Goes Rogue
23:09
TyFrom99
Рет қаралды 1,8 МЛН
Make Metahuman as a playable character in Unreal Engine!
3:59
DevEdge • Abhay
Рет қаралды 1,5 М.
ER Doctor REACTS to Marvel's Deadpool Fight Injuries
8:59
Doctor ER
Рет қаралды 2,1 МЛН
I made a VIRAL game in 24 hours
9:06
spaderdabomb
Рет қаралды 13 М.
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 509 М.
How Death Stranding Was Made and Why The Team Disliked it
31:46
ThatGuyGlen
Рет қаралды 132 М.
Call of Duty Zombies Is Finished
27:29
PyroLIVE
Рет қаралды 447 М.
How To Make A Multiplayer FPS (First Person Shooter) - Part 1 - Unreal Engine 5 Tutorial
28:52
Pitchfork Academy (MizzoFrizzo & Co.)
Рет қаралды 22 М.
6 Best Unreal Engine Plugin [FREE]
6:02
Boundless Bite
Рет қаралды 46 М.
No empty
00:35
Mamasoboliha
Рет қаралды 12 МЛН