# Generate Random Terrain at Runtime

**URL:** <https://forums.unrealengine.com/t/generate-random-terrain-at-runtime/381112>\
**Category:** World Creation\
**Tags:** Terrain, random, unreal-engine, voxel, generation, UE4, question\
**Created:** [January 6, 2017, 5:11pm UTC](https://forums.unrealengine.com/t/generate-random-terrain-at-runtime/381112 "2017-01-06T17:11:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpergDuchess](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SpergDuchess](https://forums.unrealengine.com/u/SpergDuchess)\
**Post date:** [January 6, 2017, 5:11pm UTC](https://forums.unrealengine.com/t/generate-random-terrain-at-runtime/381112/1 "2017-01-06T17:11:57Z")

</div>

So usually my Questions aren’t answered on here but I thought i’d give it one last try. It’s a bit of a complicated question but how would I go about having a replicated terrain that can be generated with a function or command. (It does not need to be infinite or editable) I just want to make randomly generated terrain that would be smooth like what you would see from the editor’s terrain tool which I know cannot be edited because of UE4’s eula or something along those lines. The Terrain would also need to perform well so i’m not sure if there’s a way of converting it into a static mesh at runtime of anything but if you have any ideas about that it’d be awesome. Also once I have this solution to Generate Random Terrain how would you go about generating random foliage on the top of it.

Thank you very much 🙂
