View Issue Details

IDProjectCategoryLast Update
0025041AI War 2Bug - GameplayMar 9, 2022 5:13 pm
ReporterGreatYng Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version3.002 More Tweaks 
Fixed in Version4.003 A Bit Too Chromatic Horrifying 
Summary0025041: Unique ship types erroneously assigned to waves of wrong AI type
DescriptionDirectly related to this https://bugtracker.arcengames.com/view.php?id=23455.
I wanted to see if it would affect all the new AIs with unique ships, so I did a quick test game. Can confirm it does (barring the reconquered planets bit; I haven't gotten around to testing that yet).

I did a quick test game with a Reservist and a Spire Hammer, and of the first five or so waves, two of them were Reservist with Spire ships. Obviously, Reservists aren't supposed to get those.
TagsNo tags attached.

Activities

GreatYng

May 22, 2021 2:45 pm

reporter  

Reservist Spire 2.save (337,548 bytes)
Reservist Spire.save (340,329 bytes)

GreatYng

Mar 5, 2022 2:37 pm

reporter   ~0065140

I decided to check and see if this was still a thing that happens. It is.
I received a Royal quadratic wave.
I take it this would mean later game quadratic waves can be even scarier than usual, because they can contain unique ships?
Wrong ships in wave.save (323,206 bytes)

Chris_McElligottPark

Mar 9, 2022 12:21 pm

administrator   ~0065308

Okay, I know what's happening, I think. Essentially, each planet has a limited set of ships that can be launched from it, and that's based on the original planet owner. This is done to keep the game from just being completely chaotically the same all the time. However, any AI can launch a wave from any planet, even planets they don't own, so this would cause issues of them picking unique types from the planet they are launching from. Additionally there's the problem with the reconquest stuff if it changes hands, but at core this is what is up.

I'll have to take a look at this, thanks for the reminders over so many years.

GreatYng

Mar 9, 2022 2:41 pm

reporter   ~0065319

Just trying to help in my own way. It's been about 10 months since I reported this issue and I still felt like I was pushing too hard for a fix to this issue, with how much work you've been putting into this amazing game.

Chris_McElligottPark

Mar 9, 2022 4:56 pm

administrator   ~0065323

No problem! This isn't the whole thing, but it's part of it:

* When a planet is taken over by a new AI (from reconquest seeding via an Usurper), it's possible that a new AI is moving in compared to the AI that originally owned the planet. Either way, it now shuffles around the types of units to spawn there based on the AI taking over, so that the planet will have a fresh set of units that it prefers to seed there.
** When it comes to the same AI taking over, this is not really a big deal, but makes for some minor variety. When it's a different AI taking over, this is actually a really big deal, because the new AI type might not be intended to use the same ship types as the first AI type.

Chris_McElligottPark

Mar 9, 2022 5:13 pm

administrator   ~0065324

Thank you!

* In multi-AI games, it's possible for AIs to launch waves or border aggression from planets that belong to other AIs. Normally border aggression or wave contents is determined by the AI groups chosen at that planet, but when it's from a different AI, it may not be intended to share that AI group. In those cases, it now finds a different random AI group that it is supposed to have to use to populate the wave or the border aggression.
** In multi-AI games, this should keep AIs with unique ship types from sharing those with their partner (or enemy) AIs that coexist with them.
** This, like the other adjustment to AIs after reconquest seeding, is untested but should work.

Issue History

Date Modified Username Field Change
May 22, 2021 2:45 pm GreatYng New Issue
May 22, 2021 2:45 pm GreatYng File Added: Reservist Spire 2.save
May 22, 2021 2:45 pm GreatYng File Added: Reservist Spire.save
Mar 5, 2022 2:37 pm GreatYng Note Added: 0065140
Mar 5, 2022 2:37 pm GreatYng File Added: Wrong ships in wave.save
Mar 9, 2022 12:21 pm Chris_McElligottPark Note Added: 0065308
Mar 9, 2022 2:41 pm GreatYng Note Added: 0065319
Mar 9, 2022 4:56 pm Chris_McElligottPark Note Added: 0065323
Mar 9, 2022 5:13 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Mar 9, 2022 5:13 pm Chris_McElligottPark Status new => resolved
Mar 9, 2022 5:13 pm Chris_McElligottPark Resolution open => fixed
Mar 9, 2022 5:13 pm Chris_McElligottPark Fixed in Version => 4.003 A Bit Too Chromatic Horrifying
Mar 9, 2022 5:13 pm Chris_McElligottPark Note Added: 0065324