Modding:WorldGen Configuration: Difference between revisions

From Vintage Story Wiki
(Created page with "== Sample landform == <pre> { code: "landforms", "variants": [ { "code": "humongous mountain", "comment": "humongous mountains with caverns in them", "hexcol...")
 
Line 31: Line 31:
* <code>terrainOctaves: [0, 0, 0, 0, 0, 0, 0, 0, 1, 1]</code> would give you veeeery rugged and chaotic terrain
* <code>terrainOctaves: [0, 0, 0, 0, 0, 0, 0, 0, 1, 1]</code> would give you veeeery rugged and chaotic terrain


=== Octave Thresholds ===
'''Octave Thresholds'''


These act as substractor to the octaves. This allows you for example to generate a flat terrain with a few rare bumps by it, by setting something like this:
These act as substractor to the octaves. This allows you for example to generate a flat terrain with a few rare bumps by it, by setting something like this:
Line 38: Line 38:
terrainOctaves:          [1, 1, 1, 0, 0, 0,  1, 0, 0, 0],
terrainOctaves:          [1, 1, 1, 0, 0, 0,  1, 0, 0, 0],
terrainOctaveThresholds: [0, 0, 0, 0, 0, 0, 0.7, 0, 0, 0],
terrainOctaveThresholds: [0, 0, 0, 0, 0, 0, 0.7, 0, 0, 0],
</code>  
</code>


== Y-Thresholds ==
== Y-Thresholds ==
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits