Unreal Engine 4 Tutorial - Level Travelling Part 1: Player Starts

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2021
  • In this 2 part episode we are going through to do a transition between levels using the player start tag and some cool effects.
    In Part 1 we show how to use the Player Start Actor's start tag to set where the player spawns when entering a level.
    SUPPORT ME
    Patreon I / ryanlaley
    Buy Me a Coffee I buymeacoffee.com/RyanLaley
    Donations I paypal.me/ryanlaley
    PRIVATE 1-2-1 SESSIONS
    Email me at support@ryanlaley.com for more information and rates, or visit www.ryanlaley.com/learn-games-...
    JOIN THE COMMUNITY
    Discord I / discord
    FOLLOW ME
    Twitter I / ryanlaley
    Facebook I / ryanlaleygames
    Instagram I / ryanlaleygames

ความคิดเห็น • 67

  • @josephlongoria136
    @josephlongoria136 7 หลายเดือนก่อน +5

    been 5 years and still dont understand why i dont start with you first im always trying to figure stuff out the hard way. THANKS MAN!

  • @Karlettto89
    @Karlettto89 2 หลายเดือนก่อน

    Thank you Ryan!!! I have been looking for the an event like "Handle Starting New Player" to trigger a loading screen in a multiplayer game. Super thankful for your tutorials!

  • @stevenkent5351
    @stevenkent5351 2 ปีที่แล้ว +6

    holy hell thats easier than CopyPaste transforms into open level and saving variables in the game instance. Thank you for this, that saves a little bit of a headache from now on.

  • @hellstriker5084
    @hellstriker5084 2 ปีที่แล้ว +3

    thanks man i was looking for an easy solution to this and gotta say this is the best. really simple to follow tutorial

  • @Eletreeon27
    @Eletreeon27 2 ปีที่แล้ว +9

    I have a problem,i put 3 Player start at 1 map ,everytime i started the game it automatic spawn random between 3 player start
    How to fix this?
    Sorry about my bad english

    • @KillerDudeT19
      @KillerDudeT19 ปีที่แล้ว

      im having the same issue, did you fix it?

    • @lefrog3851
      @lefrog3851 7 หลายเดือนก่อน

      ​@@KillerDudeT19im having the same issue did you also fix it?

  • @PatrickTheDM
    @PatrickTheDM ปีที่แล้ว

    Very nice. This had been stumping me for a long time.

  • @vanikin3982
    @vanikin3982 2 วันที่ผ่านมา

    If you have multiple PlayerStarts in your level(s) and it seems like the transition is only choosing one player start to spawn in when you transition multiple times (or up to two if you start in another level), then make sure in the Transition Blueprint to check the Absolute box on the Open Level (by Object Reference). This flushes out the options string, otherwise it will append each DestinationTag to the options every time you transition.

  • @TheRealJackArthur
    @TheRealJackArthur 2 ปีที่แล้ว

    Just what I was looking for! Thanks!

  • @philsadler6665
    @philsadler6665 4 หลายเดือนก่อน

    OMG. After 2-3 days searching and trying how to get this right, landed on your (this) vid. And in the first 'paragraph you define exactly my problem statement!!!!! As josephlongoria says....why did I not come to your channel in the first place?? Duh stooopid me is why!!!! Thanks for covering this....just hope I can get it working...

  • @Reppnek
    @Reppnek ปีที่แล้ว

    This was a great solution, thank you.
    Other I've looked up were waaaaay to complicated and prone to bugs.

  • @Emarketsarts
    @Emarketsarts ปีที่แล้ว +3

    Something wonky with this in 5.0. It was working good in standalone , then when i packaged it , it didn't work , i come through a level transition and it just sets me in a random place on the level.

  • @pressuremakesus
    @pressuremakesus ปีที่แล้ว +2

    Hi! --- Please HELP ---
    how do I set my player start when I start my game? it keeps ignoring my "start game" player start and spawns my character right up my first door transition player start.

  • @arankasih1162
    @arankasih1162 2 ปีที่แล้ว +4

    hello ryan! what an amazing video! but i have a problem where my player wont spawn correctly, it doesnt spawn in the player starts of the door. can you help?

  • @argentiignis
    @argentiignis 4 หลายเดือนก่อน

    You're my hero

  • @RiverFox_YT
    @RiverFox_YT ปีที่แล้ว

    nice tutorial thank you. i have a question, it seems to take a while loading from one map to another, im guessing ebcause of the size of my main level. is there a way to speed that up? or have some sort of transition screen while waiting for it to load? currently its like a frozen screen untill it loads in

  • @ajsGuitar1979
    @ajsGuitar1979 11 หลายเดือนก่อน +1

    For those that were having trouble with the initial player start not being set - i.e. it starting at a random one of the multiple player starts in the level - I was able to solve this and retain the ability to travel to another level and return back to the correct player start point. I did it by overriding Choose Player Start function inside the GameMode blueprint instead of using the event that Ryan uses. I then used a select node to select the value of a variable as the player start name if the length of the options string variable is zero or the options string variable minus the first character if the options string contains the player start name.

    • @ajsGuitar1979
      @ajsGuitar1979 11 หลายเดือนก่อน +1

      ok so when I packaged the game and run it the playerstart was broken again. After a bit of digging I figured out two problems. Overriding the Choose Player Start function is the wrong approach so I returned to Ryan's method of using the event. The second problem is more interesting - the options string when the game is running as packaged has ?name=player in it. Turns out the options string is actually a ? separated list of key=value pairs so instead of just setting the options string in the transition blueprint to the playerstart tag destination I replaced it with playerStart=. It's then possible to use the HasOption and ParseOption functions to check if the playerStart option is present and get it's value if it is.

    • @Speed74LP
      @Speed74LP หลายเดือนก่อน

      Thank you! That works like a charm for me. Didn't even know you can parse options like that.

  • @jaydesu
    @jaydesu 2 ปีที่แล้ว +6

    I was just thinking about how would I do this. Its like the youtube gods just knew... thanks for posting, just what I needed.

  • @KarmaChoedakAcharya
    @KarmaChoedakAcharya 2 ปีที่แล้ว

    Thank You, Still Rocks!

  • @leogillff
    @leogillff ปีที่แล้ว

    Thank You so Much

  • @spectrathegame
    @spectrathegame 2 ปีที่แล้ว

    How would one adapt this for use with the stream level node? The open level approach in this video is not viable for large or complex levels

  • @dreamcreateinspire
    @dreamcreateinspire 2 ปีที่แล้ว

    amazing but one thing! when i teleport into the next map...its unplayable! what do i do to transgfer and run around in the map. thanks

  • @BelfrostStudios
    @BelfrostStudios 7 หลายเดือนก่อน

    How would you set this up to have it be a door you interact with, and that cues up an animation of door opening before level loads?

  • @kyoo5877
    @kyoo5877 2 ปีที่แล้ว

    I have a question
    how can i do this if i create a widgetHUD nammed " other map " on the screen , and i click on it to change the level

  • @YouWillDoAsYouAreTold
    @YouWillDoAsYouAreTold 2 ปีที่แล้ว

    thanks :D

  • @jonzcrypto
    @jonzcrypto 2 ปีที่แล้ว +7

    Why the hell does it sometimes randomly put me at the entirely wrong player start when there is more than one in a level? I have rechecked my code multiple times and can verify it's exactly what the tutorial shows. I honestly believe it's a bug that needs to be resolved.

    • @SirPanda47
      @SirPanda47 2 ปีที่แล้ว +1

      same issue here as well

    • @VRZockerDE
      @VRZockerDE 2 ปีที่แล้ว +1

      Same problem here. Did someone found a solution?

    • @metalcrow705
      @metalcrow705 2 ปีที่แล้ว +1

      same issue here

    • @VRZockerDE
      @VRZockerDE 2 ปีที่แล้ว +1

      @@metalcrow705 please tell me if you find a solution. Couldn't find a fix and dev's Discord couldn't help.

    • @metalcrow705
      @metalcrow705 2 ปีที่แล้ว +1

      @@VRZockerDE will do,trying to find a solution but nothing seems to work

  • @chapacubraelderscrollsonli3491
    @chapacubraelderscrollsonli3491 11 หลายเดือนก่อน +6

    SO MANY people saying its not working (no, its not working, player randomly spawns in different player starts when loading level) and Ryan doesn't give a crap to answer...meanwhile he wants more Patreons!

  • @ziadfeteha762
    @ziadfeteha762 2 ปีที่แล้ว

    Ryan When i choose the specific starting point my vr pawn disappear

  • @michaelkukula5926
    @michaelkukula5926 5 หลายเดือนก่อน

    Does it restart the level when you go back to it? Like if an NPC is at wall 1 at start and walks over to wall 2. Then player goes to level 2 and returns to level 1, would the NPC return to its original location at wall 1, or would it still be at wall 2?

  • @KensireGames
    @KensireGames 3 หลายเดือนก่อน

    This works in the editor but crashes when i export the game

  • @WayWayAwesomecooks
    @WayWayAwesomecooks 4 หลายเดือนก่อน

    When I load into the next level my character is gone and I float like when you first start a project in unreal

  • @roark4441
    @roark4441 2 ปีที่แล้ว +8

    Followed the instructions exactly, but I run into a problem: When I try to go back to the first level, it always starts me right at the original player start location, rather than the doorway I tell it to.

    • @patstreater
      @patstreater ปีที่แล้ว +2

      I have the same issur

    • @OriNebebe
      @OriNebebe ปีที่แล้ว

      Not sure if you're still looking for an answer, but maybe it comes down to your Pawn. If you manually placed it the level, then there's a high chance that the Player Start is ignored. I tried removing it, and it worked like a charm!
      There's also the matter of Game Mode and setting your character as a default pawn.
      Hope that helps!

    • @josephlongoria136
      @josephlongoria136 7 หลายเดือนก่อน

      need to make and save new game MODE in project settings then restart for me at least

  • @RatoBombaGamesTM
    @RatoBombaGamesTM ปีที่แล้ว

    If I want to create a confirmation button? For example, when I get close to the box, I press "E" and a confirmation window appears, confirming if I want to change the level, yes or no, what should I do?

    • @prasannak1999
      @prasannak1999 ปีที่แล้ว

      Use the key node to match the key required ...

  • @magegames6202
    @magegames6202 หลายเดือนก่อน

    sometimes i enter into my cave changing levels and it works and sometimes i come out and im where i should be other times its picking a different start point any idea what i did wrong followed the tutorial exact all destination points are names correct and playing in stand alone mode

    • @magegames6202
      @magegames6202 หลายเดือนก่อน

      i figured it out anyone with a similar problem make sure you change your game modes in the levels you use

  • @m3dia_offline
    @m3dia_offline 2 ปีที่แล้ว

    Incase anyone is struggling @9:37 with the minus node in UE5, using "Function Subtract" is the same. However the "Function int - int" doesn't show up like in the tutorial. Cheers

  • @RAYS1911
    @RAYS1911 ปีที่แล้ว +1

    thnx man:) but its not working for me in ue 5.2 :(

  • @godofvideoss
    @godofvideoss 10 หลายเดือนก่อน

    Hi Ryan,
    I'm using UE 5.x but the "handle starting new player" override function is not available, only 10 are shown.
    What can I do now?

    • @RyanLaley
      @RyanLaley  10 หลายเดือนก่อน

      Make sure you are using the correct parent game mode class. There are two. One has more options than the other

    • @godofvideoss
      @godofvideoss 10 หลายเดือนก่อน

      @@RyanLaley Yes, then I tried this logic, but after the first time it randomly returns the character even if set correctly

  • @AlexLusth
    @AlexLusth ปีที่แล้ว

    Is this method still working for anyone?

  • @CrySevastopol
    @CrySevastopol 6 หลายเดือนก่อน

    In 5.3 its work correctly

  • @washynator
    @washynator 2 ปีที่แล้ว +1

    Great video, but the audio is so messed up :(

  • @t3hpwninat0r
    @t3hpwninat0r 2 ปีที่แล้ว +1

  • @fivefive9638
    @fivefive9638 2 ปีที่แล้ว +3

    this doesn't work anymore

    • @Fourzifer
      @Fourzifer 2 ปีที่แล้ว

      It works just fine!

    • @stormr
      @stormr 2 ปีที่แล้ว

      Works fine still, at least in UE5

    • @mansegamestudios
      @mansegamestudios ปีที่แล้ว

      @@stormr I'm seeing it fail when I build the project and launch it.n

    • @stormr
      @stormr ปีที่แล้ว

      @Manse Game Studios i havent tried it in a built project. Only in editor. Maybe it doesnt work correctly anymore