Another great tutorial Matt, you're awesome. Wondering if you could make a tutorial on having the crosshair not visible until the player looks at something they can use, or interact with? Thanks for this channel Matt, you can learn a lot here. You know what you're talking about, so just keep doing what you're doing you're my Dude Matt, Thanks.
Thank you Russel, I could definitely look into that yeah. A good way of doing that with this code is in our widget, where we have the neutral image, just leave that image variable as empty. That way when we aren't looking at someone the crosshair won't appear. Hope this helps, but like I say I can do a video if that doesn't make sense or work for you :) Thank you for your words too, I wish you all the best.
Is there a version of this for UE5? The widget referencing at 10:30 does not want to connect the "Get CrosshairREF" to any "Set isFriendly" variable. The error I get when trying to connect them is: *[ USER Widget Object Reference is not compatible with W Cross Hair Object Reference ]* (I called my Widget BP "W_Crosshair")
Hello great tutorial like always. I want this to be different based on the weapon is plugging the range instead of the trace length? or have a different variable within the gun.
I implemented this into my game and, for some reason, if you have a floating object and then you move away from it to where the crosshair is pointing towards the sky, it stays as one of the changed colors until you point it at an object.
I generally love your vids and you've helped me a lot over the years, but I feel like we don't need a 17 minute video to explain doing a line trace on the event tick (or delay loop which is basically just as expensive although mostly negligible I guess) lolol.
Great tutorial/channel! but I am having some issues but I am trying to do something a little different. I have a TDShooter so making the crosshairs at the center the of screen doesn't work for me. How can I get this alternating crosshair effect but with the cursor location as crosshair? Second issue I am having is my line trace is hitting the target but registers "neutral" for a few frames, then "enemy" for a few frames, and cycles like this continuously. However, I can see the debug of my line trace never breaking contact of the target. Any ideas to fix?
I have a question. The crosshair changes its image not what I wanted time to time. Sometimes it is neutral and sometimes friendly. The Crosshair Check BP doesn't work correctly. Pls Help
Great tutorial! Thank you!!! Just one thing (PLS help) The crosshair s changing to the desired state, but sometimes stays in the last state when I look away from the target. It's kind of random and not always happening. I have to "re-hover" on the target to get it to return to neutral.
Hey Man When try use delta time instead of a custom event i get lot of errors "none trying to read proeperty callfumc_breakhitresult_hitactor_1"...any help?
Hey, I think this will be happening because you will be trying to access the break hit result before it actually has any values inside of it, this is why we used a custom event. Is there a reason you need to use delta time instead?
@@MattAspland it doesnt seem to work if i use a custom event and the re call it again with a delay, but at the end if i at least over something before quitting the game i get no errors...so it shouldnt be that much of a problem right?
If anyone has trouble with their crosshair not changing colors or the line trace not detecting your targets, make sure the object you want to be detected has "Visibility" set to "Block" in the mesh's Collision responses lol.
Hey Matt, thx for your top-tutorial. One Question: How can i add an tag to the enemy or friend (when the player overlaps the "enemy" or "Friend") and remove the tag from them (when my player is end overlapping the "enemy" or "friend")
Hey no worries man, it's one I made myself on Fuse, I'll leave a link here :) drive.google.com/drive/folders/1iEyADR1Hptw87J25DUskJZU3Rtfpbg-v?usp=sharing
Hey, yep of course. When is the deadline for the game jam? Also, what specifically would you like? For example, you press a button to heal, it happens naturally, you are near something, etc. Plus what kind of animation? Also, in the meantime I do have a campfire healing tutorial. Let me know if that is of any help to you! :) Campfire Healing: ruclips.net/video/1j809r4X2EQ/видео.html
@@mithunmmurthy1473 Okay sounds great, I should have a video coming out at 6PM GMT today which should hopefully help with that. I've just finished editing it now :)
A fittingly great tutorial for your 4K subscribers. Congratulations!
Thank you so much Steve! Thanks for all of your continued support too! :)
Amazing tutorial! this helped me make the crosshair invisible when ADS. I must have watched 5 or 6 vids and yours was perfect!
congrats on 4k :D
Thank you so much Leon!! :)
Another great tutorial Matt, you're awesome. Wondering if you could make a tutorial on having the crosshair not visible until the player looks at something they can use, or interact with? Thanks for this channel Matt, you can learn a lot here. You know what you're talking about, so just keep doing what you're doing you're my Dude Matt, Thanks.
Thank you Russel, I could definitely look into that yeah. A good way of doing that with this code is in our widget, where we have the neutral image, just leave that image variable as empty. That way when we aren't looking at someone the crosshair won't appear. Hope this helps, but like I say I can do a video if that doesn't make sense or work for you :)
Thank you for your words too, I wish you all the best.
i was waiting for this wooo thx Matt
Happy to provide! Thank you :)
nice video dude keep making these kinda videos to sort out our problems
Thanks man, I'll always continue helping out :)
Thank you so very much my good sir! Your tutorials are super helpful for a beginner like me!
Is there a version of this for UE5? The widget referencing at 10:30 does not want to connect the "Get CrosshairREF" to any "Set isFriendly" variable.
The error I get when trying to connect them is:
*[ USER Widget Object Reference is not compatible with W Cross Hair Object Reference ]*
(I called my Widget BP "W_Crosshair")
Hello great tutorial like always. I want this to be different based on the weapon is plugging the range instead of the trace length? or have a different variable within the gun.
Hi 👏 i'm having a difficult time in fixing my TPP crosshair with the player character !
How can I fix that !?
I implemented this into my game and, for some reason, if you have a floating object and then you move away from it to where the crosshair is pointing towards the sky, it stays as one of the changed colors until you point it at an object.
I generally love your vids and you've helped me a lot over the years, but I feel like we don't need a 17 minute video to explain doing a line trace on the event tick (or delay loop which is basically just as expensive although mostly negligible I guess) lolol.
Thank you SO much for this! You are a savior :) Amazing and helpful tutorials you have there, very appreciated! Kind regards!
Great tutorial/channel! but I am having some issues but I am trying to do something a little different. I have a TDShooter so making the crosshairs at the center the of screen doesn't work for me. How can I get this alternating crosshair effect but with the cursor location as crosshair?
Second issue I am having is my line trace is hitting the target but registers "neutral" for a few frames, then "enemy" for a few frames, and cycles like this continuously. However, I can see the debug of my line trace never breaking contact of the target. Any ideas to fix?
great. will be interesnting to animate those, I dont know made them move a little side to side, rotate?
I have a question. The crosshair changes its image not what I wanted time to time. Sometimes it is neutral and sometimes friendly. The Crosshair Check BP doesn't work correctly. Pls Help
for me my enemy and friendly cursor become really small and i have no idea how i could fix it
I'm gonna make a shooter prototype now haha
Ha nice one James, I bet it will be amazing!
Thanks bro for uploading this video it will help me a lot and sorry for the late reply going night in ny country sorry again and thank you
No problem man, happy I could help you out!
No need to apologise either, thanks for coming and watching!
Great tutorial! Thank you!!!
Just one thing (PLS help)
The crosshair s changing to the desired state, but sometimes stays in the last state when I look away from the target. It's kind of random and not always happening. I have to "re-hover" on the target to get it to return to neutral.
Hey Man When try use delta time instead of a custom event i get lot of errors "none trying to read proeperty callfumc_breakhitresult_hitactor_1"...any help?
Hey, I think this will be happening because you will be trying to access the break hit result before it actually has any values inside of it, this is why we used a custom event. Is there a reason you need to use delta time instead?
@@MattAspland it doesnt seem to work if i use a custom event and the re call it again with a delay, but at the end if i at least over something before quitting the game i get no errors...so it shouldnt be that much of a problem right?
@@MattAspland i get the same error, it is when hovering over a box brush for some reason. You know why this happens?
If anyone has trouble with their crosshair not changing colors or the line trace not detecting your targets, make sure the object you want to be detected has "Visibility" set to "Block" in the mesh's Collision responses lol.
After the delay, Add two connected Boleans, one to hide ''Enemy'' and one to Show The Bolean with neutral Xhair.
im having an issue where my icon defaults to the enemy crosshairs rather than the neutral crosshairs
nevermind fixed it
Hey could you please make a tutorial on car sounds?
Hey, I could look into that yeah :)
Hello can you record a tutorial ? how to add weapon and equip and drop the weapons
I've got that on my list yep, so I definitely want to :)
@@MattAspland thanks i have project to do and i need help beacouse im bad to do games sorry for my bad englisch xD
@@MattAspland my firt game what i do it is in notepad 🤣🤣 and i must do a 3D game maybe counter strike ;)
@@krzychul_7968 No problem, and haha sounds great! You'll do great, I wish you all the best of luck with your games! :)
@@MattAspland maybe :)
Hey Matt, thx for your top-tutorial. One Question: How can i add an tag to the enemy or friend (when the player overlaps the "enemy" or "Friend") and remove the tag from them (when my player is end overlapping the "enemy" or "friend")
so more or less, i wanted to know , how i can use your tutorial (changing the crosshair) when the player is in reach of the enemy or friend..
Nice feature.
Thanks Sanne!
hi mate, i want to follow one of our old jumpscare tutorials but I have no clue how to download your ghost girl, not sure if I'm being stupid aha
Pretty sure it's on mixamo. There are some good animations on there as well
Hey no worries man, it's one I made myself on Fuse, I'll leave a link here :)
drive.google.com/drive/folders/1iEyADR1Hptw87J25DUskJZU3Rtfpbg-v?usp=sharing
@@MattAspland thank you man, keep up the great work!
@@joebigley2843 Thanks bro!
Looking 21st January... I don't remember this... 2021... still don't remember... oh right it's 2022 now -.-'
hey can you please make healing with animation for a shooting game its for game jam plz do it asap
Hey, yep of course. When is the deadline for the game jam? Also, what specifically would you like? For example, you press a button to heal, it happens naturally, you are near something, etc. Plus what kind of animation?
Also, in the meantime I do have a campfire healing tutorial. Let me know if that is of any help to you! :)
Campfire Healing: ruclips.net/video/1j809r4X2EQ/видео.html
@@MattAspland I need Healing like in fortnite deadline is 20 Jan with animation on button press
@@mithunmmurthy1473 Okay, I can look into that. That campfire video not really relevant or helpful then?
@@MattAspland yes I need the healing like in multiplayers like press buton 👍🏻
@@mithunmmurthy1473 Okay sounds great, I should have a video coming out at 6PM GMT today which should hopefully help with that. I've just finished editing it now :)
That the most difficult tutorial i ever see