Hi. I’ve got a map with a landscape, lighting, fog etc. I want to use that map in a different map, which would contain my racing game checkpoints, player spawns etc. So I can make many levels with different tracks for my racing game, all using same environment from the main map. So I can change the environment and it would reflect on all different race track maps. Is this possible? Thanks.
The only way that I know that you could do this is by using sublevels where your lighting setup is in the master level and your tracks would be in sublevels that you stream in and out.
Based on the fact that you are making a racing game and your levels correspond to tracks (which I am guessing you can’t play more than one track at once), I am thinking this probably isn’t a good idea and will just make something simple into something complex. I would just copy your environment lighting setup to each new track level.
Hi. Thanks for the answer. I could do this, but if I had 10 tracks, wouldn’t it mean it was 10x larger size on disk? My level is massive and it takes like 1-2 gigs already. If I had 10 maps x 10 tracks, that would be like 100gb game.
In UE4 maps/levels take up almost zero space as a map is just a list of where to place objects. It is the art assets you use on those maps that take up space. So if one level takes up 2 GB and you have 9 more levels that use the same art assets, then 1 level or 10 levels will still take up around 2 GB. Also, even if it didn’t work this way, sharing your lighting setup across maps wouldn’t save more than a few K anyway.
If you still are interested in sharing part of the map, look up how to use sublevels in world composition :