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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

RPG Style map switching.

Hi. How can i create a Elder scrolls like level switching where i basicly have a door. And the door is linked to another door in the map. So when i activate the door then i switch the level and get teleported to the door. I dont want to use level streaming tho since levels get messy when using it and i think its not a good idea to have the entire game on 1 map.

Product Version: UE 4.11
Tags:
more ▼

asked Apr 27 '16 at 12:18 PM in Using UE4

avatar image

Gunschlinger
111 16 23 39

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

1 answer: sort voted first

As far as I know you have no other option than streaming if you want seamless transitions like keeping the music playing, quick transition etc. As long as you switch to another map, everything in the previous map is destroyed.

By experience if you're using C++ you can easily setup your project to have seamless-ish transitions with no streaming. What I did is create an actor like AMapTransitioner (containing tags on where to spawn in the next level), that registers itself in a custom GameInstance, then once your level is loaded, in your custom gamemode, get back the tags in your GameInstance and in your FindPlayerStart function, return a player start that match the tags.

If you don't need to change level, just fake a transition by having a matinee fadeout than change main character location.

more ▼

answered Apr 27 '16 at 01:28 PM

avatar image

zimzimdz
289 10 5 10

avatar image Gunschlinger Apr 27 '16 at 02:03 PM

But how performant is that ? Having a huge world with allot of objects split up into streamlevels. I know that the levels are not rendered. But they sit in memory

avatar image zimzimdz Apr 27 '16 at 02:10 PM

My way loads levels independently (no streaming). For streaming in general thats the point of streaming technology actually which is allowing giant worlds at lower cost. Actually your Persistent Level is not entirely loaded, it's divided in chunks that are dynamically loaded and unloaded. I don't know yet in details how it works in UE4 but you can still browse the source code :)

avatar image Gunschlinger Apr 27 '16 at 02:20 PM

Thanks! In your way. How do you save stuff like the inventory and enemys on the previous level ? Do you just save this in a savegame ?

avatar image zimzimdz Apr 27 '16 at 02:25 PM
(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