6 new categories and 72 new items added to the shop!Fake forum EC for posting doubled everywhere to help pay for them!
0 Members and 1 Guest are viewing this topic.
r: The unit's reactor value = 1a: The cost of the unit's armor. = 8A: The cost of the unit's armor, halved for sea units and multiplied by 2*r for air units. = 4w: The cost of the unit's weapon or module. = 12W: The modified cost of the unit's weapon or module; choose the modification as part of the proposal. = 12C: The cost of the unit's chassis. There will be an additional option to add the reactor cost for sea units and plus the bonus reactor-based speed (twice the reactor by default) for air units. = 4S: The total cost of the unit's special abilities. = 0
Base cost is WX(A+C)/(2^(r+1)), rounding normally.
If C=1, divide by 2 (rounding down) and add 1.
If w>1 and a>1 and either it is a combat unit or the alternate form is not being used, add 1, and then another 1 if it is a land unit with C>1.
If it is a non-probe-team sea unit, divide by 2, rounding up.
If it is an air unit, divide by 2, rounding down; if it is also a combat unit, divide by 2 again, rounding down.Unless W=A=C=r=1, apply a minimum of (1.5)Xr, rounding up.Now multiply by (S+4)/4, rounding normally.
Ok, so I am trying to create a spreadsheet to see how a given code in alphax.txt affects unit cost... and I am stuck.This is is the topic I use as a base for calculations:http://alphacentauri2.info/index.php?topic=3683.0;nowapHowever, let's take for example a 12-8-4 fission foil.Quoter: The unit's reactor value = 1a: The cost of the unit's armor. = 8A: The cost of the unit's armor, halved for sea units and multiplied by 2*r for air units. = 4w: The cost of the unit's weapon or module. = 12W: The modified cost of the unit's weapon or module; choose the modification as part of the proposal. = 12C: The cost of the unit's chassis. There will be an additional option to add the reactor cost for sea units and plus the bonus reactor-based speed (twice the reactor by default) for air units. = 4S: The total cost of the unit's special abilities. = 0Now let"s apply the formula.QuoteBase cost is WX(A+C)/(2^(r+1)), rounding normally. 12*(4+4)/4 = 24 rows.QuoteIf C=1, divide by 2 (rounding down) and add 1. Does not apply.QuoteIf w>1 and a>1 and either it is a combat unit or the alternate form is not being used, add 1, and then another 1 if it is a land unit with C>1.Only the first one applies, cost is now 25 rows.QuoteIf it is a non-probe-team sea unit, divide by 2, rounding up.The cost is now 13 rows.QuoteIf it is an air unit, divide by 2, rounding down; if it is also a combat unit, divide by 2 again, rounding down.Unless W=A=C=r=1, apply a minimum of (1.5)Xr, rounding up.Now multiply by (S+4)/4, rounding normally.Does not apply.So the unit should cost 13 rows, right? But it costs 14 in-game. What am I missing?