Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: How to gen worlds with more iron?  (Read 4588 times)

guitarxe

  • Bay Watcher
    • View Profile
How to gen worlds with more iron?
« on: June 09, 2012, 10:14:56 pm »

I'm having trouble finding embark spots with iron (and flux) when I create worlds using the default pre-sets.
What settings do I have to change in advanced parameters to coax more iron deposits?
Logged
Feeling down? Click Here!

Thorn

  • Escaped Lunatic
  • [AQUIFER]
    • View Profile
    • Underground music
Re: How to gen worlds with more iron?
« Reply #1 on: June 09, 2012, 10:27:12 pm »

As far I know, you can't increase amount of a specific metal in worldgen.
But you still can decrease minerals scarcity in general
« Last Edit: June 09, 2012, 10:32:26 pm by Thorn »
Logged
People love Dwarf Fortress besides that where they are from. I'm sorry for any possible typos, but English isn't my native language.

guitarxe

  • Bay Watcher
    • View Profile
Re: How to gen worlds with more iron?
« Reply #2 on: June 09, 2012, 11:19:04 pm »

I set that to 1000. I've read somewhere that that is the border at which one flux stone stops appearing, because off too much minerals. So in other words, that's as much mineral frequency as I can get without limiting flux stone.

I know I can't do it directly, but I mean, iron is supposed to appear in sedimentary layers, right? And these are formed by river erosion?
Logged
Feeling down? Click Here!

Mrhappyface

  • Bay Watcher
    • View Profile
Re: How to gen worlds with more iron?
« Reply #3 on: June 09, 2012, 11:25:16 pm »

You could tweak the upper layer numbers to be higher.
Logged
This is Dwarf Fortress. Where torture, enslavement, and murder are not only tolerable hobbies, but considered dwarfdatory.

weenog

  • Bay Watcher
    • View Profile
Re: How to gen worlds with more iron?
« Reply #4 on: June 09, 2012, 11:34:56 pm »

Try turning down volcanism.  Sure, easy magma seems important for Imaginary Fort Steelgasm, but igneous layers and sedimentary layers don't get along so well.
Logged
Listen up: making a thing a ‼thing‼ doesn't make it more awesome or extreme.  It simply indicates the thing is on fire.  Get it right or look like a silly poser.

It's useful to keep a ‼torch‼ handy.

chris_strain

  • Bay Watcher
  • Evil Overlord
    • View Profile
Re: How to gen worlds with more iron?
« Reply #5 on: June 10, 2012, 12:31:38 am »

I tend to run long, 600 or so, erosion cycles. Searching for sites with high drainage and flux leads me to iron a pretty good percent of the time. I haven't really scienced it so the erosion count thing could just be superstition on my part but it seems to work. If you are really desperate you could add environment tags to one or more of the iron ores, letting them appear in more layer types or in specific stone types.
Logged

Nameless Archon

  • Bay Watcher
    • View Profile
Re: How to gen worlds with more iron?
« Reply #6 on: June 10, 2012, 12:40:41 am »

I set that to 1000. I've read somewhere that that is the border at which one flux stone stops appearing, because off too much minerals.
No. Such. Thing. I get flux at 100 all the time.
Logged

guitarxe

  • Bay Watcher
    • View Profile
Re: How to gen worlds with more iron?
« Reply #7 on: June 10, 2012, 12:59:56 pm »

Hm, if I search high drainage and flux stone, I usually get no sites that match. One world I got only 3 spots that had that =/

And also, what do you mean by environment tags?
Logged
Feeling down? Click Here!

iofhua

  • Bay Watcher
    • View Profile
Re: How to gen worlds with more iron?
« Reply #8 on: June 10, 2012, 01:10:34 pm »

In advanced parameters, find "LEVELS_ABOVE_LAYER_1" and try increasing that number. That number determines the minimum number of stone layers between the surface and the first cavern layer. This might give you more layers to search for iron and other metals.

Nevermind. I forgot Iron is found in sedimentary layers only. Completely ignore what I just said.
« Last Edit: June 10, 2012, 01:12:57 pm by iofhua »
Logged

Thorn

  • Escaped Lunatic
  • [AQUIFER]
    • View Profile
    • Underground music
Re: How to gen worlds with more iron?
« Reply #9 on: June 10, 2012, 01:21:13 pm »

Quote
And also, what do you mean by environment tags?

