Repository navigation
Conversation
… function of mass or hull.
|
Is this really necessary? Seems like a step backward, in that armor values can no longer be anything but multiples of 100. Not that they were anything else before. But the theoretical possibility was there. And we should check PWCU and other games that use this engine, to make sure they don't use values other than multiples of 100.0. |
|
The six armorNN__upgrades rows becoming 1–6 is a clean way to define a level, but it can't merge before the engine half. It's the armour parts that go to 1–6, not the whole fleet — 165 of the 249 ship rows carry an absolute armor value that Armor::Load() reads directly (Goddard 1700, Robin.tutorial 1000), and only 21 ship rows fit an armor0X part. So on its own this leaves purchased armour and those 21 fits at 1–6 with nothing to multiply them. Please hold it until #1892 is in, or keep the old absolute values here and convert them in the PR that turns the multiplier on. The parts' Textual_Description ("does add to the mass of your ship") also no longer describes what the number means. (Stephen's PWCU question above is still worth an answer — if any other game ships this assets tree, it decides whether the format can change at all.) |
No. Remember, our armor is a multiplier of mass or hull. If the hull is 35 and our armor is 2, it will be 70 per facet. Two bugs I realised:
|
|
@royfalk this is moving from a percentage (100%) to a multiplier value (1), or am I misreading it? |
You are misreading this. This makes upgrade-able armor a function of ship mass or hull. |
Armor is now a function of mass or hull.
This works with vegastrike/Vega-Strike-Engine-Source#1892 to fix vegastrike/Vega-Strike-Engine-Source#1891.
Code Changes:
Issues: