Change Crosshair Colour For Enemy, Teammate and Neutral - Unreal Engine 4 Tutorial

  Рет қаралды 8,507

Matt Aspland

Matt Aspland

Күн бұрын

Пікірлер: 63
@stevenwynn819
@stevenwynn819 3 жыл бұрын
A fittingly great tutorial for your 4K subscribers. Congratulations!
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much Steve! Thanks for all of your continued support too! :)
@leoncalton9330
@leoncalton9330 3 жыл бұрын
congrats on 4k :D
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much Leon!! :)
@jquikshot
@jquikshot 8 ай бұрын
Amazing tutorial! this helped me make the crosshair invisible when ADS. I must have watched 5 or 6 vids and yours was perfect!
@CryptMhg
@CryptMhg 3 жыл бұрын
i was waiting for this wooo thx Matt
@MattAspland
@MattAspland 3 жыл бұрын
Happy to provide! Thank you :)
@The_Twisted_Monk
@The_Twisted_Monk 3 жыл бұрын
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.
@MattAspland
@MattAspland 3 жыл бұрын
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.
@abdullahsohail5395
@abdullahsohail5395 3 жыл бұрын
nice video dude keep making these kinda videos to sort out our problems
@MattAspland
@MattAspland 3 жыл бұрын
Thanks man, I'll always continue helping out :)
@kazmack9968
@kazmack9968 2 жыл бұрын
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")
@MagimanD
@MagimanD 9 ай бұрын
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.
@FioraBirkes
@FioraBirkes 3 жыл бұрын
Thank you so very much my good sir! Your tutorials are super helpful for a beginner like me!
@flyingroads3498
@flyingroads3498 Жыл бұрын
great. will be interesnting to animate those, I dont know made them move a little side to side, rotate?
@njghtcrawler7899
@njghtcrawler7899 5 ай бұрын
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?
@G4AGamingForAll
@G4AGamingForAll 2 жыл бұрын
Hi 👏 i'm having a difficult time in fixing my TPP crosshair with the player character ! How can I fix that !?
@rickman1993
@rickman1993 3 жыл бұрын
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.
@svenrawandreloaded
@svenrawandreloaded Ай бұрын
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.
@ManthosLappas
@ManthosLappas 3 жыл бұрын
Thank you SO much for this! You are a savior :) Amazing and helpful tutorials you have there, very appreciated! Kind regards!
@pangeaedit8868
@pangeaedit8868 3 жыл бұрын
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?
@MattAspland
@MattAspland 3 жыл бұрын
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?
@pangeaedit8868
@pangeaedit8868 3 жыл бұрын
@@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?
@wouterjacobus5010
@wouterjacobus5010 3 жыл бұрын
@@MattAspland i get the same error, it is when hovering over a box brush for some reason. You know why this happens?
@hungry_pig
@hungry_pig 2 жыл бұрын
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
@arielshtern4125
@arielshtern4125 2 жыл бұрын
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.
@things8602
@things8602 2 жыл бұрын
for me my enemy and friendly cursor become really small and i have no idea how i could fix it
@glebnersisyan6127
@glebnersisyan6127 3 жыл бұрын
Hey could you please make a tutorial on car sounds?
@MattAspland
@MattAspland 3 жыл бұрын
Hey, I could look into that yeah :)
@martinwallroth6208
@martinwallroth6208 2 жыл бұрын
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")
@martinwallroth6208
@martinwallroth6208 2 жыл бұрын
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..
@krzychul_7968
@krzychul_7968 3 жыл бұрын
Hello can you record a tutorial ? how to add weapon and equip and drop the weapons
@MattAspland
@MattAspland 3 жыл бұрын
I've got that on my list yep, so I definitely want to :)
@krzychul_7968
@krzychul_7968 3 жыл бұрын
@@MattAspland thanks i have project to do and i need help beacouse im bad to do games sorry for my bad englisch xD
@krzychul_7968
@krzychul_7968 3 жыл бұрын
@@MattAspland my firt game what i do it is in notepad 🤣🤣 and i must do a 3D game maybe counter strike ;)
@MattAspland
@MattAspland 3 жыл бұрын
@@krzychul_7968 No problem, and haha sounds great! You'll do great, I wish you all the best of luck with your games! :)
@krzychul_7968
@krzychul_7968 3 жыл бұрын
@@MattAspland maybe :)
@JamesGascoyne
@JamesGascoyne 3 жыл бұрын
I'm gonna make a shooter prototype now haha
@MattAspland
@MattAspland 3 жыл бұрын
Ha nice one James, I bet it will be amazing!
@Gcaptain14
@Gcaptain14 3 жыл бұрын
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
@MattAspland
@MattAspland 3 жыл бұрын
No problem man, happy I could help you out! No need to apologise either, thanks for coming and watching!
@ninjasoraxx2
@ninjasoraxx2 3 жыл бұрын
im having an issue where my icon defaults to the enemy crosshairs rather than the neutral crosshairs
@ninjasoraxx2
@ninjasoraxx2 3 жыл бұрын
nevermind fixed it
@joebigley2843
@joebigley2843 3 жыл бұрын
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
@JamesGascoyne
@JamesGascoyne 3 жыл бұрын
Pretty sure it's on mixamo. There are some good animations on there as well
@MattAspland
@MattAspland 3 жыл бұрын
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
@joebigley2843
@joebigley2843 3 жыл бұрын
@@MattAspland thank you man, keep up the great work!
@MattAspland
@MattAspland 3 жыл бұрын
@@joebigley2843 Thanks bro!
@dawnrigel4255
@dawnrigel4255 3 жыл бұрын
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.
@Hpalhazred
@Hpalhazred 3 жыл бұрын
After the delay, Add two connected Boleans, one to hide ''Enemy'' and one to Show The Bolean with neutral Xhair.
@SanneBerkhuizen
@SanneBerkhuizen 3 жыл бұрын
Nice feature.
@MattAspland
@MattAspland 3 жыл бұрын
Thanks Sanne!
@mithunmmurthy1473
@mithunmmurthy1473 3 жыл бұрын
hey can you please make healing with animation for a shooting game its for game jam plz do it asap
@MattAspland
@MattAspland 3 жыл бұрын
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: kzbin.info/www/bejne/Z5ubYWyoab1le7M
@mithunmmurthy1473
@mithunmmurthy1473 3 жыл бұрын
@@MattAspland I need Healing like in fortnite deadline is 20 Jan with animation on button press
@MattAspland
@MattAspland 3 жыл бұрын
@@mithunmmurthy1473 Okay, I can look into that. That campfire video not really relevant or helpful then?
@mithunmmurthy1473
@mithunmmurthy1473 3 жыл бұрын
@@MattAspland yes I need the healing like in multiplayers like press buton 👍🏻
@MattAspland
@MattAspland 3 жыл бұрын
@@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 :)
@gamerdweebentertainment1616
@gamerdweebentertainment1616 2 жыл бұрын
Looking 21st January... I don't remember this... 2021... still don't remember... oh right it's 2022 now -.-'
@sfm_pakic3527
@sfm_pakic3527 2 жыл бұрын
That the most difficult tutorial i ever see
Fall Damage - Unreal Engine 4 Tutorial
12:37
Matt Aspland
Рет қаралды 13 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
FPS Leaning / Peaking - Unreal Engine 4 Tutorial
13:41
Matt Aspland
Рет қаралды 17 М.
How To Create Bullet Holes - Unreal Engine 4 Tutorial
7:43
Matt Aspland
Рет қаралды 24 М.
Character Select From Main Menu - Unreal Engine 4 Tutorial
16:19
Matt Aspland
Рет қаралды 44 М.
How To Play A Video On A TV With Sound - Unreal Engine 4 Tutorial
10:26
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН