Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to procedurally generate a world (Like minecraft)

Hi everyone I'm trying to make a survival game and am wondering how on earth I can generate levels like in minecraft with out the blocks. so like it generates mountains but they aren't made out of blocks they're actual landscape mountains that are textured and everything. I would also like to generate trees and rocks and animals (When I can afford the assets (for animals) if there is any way to do that please tell me. Any help is appreciated and thank you in advance :)

Product Version: UE 4.20
more ▼

asked Sep 24 '18 at 02:50 AM in Blueprint Scripting

avatar image

19 1 5 15

avatar image ThompsonN13 Sep 24 '18 at 03:48 AM

that is a very complex and advanced topic and will probably involve extensive code. its probably not hard to place trees and things at runtime (may be slow) and you may even do it based on materials or something like that. making a level that looks good, functions well, and is fun however, well that will be great undertaking. just making a procedural dungeon is difficult enough.

then again if your making a game thats a sandbox it may not need great level design. though not sure you can even create a landscape at runtime so you would need a plane with material to modify the vertex locations maybe idk. im just thinking random noise would do for making terrain then use height and other criteria to place trees and things. the trouble is doing it all at runtime.

avatar image Chad_kroeger2005 Sep 24 '18 at 04:00 AM

I am making an open world survival game kinda like minecraft just not with cubes but with actual terrain and I need to generate the landscape like in minecraft with actual landscape :)

avatar image Chad_kroeger2005 Sep 24 '18 at 04:12 AM

Any one have any idea how I could do this at all?

avatar image Chad_kroeger2005 Sep 24 '18 at 04:21 AM

Never mind I'll just create the landscapes myself if it's not possble

avatar image Chad_kroeger2005 Sep 24 '18 at 04:21 AM


avatar image ThompsonN13 Sep 24 '18 at 02:58 PM

it probably is possible is just not easy. the real question is how experienced with coding are you.

oh also minecraft is a completely different situation to what you want, that game uses voxels so its much easier to build the terrain imo.

avatar image Chad_kroeger2005 Sep 26 '18 at 06:39 AM

I'm not very experienced in coding but I can use a bit of blueprints. any idea of a place I could start to achieve this?

avatar image ThompsonN13 Sep 26 '18 at 02:11 PM

if you dont know coding and the logic used therein then it will be a challenge if not impossible. also with the limitations of blueprint such as no multidimensional arrays its much harder as well. but if you really want to try then i would start with watching the procedural generation live stream by epic to learn the basics of procedural generation. as for making voxels i know unreal tefel did a livestream where he created a bubble voxel world but that was in c++ if i remember right. Sebastian Lague also did a series on procedural landmass generation but he works in c# and unity but maybe the logic will help you.

unreal tefel https://www.youtube.com/playlist?list=PLgwhqR8QlpRVKQ5JEWcdjV77lex0q-Oth

sebastion https://www.youtube.com/watch?v=wbpMiKiSKm8&list=PLFt_AvWsXl0eBW2EiBtl_sxmDtSgZBxB3

note that i have not created fully procedural levels or voxel levels. i have created procedural dungeons but that was awhile ago.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question