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
@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.
@gianclaudiomorando23926 ай бұрын
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.
@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.
@4twstdmdl9 ай бұрын
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.
@Punchmememe3 ай бұрын
When i zoom out it make the outline so big that the block go's ful colour. How do i fix this ?
@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
@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-gleam3 жыл бұрын
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
@eggwithtofu72952 жыл бұрын
why CB_Clickable_Component didn't work? i have tried so many time and still didn't work
@IamAxe163Ай бұрын
The same, iam make the same how on tutorial, but it does not work =/
@unrealdevop2 жыл бұрын
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
@unrealdevop2 жыл бұрын
This must have been some sort of bug, for some reason it stopped doing it on it's own.
@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?
@jeffreytablan40433 жыл бұрын
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
@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.
@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!
@AcTAL0n3 жыл бұрын
Brilliant Tutorial! Well paced and super informative, thank you a lot for that :)
@thegamedevchannel30633 жыл бұрын
Thank you very much, glad you're enjoying it! :)
@oculusidirisov6981 Жыл бұрын
does not work on transparent glass please help
@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?
@christopherlamott9351 Жыл бұрын
Anyone know why the selection would work on both left AND right mouse click? I'm really scratching my head here, haha.
@Regisseur123 жыл бұрын
Nice!!! MoseOver Effect was exactly, what I was looking for!!!
@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!
@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?
@ItsExetic2 жыл бұрын
How come the highlight doesn't work on quixel assets, but clicking on the mesh to change material does?
@lethiagames9208 Жыл бұрын
if you zoom out then the highlight effect gets off
@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
@Ninja-Dev Жыл бұрын
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 ?
@DJ2punto09 ай бұрын
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!
@thomaspecheur3125 ай бұрын
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?
@Smile1oasis11 ай бұрын
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.
@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!
@nothingspeaks Жыл бұрын
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.
@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
@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-carrollzgamedev711110 ай бұрын
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__3 ай бұрын
@@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?
@fortwoth Жыл бұрын
Thanks for the nice and clear tutorial!
@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.
@alecchalmers_10 ай бұрын
My highlight is permanently highlighted. Trying to figure out where I went wrong!
@kingskye71103 жыл бұрын
as a newcomer,great tutorial!
@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?
@TimeForRPG3 жыл бұрын
Right now its best outline tutorial
@DivaNove Жыл бұрын
16:32 *nervous voice* we're nearly at the end now. classic lol
@thegamedevchannel3063 Жыл бұрын
😂
@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?
@DiscsGallery Жыл бұрын
Thank you so much my friend! an amazing tutorial!
@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
@m.r53802 жыл бұрын
Great tutorial! Question though - How could we blur out the outline?
@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?
@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,
@samoverett7 ай бұрын
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
@samoverett7 ай бұрын
I created a new actor component blueprint and it now works not sure what the difference is
@ycaro.3d Жыл бұрын
Amazing tutorial! Thank you a lot
@mr.dr.pr.patrick3523 жыл бұрын
How to do it with a Skeletal Mesh Component?
@williamwriting10632 жыл бұрын
get the the skeletal mesh, rather than the static mesh nodes. They have the same setter function for the render.
@dacdac50152 жыл бұрын
Hi, great job. Don't work for meshes what have translucent materials applied on it? How to set to work for these meshes too?
@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?
@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
@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
@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!
@samdev97083 жыл бұрын
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?
@DRdarktnt3 жыл бұрын
Not sure why but my outline is unstable and 'twitches' when done in UE5, anyone got a guess for why this is happening?
@cecisharp2 жыл бұрын
I cant find the "Bind event to on clicked". Did unreal get rid of it?
@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!
@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
@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
@DesmondMiles312 жыл бұрын
Awesome video
@DivaNove Жыл бұрын
worked like a charm
@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
@Junqers2 жыл бұрын
THANK YOU!
@sanbait2 жыл бұрын
why not work changes color for mesh?
@alexeyzak39992 жыл бұрын
thanks for tutorial
@ethanwasme4307 Жыл бұрын
anyone else here because the native on-hit events don't work >:(
@Infestedpee3 жыл бұрын
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
@tanh9923 Жыл бұрын
Wonderful!
@joshrinker15146 ай бұрын
20:32 the game screen goes completely white.
@HubertKnoblauch3DContentOnline2 жыл бұрын
amazing!!!!
@balsjenza3 жыл бұрын
Is it possible to do this for mobile?
@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
@NickFehlinger Жыл бұрын
For people wanting a more coherant explaniation. kzbin.info/www/bejne/qHjUnYWbe7SVj7M
@ChristianKullmann Жыл бұрын
Thanks for the link. The referred tutorial is really valuable addition and gives all the missing explanation
@denischetyrin698010 ай бұрын
tnx you
@NickFehlinger Жыл бұрын
Matt Aspland is actually the best KZbin 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.
@pricepig8 ай бұрын
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
@unclearnold7903 жыл бұрын
Thanks
@hyunsulee1212 Жыл бұрын
If you dont have mouse cursor? look 00:40
@joeanrachelmiller6529 Жыл бұрын
if only navmesh came with the infinite extent option