Random generation questions

Is it possible to have the game randomly choose and place a premade set of modular rooms or environments, complete with their own lights and post process volumes? I’m making an endless stairwell game and I think making it randomly generated would be the best option in terms of resources and replay value.

I think it’s entirely possible. Post processing volumes are cube and so can encompass the modular part of the environment.

Have a look at “streaming levels” if it’s going to be massive. Otherwise you can simply generate most things at Begin Play including post processing settings, and “shift” parts as the players move up or down (reusing meshes + effects).

as for randomizing, set the random seed and random in range is your friend :slight_smile:

So I have a script going in the level blueprint, and I have four variants of my stairwell done as sublevels. The script is set up supposedly to generate a downward line of randomly chosen sublevels, but I have some problems:
-When I try to play the level, I get a blueprint runtime error saying my Create Instance node is accessing “None”
-I can’t find a way to make it loop endlessly
-I don’t really know how the random seeds work

Screenshots: