Latest Posts

Topic: New resource indicators

king_of_nowhere
Avatar
Joined: 2014-09-15, 18:35
Posts: 1668
Ranking
One Elder of Players
Posted at: 2016-01-14, 15:58

well, atlantean soldiers are not 'much' better than others; they only have 2% more evade than imperial soldiers. Atlanteans and empire are fairly well balanced imo, it's barbarians who would need a power up. I was going to suggest it, but that's another topic. I remembered suggesting it another time, but the consensus was that they were fine, so I'm not opening another thread on it.

Back to topic, I was thinking on more expensive deep wells: 2x the cost of the well in addition to the well, so a barbarian deep well would cost 12 logs. which yes, it is a lot for a small building, but then, it would be an upgraded small building. anyway, it would be a high cost, to make it convenient to use the regular wells early, but that means it would be too high to ask atlanteans to pay it immediately. which, by the way, would also justify why the advanced atlanteans would need to upgrade a building; they were simply building the cheaper version first.

And by the way, increasing the stone cost for atlanteans is meaningless. Atlanteans don't use many stones, they always have plenty of them. Only exception I can think is in a map with few stones for the quarry when you need granite/marble/crystal mines, in that case the extra stone would be a real cost, but the only such map I know is four castles.

Anyway, we can discuss the balances if we agree to the idea of introducing deep wells. First thing is getting an agreement on that.


Top Quote
Tibor

Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2016-01-14, 21:42

I think this must be part of overall overhaul of editor, what we should discuss is existence and use of terrain attributes like

valid_resources = {"water"}, # this is not questionable in fact
default_resource = "water",
default_resource_amount = 10,

Either we should get rid of default resources or have them treated properly - I mean they should be applied in editor to new terrains (anytime the author changes the terrains in the map), should be visible as resources (immediately) and should be removable in standard way. Now we have some kind of duality - user allocated resources vs default resources...

Terrains have only two types of default resources - water and fish. We dont need water, wells (future deep wells) can mine based on terrain humidity, but what with fishes?

EDIT: bit of explanation: if map creator forgets to put water in map, even without default water resources, deep well will be able to mine water.

But without default fish, the map will stay without fishes completely

Edited: 2016-01-14, 21:44

Top Quote
einstein13
Avatar
Joined: 2013-07-29, 00:01
Posts: 1118
Ranking
One Elder of Players
Location: Poland
Posted at: 2016-01-14, 23:03

Water is still needed. Standard well (in this idea) can mine water from resource easily, but mining water from terrain humidity is quite challenging for it (I guess that it should be around 5-10% like standard mines). Deep wells have easy mining in both ways. That is so we still need water resources.

Default value for resources is also needed. As you mentioned - we can't handle with no fish completely. Lack of water also will give huge disadvantages for players. Lack of fish: Atlanteans can't do anything (fish breeders can't produce fish?), Lack of water: Barbarians & Empire has huge problems with start (huge costs of deep wells).

For me there is another question: what about amount of "0" for resource? Is it possible to place that? I guess not now. I used something like "0 resource": amount of 1 for fish. That brought partial solution for my problem face-smile.png


einstein13
calculations & maps packages: http://wuatek.no-ip.org/~rak/widelands/
backup website files: http://kartezjusz.ddns.net/upload/widelands/

Top Quote
Tibor

Joined: 2009-03-23, 23:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2016-01-14, 23:10

Just to avoid misunderstanding - an map creator will still be allowed to manually add fish and water. I am considering removal of default resources that are kind out of sight and out of control for map creator... Or made them more "official"/visible..... When you create a water - default fish will appear there immediately, but you will be allowed to modify the amount. Now also the game can query default resources and it is bad design. Default resources should be used only in editor and since then there would be only resource + amount stored in map.

Currently when you set amount 0 - resource is set to kNoResource. But that default resource is still lingering under the hood...


Top Quote
king_of_nowhere
Avatar
Joined: 2014-09-15, 18:35
Posts: 1668
Ranking
One Elder of Players
Posted at: 2016-01-15, 04:52

I'd say that we could allow a map to be made without fish. If one chooses to make such a map, it's up to him. If nothing else, they can make a dead lake. And to reduce the chances that somebody may completely skip the fish accidentally, I have two ideas.

1) the smart idea: water and fish are default resources and are shown in the editor immediately. When one makes a meadow, it will automatically displays the blue dots. When one makes a lake, it will automatically show the fish. The mapmakr can then reduce them if he chooses. Those icons make it difficult to work on a map afterwards, because they cover other details. But there is a convenient button to hide the resource indiciators, so it's not a real problem. There is already a request to make the display of resources switcheable. That is necessary for this idea: working on a map covered by water resources all around is a nightmare otherwise, and therefore in the current state of things it is better that default resources stay hidden.

