The creation of custom ore veins by modifying WorldGenerationNew.cfg

Hey, I was wondering if I could theoretically create custom ore veins by adding my own entries in the WorldGenerationNew.cfg file. Because I tried it using the following syntax

vein {
                I:Density_x=x
                I:DistanceFromSpawn_x=x
                B:Enabled_true=true
                B:IndicatorRocks_true=true
                I:MaxHeight_y=y
                I:MinHeight_y=y
                S:OreBetween_ore1=ore1
                S:OreBottom_ore2=ore2
                S:OreSpread_ore3=ore3
                S:OreTop_ore4=ore4
                I:RandomWeight_x=x
                I:Size_x=x

                dim {
                    B:overworld_true=true
                }

and, instead of a new vein (I used the materials.log file for the material names) spawning, the config file just resets and errors

4 Likes

There is multiple things to be wary about.

  1. There is dedicated “custom” Slots you have to enter stuff in.
  2. The Amount of Custom Slots can be changed in the same Config somewhere.
  3. Do NOT EVER change any of the values that are to the LEFT of the “=” Sign. This will cause Errors and wont do anything. Only enter stuff to the RIGHT of the “=” Sign.
  4. The New New Type of Worldgen does not Support the old GT5 Style Veins anymore, so you need to disable that in order to get anything.
3 Likes