Character Select From Main Menu - Unreal Engine 4 Tutorial

preview_player
Показать описание
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.

#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
___________________________________________________________________________

___________________________________________________________________________

___________________________________________________________________________

Thank you :)
___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
Рекомендации по теме
Комментарии
Автор

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.

YakAttack
Автор

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"

istvanszigeti
Автор

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!

therat
Автор

I was so needing this!!! You are the best Matt

crimsontyrs
Автор

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!

erook
Автор

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.

juniorjohnston
Автор

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

davegaming
Автор

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!

TorQueMoD
Автор

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 YouTube videos were only showing the menu selection creation part
but nothing about how to actually get the characters into the level you want.

GeorgeMutambuka
Автор

This is great! I’ll be using it this summer when I start on a new game.

stevewynn
Автор

Good tutorial. Thanks. And I have seen/used your tutorial for replicating meshes - great.

Drigg
Автор

Wild, it worked one time for me then it hasnt worked since. Cant wrap my head around that one.

ryanpatton
Автор

Guys, don't make the mistakes I did. Import the characters, not the meshes. Had to redo the entire thing.

partacanna
Автор

love u bro u saved my time i m searhcing for this

JatinderSingh-vs
Автор

You're still making the best tutorials! Thankyou!

dage
Автор

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....?

thatdudewithfacts
Автор

what if your doing the character select in the same level? Im already in the level i just created a menu for character select.

Jsfilmz
Автор

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

AnishDeshpande-pjhj
Автор

it just selects the same character every time. Can Someone help me?

Seveno_o
Автор

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.

PsychoticSorcerer