1. a few bugfixesA few math bugs have been
fixed in OXCE v6.5.
The upgrade time costs are now consistent in all cases.
You won't see any difference when building 1x1 facility over 1x1 facility.
You may and may not see a small difference when building a 2x2 facility over 4 1x1 facilities.
You will likely see a medium to significant difference when building 3x3 facility over anything else than another 3x3 facility.
Building 2x2 facility over a 2x2 facility will be probably the most significant case/difference.
I won't go into math, you can check source code if you wish, but basically there were 2 issues:
1. scaling (building 2x2 facility over one 2x2 facility vs. four 1x1 facilities was significantly different, read buggy)
2. rounding (integer math cut off all fractions, which led to inconsistencies)
If you're using this feature, please review upgrades for your 2x2 and 3x3 facilities.
1x1 facilities are not affected.
Downgrades are also not affected.
-----
2. a new global optionI have also added one more global switch... to globally decrease time saving when upgrading (building over existing facilities).
buildTimeReductionScaling: 100
Default is 100% ... means existing facilities give 100% of their build cost into upgrade cost decrease.
75% would mean that existing facilities give 75% of their original build cost into upgrade cost decrease.
With 0% there is no upgrade cost decrease... upgrading a facility will cost the same as building it from scratch.
-----
3. a small (but useful) functionality improvementDescription:
https://openxcom.org/forum/index.php/topic,8017.msg125175.html#msg125175