Modding:WorldGen Configuration/ru: Difference between revisions

From Vintage Story Wiki
(Created page with "=== Y-пороги ===")
(Created page with "Представьте, что у вас есть вид на гору сбоку, и вы можете сделать ее шире и тоньше на любой задан...")
Line 49: Line 49:
=== Y-пороги ===
=== Y-пороги ===


Imagine you had a side view of a mountain and you could make it wider and thinner at any given elevation. This is approximately how the y-threshold system works. terrainYKeyPositions are the relative (0=bottom, 1=top of the world) coordinates and terrainYKeyThresholds define how much Percent of terrain should be solid blocks (0 = always solid, 1 = always air), or in other words it's density. We could also make a graph of this:
Представьте, что у вас есть вид на гору сбоку, и вы можете сделать ее шире и тоньше на любой заданной высоте. Примерно так работает система y-порога. TerrainYKeyPositions — это относительные (0 = дно, 1 = вершина мира) координаты, а TerrainYKeyThresholds определяют, сколько процентов ландшафта должно быть сплошными блоками (0 = всегда твердый, 1 = всегда воздух), или, другими словами, его плотность. Мы также можем построить график этого:


[[File:Densitygraph.png]]
[[File:Densitygraph.png]]