Aurora 4x
VB6 Aurora => Bureau of Ship Design => Topic started by: db48x on February 15, 2016, 01:41:04 PM
-
I found an old post that gives a formula for the crew required, but I can't find the formula for the BP cost. Does anyone know it?
-
It isn't linear.
If memory serves cost is:
Cost = max(5, power_mod < 1.0 ? hs*tech*power_mod^2 : hs*tech*power_mod)
-
Hmm. That's not coming out right at all...
-
It turns out that you were only out by a factor of two:
Cost = max(5, power_mod < 1.0 ? hs*tech*power_mod^2/2 : hs*tech*power_mod/2)
or in spreadsheet terms:
=MAX(5, IF(ChosenPowerMod<1, ChosenEngineSize*ChosenPowerPerHS*ChosenPowerMod^2/2, ChosenEngineSize*ChosenPowerPerHS*ChosenPowerMod/2))