Craft The World

Craft The World

Customize your dwarf sandbox!
Create and upload your own mods, add new items and worlds to Craft The World. Explore new ways to survive, or create new challenges for yourself and others.
Block spawning and water help :)
Hello guys

I’m looking for a bit of guidance, steeamdeck has been a great help in getting my custom world up and running but I have become stuck on a couple of things.

I would like to spawn some blocks above 0 on the surface of some mountains for example, is this possible as no matter what I try I cannot get this to work.

Secondly is it possible to remove all of the little ponds that appear on the surface of the world? I have tried to set up a custom humidity in the templates file but I cant seem to get rid of them, is there something I am missing somewhere?
< >
Showing 1-7 of 7 comments
Custom humidity did not work?


<waterPondsArea value=“0%”/>
<!--percentage of water body length from level length-->
<waterPondHeight value=“0”/>
<!--maximum depth-->
<waterPondWidth value=“0”/>
<!--maximum width -->
Nitpik 14 Feb @ 3:38pm 
Nope I still have lots of little ponds all over the surface, here's the code I've used:

In my levels file:

<humidityTemplate value="Forest_Mountains"/>

and in my template file:

<humidity>
<Forest_Mountains local="ForestHum">
<rainInterval value="60-300"/>
<rainDuration value="20-50"/>
<mrain value="60%"/>
<rain value="30%"/>
<storm value="10%"/>
<waterAbsorb value="300"/>
<smallWARatio value="0.33"/>
<waterPondsArea value="0%"/>
<waterPondHeight value="0"/>
<waterPondWidth value="0"/>
</Forest_Mountains>
</humidity>

Does this look right to you? are there any other places I should reference the humidity template?
Works in my test but

<waterPondsArea value="0%"/> = 1 Pond
<waterPondsArea value="0"/> 0 Ponds

Have you chose the right weather by world creation?
Nitpik 15 Feb @ 2:34pm 
Hmm how to I set the weather? I wasn't able to find any params that refer it :(
Originally posted by Nitpik:
Hmm how to I set the weather? I wasn't able to find any params that refer it :(

I mean when you start the new game / new save with you Forest_Mountains did you chose your moded weather = humidity (ForestHum) or did you start with default waether?
Nitpik 20 Feb @ 3:35pm 
Originally posted by steeamdreck:
Originally posted by Nitpik:
Hmm how to I set the weather? I wasn't able to find any params that refer it :(

I mean when you start the new game / new save with you Forest_Mountains did you chose your moded weather = humidity (ForestHum) or did you start with default waether?

Omg thanks Steeamdeck I completely forgot that was an option in the game creation options at the start!!

I was able to change the number of ponds but the width and height setting for them always remained the same sadly but I can live with that.

I have had another problem with tree spawning though, I made my own custom Dirt block (mountain_dirt) as I wanted some custom textures and used it as a replacement in my template file but have not been able to get any trees to spawn on the blocks at all.

<block name="mountain_dirt" file="gfx\level_tiles\tile\biom_ground_2\dirt_ground" corner="gfx\level_tiles\tile\biom_ground_2\corner" corner_group="3" corner_type="every" extract="10" build="0" through="false" resource="dirt,seed-1-5,seed_carrot-1-5,seed_cucumber-1-2,seed_potato-1-5,seed_tomato-1-2" crack="true" border="dirt_biome2" grass_border="grass" draw_layer="front_a1" properties="apply_tool1,dirt,can_replace,biome_dirt" pak="">
<childs import_from="dirt">
<block name="water_hole" file="gfx\level_tiles\tile\Biome1\water" extract="10" through="false" crack="true" draw_layer="front_b" ontop="false" />
</childs>

I also set custom trees up like this:

<block name="mountain_tree" file="gfx\Spine\environment\tree1_1" extract="7" growth="true" through="true" resource="wood-4,apple" nodigunder="true" crack="false" ontop="true" properties="tree,apply_tool2,max_height=25,props=dirt|snow|mountain_dirt,param1=tree1" pak="">
<collumn>
<block name="top" file="gfx\Spine\environment\tree1_1" through="true" resource="wood-4,apple" crack="false" ontop="true" />
<block name="trunk" file="gfx\Spine\environment\tree1_2" through="true" resource="wood-4,apple" crack="false" ontop="true" />
<block name="bottom" file="gfx\Spine\environment\tree1_2" through="true" resource="wood-4,apple" crack="false" ontop="true" />
</collumn>
</block>

Is dirt hard coded or is possible to get this to work? Have I missed something silly again?
I have no experience with trees, but I think there are now several ways to create plants. It's best to have a look at the whole China level (ex. China Stone/Dirt) stuff.

I am not shure about this “biome_dirt” and “max_height=25” Dou you have a Spine/gfx file with 25 Pics High?
The old trees (from 2014) worked similar to a column, if I remember correctly, but I'm not sure.

Did you "allow" you tree in your world flora?
Last edited by steeamdreck; 24 Feb @ 3:26pm
< >
Showing 1-7 of 7 comments
Per page: 1530 50