minetest / minetest_game

Minetest Game - A lightweight and well-maintained base for modding [https://github.com/minetest/minetest/]
http://minetest.net/
Other
1.42k stars 577 forks source link

Ore spawn improvements #1168

Closed Fixer-007 closed 4 years ago

Fixer-007 commented 8 years ago

I did some limited research on minetest ore spawning:

Now that's big disappointment for miners, so... why not we add even more layers below -1024? Say at -4000, -16000, -32000 with increased probability of those ores.

@kwolekr mentioned that nobody pushed idea about biome specific ores, now that's great idea that adds more challenge for players, you can make it like:

That will seriously change mining gameplay, since you will need to actually travel/search for needed ores. Especially on server with protector redo used for protection. New players will be confused though.

biome map: https://cloud.githubusercontent.com/assets/3686677/15913099/f8b759ac-2dcf-11e6-84ff-ae61176010b1.png

MarkuBu commented 8 years ago

Not everybody wants to digg down thousands of nodes. Should be configurable

But I like the idea of biome specific ores. Had a similar idea

Fixer-007 commented 8 years ago

Not everybody wants to digg down thousands of nodes.

No, only proposed addition is MORE ores at bigger depths, nothing else changes above -1024.

C1ffisme commented 8 years ago

I once had the idea of changing how ores work so that some exploration is needed.

There are three tiers of tools, armor and blocks. Each one is stronger than the last. There are also some in-between tiers for decorative or non-mining use.

We have 3 main ores, copper, iron and tin (or maybe zinc?).

There are 3 layers of ground, each having a different type of rock: Sedimentary, Metamorphic and Igneous, each one stronger than the last.

Tier 0, Stone Pickaxe:

A stone pickaxe can be constructed by lashing 2 stones and a stick together with rope. Rope is made from a fiber-like plant (Sisal, maybe?), stones can be found on the ground, and wood can be found by smashing as trees with a stone. (Or we could punch it, if you want to keep that feature.)

A stone pickaxe can mine tier 1 ores, and Sedimentary rock.

Tier 1, Singular Metals:

Pretty simple. Each of the three ores can be mined up from the first layer of rock, which is Sedimentary. Once you smelt these metals, you can build a tier 1 pickaxe out of them. Tier 1 pickaxes can mine Metamorphic stone and tier 2 ores.

Tier 2, First Alloys:

Using clay on the surface, you can build a crucible. This becomes useful later when you start mining in Metamorphic rocks.

Like I said, other ores may spawn here for other purposes, but the most important one is coal. Coal is a very pure form of carbon, and can be used for sticking metals together. You can put together two of any of the three metals, and get Tier 2 ingots, to make Tier 2 tools. It does not matter which ones you use, they will all work. (But you cannot stick all 3 together, not yet.)

A Tier 3 pickaxe can mine Igneous rock, and Tier 3 ores.

Tier 3, Steel Making:

Some old volcanic activity long ago has left quite a bit of Igneous rock at the bottom of the world.

Steel cannot just be made from coal and iron, it requires the other two metals, and one more thing.

In the Igneous rock, you will find Tungsten, which can be used to make Tier 4/Steel tools. This is the final tier (without mods). And they are the only tools that can mine Obsidian, which is also found in the Igneous layer. (Very useful for making near-invincible shelters.)

Steel is made by putting Tungsten, Iron, Coal, Tin/Zinc and Copper into the Crucible. However, a larger amount of Iron is needed than the other metals.

Might need some balancing/tweaking, but here is what the recipe for Steel would require:

How ores would spawn:

Copper, Iron and Tin/Zinc would not spawn in the traditional way. Each layer is divided into "underground biomes", there are three of these "biomes", with one of each of the ores in them.

Copper, Tin/Zinc all spawn in the Sedimentary and Metamorphic layers, but not in the Igneous layer. Iron spawns in all layers, because of it's importance in making steel.

Also, Iron "biomes" are less common in the Sedimentary layer, as common as Copper and Tin/Zinc biomes in the Metamorphic layer, and, of course, everywhere in the Igneous layer.

Pros and Cons of this system:

_Pros: _

_Cons: _

Other Ideas:

Thoughts, anyone?

(Tell me if I missed anything...)

EDIT: Fixed some broken Markdown.

paramat commented 8 years ago

^ That's a different subgame.

Note everything under y = -112 is a single biome called 'underground', so restricting ores to biomes only works above that, making those ores easy to find. Currently all mapgens have identical ore spawning, the same as mgv6. Any changes have to decide which mapgens are affected.

C1ffisme commented 8 years ago

@paramat It's a better system than the current one, though. Mind you, we would have to add underground "biomes" and layers of rock too.

NathanSalapat commented 8 years ago

@Fixer-007 Copper is used in nearly every machine with the technic mod, so it is a very used and needed ore.

0-afflatus commented 8 years ago

This is essentially what I do in grailtest. I use five different rock types, which different ores spawn in, roughly corresponding to Sedimentary, Metamorphic and Igneous types. Apart from desert stone, none are determined by biome. The first 1k is mixed. There is an expectation that mining should get more productive the deeper you go, but I think it adds to gameplay if there is a sense that different (underground) environments yield different minerals, so you can do more focused mining. Placement of resources hugely affects gameplay, so there is a limit to how far you can take this with MTG. Adding more layers from -1k to around -5k is the best way to go, so long as game balance is respected, naturally.

paramat commented 8 years ago

MESE block spawns below -1024 (but is not required, since crystals can be mined past -256 anyway and combined into MESE block)

This makes me think we should not allow combining mese crystal into mese block, to make mese block meaningful and a higher gameplay cost if a recipe requires it.

add even more layers below -1024? Say at -4000, -16000, -32000 with increased probability of those ores.

Could do, probably hasn't just to keep number of ore registrations low. Remember that with future 'stacked realms' another realm may start a few thousand down, and anything much more than 1000 down is possibly too much of a challenge for some players, so perhaps we should not bother changing anything under y = -1000.

Fixer-007 commented 8 years ago

Could do, probably hasn't just to keep number of ore registrations low. Remember that with future 'stacked realms' another realm may start a few thousand down, and anything much more than 1000 down is possibly too much of a challenge for some players, so perhaps we should not bother changing anything under y = -1000.

Is not ore gen will be reworked anyway before introducing stacked realms? Since there will be multiple starting points, also, as I see it... if realm has 2000 of above and say 500 of underground, ore will be generated for 0-500, if underground is larger, like 0-5000, it will generate ores up to 5000 adjusting automatically in some way. It should not stand in a way, if you have small realm it should just truncate ores and stone below anyway.

Deep underground should be rewarding, right now people dig it very deep without any benefits, I want to see benefits, more ores :}