In raw/objects/inorganic_stone_mineral.txt you look for iron ore mineral, for example Hematite:
Code: [Select]
[INORGANIC:HEMATITE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:hematite][DISPLAY_COLOR:4:7:0][TILE:139]
[ENVIRONMENT:SEDIMENTARY:VEIN:100]
[ENVIRONMENT:IGNEOUS_EXTRUSIVE:VEIN:100]
[ITEM_SYMBOL:'*']
[METAL_ORE:IRON:100]
[SOLID_DENSITY:5260]
[MATERIAL_VALUE:8]
[IS_STONE]
[MELTING_POINT:12736]

There are lines such:
Code: [Select]
[ENVIRONMENT:SEDIMENTARY:VEIN:100]
You can add more tags making this ore more frequent. For example:
Code: [Select]
[ENVIRONMENT:METAMORPHIC:VEIN:100]so, you would find this ore in metamorphic layer.

Possibilities you can add:
Code: [Select]
ALL_STONE, IGNEOUS_ALL, SOIL, SOIL_OCEAN, SOIL_SAND, METAMORPHIC, SEDIMENTARY, IGNEOUS_INTRUSIVE, IGNEOUS_EXTRUSIVE, or ALLUVIAL.
Also, there's wiki page about modding that:
http://dwarffortresswiki.org/index.php/DF2012:Inorganic_material_definition_token

Good luck!
Logged
People love Dwarf Fortress besides that where they are from. I'm sorry for any possible typos, but English isn't my native language.

guitarxe

  • Bay Watcher
    • View Profile
Re: How to gen worlds with more iron?
« Reply #10 on: June 10, 2012, 01:23:35 pm »

So, if I want iron to appear in a certain kind of stone, I add
Code: [Select]
[ENVIRONMENT:DOLOMITE:VEIN:100]
Is that correct?
Logged
Feeling down? Click Here!

Thorn

  • Escaped Lunatic
  • [AQUIFER]
    • View Profile
    • Underground music
Re: How to gen worlds with more iron?
« Reply #11 on: June 10, 2012, 01:30:42 pm »

So, if I want iron to appear in a certain kind of stone, I add
Code: [Select]
[ENVIRONMENT:DOLOMITE:VEIN:100]
Is that correct?
Unfortunately no not. The format is:
Code: [Select]
[ENVIRONMENT:<class>:<inclusion type>:<frequency>]
You can only specify layers in <class>, like
Quote
ALL_STONE, IGNEOUS_ALL, SOIL, SOIL_OCEAN, SOIL_SAND, METAMORPHIC, SEDIMENTARY, IGNEOUS_INTRUSIVE, IGNEOUS_EXTRUSIVE, or ALLUVIAL

no individual kind of stone.

edit: btw remember, you still need to do a new worldgen though
« Last Edit: June 10, 2012, 01:33:59 pm by Thorn »
Logged
People love Dwarf Fortress besides that where they are from. I'm sorry for any possible typos, but English isn't my native language.

guitarxe

  • Bay Watcher
    • View Profile
Re: How to gen worlds with more iron?
« Reply #12 on: June 10, 2012, 01:33:59 pm »

I see, thanks.
Logged
Feeling down? Click Here!

Sheb

  • Bay Watcher
  • You Are An Avatar
    • View Profile
Re: How to gen worlds with more iron?
« Reply #13 on: June 10, 2012, 01:34:58 pm »

What about diamond which is (IIRC) only found in Kimberlite?
Logged

Quote from: Paul-Henry Spaak
Europe consists only of small countries, some of which know it and some of which don’t yet.

Thorn

  • Escaped Lunatic
  • [AQUIFER]
    • View Profile
    • Underground music
Re: How to gen worlds with more iron?
« Reply #14 on: June 10, 2012, 01:49:50 pm »

Very good point! Same procedure as for iron, but you look in inorganic_stone_gem.txt

And tag is different:
Code: [Select]
[ENVIRONMENT_SPEC:stone:type:freq]where stone is specific stone id.
Example:
Code: [Select]
[ENVIRONMENT_SPEC:DOLOMITE:CLUSTER_SMALL:100]
[ENVIRONMENT_SPEC:KIMBERLITE:CLUSTER_SMALL:100]
etc.

but I'm not 100% sure is that tag still working for metal ore's, I think it should.
Logged
People love Dwarf Fortress besides that where they are from. I'm sorry for any possible typos, but English isn't my native language.
Pages: [1] 2