2) the easy idea: default resources are 0. One of the messages that will be displayed when one loads the editor would say 'remember that we removed default resources, so you have to add water and fish manually'. In the worst case, people will make the mistake one, then they will easily fix it from the editor again. We may want to make the 'map' section of the site editable, so that people that accidentally post a bad map can fix it and reupload it. That's something that we may want to do anyway.

So, it seems that most people like the idea of deep wells. Shall I make a bug report for a wishlist?

Edited: 2016-01-15, 04:53

Top Quote
wl-zocker

Joined: 2011-12-30, 17:37
Posts: 495
Ranking
Tribe Member
Location: Germany
Posted at: 2016-01-15, 08:42

Deep wells

I think this is a an idea worth considering. It strengthens the economic aspect of the game because the player now has to choose between enhancing existing wells and building new ones (at positions he has to search for first). It would also increase the importance of the water resource, which is adjustable by the map maker. At the moment, it's relatively unimportant (on the maps I made so far, I never placed water resources).

king_of_nowhere wrote: justify why the advanced atlanteans would need to upgrade a building; they were simply building the cheaper version first.

In this case, it would make sense if the Atlanteans could build both wells directly: If they know how to build deep wells and only chose the smaller version because it's cheaper, there is no reason to always choose this way. We could name their well "Small well" to show they know about the deficiency from the beginning and to underline the difference to the other tribes. Alternatively, we could make the two wells completely unrelated buildings, where the small well has to be dismantled after some time (well, the Atlanteans have never been good at enhancing buildings, have they?).

Technically, "inventing" a new building is trivial and needs no changes to the c++ code (if the AI can cope with it). Just add a lua file, register it within the tribe's init.lua, and make the well enhanceable. The bigger problem might be to get three more graphics that are sufficiently distinguishable from the normal wells. If you want the productivity of the wells to depend on the terrain and/or other wells in its vicinity, this requires changes how the mine command works.

Default water resources

I like the suggestion 1 from king_of_nowhere. When the player places water terrain, fish is added automatically. The player can the change the amount at will, even set it to zero (which will result in zero fish in the game). To make this suggestion work, two things are required: Non-matching resources have to be removed when the terrain changes (implemented in trunk, I believe), and the display of resources shoudl be switchable.