paramat commented 8 years ago

Actually i mean right now we have lua mapgens creating underworlds that tend to start a few thousand down.

It might be good to spread the depths more progressively, so have something starting at y = -500. I need to work on ore definitions for floatlands so will consider.

0-afflatus commented 8 years ago

anything much more than 1000 down is possibly too much of a challenge for some players, so perhaps we should not bother changing anything under y = -1000.

Having watched players' mining activity I disagree with this POV very strongly.

The majority of players can easily get 500 to 1k down and they should be rewarded with lots of coal, iron and less valuable ores. If you're collecting, say, diamonds you should have to go deeper to get any quantity - strong players will drill down to -5k in less than a week of play and they should be amply rewarded for their efforts. Some minerals (like coal) should run out or get scarce at deeper levels. This leads to different styles of mining for different elements, ideally coal mines should be shallow and chase seams, diamond mines should be deep and chase veins (and yes, I do know how difficult they are to get right). There are a lot of oregen options that MTG isn't using - and that's another reason for adding more registrations for -1k to -5k. I think the lower levels should have fewer and more far between mineral fields, which provide much greater yields.

we have lua mapgens creating underworlds that tend to start a few thousand down.

They need to be able to redefine oregen so they don't get clobbered by default settings. I think that's trivial to deal with.

paramat commented 8 years ago

Good points.

paramat commented 7 years ago

I have simplified ore registrations a little to reduce them to 3 per ore, so we can now afford to add 1 more increase in density at a lower depth, i like this idea, but only 1 more to keep it simple. I might work on this myself.

