Character Select From Main Menu - Unreal Engine 4 Tutorial

Поділитися
Вставка
  • Опубліковано 23 лис 2024

КОМЕНТАРІ • 164

  • @YakAttack252
    @YakAttack252 2 роки тому +34

    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 роки тому +1

      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 2 роки тому +2

      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 Рік тому +11

    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"

  • @therat1657
    @therat1657 3 роки тому +10

    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 3 роки тому

      So create another variable in the game instance BP? And then from the on clicked at buttons what should I do?

    • @therat1657
      @therat1657 3 роки тому

      @@thebeastrex427 instead of using get actor of class node, create a pawn class and use it.

    • @ImNotScotish
      @ImNotScotish 2 роки тому

      what pawn class?

    • @Guraw
      @Guraw 2 роки тому

      Life saver. Much better technique!

    • @Robert_B_445
      @Robert_B_445 Рік тому

      Can anyone explain this in a bit more detail for me?

  • @erook2019
    @erook2019 Рік тому +1

    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!

  • @crimsontyrs
    @crimsontyrs 3 роки тому +7

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

    • @MattAspland
      @MattAspland  3 роки тому +1

      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 3 роки тому

      @@crimsontyrs Have you found a fix?

  • @juniorjohnston2049
    @juniorjohnston2049 2 роки тому +3

    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.

  • @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 8 місяців тому

      How did the others break your controlls? I have the same problem

  • @TorQueMoD
    @TorQueMoD 3 роки тому +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!

  • @AnishDeshpande-pj6hj
    @AnishDeshpande-pj6hj 2 роки тому +1

    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

  • @ryanpatton1795
    @ryanpatton1795 2 роки тому +1

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

  • @stevewynn4612
    @stevewynn4612 3 роки тому

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

  • @Drigg2000
    @Drigg2000 2 роки тому

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

  • @PsychoticSorcerer666
    @PsychoticSorcerer666 5 місяців тому

    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.

  • @thatdudewithfacts
    @thatdudewithfacts 3 роки тому +5

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

  • @JatinderSingh-v1s
    @JatinderSingh-v1s 9 місяців тому

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

  • @mootzartdev
    @mootzartdev 2 роки тому

    Cool! How would i change a set Spawn Transform to reference the player start actor as that seems more productive..

  • @revan_fr3962
    @revan_fr3962 2 роки тому +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

  • @Udara1801
    @Udara1801 3 роки тому +1

    Very very useful brother,thanks

  • @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?

  • @إسلام-ش7ض
    @إسلام-ش7ض 3 роки тому

    hi man and thanks for everything you post it really useful , do you know how to crate your own Character ?

  • @dejandekki
    @dejandekki 3 роки тому

    Thanks Matt, very helpful,.. Can you make a video for loading options button with thumbnails?

  • @dage6131
    @dage6131 3 роки тому +1

    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

  • @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!

  • @iiior605
    @iiior605 3 роки тому

    That was I needed! Thanks a lot🤩

  • @partacanna
    @partacanna 3 роки тому +1

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

  • @CrypticaProductions
    @CrypticaProductions 3 роки тому +1

    Thank you man, very useful

  • @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???

  • @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 :)

  • @Usha-bv7zy
    @Usha-bv7zy 3 роки тому

    I was waiting fir this tutorial only

  • @christianpallaria7751
    @christianpallaria7751 Рік тому

    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?

    • @WrathOfAl
      @WrathOfAl 7 місяців тому

      Im having the same exact issue.

  • @Seveno_o
    @Seveno_o 2 роки тому +2

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

  • @fixstudios5413
    @fixstudios5413 3 роки тому

    Underrated Channel!

  • @wolfiedgr8t
    @wolfiedgr8t 3 роки тому

    Excellent, thanks Matt ❤️

    • @MattAspland
      @MattAspland  3 роки тому

      No problem mate! Thanks for your support! :)

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

  • @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 ?

  • @Faizy_Writes
    @Faizy_Writes 3 роки тому

    Next Level
    Sir❤️

  • @g-dojjo
    @g-dojjo 3 роки тому +1

    Thanks bro! its very usefull!!

    • @MattAspland
      @MattAspland  3 роки тому +1

      No problem bro, it's a pleasure as always :)

  • @Jsfilmz
    @Jsfilmz 2 роки тому

    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
    @Jsfilmz 2 роки тому

    Anyone know how to get this to work in multiplayer?

  • @rickyboyy88
    @rickyboyy88 2 роки тому +1

    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?

  • @umeshcod178
    @umeshcod178 3 роки тому +1

    Very useful video sir

  • @Kadilamri123
    @Kadilamri123 3 роки тому +2

    Omg thats exactly what i need . Thx

    • @MattAspland
      @MattAspland  3 роки тому +1

      That's great to hear man! No problem :)

  • @Devonmadon
    @Devonmadon 5 місяців тому

    what about the game mode ? and nope it doesn't work well this part was not covered on the default map pawn defaults?

  • @jmanimations4720
    @jmanimations4720 3 роки тому +2

    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 :)
      ua-cam.com/video/x7q4Ans3mPk/v-deo.html

    • @jmanimations4720
      @jmanimations4720 3 роки тому +1

      @@MattAspland Τhenks a lot, you are the best !!

    • @MattAspland
      @MattAspland  3 роки тому +1

      @@jmanimations4720 No problem man, happy to help!

  • @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?

  • @TinoPlusUltra
    @TinoPlusUltra Рік тому

    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?

  • @j_dggaming6414
    @j_dggaming6414 3 роки тому +2

    can you make a tutorial where you need to finish the game in order to unlock this

    • @elf234
      @elf234 3 роки тому +2

      I believe you could just add a boolean for when you have completed the game, and until then hide the character select menu

    • @kraljevskiput
      @kraljevskiput 3 роки тому

      @@elf234 can you make tutorial?

  • @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.

  • @taariqmartin7743
    @taariqmartin7743 10 місяців тому

    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

  • @abdallahahmed2549
    @abdallahahmed2549 2 роки тому

    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 ?

  • @artiodainlard
    @artiodainlard 3 роки тому

    thank you very much!

  • @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

  • @thebeastrex427
    @thebeastrex427 3 роки тому

    I did exactly as in the video, but it will only select the same character always. Any help with this guys?

  • @lucianolombardo4901
    @lucianolombardo4901 2 роки тому

    I love you, thanks.

  • @FFTVYoutube
    @FFTVYoutube 3 місяці тому

    hi is there a way to make the chosen character as a variable?

  • @karaemn
    @karaemn 3 роки тому

    Thanks a lot! Great 👍

  • @Elii94104
    @Elii94104 Рік тому

    It won't work when I click on the button for my character nothing happens

  • @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?

  • @madridfan9946
    @madridfan9946 Рік тому

    Does anyone know how to actually select the second character? Every time I select the second character, the game spawn character ONE..

  • @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.

  • @valzzu
    @valzzu 2 роки тому

    How would this work in multiplayer?

  • @Mygamesworldiq
    @Mygamesworldiq 10 місяців тому

    Thank you

  • @Grand-warden
    @Grand-warden 3 роки тому

    Thank you very much

  • @ReUpRise
    @ReUpRise 3 роки тому

    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 2 роки тому

      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 2 роки тому

    can you explain how to do cast to thirdperson character after this? i am stuck in that part

    • @juniorjohnston2049
      @juniorjohnston2049 2 роки тому

      cast to third person character, for the object put get player character.

  • @poxh
    @poxh Рік тому

    could i use this for multiplayer?

  • @UnderfundedScientist
    @UnderfundedScientist 3 роки тому +2

    Notification squad 🧠

  • @iknowcharley5
    @iknowcharley5 3 роки тому

    This was recommended to me

  • @not_vdb0059
    @not_vdb0059 3 роки тому

    im gonna watch this thank you matt

    • @MattAspland
      @MattAspland  3 роки тому +1

      Thanks mate, hope it helps :)

  • @nitinnishad4810
    @nitinnishad4810 3 роки тому

    Will this work on Multiplayer too?

  • @Grumpius
    @Grumpius 3 роки тому +1

    Wow, thank you :D

    • @MattAspland
      @MattAspland  3 роки тому +1

      No worries mate :D

    • @Grumpius
      @Grumpius 3 роки тому +1

      Sorry, I dont want to be annoying, but how can I do this for Sprites? 😬

    • @MattAspland
      @MattAspland  3 роки тому +2

      @@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 роки тому +1

      @@MattAspland Ok, thanks :D

  • @DemonHuntersProfile
    @DemonHuntersProfile 3 роки тому

    What game mode settings do I use tho?

  • @Fishos
    @Fishos 9 місяців тому

    I cant seem to replicate it onto multiplayer any help?

  • @zutsume5375
    @zutsume5375 Рік тому +1

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

    • @ΚαρέλαςΓεώργιος
      @ΚαρέλαςΓεώργιος Рік тому

      Hey Zutsume. Did you solve the issue? I am having the same trouble.

    • @zutsume5375
      @zutsume5375 Рік тому

      @@ΚαρέλαςΓεώργιος 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)

    • @ΚαρέλαςΓεώργιος
      @ΚαρέλαςΓεώργιος Рік тому

      @@zutsume5375 Thank you for your response. I'll try what you said :)

    • @zutsume5375
      @zutsume5375 Рік тому

      @@ΚαρέλαςΓεώργιος 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

  • @katkii9871
    @katkii9871 3 роки тому

    Can u make it to only do in lobby?

  • @doomlord5236
    @doomlord5236 4 місяці тому

    Can this work in mulyiplayer ?

  • @rcsmultimediallc4734
    @rcsmultimediallc4734 2 роки тому

    I can't get it to open the level no matter what I do :/

  • @TimBorggrenDenmark
    @TimBorggrenDenmark Рік тому

    Another TUT - That are not working - GREAT job

  • @isitsafe535
    @isitsafe535 2 роки тому

    is this multiplayer friendly?

  • @milan.980
    @milan.980 3 роки тому

    can we do transparent ?

  • @JamesGascoyne
    @JamesGascoyne 3 роки тому +6

    damn those characters have the aspect ratio of a breadstick lmao

    • @MattAspland
      @MattAspland  3 роки тому +3

      Hahaha, that somehow makes sense lmao

  • @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 3 роки тому

      Same
      Have you found a fix?

    • @ethandobell1442
      @ethandobell1442 3 роки тому

      @@thebeastrex427 I tried loads of stuff but never managed to find a fix for it. Sorry :/

    • @OldSchoolDo
      @OldSchoolDo 2 роки тому +1

      @@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!

  • @DummyxFútbol
    @DummyxFútbol 2 роки тому

    😀

  • @OFFICER125GAMINGOFFICIAL
    @OFFICER125GAMINGOFFICIAL 3 роки тому

    its not working for me idk what i did wrong

    • @thebeastrex427
      @thebeastrex427 3 роки тому

      It selects the same character for me too. Have you found a fix?

  • @вячеславшандров
    @вячеславшандров 3 роки тому

    why does the dummy keep popping up even when I choose SWAT

    • @thebeastrex427
      @thebeastrex427 3 роки тому

      Same
      Have you found a fix?

    • @murphy1934
      @murphy1934 Рік тому

      @@thebeastrex427 dude they are useing swat bc thats the model they used in the video

  • @Flyingcar1
    @Flyingcar1 2 роки тому

    No one help me

  • @GameDevAraz
    @GameDevAraz 3 роки тому +1

    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.

  • @Ray_joy
    @Ray_joy 3 роки тому +1

    Thank you man very useful

    • @MattAspland
      @MattAspland  3 роки тому

      No worries dude! All the best to you :)