View Issue Details

IDProjectCategoryLast Update
0021411AI War 2Bug - GameplayJul 21, 2019 11:20 am
ReporterRocketAssistedPuffin Assigned ToDominus Arbitrationis  
Severityminor 
Status resolvedResolutionfixed 
Product Version0.876 Counterattacks Ate My Waves 
Fixed in Version0.877 The Strikecraft Goldilocks Zone 
Summary0021411: Turret Coordinator has no effect
DescriptionSave provided by Diazo on Discord has the Coordinator being hacked. If you check the Build Menu for the player planets, most of the Turrets are at max capacity. Once the Hack is completed, they will not increase.

Testing manually capturing it also has no effect, nor does having a normal Station instead of the Reconquest one in the save have an effect.

The other Coordinators work fine. I would guess this is some odd interaction with Command Augmenters.

Credit Diazo.
TagsNo tags attached.

Activities

RocketAssistedPuffin

Jul 20, 2019 12:11 pm

reporter  

HackTest.save (800,489 bytes)

wm46

Jul 20, 2019 5:18 pm

reporter   ~0052287

The bugged code in question, from Fleets.cs line 2058:

                        if ( this.EffectiveSquadCap > 1 )
                        {
                            if ( this.TypeData.IsStrikecraft && World_AIW2.Instance.Player_CurrentShipCapMultiplierStrikeCraft > FInt.One )
                            {
                                this.EffectiveSquadCap = (this.EffectiveSquadCap * World_AIW2.Instance.Player_CurrentShipCapMultiplierStrikeCraft).GetNearestIntPreferringHigher();
                                this.EffectiveSquadCap = (this.EffectiveSquadCap * World_AIW2.Instance.Player_CurrentShipCapMultiplierTurret).GetNearestIntPreferringHigher();
                            }
                        }

Currently the coordinator bonus for turrets will never be applied, as it is stuck under "If ( IsStrikecraft )". Funnily enough, this bug means the turret coordinator actually increases strikecraft count right now, so if you control both the strikecraft and turret coordinator you'll have 1.69 times the normal cap.

Also adjacently related: right now turrets granted by GCAs aren't affected by the mark level cap bonus. A GCA giving 10 MLRS turrets will be increased to 13 if you own a turret coordinator (if it wasn't bugged) but if you upgrade them to Mk7 they will not be increased to 30 turrets.

RocketAssistedPuffin

Jul 20, 2019 5:32 pm

reporter   ~0052288

Nicely found.

I did run into that GCA oddity just now. Does seem strange and unintuitive.

Dominus Arbitrationis

Jul 21, 2019 11:20 am

administrator   ~0052291

Alright, fixed!

I'm going to go ahead and open a new issue for the mark level cap bonus bug, since that's not related to this at all.

Issue History

Date Modified Username Field Change
Jul 20, 2019 12:11 pm RocketAssistedPuffin New Issue
Jul 20, 2019 12:11 pm RocketAssistedPuffin File Added: HackTest.save
Jul 20, 2019 5:18 pm wm46 Note Added: 0052287
Jul 20, 2019 5:32 pm RocketAssistedPuffin Note Added: 0052288
Jul 21, 2019 11:20 am Dominus Arbitrationis Assigned To => Dominus Arbitrationis
Jul 21, 2019 11:20 am Dominus Arbitrationis Status new => resolved
Jul 21, 2019 11:20 am Dominus Arbitrationis Resolution open => fixed
Jul 21, 2019 11:20 am Dominus Arbitrationis Fixed in Version => 0.877 The Strikecraft Goldilocks Zone
Jul 21, 2019 11:20 am Dominus Arbitrationis Description Updated
Jul 21, 2019 11:20 am Dominus Arbitrationis Note Added: 0052291