x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

World Composition levels + Menu level

Hi,

How use World Composition with another "no World Composition" level? Eg: at my 'Levels' tab I have 6 levels: - Persistent Level - Landscape01 - Landscape02 - Landscape03 - Landscape04 - MainMenu

The problem is, when I hit play, all the levels are loaded, but the correct should be, MainMenu levels start loaded, and all the "playable" levels, load after some event, like after press a "Start Game" button, show a loading screen and then, load the World Composition levels.

But Unreal, put all levels to be streamed when using World Composition, and I can't see where or how to fix this, when you have a "no streamed level" with World Composition enable.

And all the tutorials I found show only the same thing, how to streaming levels, none show how this works when you have a Menu level or any other "no streamed level".

Thanks

Product Version: UE 4.16
Tags:
more ▼

asked Jun 10 '17 at 09:36 AM in Blueprint Scripting

avatar image

Rgiz
73 7 15 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello Rgiz,

I think you should first load the MainMenu.Later pressed play button when you should load Persistent Level with "Open Level " node and Streaming Landscape01 etc. I do that.

more ▼

answered Jun 10 '17 at 09:44 AM

avatar image

Sertac Ogan
1.5k 30 11 46

avatar image Rgiz Jun 10 '17 at 03:46 PM

Thanks for reply Sertac, The problem is the Engine still loading the landscape levels, when I says to only load the stream level (wcomposition_x0_y3) after I click a button (Strat Game) in the Menu widget (MainMenu_UI).

I just did some test, here the bp's:

Levels tab alt text

Persistent level blueprint alt text

Main Menu level blueprint alt text

Main Menu widget blueprint alt text

avatar image Sertac Ogan Jun 10 '17 at 03:57 PM

Yeap I mean first main menu later when pressed play button loading persistent.

Project Settings alt text

Menu UMG alt text

Persistent Level alt text

1.png (35.4 kB)
2.png (73.1 kB)
3.png (32.9 kB)
avatar image Rgiz Jun 10 '17 at 05:55 PM

Thanks again Sertac Ogan, but still, nothing, after I change the settings in the "Project Settings" the Persistent Level is now the Main Menu level, before was the Persistent Level (level name) the Persistent Level at the Levels tab...

Another problem is, if on my Main Menu level I have a 3D scene with a green light, but on my landscape levels I have a sun light (added in the persistent level, because I have something like 12 landscapes using World Composition) The menu will receive this same light (sun light) from the Persistent Level.

Maybe I'm missing something...

I just want to create a menu like you see in the "The Vanishing of Ethan Carter" or other games, when they have a menu with a 3D scene behind the UI/UMG and when you click to start the game, the Menu level go away and the "playable" levels start, in my case I need to use the World Composition because the size of the map 6~8 km, its a "walking simulator".

I will keep trying make this works, if you have any more ideia, please share :)

and thanks again Sertac :)

alt text

avatar image Sertac Ogan Jun 10 '17 at 05:58 PM

Your are welcome Rgiz. I hope helpful

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question