View Issue Details

IDProjectCategoryLast Update
0025687AI War 2Bug - OtherJan 12, 2022 6:19 pm
ReporterRocketAssistedPuffin Assigned To 
Severityminor 
Status resolvedResolutionfixed 
Product VersionBeta 3.712 Loading Hotfix 
Fixed in VersionBeta 3.784 Tractor Recursion 
Summary0025687: "PercentOfWaveBudgetThatCanBeGuardian" does not appear to function.
Description                if ( factionExternal.AIDifficulty.PercentOfWaveBudgetThatCanBeGuardian > FInt.Zero )
                {
                    MaxGuardianStrength = (budget * factionExternal.AIDifficulty.PercentOfWaveBudgetThatCanBeGuardian).GetNearestIntPreferringHigher();
                }

WavesHelper.cs, line 200.

The value "PercentOfWaveBudgetThatCanBeGuardian" set on AI difficulties in XML is always a decimal, which seems to be rounded up, so there is never a working limit.
TagsNo tags attached.

Activities

RocketAssistedPuffin

Oct 27, 2021 8:16 pm

reporter   ~0063016

Some extra testing. Ended up finding that another bit of the code in Core related to this only works on AIGuardian special entity types, so in Classic Fusion I swapped every Starship over. No change, still getting them appearing.

Went to vanilla game, set Difficulty 10 to have 0% Guardians allowed. Started game, used 'instawaves' command, wave still had Guardians in it.

So this doesn't appear to ever work.

BadgerBadger

Jan 12, 2022 6:19 pm

manager   ~0063753

Can be returned, per puffin

Issue History

Date Modified Username Field Change
Oct 27, 2021 9:50 am RocketAssistedPuffin New Issue
Oct 27, 2021 8:16 pm RocketAssistedPuffin Note Added: 0063016
Jan 12, 2022 6:19 pm BadgerBadger Status new => resolved
Jan 12, 2022 6:19 pm BadgerBadger Resolution open => fixed
Jan 12, 2022 6:19 pm BadgerBadger Fixed in Version => Beta 3.784 Tractor Recursion
Jan 12, 2022 6:19 pm BadgerBadger Note Added: 0063753