Cuberite Forum
Some semi-random thoughts on terrain generation - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Some semi-random thoughts on terrain generation (/thread-409.html)



RE: Some semi-random thoughts on terrain generation - NiLSPACE - 05-29-2012

to make the nether work go to http://wiki.vg/Protocol (duh) and go to respawn


RE: Some semi-random thoughts on terrain generation - xoft - 05-29-2012

Well, the Nether is much more complicated than just a network packet (that is implemented already, btw).

1. It needs proper generators. None of the current generators can do the job.

2. It needs decision whether to make it a regular world or a sub-world. Each has its drawbacks - sub-world means implementing another layer of "multiworlding"; regular world means that the Anvil scheme will be different from the vanilla server - we won't have the dim-1 (and dim1 for the End) subfolders, but complete worlds. I'm inclined at the regular-world solution right now - means we can add even more "dimensions" and set their generators and such.

3. It needs some game logic support - "create portal blocks", "if the player stands in a portal block for 3 seconds, take them through. But don't take them through if they've just landed and didn't move away from the portal block", "divide coords by 8", "spawn a portal if none is near" etc.


1 is relatively easy - I'll just keep adding more generators, cooking something up for the Nether; possibly also the End. #2 might be trivial (regular world) or a nightmare (sub-world). #3 is a good candidate for a plugin. If the users want more dimensions, they just edit the plugin configuration and suddenly they have a portal to 4th, 5th, 6th dimension... I believe such a plugin can already be made with the current API, although some changes might make it much less painful.


RE: Some semi-random thoughts on terrain generation - NiLSPACE - 05-29-2012

i think the network packet is to make the sky red and no weather. but thats what i think. :S


RE: Some semi-random thoughts on terrain generation - xoft - 05-29-2012

It might, but I think it only makes the client display the "Entering The Nether" message.


RE: Some semi-random thoughts on terrain generation - Taugeshtu - 05-31-2012

Just a thought:
Could we have separate [Monsters] section in world.ini (exactly the same as for server), which would override settings.ini settings?

Reason: this would make it easy to configure sort of Nether-like worlds. And server admins could, for example, create their own "dimensions" (in order to make their servers unique)


RE: Some semi-random thoughts on terrain generation - xoft - 05-31-2012

It has already been mentioned and I plan on doing it. A bit later, though Smile

I love doing the generator stuff, so I wanna try out a few things before leaving it.


RE: Some semi-random thoughts on terrain generation - xoft - 06-01-2012

Ladies and gentlemen, here comes the long awaited moment. MCServer just got usable biomes. Come have a look at the DistortedVoronoi biome generator Smile
[Image: distorted_voronoi.png]
A nightbuild will be run shortly, so keep pressing that F5 on the nighbuild downloads page Smile


RE: Some semi-random thoughts on terrain generation - Taugeshtu - 06-01-2012

Quote:Come have a look at the DistortedVoronoi biome generator
Unbelievably!
My F5 is already red-hot!
Could you please write a short guide on mapping MCS maps?


RE: Some semi-random thoughts on terrain generation - FakeTruth - 06-01-2012

That looks really nice! Awesome!


RE: Some semi-random thoughts on terrain generation - tbar - 06-01-2012

(06-01-2012, 06:34 AM)xoft Wrote: Ladies and gentlemen, here comes the long awaited moment. MCServer just got usable biomes. Come have a look at the DistortedVoronoi biome generator Smile
Looks really good!

What's the white stuff in the water? Snow?