# Loading Screen System (Level Transitions w/ Progress)

**URL:** <https://forums.unrealengine.com/t/loading-screen-system-level-transitions-w-progress/106450>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, fab\
**Created:** [February 13, 2018, 5:30pm UTC](https://forums.unrealengine.com/t/loading-screen-system-level-transitions-w-progress/106450 "2018-02-13T17:30:13Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![Cpt.Trips](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cpt.Trips](https://forums.unrealengine.com/u/Cpt.Trips)\
**Post date:** [April 30, 2018, 6:12pm UTC](https://forums.unrealengine.com/t/loading-screen-system-level-transitions-w-progress/106450/23 "2018-04-30T18:12:05Z")

</div>

> [@lafilmcompany](#):
>
> I am trying to have my Level Load using the Percentage Loading Screen. My level is made of a Persistent Level with sub levels for different areas of the main map. When I try to add my main level to a blank level my sub levels don’t show only the Persistent level and not the sub levels. How do I get my Sub Levels to show when I add my main level to a blank level?

Unreal will only ever honor one step of sublevels, meaning if a sublevel has its own set of sublevels, those will be ignored.  
You would want to add the sublevels to the top persistent level as well.

Let’s say, your current setup so far is this (the forum refuses to show me your screenshots, so I’ll be using generic names):

\*P\_Level00\_Map (persistent)

- S\_Level01\_Map (sublevel)
- S\_Level02\_Map (sublevel)\*

If you wanted to move that to a new persistent level, you would have to do it this way:

\*P\_NewLevel00\_Map (persistent, containing BP\_LSS\_Actor)

- P\_Level00\_Map (sublevel)
- S\_Level01\_Map (sublevel)
- S\_Level02\_Map (sublevel)\*

Btw, you can easily load​​ multiple levels simultaneously, using the globally accessible _ **“LSS OpenLevels”** _ node (it takes an Array of Name as parameter - you can plug a “make array” node into it). Though, if you wanted to stream the sublevels depending on player position, you would have to adjust that to the new setup (volume triggers would work fine, but streaming volumes could be limited in some cases as they have to be placed in the persistent level).

> [@lafilmcompany](#):
>
> My goal is to use three of your BP\_Portal Blueprints as my Main Menu. Each Portal would take You to different Levels like Start Game, Continue, Shooting Gallery etc…

If your levels (such as “Shooting Gallery” or “Start Game” etc.) don’t rely on different GameModes, the best way to set up the project would be adding these levels to the same persistent level:

\*P\_NewLevel00\_Map (persistent, containing BP\_LSS\_Actor)

- P\_Level00\_Map (sublevel - I’m assuming this to be the NewGame/Continue one)
- S\_Level01\_Map (sublevel)
- S\_Level02\_Map (sublevel)
- S\_ShootingGallery\_Map (sublevel)
- S\_MainMenu\_Map (sublevel with portals)
- S\_LoadingScreen\_Map (loading screen level with the sequencer animation)\*

In this example you would deactivate _ **“Autoplay”** _ on the LSS Actor (otherwise it would load the first level) and from blueprint (e.g. in BeginPlay of the persistent level), run _ **“LSS OpenLevel”** _ with _“S\_MainMenu\_Map”_ as parameter to load into the menu on startup (you would substitute this of course with the correct name of your sublevel).

Then, in the portals you would set up transitions to the game level (_ **“LSS OpenLevels”** _ as mentioned earlier, with an array of the game scene and its sublevels) and the Shooting Gallery (_ **“LSS OpenLevel”** _ with _“S\_ShootingGallery\_Map”_ as parameter). Can’t really speak to the “Continue” mechanic, as this depends on how you save and load your game.

Note that the portal blueprint (which is just a simple example) doesn’t support loading of multiple levels, so you would have to override the overlap event and place your custom nodes there (or I could update it with that option and make it available for download).

**— Method with common “OpenLevel” node —**

Let’s say you wanted to keep all your levels separate and not in one single persistent level as above. This could look similar to this:

Menu level:

_P\_Persistent03\_Map (persistent, containing BP\_LSS\_Actor)_  
\*- S\_LoadingScreen\_Map (loading screen level with the sequencer animation)

- S\_MainMenu\_Map (sublevel with portals) \*

Shooting Gallery Level:

_P\_Persistent02\_Map (persistent, containing BP\_LSS\_Actor)_  
\*- S\_ShootingGallery\_Map (sublevel)

- S\_LoadingScreen\_Map (loading screen level with the sequencer animation)\*

Game Level:

\*P\_Persistent01\_Map (persistent, containing BP\_LSS\_Actor)

- S\_LoadingScreen\_Map (loading screen level with the sequencer animation)
- P\_Level00\_Map (sublevel)
- S\_Level01\_Map (sublevel)
- S\_Level02\_Map (sublevel)\*

In the transition (e.g. portals) you would use the common _ **“OpenLevel”** _ node rather than the custom _ **“LSS OpenLevel”** _ ones (the portals are set up to use both methods).

You would lose the persistence between the levels (e.g. you would have to unload the game level to go into the menu, which wouldn’t be the case with one shared persistent level) and the loading screen level would need to be loaded on each transition, but each of the levels could have its own GameMode.

> [@lafilmcompany](#):
>
> I would like my loading screen to play a sequencer animation I made which has its own level.

Add this level as a sublevel of the persistent map and enter the level’s name in the LSS Actor’s details.(_“Loading Screen Level”_).

To keep in mind: by default the loading screen level is set to be kept in memory (you can uncheck “keep loading screen in memory” if you want to unload the loading screen level after the transition). If kept loaded, in your case you might need to make sure the Sequence is reset to play from start on each loading (else it might continue where it left off when the loading screen was closed).

> [@lafilmcompany](#):
>
> This is being used in my VR game. So I am guessing the any key should work with motion controllers.

As far as I am aware, “Any Key” is an all-input thing, it does cover mouse clicks and _should_ work with motion controllers (though I have no way of testing).  
If it does not however, you can specify any number of individual inputs available in Unreal here anyway.

In this case you would enable “Input Required To Continue On Finish” and set “Input To Continue On Finish” to “Any Key” or any other input option.

**— VR —**

In the case of VR in general, you would keep “Use Default UI” unchecked to not show a UMG UI and also select the BPC\_ScreenFadeComponent (member of the LSS Actor) and enable “Use Camera Manager (Instead of UMG)”.

**— Loading Progress —**

To show the progress percentage, you can either bind an event through the “LSS Bind To Loading Progress Update” node (your event would get fired on each change to the progress), or call “LSS Get Current Loading Progress” at any time anywhere (e.g. in tick. It returns the last queried progress result).

With this value (range 0 to 100) you then can drive any effect in your loading screen scene, as is shown in the “LoadingScreen\_04\_ProgressBars\_Map” (it uses both UI and 3d elements to show the percentage).

The default UMG UI of course also has its own progress update event, but I’m assuming this is rather of no use in VR.

> [@lafilmcompany](#):
>
> Awesome Plugin by the way. Just trying to get this figured out.

Thank you very much. If there is anything I can help you with further, go into more detail on any feature or elaborate on a setup, just let me know.  
I hope this write up is not too overwhelming, I’m not great at keeping it short.

---

_[View the full topic](https://forums.unrealengine.com/t/loading-screen-system-level-transitions-w-progress/106450)._
