hint: promote to variable will save you a lot of time and right click -> 'convert to validated get' helps keep things tidy instead of using 'is valid' nodes on your variables Really cool tutorial though, thanks
@JonoJamesJonoJames2 жыл бұрын
3 things cleared up , Actor components , Mesh Selection ,Highlighting Meshes good clean blueprint code and easy to follow . Thanks for that
@samuela62713 жыл бұрын
So good! This is a great effect! I'm really enjoying your thinking and approach to your game! Thanks for the info!
@KayPhantomville3 жыл бұрын
I wouldn't mind a more detailed explanation of why you use certain blueprint nodes, or at least being slower and a little less concise when doing so, just when you explained the highlight material. I know you have a lot of stuff to cover, but for a beginner like me and many others it's difficult to understand the reason behind your choices. For example, while the camera tutorial was very clear to me, I didn't understand the logic and purpose behind the StaticMeshRef thing at all. I wouldn't want to end up copying your work without having the ability to tweak it later if I'll ever want to do something different. Other than that, thank you for your tutorials!
@veemex Жыл бұрын
This explanation primarily revolves around fundamental concepts in Unreal Engine and the idea of a game loop, along with some optimization practices. Though I may not be an authority in this field, let me try to make it as straightforward as possible for you. In the game engine, there are two events that are constantly active: BeginPlay and Tick. To clarify, Tick is an event that gets triggered on every single frame, meaning it's continually operating in the background. On the other hand, BeginPlay is an event that activates only once, which is right after the game starts. The reason you're storing the reference to a static mesh once during the BeginPlay is because the mesh itself isn't going to change. If you attempted to call GetOwner and GetComponentByClass every frame during the Tick event, it could lead to a slower performance due to the extra time required for these operations. Also, it might make your code unnecessarily complex.
@itanshi3 жыл бұрын
A way to clean up the nodes in the clickable component bp is to create an event via event dispatcher category. it gives a drop down to select the event. So you can split up the events.
@gianclaudiomorando23923 ай бұрын
Hello. So, could you explain how to create the event dispatcher to print to screen a drop down window to select the event? many thanks.
@sleepypapercrowns3 жыл бұрын
Thank you so much for this video! I needed it for my project and only found really old tutorials before that I didn't understand and that did not even work anymore. So thanks a lot!
@thegamedevchannel30633 жыл бұрын
No problem! I'm glad it helped
@manollobango Жыл бұрын
Hi, I just started to watch your city builder tutorial series today and I really appreciate your kindness to share your work! Since this video is almost 2 years old and besides that Unreal Engine 5 has been released, I'm wondering now if you would, based on your current knowledge, change some things like the camera movement system and the actor type or would you do it exactly the same today?
@ItsExetic Жыл бұрын
How come the highlight doesn't work on quixel assets, but clicking on the mesh to change material does?
@MAKRstudios Жыл бұрын
Reallllly love the tutorial!!! For those ins UE5, and using nanite the highlight material will not work. Nanite only works on solid opaque materials. And if I understand correctly Post-Process Materials are not considered opaque since it has translucency
@KaelthasProductions Жыл бұрын
I dont get why it doesnt work when nanite is enabled on that mesh
@ycaro.3d Жыл бұрын
yeah, here too! Someone can help us?
@AcTAL0n3 жыл бұрын
Brilliant Tutorial! Well paced and super informative, thank you a lot for that :)
@thegamedevchannel30633 жыл бұрын
Thank you very much, glad you're enjoying it! :)
@nullptr73472 жыл бұрын
It doesnt work when i have transparent materials on the object.Is there any way to make it work with transparent materials ? Appreciate any help!
@Regisseur122 жыл бұрын
Nice!!! MoseOver Effect was exactly, what I was looking for!!!
@Smile1oasis7 ай бұрын
Funny thing is that I actually saw the other tutorial which makes the material and clicked this video to get explanation about the nodes used in the material. 😂😂. Anyway Nice tutorial.
@4twstdmdl6 ай бұрын
Following tutorial in UE 5.3, encountered black highlight border instead of blue, resolved by changing Blendable Location back to After Tonemapping @8:39 I don't know anything about UE, so if anyone has follow-up questions about this I won't be able to answer them. I figured this out by just going back through the tutorial and changing values to see what impacted the outcome and for some reason leaving this value as the default worked so I figured I would post this to help anyone else that encountered the same issue.
@alecchalmers_6 ай бұрын
My highlight is permanently highlighted. Trying to figure out where I went wrong!
@DiscsGallery9 ай бұрын
Thank you so much my friend! an amazing tutorial!
@TimeForRPG3 жыл бұрын
Right now its best outline tutorial
@fortwoth Жыл бұрын
Thanks for the nice and clear tutorial!
@Bizob20102 жыл бұрын
@The Game Dev Channel I'm loving your series so far. I do have a question though: How much of these tutorials would change in between UE4 & UE5? Has UE5 added stuff that would change how you implement all this?
@pythonmastery40512 жыл бұрын
It won't. It's pretty much the same when it comes to the code
@thomascurtis8893 жыл бұрын
Great tutorial, any help on changing the colour of the outline when clicked? I've noticed you can have multiple materials in the post process materials and have created two instanced of the material with different colours, however I have no clue how to change between them when I click the object
@Luna-gleam2 жыл бұрын
You could make a parameter in the material and change that parameter in the blueprint. However, I'm not sure if you'd be able to have two different colored outlines at the same time with this method
@nothingspeaks9 ай бұрын
Great work. Works well for me for objects however i was wondering how you would go about making it do the same on enemies, like diablo for example.
@unrealdevop Жыл бұрын
The Outline seems to get thicker or thinner depending on how far I am from it. Did I do something wrong? I went back twice to double check
@unrealdevop Жыл бұрын
This must have been some sort of bug, for some reason it stopped doing it on it's own.
@ycaro.3d Жыл бұрын
Amazing tutorial! Thank you a lot
@kiwk81392 жыл бұрын
My highlight works. The switching between red and green works, but not at the same time. The highlight only works when I assign the material to the CB_HighlightMaterial. However, it is black. And when I click on it, it becomes green with no highlight upon hovering anymore. I can't seem to get the green/red AND the highlight at the same time
@kiwk81392 жыл бұрын
Fixed it. I had to go into my Red and Green Materials and set, "Allow Custom Depth Writes" to true. As well as the option Render after DOF" set to false.
@kingskye71102 жыл бұрын
as a newcomer,great tutorial!
@thomaspecheur312Ай бұрын
Hi, the tutorial is great, thank you for doing it. Only one issue, I am having but not if it is due to my setting but I got a long delay or need to click a lot before the blueprint makes its effect. Is is due to by the tick event on Player Controller? Mine is set at 0 but seems to be quite slow and buggy? Am I missing something?
@eggwithtofu72952 жыл бұрын
why CB_Clickable_Component didn't work? i have tried so many time and still didn't work
@Junqers2 жыл бұрын
THANK YOU!
@DivaNove Жыл бұрын
worked like a charm
@jeffreytablan40432 жыл бұрын
Hi, sir! I really like what you did here. I would love to integrate it in a project that I've been working on. However, as I did all the steps, the highlight doesn't seem to work. It would only show briefly after you clicked on the mesh and disappear again. Any insights on where do you think I might went wrong?
@liangmen2 жыл бұрын
Make sure you checked the "infinite extent (unbound)" in the property window of the PostProcessVolume, it solved my issue
@lethiagames9208 Жыл бұрын
if you zoom out then the highlight effect gets off
@oculusidirisov6981 Жыл бұрын
does not work on transparent glass please help
@Milo-yn5rw Жыл бұрын
Great video! even for a 3days beginner it helped me get a AUREKA feeling!!! Does anyone know how to make the outline thinner or translucent?
@devlogerio2 жыл бұрын
This saved me a ton of time, thanks, Im wondering where are you now, WHy no new posts
@thegamedevchannel30632 жыл бұрын
Hiya, really glad the video helped! I did a post about it on the channel page explaining it but the TLDR is my PC broke
@christopherlamott9351 Жыл бұрын
Anyone know why the selection would work on both left AND right mouse click? I'm really scratching my head here, haha.
@elizabethlaplume2267 Жыл бұрын
Where do the red and green material come from? I didn't see it anywhere in the first three videos and didn't start with it?
@elizabethlaplume2267 Жыл бұрын
So I figured out the red and the green but while I have gotten the highlight to highlight, it is not a full outline, it covers the whole object. I followed the linked tutorial and this one, any suggestions?
@cactusfloydx5d3 жыл бұрын
Thanks a lot man. Btw, what is the function of Param0 and Param1? just placeholders? thanks so much for your tutorial, really helped me out. I have nor slept or eaten in days lol
@tanh99239 ай бұрын
Wonderful!
@HubertKnoblauch3DContentOnline Жыл бұрын
amazing!!!!
@vkum75003 жыл бұрын
Thank you for the tutorial. Do you know what to change in material to diable see-through from walls or other objects?
@thegamedevchannel30633 жыл бұрын
If you look at the next video I believe I go over that, sorry for not including it in this one!
@b_m_p_1_92 жыл бұрын
Thanks for the tutorials, just a quick question, is there some special way to save the whole file as I go along? I finished this video and the preceding ones yesterday, saved all and when i went back into it today almost everything I had done was reset. Cursor didn't work, camera movement controls were all wacky and the clickable material wasn't working anymore. Have I done something wrong when saving?
@dacdac5015 Жыл бұрын
Hi, great job. Don't work for meshes what have translucent materials applied on it? How to set to work for these meshes too?
@3dchuy3 жыл бұрын
Awesome tutorial! one question If I also want it to affect my vehicle (Skinned Mesh Component), DoI just duplicate everything and changed the variables for that kind of mesh? or is there a more simple and efficient way to make it work on both. Thanks!
@3dchuy3 жыл бұрын
Ahh! I figured it out! I was getting an error on the mouse over event, so what I did is to set a new variable IsSkeletal? (boolean) otherwise it would be trying to set the custom depth on both references but one doest exist. I took a screenshot is anyone need to add more types of components. Again I'm a total newbie to scripting so if there's even a better way let me know. ibb.co/LZXqpG1
@m.r53802 жыл бұрын
Great tutorial! Question though - How could we blur out the outline?
@srknAyn Жыл бұрын
I wonder. is it possible to change the material of the objects by selecting their surfaces or to select the vertex of the selected surface and get it as data?
@DivaNove Жыл бұрын
16:32 *nervous voice* we're nearly at the end now. classic lol
@thegamedevchannel3063 Жыл бұрын
😂
@pricepig4 ай бұрын
if anyone is having issues getting your cube to change colors, change the collisions to default. In earlier tutorials he made it so they were nocollision but that doesn't work if you want to click on it
@alexeyzak39992 жыл бұрын
thanks for tutorial
@AMobOGobos2 жыл бұрын
Around 5:00 you start building the on click events for static meshes but you never showed or explained how you created the red and green materials. How do I create these materials? Where do they appear once they are created?
@DesmondMiles312 жыл бұрын
Awesome video
@user-fl7kt2fl9g4 ай бұрын
when making the selectable actor component the get owner does not recognise its self as an actor and requires target to have a connection i dont know if this is a change in updates as im using UE5
@user-fl7kt2fl9g4 ай бұрын
I created a new actor component blueprint and it now works not sure what the difference is
@denischetyrin69806 ай бұрын
tnx you
@Infestedpee2 жыл бұрын
Ok, this took me about 2-3 hours to realize -- the red/green you were creating was your own assets, not the highlighted part. I was confusing the highlighting part AND your materials for true/false when clicking to be the same
@unclearnold7903 жыл бұрын
Thanks
@gamerdweebentertainment16162 жыл бұрын
Hmm... not sure if to watch whole series... :/ This, was great... I hope... Interesting method... now to implement interface and make child objects etc. Wait... why use clickable component... "Easier to manage or make add-ons" I guess... either way... thanks!
@samdev97082 жыл бұрын
Hello thank you for this second tutorial, but in the Set Material nodes in Select Asset it is empty and I cannot choose green or red, can someone help me add them?
@autogenes2 жыл бұрын
Anybody know any resources to go and actually get a proper understanding of how all the material nodes and settings work? Great vid btw :D
@Lagimaster-gf8wr Жыл бұрын
3:54 had some problems with static mesh ref as it isn't compatible with return value in get component by class. Could someone help me?
@cecisharp2 жыл бұрын
I cant find the "Bind event to on clicked". Did unreal get rid of it?
@Ninja-Dev9 ай бұрын
I have managed to far to update this tutorial (and the previous one) to Enhanced Input, but I cannot get the clicking of the static mesh working. Anyone have any ideas? @The Game Dev Channel ?
@DJ2punto05 ай бұрын
Hey man, stubborn fellow Enhanced Input user here! I managed to make it work by going to your Player Controller, on its properties you can set 'Enable Click Event' as True. This creates an additional issue, as our fellow guy here disabled the collisions on the actors so they don't collide with the camera, but they don't seem to catch the clicks either!! We need to set the collisions as 'Custom' and on the 'Collision Responses' set everything to 'Ignore' and change the Visibility to 'Block'. Its been quite some time since your question, but I hope it helps!
@DRdarktnt2 жыл бұрын
Not sure why but my outline is unstable and 'twitches' when done in UE5, anyone got a guess for why this is happening?
@ChuckDebWood3 жыл бұрын
Help! I'm not finding the NOT node in UE5? Please advise :) Thanks for making these videos
@ChuckDebWood3 жыл бұрын
Found it! NOT Boolean - Again THANKS for making these videos, very helpful!!!
@thegamedevchannel30633 жыл бұрын
Sorry for the delayed response, glad you got it sorted!
@sanbait2 жыл бұрын
why not work changes color for mesh?
@mathraww Жыл бұрын
Hi, my problem is that the highlight part doesn't work. I rewatched 3 times the material part and everything is correct. Same for the blueprint and the post process volume. Any idea why ?
@jongofett2343 Жыл бұрын
=are you trying to highlight a blueprint static mesh? cuz it dont work for me either
@mathraww Жыл бұрын
@@jongofett2343 i did the same as in the video with the cubes
@m-carrollzgamedev71116 ай бұрын
I had this same problem, watched another video and I had to set the CustomDepth Stencil Value to 1 in the rendering section in the details panel on the static mesh :)
@johsh__2 күн бұрын
@@m-carrollzgamedev7111 this worked to get the outline, however it doesn't go away. It's doesn't disappear or reappear when my mouse moves over it, any help?
@ethanwasme430711 ай бұрын
anyone else here because the native on-hit events don't work >:(
@mr.dr.pr.patrick3523 жыл бұрын
How to do it with a Skeletal Mesh Component?
@williamwriting1063 Жыл бұрын
get the the skeletal mesh, rather than the static mesh nodes. They have the same setter function for the render.
@NickFehlinger Жыл бұрын
Matt Aspland is actually the best KZfaq for learning Unreal. "It works perfectly". I have plans to launch a channel in the next few months and I'm going to be stealing everything that works from him.
@beryprion49043 жыл бұрын
Hi could i have some help? i just follow this tutorial and when i finish to do it. the Highligh material replace the green changing material dont know how any ideas?
@thegamedevchannel30633 жыл бұрын
Do you mean that you don't have a green material anymore?
@beryprion49043 жыл бұрын
@@thegamedevchannel3063 yea it was working but with highlight it doesnt work anymore instead of i've like no mat textures
@thegamedevchannel30633 жыл бұрын
@@beryprion4904 Hmm the materials are meant to be separate, you should have a post process material that you specify in the post process volume and then a normal green material that is set on the static mesh. You shouldn't have the highlight material on the object
@beryprion49043 жыл бұрын
@@thegamedevchannel3063 okay i try to debug, so green is the right one when its clicked but it's not being rendered for some reasons
@koalafemurs3 жыл бұрын
@@thegamedevchannel3063 Having the same Problem as Bery. UE 4.26.2. The green mat gets assigned but not displayed, oddly enough.
@Madarauchiha-jn3cb Жыл бұрын
Yo quiero hacer click en un botón 3D que tengo en el mapa Dentro del juego Quiero visualizar el raton Y hacer click Y que luego de tantos clicks el botón se destruya
@aothanhhoa17233 жыл бұрын
Nice vid, thank you! To be more specific, pls help to answer me: what's type of template category you used? (Games, Film-Televison.., Architecture-Engineering..,or Automobile-Product Design?). Im using UE version 4.26.2, choose Architecture template category (I'm architect engineer), follow and do the same your vid but my project does not work. I can see my project does not have 2 blueprints CB_CameraController and CB_PlayerController, is that the cause? That Blueprints are automatically generated when choosing template or created by yourself. If that blueprints effect to the result of project and created by yourself, pls help to show me the code of that blueprints. Many thanks!
@CultivationPath3 жыл бұрын
This video is the third of a series of videos. Check this same Video title but with EP1 and EP2
@sohamacharya1713 жыл бұрын
He created it in previous episodes
@thegamedevchannel30633 жыл бұрын
Thanks for responding on my behalf!
@Super-Phoenix Жыл бұрын
Pouvez-vous me dire comment avec un blueprint je peux dire à un bâtiment de fabriquer une ressource et de la gérer
@NickFehlinger Жыл бұрын
For people wanting a more coherant explaniation. kzfaq.info/get/bejne/qK2hn7WWq7XGiYU.html
@ChristianKullmann Жыл бұрын
Thanks for the link. The referred tutorial is really valuable addition and gives all the missing explanation
@Super-Phoenix Жыл бұрын
Bonjour pouvez-vous me dire comment je peux faire un système avec les blueprint pour mon bâtiments de ressources produisent des ressources et gérer les stocks également quand par exemple je veux acheter un bâtiment le bâtiment coûte 5 de béton je voudrais donc dire à mon bâtiments de ressources comme quoi j'utilise 5 de béton pour créer un bâtiment qui me le déduisent merci
@balsjenza3 жыл бұрын
Is it possible to do this for mobile?
@joshrinker15142 ай бұрын
20:32 the game screen goes completely white.
@joeanrachelmiller6529 Жыл бұрын
if only navmesh came with the infinite extent option
@sfm_pakic352710 ай бұрын
this is pretty big
@coffeediction2 жыл бұрын
didnt work, thanks anyways
@hyunsulee121211 ай бұрын
If you dont have mouse cursor? look 00:40
@a123b123c123d123c1232 жыл бұрын
In programming it's "color" not "colour".
@PowPow000 Жыл бұрын
Hi, I really enjoyed this. Is there a simple mod to this to make the left mouse button apply 1 material and the right mouse button apply a different material? Thanks,