02-15-2015, 01:30 AM
(This post was last modified: 02-15-2015, 01:50 AM by Tommy Santerre.)
(02-14-2015, 08:27 AM)xoft Wrote: The entire generator is initialized in cChunkGenerator::Start() in $/src/Generating/ChunkGenerator.cpp. It chooses the main engine (which is Composable in 99.9% of the cases) and hands the individual initialization to it.
The Composable generator (which you want for this) reads the INI file in cComposableGenerator::Initialize() in $/src/Generating/ComposableGenerator.cpp. That's probably the best place to start digging around.
Thanks, I was able to get a working flat world. However the value 255 doesn't seem to be valid. When I use it I only get water. Here is a working configuration for a flat world for anyone else.
Code:
[Generator]
FlatHeight=1
HeightGen=Flat
CompositionGen=Biomal
ShapeGen=HeightMap
Finishers=Ravines, WormNestCaves, WaterLakes, WaterSprings, LavaLakes, LavaSprings, OreNests, Mineshafts, Trees, Villages, SprinkleFoliage, Ice, Snow, Lilypads, BottomLava, DeadBushes, NaturalPatches, PreSimulator, Animals
SeaLevel=1
BottomLavaLevel=1
Generator=Composable