Тёмный

Character Select From Main Menu - Unreal Engine 4 Tutorial 

Matt Aspland
Подписаться 80 тыс.
Просмотров 43 тыс.
50% 1

Hey guys, in today's video, I'm going to be showing you how to create a character selection menu. In this, you can choose which character to play as before entering the game from the main menu.
Main Menu Tutorial: • How To Create A Main M...
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:24 - Overview
01:34 - Setting Up The Character Select Visuals
08:39 - Setting Up The Functionality
15:43 - Final Overview
15:59 - Outro
___________________________________________________________________________
My Public Video List: trello.com/b/7vJgXzBm
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :)
___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10

Опубликовано:

 

1 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 164   
@YakAttack252
@YakAttack252 2 года назад
Firstly thanks for all your hardwork Matt. You have taught us a lot. Your tutorials are the most educational on youtube. For those that this has not worked for. Simplest fix is to change the default pawn class to your second character in the gamemode section (world settings on your mainmenu map). This fixed it for me to use 2 characters but i needed more than 2 characters . Second potential fix which allowed me to use more than 2 characters is below: 1, Delete the Get Actor of Class Node and the Get Class Node in your character select event graph. 2. Drag out of Onclicked (yourcharacter) node and type + select Cast to Pawn Class. In this new node, under class drop down, select your character (make sure is placed in the scene at in 10:39 of this tut) 3. From the Cast to Pawn Class Node, drag out from As Pawn output and promote to variable. (when you do this for other characters you can just drag out from the node and type Set As Pawn and select) 4. Connect Exec from SET to Cast to MyGameInstance (or whatever you named the game instance.) 5. Connect purple output node from SET As Pawn to purple character input node on SET Character. 6. Compile and save and you should now be able to repeat for multiple characters. hope this helps.
@decorix
@decorix 2 года назад
Hello Yaq thanks for your help. Is there any chance of posting a screenshot of the node setup?
@ktsudeep
@ktsudeep 2 года назад
This really worked thanks Yaq, @matt Please pin this on the top, or make a new video.
@404notfound_input
@404notfound_input 2 года назад
You just shown how to do all tutor in 6 points! )) Thanks
@tonybush565
@tonybush565 2 года назад
change it to what though? If I change it, it just overrides as that specific pawn
@izzyharvin
@izzyharvin Год назад
Only issue I have when doing this is when I select the character nothing happens it stays on the select character. Is it because of my button? I have it laid out as you described while finishing the rest of the tutorial.
@istvanszigeti8860
@istvanszigeti8860 Год назад
Nice video,thanks for it. And you who reading this have the problem when you selected the character and loadet for the level,and cant controll the character use this method. 1: fullow the video 2: after you finished the level blueprint possess section you need to go to your character blueprints and change the "event begin play" to the "event possessed". 3: after "event possessed" cast to your player controller,but dont need the "get player controller" reference because the "event possessed" "new controller" output must to plug in for your player controller "object reference"
@GoldenKirby
@GoldenKirby Год назад
You my sir are a MASSIVE god send.
@boogymanpvp6734
@boogymanpvp6734 11 месяцев назад
Thanks man
@jayumcooper
@jayumcooper 11 месяцев назад
THIS is what i was looking for. Thank you
@DoctorKua
@DoctorKua 5 месяцев назад
U SAVED MY LIFE OMG THANKS SO MUCH
@genrepretorius5813
@genrepretorius5813 День назад
Thanks so much for this!
@therat1657
@therat1657 2 года назад
For those who couldnt make it work : try not to using 'get actor of class' node but create a pawn class variable instead (dont forget to choosing default class value in details panel). This worked for me!
@thebeastrex427
@thebeastrex427 2 года назад
So create another variable in the game instance BP? And then from the on clicked at buttons what should I do?
@therat1657
@therat1657 2 года назад
@@thebeastrex427 instead of using get actor of class node, create a pawn class and use it.
@ImNotScotish
@ImNotScotish Год назад
what pawn class?
@Guraw
@Guraw Год назад
Life saver. Much better technique!
@RobRandomVids
@RobRandomVids Год назад
Can anyone explain this in a bit more detail for me?
@user-dl7hp7wt1d
@user-dl7hp7wt1d 4 месяца назад
love u bro u saved my time i m searhcing for this
@Udara1801
@Udara1801 3 года назад
Very very useful brother,thanks
@stevewynn4612
@stevewynn4612 3 года назад
This is great! I’ll be using it this summer when I start on a new game.
@crimsontyrs
@crimsontyrs 3 года назад
I was so needing this!!! You are the best Matt
@MattAspland
@MattAspland 3 года назад
No problem at all James, glad I could help out! :)
@crimsontyrs
@crimsontyrs 3 года назад
​@@MattAspland Okay... not sure where I went wrong but regardless of which character I select it always comes up with the mannequin character, got any Ideas? oh BTW I'm also having trouble getting my lighting to build I've tried a lot of the "fixes" on the net but nothing works. Everything I've seen says I need to build the lightmass in visual studio using the source code but I didn't get Unreal from git so I don't have the code? Thoughts on this matter would be greatly appreciated.
@thebeastrex427
@thebeastrex427 2 года назад
@@crimsontyrs Have you found a fix?
@artiodainlard
@artiodainlard 3 года назад
thank you very much!
@thatgamedev8250
@thatgamedev8250 3 года назад
Thx very usefull !!!!!!
@MattAspland
@MattAspland 3 года назад
That's great to hear mate! Happy to help :)
@Drigg2000
@Drigg2000 2 года назад
Good tutorial. Thanks. And I have seen/used your tutorial for replicating meshes - great.
@Faizy_Writes
@Faizy_Writes 3 года назад
Next Level Sir❤️
@Mygamesworldiq
@Mygamesworldiq 5 месяцев назад
Thank you
@iiior605
@iiior605 3 года назад
That was I needed! Thanks a lot🤩
@MattAspland
@MattAspland 3 года назад
Happy to help bro!! :)
@erook2019
@erook2019 Год назад
I love you Matt, This video saved me hours of my time on a completely unrelated topic, I wont elaborate because its embarrassing but yea, thank you!
@wolfiedgr8t
@wolfiedgr8t 3 года назад
Excellent, thanks Matt ❤️
@MattAspland
@MattAspland 3 года назад
No problem mate! Thanks for your support! :)
@CrypticaProductions
@CrypticaProductions 3 года назад
Thank you man, very useful
@MattAspland
@MattAspland 3 года назад
All the best to you mate!
@Ray_joy
@Ray_joy 3 года назад
Thank you man very useful
@MattAspland
@MattAspland 3 года назад
No worries dude! All the best to you :)
@umeshchintakunta9871
@umeshchintakunta9871 3 года назад
Very useful video sir
@fixstudios5413
@fixstudios5413 3 года назад
Underrated Channel!
@g-dojjo
@g-dojjo 3 года назад
Thanks bro! its very usefull!!
@MattAspland
@MattAspland 3 года назад
No problem bro, it's a pleasure as always :)
@lucianolombardo4901
@lucianolombardo4901 2 года назад
I love you, thanks.
@karaemn
@karaemn 3 года назад
Thanks a lot! Great 👍
@MattAspland
@MattAspland 3 года назад
Thanks man, happy to help! :)
@Usha-bv7zy
@Usha-bv7zy 3 года назад
I was waiting fir this tutorial only
@que_scopes1224
@que_scopes1224 3 года назад
omg you actual know what we all need lol thsnks matt
@MattAspland
@MattAspland 3 года назад
Haha no problem mate! All the best to you :)
@Grand-warden
@Grand-warden 3 года назад
Thank you very much
@MattAspland
@MattAspland 3 года назад
Always a pleasure bro!
@davegaming2005
@davegaming2005 3 года назад
i have no idea how this worked but i have tried two other ones and each time they broke the player controls. thank you man you have been the best throughout my game making and will probably continue to
@alexkerasidis
@alexkerasidis 3 месяца назад
How did the others break your controlls? I have the same problem
@ryanpatton1795
@ryanpatton1795 Год назад
Wild, it worked one time for me then it hasnt worked since. Cant wrap my head around that one.
@PsychoticSorcerer666
@PsychoticSorcerer666 16 дней назад
I know that you've largely moved on to UE5 at this point, but would you know how to make a scrollbox that populates levels in a list from a folder using Blueprints? I've spent the past week pulling my hair out trying to figure out how to do it.
@Kadilamri123
@Kadilamri123 3 года назад
Omg thats exactly what i need . Thx
@MattAspland
@MattAspland 3 года назад
That's great to hear man! No problem :)
@juniorjohnston2049
@juniorjohnston2049 Год назад
Okay guys this DOES still work. although in the menu world, you do NOT need the characters to be placed in already, and in the blueprint where set the code to get actor of class. you do not need that just cast to the game instance and SET the character var right after. use the drop down menu and select the character you want to use.
@RWOproduction62000
@RWOproduction62000 Год назад
Thanks
@LonelyDeveloper_
@LonelyDeveloper_ 10 месяцев назад
hey, this kinda works but the second i join in i just die u have any ideas
@TorQueMoD
@TorQueMoD 2 года назад
The only thing I wish you had gone over is how to save the player's choice so they don't have to pick their character every time they play. Otherwise it's an awesome tutorial!
@user-jc3nv7sp3x
@user-jc3nv7sp3x 10 дней назад
what about the game mode ? and nope it doesn't work well this part was not covered on the default map pawn defaults?
@dejandekki
@dejandekki 3 года назад
Thanks Matt, very helpful,.. Can you make a video for loading options button with thumbnails?
@user-em8zf2sk4w
@user-em8zf2sk4w 3 года назад
hi man and thanks for everything you post it really useful , do you know how to crate your own Character ?
@marijnfuhler7246
@marijnfuhler7246 Год назад
Hey Matt, Thanks for this tutorial, really helpfull. But what if i wanted to change the character when the player is playing inside a level? Can I still change this by selecting a player blueprint? Or do I need to turn on and of a specific mesh on the current player blueprint?
@mootzartdev
@mootzartdev 2 года назад
Cool! How would i change a set Spawn Transform to reference the player start actor as that seems more productive..
@vladaslav
@vladaslav 3 года назад
Brilliant man 😁 how would I be able to do it as when I've done the selected characters level and tasks it goes back to the character select menu, but crosses/blackout already played character to make the player do the other character missions???
@JoelDiab
@JoelDiab 2 года назад
Great tutorial, had one little question and not sure if you'd know how to do this but I have a unique post process volume but the render target 2D camera doesn't seem to take in the post process compared to the regular camera. Would you happen to know a way to fix that? Thanks!
@Seveno_o
@Seveno_o 2 года назад
it just selects the same character every time. Can Someone help me?
@iknowcharley5
@iknowcharley5 3 года назад
This was recommended to me
@MattAspland
@MattAspland 3 года назад
Thanks for watching!
@ShaizaAmjad
@ShaizaAmjad 8 месяцев назад
can we use this for Multiplayer?
@fortking5005
@fortking5005 3 года назад
can you make a video about a in game day count(after a day and night cycle its says day 1), then another cycle say day 2 and so on....?
@MattAspland
@MattAspland 3 года назад
Great idea mate, I've just added it to my list :)
@fortking5005
@fortking5005 3 года назад
Thanks!!!!!
@Jsfilmz
@Jsfilmz Год назад
what if your doing the character select in the same level? Im already in the level i just created a menu for character select.
@dage6131
@dage6131 3 года назад
You're still making the best tutorials! Thankyou!
@MattAspland
@MattAspland 3 года назад
Thanks so much man! That means a lot :)
@1AnimeFinder
@1AnimeFinder 3 года назад
i no right keep it up
@valzzu
@valzzu Год назад
How would this work in multiplayer?
@poxh
@poxh 8 месяцев назад
could i use this for multiplayer?
@taariqmartin7743
@taariqmartin7743 5 месяцев назад
Unreal engine 4 please make a dynamic back button for options I have 2 options widgets one for my main menu and one for my game pause now they are the some exactly the same reason being the back button would not take me to the previous scream now I don't mind sticking to this way but as new levels make there way in this will be a problem so please make a dynamic back button for going back to the previous screen
@AnishDeshpande-pj6hj
@AnishDeshpande-pj6hj 2 года назад
What did you put in the Default Pawn Class in the Project settings? My Project isn't able to choose between the characters. Please help Thanks
@Jsfilmz
@Jsfilmz Год назад
Anyone know how to get this to work in multiplayer?
@christianpallaria7751
@christianpallaria7751 8 месяцев назад
Hi Matt. Great work and many thanks for your video tutorial. I followed the whole process but I am still facing a problem: after opening the level from the menu, the character is swapped properly, but it does not move...do you have any suggestion about a possible issue?
@alfonseraffa2308
@alfonseraffa2308 2 месяца назад
Im having the same exact issue.
@partacanna
@partacanna 2 года назад
Guys, don't make the mistakes I did. Import the characters, not the meshes. Had to redo the entire thing.
@Fishos
@Fishos 4 месяца назад
I cant seem to replicate it onto multiplayer any help?
@samholt7667
@samholt7667 2 года назад
How would I set up a level select menu on the back of this would I set the level before this screen if so how would I get the reference between screens
@jmanimations4720
@jmanimations4720 3 года назад
Can to make a video on how to animate object parts like a drawer of a furniture
@MattAspland
@MattAspland 3 года назад
Hey mate, I have a video here of opening individual drawers on a chest of drawers. Hope this helps :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-x7q4Ans3mPk.html
@jmanimations4720
@jmanimations4720 3 года назад
@@MattAspland Τhenks a lot, you are the best !!
@MattAspland
@MattAspland 3 года назад
@@jmanimations4720 No problem man, happy to help!
@Grumpius
@Grumpius 3 года назад
Wow, thank you :D
@MattAspland
@MattAspland 3 года назад
No worries mate :D
@Grumpius
@Grumpius 3 года назад
Sorry, I dont want to be annoying, but how can I do this for Sprites? 😬
@MattAspland
@MattAspland 3 года назад
@@Grumpius You'd do the same method, but in the GameInstance, our character variable. You'd set the variable type to be "PaperSpriteActor" "Class Reference" instead I believe :)
@Grumpius
@Grumpius 3 года назад
@@MattAspland Ok, thanks :D
@TimBorggrenDenmark
@TimBorggrenDenmark 11 месяцев назад
Another TUT - That are not working - GREAT job
@DemonHuntersProfile
@DemonHuntersProfile 2 года назад
What game mode settings do I use tho?
@katkii9871
@katkii9871 2 года назад
Can u make it to only do in lobby?
@GeorgeMutambuka
@GeorgeMutambuka 3 года назад
Wish I could spam you with thousands of likes and views. Last week I was cracking my skull on how to do this and forums were like "it's easy" but skipping a lot of info and RU-vid videos were only showing the menu selection creation part but nothing about how to actually get the characters into the level you want.
@UnderfundedScientist
@UnderfundedScientist 3 года назад
Notification squad 🧠
@MattAspland
@MattAspland 3 года назад
Thanks bro! 🙌
@neginabh5092
@neginabh5092 2 года назад
Thank you Matt but I have a issue when I press play and choose my character I still have my Bottom menu on Game level how can I fix that ?
@Elii94104
@Elii94104 Год назад
It won't work when I click on the button for my character nothing happens
@not_vdb0059
@not_vdb0059 3 года назад
im gonna watch this thank you matt
@MattAspland
@MattAspland 3 года назад
Thanks mate, hope it helps :)
@rickyboyy88
@rickyboyy88 2 года назад
ive run into a problem after following this vid , when i select my character , the game map loads in but there is no character , just the level . any idea's?
@tonybush565
@tonybush565 2 года назад
Same
@TinoPlusUltra
@TinoPlusUltra 10 месяцев назад
I cannot for the life of me get this to work in unreal engine 5. Every time I set this up it always goes to whatever the world default pawn settings are. If I choose none I get nothing. Any ideas?
@revan_fr3962
@revan_fr3962 2 года назад
Hey, when I try to start my level after choosing my character, it doesn't work, I think it's in the ThirdPersonExampleMap - Blueprint - Gamemode - pawn, what did you set?
@tonybush565
@tonybush565 2 года назад
same, i'm guessing it's something in the World Settings but idk
@nitinnishad4810
@nitinnishad4810 2 года назад
Will this work on Multiplayer too?
@j_dggaming6414
@j_dggaming6414 3 года назад
can you make a tutorial where you need to finish the game in order to unlock this
@elf234
@elf234 3 года назад
I believe you could just add a boolean for when you have completed the game, and until then hide the character select menu
@tiktokz3843
@tiktokz3843 3 года назад
@@elf234 can you make tutorial?
@dummyx2645
@dummyx2645 Год назад
😀
@milan.980
@milan.980 3 года назад
can we do transparent ?
@thebeastrex427
@thebeastrex427 2 года назад
I did exactly as in the video, but it will only select the same character always. Any help with this guys?
@RWOproduction62000
@RWOproduction62000 2 года назад
Can't seem to get this to work, making a br game and following along, blueprint is right but nothing. what am I missing?
@decorix
@decorix 2 года назад
Hi Matt. I have been following the tut, but also can't get it to work :-( When I start from the mainmenu all is fine it goes to playerselect... When I select a character this won't work. It does load in my level map, but its missing stuff like pickups and its not the same when I start from that levelmap it self. How is this possible? so it loading the right map, but pickups and some other things are missing.
@ReUpRise
@ReUpRise 2 года назад
Everything didn't work until I added the character to the scene with the menu as in the video on 10:39. It's a little counter intuitive to add them. Is it possible to use another function to find them so they will not present in the scene?
@psyco4452
@psyco4452 Год назад
don't know if you found out the answer but i can give on a cue, go in the game instance create a new variable purple pawn object ref ( morelikely : pawn class) change it type to array and now you can ad anything to it , there a + button (atleast in UE5)when doing that variable into the game instance you can now cast it out in any BP/maps needed.) :) ( might face out a problem youl'l have to change some fonctions to cast in a array instead of a existing pawn) ( at the get pawn variable try to use ( get copy of) than pop it will work for 1 model, now you have to set an index, that index need to be cast by the button. so maybe something like set index = 1 than second character =2 ) (cause in the array variable youl set your array = wish Pawn)
@arunkarthik5820
@arunkarthik5820 Год назад
can you explain how to do cast to thirdperson character after this? i am stuck in that part
@juniorjohnston2049
@juniorjohnston2049 Год назад
cast to third person character, for the object put get player character.
@madridfan9946
@madridfan9946 Год назад
Does anyone know how to actually select the second character? Every time I select the second character, the game spawn character ONE..
@abdallahahmed2549
@abdallahahmed2549 Год назад
iam packaging my game on andriod but the character selection does not work after packaging, it works well in engine and as standalone game but after packaging when i slect my character it goes back to main-menu , Any help plz ?
@LegitLord2000
@LegitLord2000 2 года назад
Been trying to figure out what’s wrong for so long, can’t figure out how to get my second person to work. Also I wish it showed how to separate their spawn points
@tonybush565
@tonybush565 2 года назад
Doesn't work. idk if there's a specific setting that needs to be ticked in the World Settings?
@isitsafe535
@isitsafe535 2 года назад
is this multiplayer friendly?
@JamesGascoyne
@JamesGascoyne 3 года назад
damn those characters have the aspect ratio of a breadstick lmao
@MattAspland
@MattAspland 3 года назад
Hahaha, that somehow makes sense lmao
@LegitLord2000
@LegitLord2000 2 года назад
After months I figured out why it wasn’t working. Casted to the default GameInstance instead of MyGameInstance. So annoying it’s still there to use.
@rcsmultimediallc4734
@rcsmultimediallc4734 2 года назад
I can't get it to open the level no matter what I do :/
@zutsume5375
@zutsume5375 Год назад
Everything works except for one thing, i can't control my character, like i can't move or anything. Despite spawning the right pawn on the right map, etc...
@user-xc8jn6tm3l
@user-xc8jn6tm3l Год назад
Hey Zutsume. Did you solve the issue? I am having the same trouble.
@zutsume5375
@zutsume5375 Год назад
@@user-xc8jn6tm3l The issue is that launching the possess node from the level blueprint doesn't to work well, so i made a workaround by creating a widget that appears when called in the level blueprint, and in that said widget i basically adapted what was shown in the video (Sorry if my explanation is weird to understand, if it helps i wouldn't mind quickly contacting you on discord to show you or sum)
@user-xc8jn6tm3l
@user-xc8jn6tm3l Год назад
@@zutsume5375 Thank you for your response. I'll try what you said :)
@zutsume5375
@zutsume5375 Год назад
@@user-xc8jn6tm3l no problem, happy to hello with the little i know :)
@istvanszigeti8860
@istvanszigeti8860 Год назад
@Zutsume i have sam,and i solve it! in your charakter blueprint you must not the event begin play, but also the event possessed
@OFFICER125GAMINGOFFICIAL
@OFFICER125GAMINGOFFICIAL 3 года назад
its not working for me idk what i did wrong
@thebeastrex427
@thebeastrex427 2 года назад
It selects the same character for me too. Have you found a fix?
@ethandobell1442
@ethandobell1442 3 года назад
Thanks for this video! Amazing as always! However, for some reason, only half of this works for me... I select one character and that works fine - spawns into the map in the right place, but my when i click on the option for the second character, it spawns me as the first character in a different location. I've rewatched the tutorial a few times and cant figure it out - any thoughts?
@thebeastrex427
@thebeastrex427 2 года назад
Same Have you found a fix?
@ethandobell1442
@ethandobell1442 2 года назад
@@thebeastrex427 I tried loads of stuff but never managed to find a fix for it. Sorry :/
@OldSchoolDo
@OldSchoolDo 2 года назад
@@ethandobell1442 i had this problem until read a few more posts here and watched the video again ... if you watch the video at 10:39 . on the main menu create a cube and a light and drag bother player bp's onto the cube . this worked as i missed this step only problem i have now is , the animations on player 2 do not work .. :/ always something
@ethandobell1442
@ethandobell1442 2 года назад
@@OldSchoolDo it’s never simple, is it?! Always something else lol Thank you for letting me know about that bit though - I missed it as well!
@user-qj2rl8fx7z
@user-qj2rl8fx7z 2 года назад
why does the dummy keep popping up even when I choose SWAT
@thebeastrex427
@thebeastrex427 2 года назад
Same Have you found a fix?
@murphy1934
@murphy1934 11 месяцев назад
@@thebeastrex427 dude they are useing swat bc thats the model they used in the video
@Flyingcar1
@Flyingcar1 2 года назад
No one help me
@GameDevAraz
@GameDevAraz 2 года назад
Truly Useless, If I May Ask, Could You Spend Some Time To Make A Gun Choice Purchase Menu, Where You Press A Button And You Move To The Next Gun Etc, Menu, For Buying Weapons, Thanks
@Mediaist581
@Mediaist581 2 года назад
1. you dont make sense. 2. your not showing us how to do it your making us watch you do it.
Далее
Unreal Engine 4 - Character Selection Tutorial
18:34
Просмотров 31 тыс.
OVOZ
01:00
Просмотров 1,4 млн
How To Hide In A Locker - Unreal Engine 4 Tutorial
26:43
Levelling Up / EXP System - Unreal Engine Tutorial
15:41
OVOZ
01:00
Просмотров 1,4 млн