For the water resource, the case is a bit more difficult. If a place a meadow (let's say default water amount = 20) and change it to steppe (dwa = 10), how should the game know if value has to be changed or not. The player might end up with a steppe full of water. If he had chosen a desert first (dwa = 0) and the changed it to steppe, there would be no water (because water is allowed in the desert, there is no need to add it). This is a problem, but not a critical one. If, in the end, we make the well productivity depend on the terrain, we could get rid of default water resources completely (they only mimic the desired behavior for a short amount of time).


"Only few people know how much one has to know in order to know how little one knows." - Werner Heisenberg

Top Quote
kaputtnik
Avatar
Topic Opener
Joined: 2013-02-18, 20:48
Posts: 2433
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2016-01-15, 09:30

Removing default resources would break game play on older maps, where no water is explicit set.

I think the right way would be to show the default resources in editor, make the resources overlay switchable and add the ability to remove the default amount to zero.

Humidity vs. Water
If could follow this discussion the idea of using the humidity-value for mining water is still there. What about wasteland terrains, which have less humidity, as king_of_nowhere explained? What about having terrains with high humidity and no water resource is placed? How does the map designer knows that there is enough water?


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
DragonAtma
Avatar
Joined: 2014-09-14, 01:54
Posts: 351
Ranking
Tribe Member
Posted at: 2016-01-15, 10:07

Barbarian wells are much smaller than Atlantean and Empire wells. Therefore, if we add deep wells, I recommend using the current Barbarian well graphics for small wells, and the current Atlantean and Empire wells for deep wells.

As for soldiers, yeah, Atlanteans and Empire are usually close at minimum and maximum power (with Barbarians a bit weaker) -- but if you train without gold, Atlanteans are the weakest of the three.

Here are the numbers I got for power ratings; all numbers are linear, so (on average) a battle between a power 10000 soldier and a power 8000 soldier would have the power 10000 soldier win with 20% of his HP left.

Rookies: Atlanteans 2872.34, Empire 2736.84, Barbarians 2501.72
Heroes: Atlanteans 28868.09, Empire 27268.70, Barbarians 24022.91
No gold: Empire 16038.78, Barbarians 14914.09, Atlanteans 13081.4

Details are here: https://wl.widelands.org/forum/post/11199/


Top Quote
wl-zocker

Joined: 2011-12-30, 17:37
Posts: 495
Ranking
Tribe Member
Location: Germany
Posted at: 2016-01-15, 10:11

Removing default resources would break game play on older maps, where no water is explicit set.

Could you please elaborate? I suggested to not remove the default water resources before the well's productivity is determined by the surrounding terrain, which would even normal wells give a decent productivity on suitable terrain. This will surely change the gameplay (because the default resources don't match the humidity), but I wouldn't say "break".

If could follow this discussion the idea of using the humidity-value for mining water is still there.

This is the current idea because the humidity is a value which is already present. If it doesn't fit our needs, we can easily add a new parameter, which, for example, is the same as the current default value. This has several benefits:

  • It can be adjusted individually for every terrain, and not based on parameters as it is now (I guess so).
  • If it is changed, no other elements (tree growth) are affected.
  • It would be relatively easy visible and changeable, compared to the current default amount, which is probably hidden somewhere in c++.

What about wasteland terrains, which have less humidity, as king_of_nowhere explained?

See above. We can use the humidity at first, but if it doesn't work, we can add another parameter which is freely adjustable.

What about having terrains with high humidity and no water resource is placed?

Wells would always have a high productivity on these terrains. In fact, the water resource is only needed to boost dry terrains (that is at least what sounds logical).

How does the map designer knows that there is enough water?

How do they currently know? I think from testing their map and from experience. It would work the same way with the new behavior. Furthermore, we could add the parameter to the terrain help of the editor, which GunChleoc has started working on. This would give a value for easy comparison, and not a hidden value like now.


"Only few people know how much one has to know in order to know how little one knows." - Werner Heisenberg

Top Quote
king_of_nowhere
Avatar
Joined: 2014-09-15, 18:35
Posts: 1668
Ranking
One Elder of Players
Posted at: 2016-01-15, 10:58

wl-zocker wrote:

Deep wells ....

In this case, it would make sense if the Atlanteans could build both wells directly: If they know how to build deep wells and only chose the smaller version because it's cheaper, there is no reason to always choose this way. We could name their well "Small well" to show they know about the deficiency from the beginning and to underline the difference to the other tribes. Alternatively, we could make the two wells completely unrelated buildings, where the small well has to be dismantled after some time (well, the Atlanteans have never been good at enhancing buildings, have they?).

