View Issue Details

IDProjectCategoryLast Update
0020370AI War 2Bug - GameplaySep 27, 2018 6:48 pm
ReporterZeusAlmighty Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.775 Unit Stacking 
Fixed in Version0.776 A Legible Galaxy Map 
Summary0020370: map gen failure due to orbital mass driver
DescriptionLog report from devourer golem not being placeable due to OMD;

9/26/2018 5:48:09 PM Failed to find planet to seed DerelictGolemNotBotnet
Count=3
GalaxyPlanetCount=80
AIHomeworldCount=1
HumanHomeworldCount=1
OpenPlanetCount=0
BlockedPlanetCount=78
PlanetsBlockedBy:=Orbital Mass Driver
TagsNo tags attached.

Activities

BadgerBadger

Sep 26, 2018 9:30 pm

manager   ~0049524

I think NormalPlanetNastyPick shouldn't block faction seeding.

ZeusAlmighty

Sep 26, 2018 10:10 pm

manager   ~0049526

probably a rationale that if a certain faction spawned on a planet with a doomcannon they might not be able to get off the ground. Might have unintended consequences is that fix

BadgerBadger

Sep 27, 2018 11:58 am

manager   ~0049538

Ahhh. So here's what I guess is happening. On higher AI difficulties a very large % of planets have NormalPlanetNastyPick units (like Ion Cannon, Eye, Mass Driver), up to 80% on difficulty 10.

However, we are blocking Faction Seeding on planets with such units:
            Mapgen_SeedSpecialEntities( Context, galaxy, FactionType.AI, "NormalPlanetNastyPick", Math.Max( 1, galaxy.Planets.Count / (100/highestDifficulty.PercentNastyPlanet) ), MapGenBlocking.BlocksAndIsBlocked, 3, 1, PlanetSeedingZone.MostAnywhere ); <=== We are using MapGenBlocking.BlocksAndIsBlocked for this

I don't really see a good reason not to seed a derelict Golem or a Mercenary Beacon on a planet with an ion cannon.

Chris_McElligottPark

Sep 27, 2018 5:01 pm

administrator   ~0049547

Thank you both!

* Fixed it up so that "normal planet nasty picks" don't block larger faction things from seeding. These were causing map generation failures on higher difficulty levels.

RocketAssistedPuffin

Sep 27, 2018 6:16 pm

reporter   ~0049557

I wonder if this is what was making the game seed everything next to you? I don't think the nearby planets to your homeworld can get nasty picks...so it filled up the far away ones and then overpopulated the ones beside you?

I don't recall seeing a nasty pick on any factions planet...we'll see. It's just a theory. Though it clashes with the error messages.

As for the Doomcannon vs Faction deal, I don't think they particularly suffer at all. I made some changes specifically to avoid that, I hope.

Chris_McElligottPark

Sep 27, 2018 6:48 pm

administrator   ~0049563

Ah! That's probably what it was, yes!

I imagine that I wasn't seeing it because I didn't have the difficulty set high enough.

Issue History

Date Modified Username Field Change
Sep 26, 2018 8:51 pm ZeusAlmighty New Issue
Sep 26, 2018 9:30 pm BadgerBadger Note Added: 0049524
Sep 26, 2018 10:10 pm ZeusAlmighty Note Added: 0049526
Sep 27, 2018 11:58 am BadgerBadger Note Added: 0049538
Sep 27, 2018 12:06 pm BadgerBadger Assigned To => Chris_McElligottPark
Sep 27, 2018 12:06 pm BadgerBadger Status new => assigned
Sep 27, 2018 5:01 pm Chris_McElligottPark Status assigned => resolved
Sep 27, 2018 5:01 pm Chris_McElligottPark Resolution open => fixed
Sep 27, 2018 5:01 pm Chris_McElligottPark Fixed in Version => 0.776 A Legible Galaxy Map
Sep 27, 2018 5:01 pm Chris_McElligottPark Note Added: 0049547
Sep 27, 2018 6:16 pm RocketAssistedPuffin Note Added: 0049557
Sep 27, 2018 6:48 pm Chris_McElligottPark Note Added: 0049563