Editing Terrain generation
From AAGRINDER wiki
Jump to navigationJump to searchWarning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
+ | #REDIRECT [[Terrain generator]] | ||
This page explains all the aspects of the [https://gitlab.com/MRAAGH/aagrinder-terrain AAGRINDER terrain generator] which don't require technical knowledge to be understood. For a more in-depth explanation, see [[AAGRINDER terrain generation (deep)]]. | This page explains all the aspects of the [https://gitlab.com/MRAAGH/aagrinder-terrain AAGRINDER terrain generator] which don't require technical knowledge to be understood. For a more in-depth explanation, see [[AAGRINDER terrain generation (deep)]]. | ||
Line 5: | Line 6: | ||
== Biomes == | == Biomes == | ||
− | Biomes in AAGRINDER have a different meaning than in most games. We can not give a list of existing biomes, because there are an unlimited number of possible biomes. There are a bunch of biome parameters for generating terrain, such as tree count, tree height, amount of leaves, amount of grass, length of vines, amount of diamonds | + | Biomes in AAGRINDER have a different meaning than in most games. We can not give a list of existing biomes, because there are an unlimited number of possible biomes. There are a bunch of biome parameters for generating terrain, such as tree count, tree height, amount of leaves, amount of grass, length of vines, amount of diamonds etc. Altogether there are over a dozen of such parameters. Each parameter gradually changes through the world, and they all change independently from each other. Because of this, it is possible to find any combination of biome parameters, and there are no sharp borders between the biomes. |
== Diamonds == | == Diamonds == | ||
Line 11: | Line 12: | ||
== Trees == | == Trees == | ||
− | |||
== Spawn area == | == Spawn area == | ||
− | The [[spawn area]] is the only aspect of world generation that is not generated in the terrain generator component, but rather in the AAGRINDER server itself. It still uses the world seed, however, so it is deterministic just like | + | The [[spawn area]] is the only aspect of world generation that is not generated in the terrain generator component, but rather in the AAGRINDER server itself. It still uses the world seed, however, so it is deterministic just like terrain itself. After the spawn area is positioned randomly, it is checked for quality: if at least 50 positions in the 64 by 64 area around the center are valid spawn spots for players, the position for the spawn area is accepted. Otherwise, a new one is chosen. |
The range for choosing the spawn area is between -2048 and 2048 by the x and y coordinate. Because of [https://gitlab.com/MRAAGH/aagrinder/commit/f2ac2a3c4728683ff8d3f09075dbdf7a366ad3bc a bug], this range used to be between -3072 and 1024, which is why some of the older worlds might have the spawn point in strange places. | The range for choosing the spawn area is between -2048 and 2048 by the x and y coordinate. Because of [https://gitlab.com/MRAAGH/aagrinder/commit/f2ac2a3c4728683ff8d3f09075dbdf7a366ad3bc a bug], this range used to be between -3072 and 1024, which is why some of the older worlds might have the spawn point in strange places. | ||
− | |||
− | |||
− |