Some semi-random thoughts on terrain generation
Why not make it configureable? I always wanted big cities in MinecraftTongue
Reply
Thanks given by:
It is configurable, but the granularity is rather large.
The image above was with depth = 7
The image below is with depth = 4:
[Image: village2_depth4.png]

Depth=3:
[Image: village2_depth3.png]

Depth = 2:
[Image: village2_depth2.png]

Depth = 1:
[Image: village2_depth1.png]

And there's nothing in between these. I'll need to find a way to make the villages less dense with houses while keeping the roads structure interesting.

It might also change a bit when I get all the house prefabs working, right now there are only about 5 prefabs that are generated, the rest have wrong connector definitions.
Reply
Thanks given by:
Is it normal that MCServer generates with 0.37 ch/s when I have villages enabled?
EDIT:
And now it crashes.
Reply
Thanks given by:
That's NOT normal, I get like 60 chunks per second in debug mode (with flat terrain, though).

I somehow expect the crash to be out-of-32bit-memory?
Reply
Thanks given by:
Is the VillageGen activated automatically, when i compile https://github.com/mc-server/MCServer/tree/VillageGen ?
Reply
Thanks given by:
No you have to put "Villages" in world.ini/Generator/Finishers.

I found the spot where it crashes. It crashes after returning cStructurePtr()

The reason why it doesn't crash for you might be because you have a single biome (Plains).
Reply
Thanks given by:
I hope I've fixed the crash now.
Reply
Thanks given by: NiLSPACE
I haven't found a village yet, but it doesn't crash anymore Smile

EDIT:

Oh I see why. Their height is still fixed.
Reply
Thanks given by:
Yea, so far I'm only playing with the structure, the height adjustment will come later on. Right now they all generate at height (10 + well height).
Reply
Thanks given by:
The village houses are now adjusted onto the ground. Their doorsteps are considered the pivot that is moved on the ground level (so that each house is accessible once we get villagers working).
[Image: village3.jpg]
(Note that roads have not been implemented yet, so they're floating high above Smile )
Reply
Thanks given by:




Users browsing this thread: 7 Guest(s)