There seems to be an issue in recent versions of Unreal where splitting the classes into their public/private counterparts is causing reference issues. It seems to be tracked as an official bug so it will be easier at the moment to avoid splitting them into a public folder.
@myanrueller914 жыл бұрын
Gotta love it when a bug screws with good practices...
@ROSALIEIK3 жыл бұрын
oh fuck oki is it stillbroken? do i delete my project and start over?
@DevEnabled3 жыл бұрын
@@ROSALIEIK you'll likely have a problem with a specific #include. The fix is to just include the full path so #include "ProjectName/FolderStructure/Class.h" Compared to what should have been generated previously would have been something more like #include "Class.h"
@matt-g-recovers3 жыл бұрын
@@DevEnabled Thanks for the heads up, I used the public visibility as well so we'll see if I have a linker/build issue I will try to use the full path for imports. Otherwise no biggie to redo it at this point.
@smac30864 жыл бұрын
For anyone else that cannot compile because the BaseCharacter.h file could not be imported. Make sure that in your BaseCharacter.cpp file you change the #import to read: #include "Characters/BaseCharacter.h". You have to add `Characters` to the include file path or it will not be found. Seems like the editor's class creation tool should take care of that automatically when it generates the class file, but it doesn't.
@DevEnabled4 жыл бұрын
Thanks for the update. Not sure if that's a result of some changes with the recent release.
@MatthewCC03114 жыл бұрын
Wow, I looked for hours for this solution, and it was right under my nose, or in this case, my comment. Thank you!
@joelholdbrooks67293 жыл бұрын
If you're following along with UE5, you can find "New C++ Class..." menu under the "Tools" menu.
@DevEnabled5 жыл бұрын
In this video, we create the character class that we will control throughout this playlist and cover some of the basics of C++. With some of the important C++ basics covered we'll be jumping into implementation in future videos.
@alexandersh8953 жыл бұрын
nice video. For anyone having issues with public/private classes and not being able to compile updating to 4.26.1 solved that for me.
@abdulahmad26802 жыл бұрын
amazing walkthrough, thanks! i’ve been developing in unity and looking for a good UE resource to get started and it’s been tough. this video explains everything so nicely!
@aurelianobuendia244 жыл бұрын
OMG I've been programming in openframeworks, just starting with unreal engine. The most awsome thing I learn about this tutorial was the ctrl+k+o shorcut. Can´t beleieve i live all this years without using it
@JeffKwak4 жыл бұрын
Thank you for explaining _WHY_ you are doing things and why you are making certain decisions like prefixing the class names with the project name et. al.
@DevEnabled4 жыл бұрын
No worries, the process is as important, if not more so than just copying the code.
@MnrAggro5 жыл бұрын
Going to start a side project soon, willing to follow your steps! Earned yourself a new sub!!
@MatthewCC03114 жыл бұрын
I appreciate the thoroughness of your explanations. Any Udemy course you come out with that has that level of quality, I am all in for :)
@DevEnabled4 жыл бұрын
Thanks again, Matthew. Be sure to stay tuned to the channel then, I have a lot planned and in the works right now, just need the time to complete it all :p
@MatthewCC03114 жыл бұрын
@@DevEnabled Of course! I dabbled in KZbin for a time, so I know how much work goes into it! I will also check out your courses on PluralSight :)
@DevEnabled4 жыл бұрын
@@MatthewCC0311 Oh nice, I'm guessing you don't have an active channel anymore? Pluralsight is a good idea, everything on there is free until the end of the month. I should probably make a post about that on the Community section, I always forget to utilise that part of KZbin.
@MatthewCC03114 жыл бұрын
@@DevEnabled No not anymore. It wasn't the exact direction I wanted to take with a channel, but eventually when I can get more experienced with C++, and UE4 Development, I want to create another channel, and focus it on a devblog of my current game, as well as game design. I'm very much in the beginning stages on my experience though. Just starting CS courses in college, and self educating on game development! I'm falling in love with programming more and more every day :)
@DevEnabled4 жыл бұрын
@@MatthewCC0311 Nice, sounds cool. Be sure to leave a comment when you start the devlogs, I love following other developers and watching their progress.
@erikpolygon54714 жыл бұрын
Rider is amazing! Thanks for the tip yesterday
@DevEnabled4 жыл бұрын
Yeah, it is. I'm not sure on the pricing yet but I have a feeling I'll be buying it whenever it goes into full release. It's made UE4 C++ almost not a chore to work with.
@bobdillon11385 жыл бұрын
Really looking forward to this series...Thank you so much!
@oddstuffcs32964 жыл бұрын
hi, when I Create Class as you do at 5:11, it gives me an error: "ue4 failed to automatically compile YT_CPP". Any ideas?
@oddstuffcs32964 жыл бұрын
never mind, I figured it out. Follow Mackenzie Fishers advice.
@DevEnabled4 жыл бұрын
Good to hear you've solved it.
@capivara-sama34084 жыл бұрын
@@oddstuffcs3296 How?
@oddstuffcs32964 жыл бұрын
@@capivara-sama3408 look at the comment made by Mackenzie Fishers, that comment told me how to fix it
@twitchingpsycho4 жыл бұрын
Would it be possible to make a custom movement component for a pawn that is perhaps based off of the character class but implement stuff like prone with proper collisions while in that stance and a corrective head rotation to camera view that would account for body orientations? Also, it would be awesome if somehow the movement component would have an option to work on the -Z or gravity direction. The reason i want char orientation to get the gravity direction is for possibility to make space ships with gravity on them and be possible to make a character move within a spaceship and the movement to work no matter how the ship is turned relative to world. There's literally no tutorial on that matter while more and more games are space focused and more and more third person games offer prone movements which i love. (love sneaking and sniping and would like to make such a game). Thanks for the tuts anyway, they are amazing and very informative.
@LawMasterTimmy4 жыл бұрын
When I add the Characters in the path of the character class, it fails to rebuild itself in the editor. So I run the uproject, I keep gettings this error: Game1 could not be compiled. Try rebuilding from source manually
@riyansaeed25963 жыл бұрын
In Content Browser How can I create a c++ class for an actor in Content instead of c++ classes folder?
@riyansaeed25963 жыл бұрын
"Create new c++ class" option is missing because I tried to move my object and main actor which was alongside starter content into a new blueprint folder which I created in Content. After that "create new c++ class" option went missing.
@zjfjack4 жыл бұрын
In UE4 v4.24.3, YTCharacterBase header cannot be found, which means we have to #include "Characters/YTCharacterBase.h"
@lennartlut5 жыл бұрын
Thanks for the great video. Do you have some sort of Unreal Cheat Sheet? It feels like there is quite a lot to remember at the beginning and so much to keep in mind. It would be great to have a general goto sheet of paper regarding the general process.
@DevEnabled5 жыл бұрын
I don't have anything like that. A lot of procedures and approaches are just things that you start to memorise the more you do them and then for other things like engine specific functions people tend to not remember them as there are just too many so I tend to have the documentation up on the other screen if there's something I might need during a video.
@Andy_S795 жыл бұрын
Nice more C++ stuff :) Is the "Unreal 2D" Udemy tutorial in planing, any news about that?
@DevEnabled5 жыл бұрын
Hey, thank you. It's still in progress, the project template is all together and I've almost finished outlining the learning points and quizzes I want to focus on. I just need to free up some time to record and edit the content now.
@DevEnabled4 жыл бұрын
@J S Yeah that's quite an old course now though, I plan on releasing some new content on Udemy going into 2020. Between both, I really like Pluralsight due to their consistent quality control whereas Udemy is obviously open to anyone so some courses quality can be questionable. I'd like to think I make reliably good quality content though so I like Udemy for some of the extra freedom I get as an author when coming up with ideas for topics. Also, the people managing and helping develop the courses are great so I'd be happy to work with them again if more opportunities come up.
@rudey382 жыл бұрын
Do you have a video on how to create a FPS shooter?
@DevEnabled2 жыл бұрын
Hey, afraid not. Maybe a good topic for the future.
@baconhairman5 жыл бұрын
when i try to create the character class i cannot compile the files. Please help!
@DevEnabled5 жыл бұрын
check the compiler errors, there're so many issues that it could be that it'd be hard to just guess. Also, make sure you have all the correct parts of VS installed and maybe even restart the pc just to check it's all synced up, that can sometimes be an issue for complete first-time installations.
@baconhairman5 жыл бұрын
@@DevEnabled Thank you its now fixed
@thescrimsknight95544 жыл бұрын
What do u do if the c++ compilie fails??? I have followed every step up to the compiling process. What do I do???
@DevEnabled4 жыл бұрын
Read the output log, locate the error and fix it.
@CombatFXZone5 жыл бұрын
3:57 lmao
@DevEnabled5 жыл бұрын
I'm guessing you have CC on?... YT seems to default to that regardless of how I pronounce it, I'm starting to worry about it having a bit of an obsession...
@CombatFXZone5 жыл бұрын
@@DevEnabled don't worry, for a childish moron like me this "advanced humor for mature people" is a nice addition to your already great videos haha
@lunaricko5759 Жыл бұрын
3:56 for real bro ?
@DevEnabled Жыл бұрын
😅KZbin hears what it wants to hear when generating the CC's. Suffice to say I've stopped saying Pawn now.
@ROSALIEIK3 жыл бұрын
bruh i broke my project like 5 times lol. just me?