Procedural generation

I’m looking for a free procedural generation script (preferably in js but what ever works best will be good) I would like this to create a nice(realistic terrain) but is devided into a voxel so individual parts can be edited (below and aboveground). Thanks

Hi @Jato maybe you can let people know, in your search for this script, what you’ve already found on your own to get this implemented? That way we won’t end up providing you with resources you’ve already found before and other people looking for a similar solution can make use of what you found.

Thanks!

Oh! And before I forget, maybe Qubiquity (Unity Asset Store - The Best Assets for Game Making) can help you achieve your goal?

Truthfully I haven’t found much myself. And nothing that works for this idea. I’ve only found ones having than just a plain like thing but with mountains.

@Octopixell the cubiquity is really cool but its not 100% what I want. Maybe if there was a way to make the cubes more shapes(to make the terrain look natural and so there could be different layers and different materials)

@Jato I see. If you look at this screenshot from Qubiquity you can see that it’s capable of creating natural looking terrain.

Is that what you’re looking for? Also, please explain what kind of effect exactly you’re going for. What kind of gameplay will take place with or on the terrain etc? Might help in the search for the perfect solution to your quest for greatness! :slight_smile:

@Octopixell That type of terrain but (please keep an open mind trying to create something diffrent than what I’ve seen in the end) I kind of want ores and etc in the ground that can be mined and collected and the ability to build… so a survival game…

@Jato , ok I get that. But I expect the ores to be placed onto/be incorporated into the terrain. You could have the ore be spawned “naturally” on top of your terrain, and when it gets mined, deform the terrain around it? It will obviously require custom code :slight_smile: I’ll always have an open mind don’t worry hehe. I’ve been dreaming of building my own survival game even though there’s many out there already. Just for the fun of it :wink:

@Octopixell would think that the ores would be spawning below ground… but that could be a thing where I generate a game object and it gets moved below ground? Also if we have similar ideas if you want we could try to figure out a way to dev this idea together… Just ideas. But thinking of the idea where I move the ores… that could work…

@Jato yes you could do it like that. Makes you wonder how people would find the ore? Do you want people to dig random spots on in the landscape till they find ores? Or do certain ores always spawn around certain other recognizable landmarks? :slight_smile: I’m always willing to think along :wink:

Ore finding idea: After digging around randomly to find ore, at first- eventually, you could, let the player use the ore to build an “ore detector”

Terrain FYI: Something to watch out for with terrain stuff is that, usually terrain has only one elevation(Z) at any given X,Y coordinate. This means making a mine with a ceiling would NOT be possible with terrain alone. You COULD dig a deep hole in the terrain, you just can’t start making a tunnel horizontally at the bottom of the hole (this would lead to THEE elevations for an X,Y point in the tunnel: the tunnel floor, ceiling, and surface of terrain above the tunnel) For that you would start needing some NON-terrain components.