paramat commented 7 years ago

There is also an argument for making ores deeper, as most mapgens now have never-ending tunnels that can take you down to y = -256 with almost no effort. In mgv6 lots of digging was required. So, perhaps this can be a good chance to change all the ore depths to be deeper and a more consistent progression? I'm happy to do this sometime. Then we could also add another increase at a lower depth when doing this.

C1ffisme commented 7 years ago

Little bit offtopic, but if we're going to move ores lower, wouldn't it make sense to fill the area in-between with something interesting to look at?

paramat commented 7 years ago

Hehe we have tunnels, large caves with lava and water, and massive caverns already. We're talking about moving the 'depths at which ores become more dense' lower, there will not be gaps without ores, nothing will be removed.

C1ffisme commented 7 years ago

@paramat No, I don't think there will be gaps of stone without ores, but considering an ore is simply the stone texture, but with small specks of color in them, I think caves and such need a bit more decoration before we start forcing players to travel through them longer.

paramat commented 7 years ago

Decoration will come when we have underground decorations in the engine Biome API, which are not possible yet. Making underground more interesting is already planned.

paramat commented 7 years ago

My suggested plan:

ThomasMonroe314 commented 7 years ago

@paramat I agree with the 3rd stage of density and the progressive depth

paramat commented 7 years ago

PR #1168 PR #1810

paramat commented 7 years ago

Thanks.

paramat commented 7 years ago

It's amazing how all valuable ores except mese block are found above y = -128, with the 3D noise tunnels it's possible to walk to that depth in a game session. Our wider 3D noise tunnels also make ores much more common in tunnel walls, so this is another way mining has been made too easy in non-mgv6 mapgens. Another thing to consider is how mese ore can be combined into mese block, so the two should probably occur at the same or similar depths, mese is very high value like diamond so mese ore at y = -64 is ridiculous.

Desour commented 7 years ago

mese ore can be combined into mese block, so the two should probably occur at the same or similar depths

Only in deep depths there's enough pressure and mese crystal concentration to be compressed into block form.

paramat commented 7 years ago

I see it the other way around, mese ore is shattered mese block, the letters could not form under pressure.

paramat commented 7 years ago

2nd PR #1813

paramat commented 7 years ago

1813 merged.

Still to do: perhaps add a 2nd increase in density at a deeper level.

paramat commented 6 years ago

This is my job, i will add the extra density increase, it's easy. Not really suitable to throw out to contributors.

paramat commented 6 years ago

So now the lowest ore density increase is Mese blocks at y = -2048. What depth should the next final density increase be out of -4000, -8000 or -16000 (halfway to world base)? I feel that -4000 may be too easy and remove reward for going very deep, any opinions?

Fixer-007 commented 6 years ago

It should probably be pretty challenging, like -16000/-20000/-24000/...

paramat commented 6 years ago

I'll rule out -4000. Trying to decide between -8000 and -16000.

ThomasMonroe314 commented 6 years ago

I've noticed a particular thing about the rarity of diamonds and mese, they don't seem to be as rare as I think they should be, in MC you have to dig for a long time before you get full diamond armor, whereas in MT you can get diamond armor in about an hour or two.

Fixer-007 commented 6 years ago

While I'm playing minecraft beta, I can confirm - diamonds are extremely rare, iron is hard to come by, minetest game compared to that is bonanza :)

ThomasMonroe314 commented 6 years ago

Come to think of it, after a while it gets kind of boring, diamonds lose their worth, as does mese, etc

paramat commented 6 years ago

At least now valuable ores are twice as deep due to #1813

ThomasMonroe314 commented 6 years ago

Meh, IMO it is still a little bit too high, I was thinking something like this: Coal 0 Iron -64 Tin -128 Copper -256

Gold -1024 Diamond -4096 Mese crystal -2048 Mese block -4096(or even lower)

just to spread out the valuables and give incentive to actually mine at deeper and deeper levels. I've actually found that strip mining at about -1024 gives me a whole lot of minerals and there is not much need to go further, much less to -30000

paramat commented 6 years ago

