Changes between Version 12 and Version 13 of Ticket #1522, comment 2


Ignore:
Timestamp:
Jul 4, 2012, 6:46:09 PM (12 years ago)
Author:
FeXoR

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1522, comment 2

    v12 v13  
    2727- `mapSize*mapSize`: Tiles of the actual map. Everything is scaled down (divided by) with growing current map tiles.
    2828- `8-numPlayers`: Each player below the 8th.
    29 - `256*8`: Factor reduction per player below the 8th. Scaled with current map tiles, too. The players bases have roughly a radius of 25 tiles. That circle covers an area of 25² * PI ~= 2000 ~= 256*8 tiles. That area is covered with roughly 2000 trees more if `maxTreeDensity = 1` and a player less is present. So each player less needs an average reduction of 2000 trees on medium maps. Because it's a probability it has to be scaled with the current `mapSize` as well.
     29- `256*8`: Factor reduction per player below the 8th. Scaled with current map tiles, too. The players bases have roughly a radius of 25 tiles. That circle covers an area of 25² * PI ~= 2000 ~= 256*8 tiles. That area is covered with roughly 2000 trees more if `maxTreeDensity = 1` and a player less is present. So each player less needs an average reduction of 2000 trees on medium maps (considering every tile would get a tree which is not true. But it's right for the scaling anyways). Because it's a probability it has to be scaled with the current `mapSize` as well.
    3030
    3131I made a test (all with seed 0) and it shows the scaling works fine: