Blank Surface?
Posted: Mon Aug 17, 2015 4:23 am
I was trying to hack together how to spawn a surface and I finally got it to work, but, the wiki says I can use "none" for the frequency but the game won't run the command to build the surface, can I get any help on this? I would like to make a all desert (most wanted to be dirt or stone ground but settling for desert) that has no trees (desert is the only place that doesn't?) no ores, no enemies, nothing.
So far I've been able to get it to work with:
The more cleaned up non-one-liner is:
and if the wiki is true, I should be able to put in something like: but as stated, game hates it.
Thanks for the help on this, it seems like there isn't many people working with the surfaces yet... (from what I can tell atleast)
So far I've been able to get it to work with:
Code: Select all
game.create_surface("Custom",{terrain_segmentation="normal",water="very-small",autoplace_controls={["coal"]={frequency="very-low",size="medium",richness="regular"},["copper-ore"]={frequency="very-low",size="medium",richness="regular"},["crude-oil"]={frequency="very-low",size="medium",richness="regular"},["enemy-base"]={frequency="very-low",size="medium",richness="regular"},["iron-ore"]={frequency="very-low",size="medium",richness="regular"},["stone"]={frequency="very-low",size="medium",richness="regular"}},seed="83",shift={x=24327,y=37422},width=0,height=0,starting_area="medium",peaceful_mode=true})
Code: Select all
{terrain_segmentation="normal",
water="very-low",
autoplace_controls={
["coal"]={frequency="very-low",size="medium",richness="regular"},
["copper-ore"]={frequency="very-low",size="medium",richness="regular"},
["crude-oil"]={frequency="very-low",size="medium",richness="regular"},
["enemy-base"]={frequency="very-low",size="medium",richness="regular"},
["iron-ore"]={frequency="very-low",size="medium",richness="regular"},
["stone"]={frequency="very-low",size="medium",richness="regular"}},
seed="83",
shift={x=24327,y=37422},
width=0,
height=0,
starting_area="medium",
peaceful_mode=true}
Code: Select all
{terrain_segmentation="normal",
water="none",
autoplace_controls={
["coal"]={frequency="none",size="medium",richness="regular"},
["copper-ore"]={frequency="none",size="medium",richness="regular"},
["crude-oil"]={frequency="none",size="medium",richness="regular"},
["enemy-base"]={frequency="none",size="medium",richness="regular"},
["iron-ore"]={frequency="none",size="medium",richness="regular"},
["stone"]={frequency="none",size="medium",richness="regular"}},
seed="83",
shift={x=24327,y=37422},
width=0,
height=0,
starting_area="medium",
peaceful_mode=true}
Thanks for the help on this, it seems like there isn't many people working with the surfaces yet... (from what I can tell atleast)