Sliverine -> RE: Resource Gain Rate - Mining Qns (4/17/2010 6:14:29 PM)
|
Ok so being rather curious about this, i did a little testing with the help of the editor. -To start, my strategic mine has a mining rate of 40. -I then chose 2 planets, one with 58% gold (we call this mine A) and the other with 57% gold and some other resource (this will be mine B) which was 63% steel. The purpose of having 2 resources was to see if more resources would split the mining rate. -After placing 2 strategic miners, each onto one of the 2 planets with the help of the editor (game paused throughout), I then unpaused the game and timed 5 seconds. After 5 secs passed, i paused and checked the cargo of the 2 mines. -Mine A had 231 gold in its hold. Mine B had 229 gold and 252 steel. At a glance we can see that having more or less resources does not split the mining between the resources and its also pretty obvious that the percentages affect the mining rate directly as evidenced from the slight difference. So the question now is, how do those numbers work out? Answer: -As u can see from the previous points, the rates are affected by the percentages of the resources so we will then try to find a link. We first take the base rate (which is 40) and multiply it by the percentage of the resource present, which is 58% which in this case is equivalent to 0.58 (100% = 1.0). Doing so will give you a modified rate of 23.2 which when multiplied by 10, is VERY close to the amount that we actually mined (231). -Its more or less clear now except for the slight discrepancy, so we will double check our solution. We will now use the values for the 63% steel, which we managed to mine 252 of. Once again, we take 40 * 0.63 to get 25.2 which when multiplied by 10, is EXACTLY the amount of steel we mined! -To triple check, we then use the other 57% gold value, of which we mined 229. 40 * 0.57 gives 22.8 which is once again slightly short but pretty darn close. -Now we have more or less proven the rate formula to be: [(Mining Rate of Miner) * (Percentage value of individual resource being mined in decimals) * 2] = amount of said mineral mined in a second. The leftover question is, why the discrepancies? -The best possible explanation for the slight differences is that the percentage values u see are actually rounded up. That means that the game actually uses a 3 decimal point calculation for resource collection i.e. 0.565 (56.5%) but it rounds up the value for easier visual identification (and also maybe due to the fact that integers in programming languages are separate from floating point values so if the game was designed to display an integer, it auto rounds up the number given to it). So all in all, mining unveiled! Well since we have managed to do a whole string of simple mathematics, the main point here is: How does this all add up (no pun intended)? In a nutshell, it simply means 2 things: 1. Mine planets with as many individual resources as possible. i.e. mine gas giants with 4 different gases as opposed to those with just one. Sure the one might be higher but unless you are really in urgent need of it, the 4 would be a more economical use of your funds (and maintenance fees). 2. If 2 planets have about the same amt of resources, mine the one with the higher average value for its resources. i.e. say you have 2 same planets, both with gold, lead and steel. One has (respectively) 43, 55, 31 and the other has 60, 40, 35, if you use more gold then anything else, the 2nd one wld be an ideal bet. If you need more lead, of course the 1st is better. If you dont particularly need any, the 2nd one wld be better as it has a higher average, meaning u get more total resources per second. Hope this helps! :)
|
|
|
|