How to generate level?

Is there some example to generate level?for example island?

Hi Rusbaron,

Are you looking for something that will procedurally create a level for you in Unreal Engine 4? If so, that functionality is not built into the Editor. However, there are some third-party options that may be helpful in that regard. World Machine is a popular tool for creating terrain. You can use it to create pretty much any terrain you want, then use the heightmap that it gives you to create that terrain in the Editor. There is a tutorial on our Wiki explaining how to use World Machine with the Editor, and that should get you started.

Once you have the terrain you want, you will still need to fill in all the details of your level such as foliage, buildings, etc. Foliage can be done using the Foliage Mode in the Editor, but you will need to have meshes to use for it. You can use some of the meshes in the included starter content, but if you want anything more than that you will need to import the meshes into the Editor.

For buildings and other details of your level, you will need to set all of that up yourself.

thx for reply!
but it is not exactly what i need.
i want to generate a level each time i run the game,some island(maybe like a minecraft style,“box island”,becouse i need a terrain deformation,and i don’t know how make it with polygonal terrain).
Where i can do this?i must code this in project,or i can do it in editor with blueprints?
Thx for helping!

foliage, buildings, etc.

It’s to hard for me in this time)Maybe a little later)

Hi Rusbaron,

So you want something that is randomly, or semi-randomly, created for you each time you run the game? I do not believe you can do this currently with the built-in Landscape tool. However, if you want something that has a more blocky Minecraft appearance, you could certainly write some code or use a Blueprint to have it procedurally create a level for you whenever you play the game. You would need a cube mesh and a few materials for that mesh so that they don’t all look the same, then have your code (or Blueprint) randomly place a number of those meshes when the game begins. I have not personally done much research on procedural generation of levels, but I know there are a few threads on the forums discussing procedurally generating levels at runtime.