Ue4 Save an Entire Level?
I have a good few levels on my game, it is an open world side scrolling adventure game that utilizes backtracking and permanence. With that in mind it should be understood that there is a lot that happens on each level, actors get moved around, things get picked up, structures get destroyed. Frankly, it's a lot of stuff that needs to be saved, so I was curious if there is a way to save all of this information between levels re-loading. Like, literally the entire level; to somehow keep it unchanged from its last state when it is re-loaded.
It seems like too much work to give every possible actor in the scene a few variables to save their states, especially given the complexity of some of the actors and the unpredictability of their new states (such as those created with destructible mesh).
I primarily use blueprints but if I must use physical coding to do this, I may well have to (but blueprints are heavily desired as my knowledge of coding is extremely limited). I have basic data saved to the character as they navigate between levels, but the levels themselves re-set eachtime it is returned to.
Does anyone have a good solution for this? Thank you.
asked Aug 13 '17 at 09:44 AM in Using UE4
This provides some slightly more taxing answers and also requires some C++ coding.
The best way that I've found is level streaming though in your instance. Instead of having different maps, you have certain locations that you would move to and the level will be loaded when you are near or on that location. That way all of your level variables are saved when you move between locations (since streaming keeps the same parameters when you return to them).
answered Aug 13 '17 at 10:38 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here