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"

Level Streaming by persistent level and GRID

Hi, I would like to achieve a very certain scenario, I want to split my game world into gigantic map pieces, I want to create each map 1 by 1, and have them aligned on a grid in the world as 64x64. I am a previous unreal 2 developer and achieved this by myself using C++ back then.

Let's say level 1 is 0,0 on the grid, level 2 is 0,1 level 3, 0,2 so on and so forth. I wish to stream each map piece, Now, I totally understand how level streaming works in unreal 4, the scenario i want to replicate is in my attached image. I want my pawn / character to trigger a load of areas in a grid around me. If my character moves to the next "map" piece, the map pieces two squares away from me will disappear, and so the map pieces 2 squares infront of me will appear, I will disguise this with a distance fog.

I just really want to know if it's possible with blueprints only? Can i stream persistent worlds at all? e.g, unload and load them? I want multiple level files, I don't want for example one gigantic world, i want grid pieces. for example, i want to just open my level and edit only 0,1 without even looking at 0,0 or 0,2.

Or should i convert my project to a c++ project and code it myself?

Thanks,

  • Scott

Product Version: UE 4.19
Tags:
worldstreaming.png (39.0 kB)
more ▼

asked Jan 02 '19 at 02:33 PM in Everything Else

avatar image

Scotteh
3 1 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi!

What you want is built in, it's called World Composition.

Here's the documentation for it: https://docs.unrealengine.com/en-US/Engine/LevelStreaming/WorldBrowser

more ▼

answered Jan 02 '19 at 03:22 PM

avatar image

Evigmae
1.6k 7 3 8

avatar image Scotteh Jan 02 '19 at 03:52 PM

Wow, thank you! I had no idea this was actually built in, this makes is much easier than ever before, It's great to know I can create several separate level files with different environmental settings and just piece them together in a grid, much appreciated! Saves a lot of hassle, i really didn't want to use one persistent world and just have level layers, I wanted to have multiple "persistent worlds" because i want to eventually split the level files from eachother and encrypt them. And load them into the client for streaming! or "composition"

Thanks again!

avatar image Evigmae Jan 02 '19 at 03:57 PM

UE4 caters to all our wildest dreams :)

(comments are locked)
10|2000 characters needed characters left
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