I am working on a strategy game which should switch between these scenarios:
-
A map for building a base like a city builder.
-
A grand strategy style world map to move troops around and manage diplomacy.
-
A RTS style fighting map to load when troops on the world map engage.
The first two need to be able to load and switch back and forth instantly.
I am relatively new to the level system in UE but I know about how variables and blueprints do not get passed when switching levels, which is a trouble for me since I would like to keep all the data I stored in some actor blueprints. I cannot do the hide map somewhere else, then teleport cameras method, since the RTS map has to be generated differently for every fight, also because in multiplayer each player should have their own base builder map.
In this case, how should I manage or structure my levels to achieve the functions and optimization for performance? Any idea will help. Thanks in advance!