I like the idea. So atlanteans could build directly the deep well, and it would be cheaper than building the small well and upgrading it - or upgrade would be impossible. That would not affect the atlantean early game, because they could still make small wells, but it would make their transition to late game more expensive, because for them upgrading the wells would be more expensive than for others. And since atlanteans already have a good late game, they can afford a small penalty for it. EDIT: in very late game, they woould directly build deep wells which would be cheaper than those of other tribes, but that would not really affect the balance because constrution materials are always plentyful in late game.

For the water resource, the case is a bit more difficult. If a place a meadow (let's say default water amount = 20) and change it to steppe (dwa = 10), how should the game know if value has to be changed or not. The player might end up with a steppe full of water. If he had chosen a desert first (dwa = 0) and the changed it to steppe, there would be no water (because water is allowed in the desert, there is no need to add it). This is a problem, but not a critical one. If, in the end, we make the well productivity depend on the terrain, we could get rid of default water resources completely (they only mimic the desired behavior for a short amount of time).

How about resetting the amount of water every time the terrain is changed? if one place a meadow, it will have 20 water. If one then changes it to steppe, it will have 10 water. it would therefore be better to only adjust water once you set all the terrains, but that's not a problem.

kaputtnik wrote:

Removing default resources would break game play on older maps, where no water is explicit set.

Not really. Deep wells would work without water resources. So removing default resources would certainly alter the gameplay on older maps, where you'd need to build deep wells from start, but it wouldn't really "break" the map. It would still be absolutely playable. Furthermore, something could be done to ensure that older maps made before build 19 would still use the default.

Humidity vs. Water
If could follow this discussion the idea of using the humidity-value for mining water is still there. What about wasteland terrains, which have less humidity, as king_of_nowhere explained? What about having terrains with high humidity and no water resource is placed? How does the map designer knows that there is enough water?

I thought about that myself before posting; those numbers I proposed were not at random, but I thought about them to address those concerns and make sure that the presence of water, the humidity of the terrain, and the distinction well/deep well would all rremain meaningful.

Going with my numbers, a deep well would produce (barring the penalty for other close wells, in case we want to make it) (50+(50 * average humidity))%. That means that, if the average humidity of the surround terrain is 0, it would produce 50%. If the average humidity is 1, it would produce 100%. Summer meadows have high humidities, so a deep well on them would produce at around 80-90%. Wasteland hard ground have poor humidity, a well on them would produce around 60%. So, there would be a gameplay difference between the different biomes in that you'd need roughly 50% more wells on wasteland. This, in my opinion, is not a bad thing; it is enhanced customization. Also, you could get a much better productivity by making wells close to water (because that humidity of 0.999 will wheight on the average). And in summer, if you make wells on steppe or barren steppe they will produce less, but never a deep well will produce less than 50%. Notice that even deep wells will get a slight production boost as long as there are water resources. So again, smart buildings will increase your productivity, but less smart buildings will still work to some extent; i think this could be a good thing, in that a pro player could gain an edge by the placement of wells, while an amateur could still play without knowing anything about well productivity equations.

For regular wells, without water I proposed (30 * average humidity)%, which would translate in 0% to 30% depending on humidity. So, a well on summer meadow and close to a river would get a productivity around 25%, while in wasteland ashes it would have 5%. In any case, it would be convenient to upgrade it to deep well when no water is left. ( EDIT: you may notice that if upgrading a well cost twice the well, so a deep well cost thrice a normal well, it would always be convenient to upgrade rather than build more wells without resources, even assuming space is not a problem. On wet land, producion would go from 25% to 90%, and on dry land it would go from 5% to 60%. It would also make deep wells more important in dry lands, which again is something I like. On a dry land, you need to dig deeper to get water).

By the way, it would be nice to be able to distinguish water (river) from water (sea), because a river would benefit a well nearby, but a sea would kill it. Lacking an easy way to make that distinction, especially for old maps, it works to consider all water as freshwater.

Edited: 2016-01-15, 11:09

Top Quote