[1.0.6.4] +20 counts as LOW suitability
Posted: Sat Aug 13, 2022 1:30 pm
Are there hidden decimals or have you changed the code?
Because +20 suitability was always good to go...
What's your Strategy?
https://forums.matrixgames.com:443/
In most cases, the game rounds up, so 19.1 is displayed as 20. I have a pic somewhere showing how 9+9+15=32, which in the real world is 33, but hey...mordachai wrote: Sat Aug 13, 2022 3:56 pm Been like this for a while.
Game likes to round things for us - so you're looking at a 19.5..19.99 or something - so not quite a 20. I've seen "good 20" and "bad 20" right next to each other in my colonization lists. It's weird, but it makes some sense...
Sorry, folks, just to make sure that the 70% shown in Game Editor are indeed 70%:Cyclopsslayerr wrote: Sat Aug 13, 2022 4:40 pmIn most cases, the game rounds up, so 19.1 is displayed as 20. I have a pic somewhere showing how 9+9+15=32, which in the real world is 33, but hey...mordachai wrote: Sat Aug 13, 2022 3:56 pm Been like this for a while.
Game likes to round things for us - so you're looking at a 19.5..19.99 or something - so not quite a 20. I've seen "good 20" and "bad 20" right next to each other in my colonization lists. It's weird, but it makes some sense...
Code: Select all
<ColonizationSuitabilityModifiers>
<OrbTypeFactor>
<OrbTypeId>7</OrbTypeId>
<Factor>0.1</Factor>
</OrbTypeFactor>
<OrbTypeFactor>
<OrbTypeId>17</OrbTypeId>
<Factor>0.1</Factor>
</OrbTypeFactor>
<OrbTypeFactor>
<OrbTypeId>18</OrbTypeId>
<Factor>0.1</Factor>
</OrbTypeFactor>
</ColonizationSuitabilityModifiers>
<MinimumSuitabilityForColonization>
</MinimumSuitabilityForColonization>Code: Select all
<OrbTypeId>27</OrbTypeId>
<Category>Planet</Category>
<Name>Mangrove Forest</Name>
<QualityRangeMinimum>0.5</QualityRangeMinimum>
<QualityRangeMaximum>0.8</QualityRangeMaximum>Code: Select all
70.000001 => "70%" LOW
70.00001 => "70%" OKCode: Select all
69.499996185 => "69%" LOW
69.499996186 => "70%" LOWDistant Worlds Returns! Distant Worlds, the critically acclaimed 4X space strategy game is back with a brand new 64-bit engine, 3D graphics and a polished interface to begin an epic new Distant Worlds series with Distant Worlds 2.
So it seems we could agree, that floating point would stick to 64-bit only and thus use binary64, right?MINIMUM:
OS: Windows 8, 10 (64-bit only) - The game runs on Windows 7 but no support will be provided
Code: Select all
0.7000001 - 0.5 ≅ 0.20000010000000001
0.70000001 - 0.5 ≅ 0.20000001Code: Select all
0.7000001 - 0.5 ≅ 0.2000001
0.70000001 - 0.5 ≅ 0.19999999Code: Select all
0.695 ≅ 0b00111111001100011110101110000101
0.005 ≅ 0b00111011101000111101011100001010 +
-----------------------------------------------
0.7 ≅ 0b00111111001100110011001100110011 .......... 0.70
0.69499993 ≅ 0b00111111001100011110101110000100
0.005 ≅ 0b00111011101000111101011100001010 +
-----------------------------------------------
0.6999999 ≅ 0b00111111001100110011001100110010 < 0.70 ... 0.69