View Issue Details

IDProjectCategoryLast Update
0027020AI War 2SuggestionApr 20, 2022 12:43 am
ReporterDaniexpert Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
Product Version4.023 Beacon Expansiveness 
Fixed in Version4.025 Lightning Conduction 
Summary0027020: Beacon hacks add multiple identical factions with the same colour
DescriptionIt would be nice to have the colours of the factions be a custom_field so it can be edited from the beacon hacks XML, so when adding two identical factions of different allegiances, they have different colours.
TagsNo tags attached.

Activities

BadgerBadger

Apr 18, 2022 12:01 am

manager   ~0066112

Given that there's an easy workaround via the Edit Factions window, not sure this is worth the effort

Daniexpert

Apr 18, 2022 6:20 pm

manager   ~0066118

I had the same thought. I'll leave it open in case someone comes up with an easy idea to implement.

BadgerBadger

Apr 18, 2022 9:09 pm

manager   ~0066121

Depending on how the faction is added, if you look at
        public ConfigurationForFaction AddFaction( SpecialFactionData factionData, bool CauseRegenerationOfMap, ConfigurationForFaction OtherFactionToCopySettingsFrom )

in World_AIW2.cs

you'll see theres a function to make the faction chosen have a random colour.

BadgerBadger

Apr 20, 2022 12:43 am

manager   ~0066157

Beacon factions should now spawn with a random colour that's hopefully not to close to any other faction in the game.

Issue History

Date Modified Username Field Change
Apr 17, 2022 6:24 pm Daniexpert New Issue
Apr 18, 2022 12:01 am BadgerBadger Note Added: 0066112
Apr 18, 2022 6:20 pm Daniexpert Note Added: 0066118
Apr 18, 2022 6:20 pm Daniexpert Assigned To => Daniexpert
Apr 18, 2022 6:20 pm Daniexpert Status new => feature for later
Apr 18, 2022 6:20 pm Daniexpert Assigned To Daniexpert =>
Apr 18, 2022 9:09 pm BadgerBadger Note Added: 0066121
Apr 20, 2022 12:43 am BadgerBadger Assigned To => BadgerBadger
Apr 20, 2022 12:43 am BadgerBadger Status feature for later => resolved
Apr 20, 2022 12:43 am BadgerBadger Resolution open => fixed
Apr 20, 2022 12:43 am BadgerBadger Fixed in Version => 4.025 Lightning Conduction
Apr 20, 2022 12:43 am BadgerBadger Note Added: 0066157