View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021356 | AI War 2 | Bug - Other | Jul 6, 2019 7:55 am | Jul 8, 2019 10:39 am | |
Reporter | wm46 | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.873 Battlestation Overhaul | ||||
Fixed in Version | 0.874 Basic Fleet Management | ||||
Summary | 0021356: Ships granted by Global Command Augmentor don't match the amount actually given | ||||
Description | In my game, the GCA that I have captured says that it's supposed to grant 3 beam cannons. However, on a planet with a logistics command station (100% ratio of GCA to turrets) it only grants 2 beam cannons. My homeworld also doesn't get the full amount, only getting 5 beam cannons instead of the expected 6 beam cannons. (Side note: Also pictured is a reprisal wave that's supposedly only "1x", yet is sending 130 strength of units at me.) | ||||
Tags | No tags attached. | ||||
|
|
|
I found the issue in ArcenCore, explicit caps get initialized to -1. The function that calculates the final cap is: ( ExplicitCap * MkLevelBonus ) * ( Ship Type Multiplier (Intragalactic Coordinators) ) + Added Cap = Final Cap So for an example Mk7 beam cannon with a GCA that gives 5 beam cannons, a turret galactic coordinator, and a logistics station: Ciel( ( -1 * 3 ) * 1.3 ) + 5 = 2 Beam Cannons. I also think that maybe GCA caps should be affected by mark levels at the very least, it seems unintuitive that GCA turrets aren't affected by either mark level increases or intragalactic coordinator increases. |
|
The function I was referencing in the above is PerFrame_CalculateEffectiveFleetData_P1 at line 1881 of Fleet.cs |
|
Thank you! * Fixed up the multipliers for ship types in a fleet based on their centerpieces so that those happen AFTER any added ship type cap additions from outside sources (GCAs, etc). * Fixed up the multipliers from Ingra-Galactic Controllers (that give extra ship caps for turrets or whatever) so that those happen after the GCAs as well. * Fixed a bug where GCAs were granting 1 too few turrets or whatever else if the turret wasn't a native type for the command station in play. |
Date Modified | Username | Field | Change |
---|---|---|---|
Jul 6, 2019 7:55 am | wm46 | New Issue | |
Jul 6, 2019 7:55 am | wm46 | File Added: Umm_What.save | |
Jul 7, 2019 7:08 pm | wm46 | Note Added: 0052069 | |
Jul 7, 2019 7:14 pm | wm46 | Note Added: 0052070 | |
Jul 8, 2019 10:39 am | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Jul 8, 2019 10:39 am | Chris_McElligottPark | Status | new => resolved |
Jul 8, 2019 10:39 am | Chris_McElligottPark | Resolution | open => fixed |
Jul 8, 2019 10:39 am | Chris_McElligottPark | Fixed in Version | => 0.874 Basic Fleet Management |
Jul 8, 2019 10:39 am | Chris_McElligottPark | Note Added: 0052072 |