Certainly i would prefer that but we have to not break mods and games that rely on the old values, so i didn't change them radically.

For the 2nd density increase i'm thinking -8000.

ThomasMonroe314 commented 6 years ago

Certainly i would prefer that but we have to not break mods and games that rely on the old values, so i didn't change them radically.

@paramat I hate to disagree with you, but many of the subgames don't even use the up-to-date MTG at all or even the up-to-date "default", and I don't know of any mods that rely on the depth of the ores. (but you may know of a few :neutral_face: )

For the 2nd density increase i'm thinking -8000.

sounds good to me

paramat commented 6 years ago

Mods and games have been balanced with the current depths of ores, a dramatic change could be a problem. This is an example of how MTG is restricted by it being a mod base and so much relying on it. New subgames are needed that can be more free.

In a way the ease of reaching ores has not changed much because the 3D noise tunnels make it easier to get to a certain depth, you can sometimes walk to y = -256 without digging a node.

ThomasMonroe314 commented 6 years ago

Mods and games have been balanced with the current depths of ores, a dramatic change could be a problem. This is an example of how MTG is restricted by it being a mod base and so much relying on it. New subgames are needed that can be more free.

good point, but again, usually they have their own version of MTG that hasn't been updated, Legend Of Minetest for example.

In a way the ease of reaching ores has not changed much because the 3D noise tunnels make it easier to get to a certain depth, you can sometimes walk to y = -256 without digging a node.

yeah that does make a difference, but it really depends on where you start mining.

C1ffisme commented 6 years ago

@paramat

Trying to decide between -8000 and -16000.

Okay... Lemme stop you there....

I don't think I'm going to even bother mining that far... Ever. Now, if caves got bigger and more common the further I went down, and there were underground biomes to keep the grey stone texture from becoming stale, I might be interested enough to go to -4000.

Heck, if you're gonna move ores this far down, a few underground "dimensions" like the Nether might be necessary to make sure the player doesn't get bored when mining thousands of blocks into the ground.

(Yes, I'm normally against dimension layers, but I'd gladly take them if it means I can see something that isn't lava, stone or ores while mining.)

paramat commented 6 years ago

I'll probably choose -8000, i know some have expressed there isn't much reason to go that deep, but the ores will be a reason, and we are assuming that a more interesting underground will be created later (which is the case). The 2nd increase has to be chosen on how MTG will be, chosen on the assumption of an interesting underground, otherwise we would have to change the depth later and end up with ores at an unsuitable depth.

The density increase at depth doesn't cause any harm even if done before underground is made more interesting, it adds a reward for those who go deep, and remember there are mods in use that add underground interest.

I'm considering keeping the same number of ore clusters but doubling the ore number in each.

ThomasMonroe314 commented 6 years ago

I'm considering keeping the same number of ore clusters but doubling the ore number in each.

:+1:

paramat commented 6 years ago

Related PR #2047

paramat commented 6 years ago

I'm now unsure about increasing ore density at a deep level, it also conflicts with a much more interesting idea detailed in #2048 so i'm putting my former intention on hold for now. Making some ores limited to certain stone types seems a more interesting direction, as suggested in the first post.

paramat commented 6 years ago

With some discussion i agree with Ezhh that more ores lower down is not needed, it's better to make the exisitng lower ore regions deeper, which is what #2047 does.

Removing the overlap frees up some performance for adding a new ore if that is ever done.

Fixer-007 commented 6 years ago

So mining deep becomes totally pointless, unless there will be some nice deep biomes or something with dedicated stuffs.

paramat commented 6 years ago

There will be much more interesting things than high ore densities to travel down for, improving the underground is obviously already intended and is being discussed.

scottwolff commented 6 years ago

Imo, I think it is more like punishing the player. From a server admin side, it doesn't matter. Anyways, I would assume ore spawns fall under game balance (challenge vs. reward) so falls under this argument and all of its fallacies and benefits: http://tvtropes.org/pmwiki/pmwiki.php/Main/DiminishingReturnsForBalance or more generally http://tvtropes.org/pmwiki/pmwiki.php/Main/DynamicDifficulty

paramat commented 6 years ago

I think it is more like punishing the player

What do you refer to?