View Issue Details

IDProjectCategoryLast Update
0021006AI War 2Bug - GameplayDec 17, 2019 3:18 pm
ReporterAnnoyingOrange Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
Product Version0.816 Aggressive Busting and Stacking 
Fixed in Version1.018-1.021 Methodical Achievement 
Summary0021006: Artillery golem prioritizes the wrong targets?
DescriptionI attacked a planet with carrier starships, and the enemy artillery golem wasted several shots on the drones produced by my starships.
I then captured an artillery golem myself and tested it against some carrier guardians, with similar results.
TagsNo tags attached.

Activities

wm46

Mar 11, 2019 3:51 pm

reporter   ~0050970

Maybe there should be an XML tag like engine damage as priority, except for high health as priority. Then in the absence of high mass targets it would still sort the units by how much hp they have.

AnnoyingOrange

Mar 11, 2019 4:04 pm

reporter   ~0050971

That sounds a bit hacky, wouldn't it be cleaner to automatically ignore expected overkill damage when looking at potential targets?
In any case the carrier starships have 5tx mass, enough to trigger the damage bonus.

BadgerBadger

Mar 21, 2019 12:32 am

manager   ~0051026

Last edited: Mar 21, 2019 12:35 am

I think all things being equal, a unit should try to not dramatically overkill targets with their shots. Maybe something like "decrease my desire to shoot a unit if the shot would do 2x that unit's health", or "if (damage > unit's total health) Importance /= (damage/total health)". So if a shot would do 3x a unit's total health, divide the desire to shoot that unit by 3.

If a unit is going to be doing tons of damage from each shot, don't waste it.

BadgerBadger

Mar 21, 2019 12:43 pm

manager   ~0051031

Any chance someone has a save game sitting around that would let me test changes in this area?

wm46

Mar 22, 2019 1:23 am

reporter   ~0051032

It wasn't laying around really, but there was an artillery golem next to a world on one of the saves I abandoned.

I also happened to maybe see two different bugs in passing, so that works for me too. Maybe if I report enough bugs I'll be able to win a prize.
Artillery Golem.save (3,370,787 bytes)
Artillery Golem.savemet (66 bytes)   
SI
339531101
16613
No NanoDicks Please
Fortress Baron
Difficulty 8
Artillery Golem.savemet (66 bytes)   

BadgerBadger

Mar 22, 2019 6:56 am

manager   ~0051035

Thanks for the save! You've got a ways to go before you are leading in the bugs-opened department though ;-) https://bugtracker.arcengames.com/plugin.php?page=MantisGraph/reporter_graph.php

BadgerBadger

Dec 17, 2019 3:37 am

manager   ~0055017

I might have a potential fix of some sort in my sandbox

BadgerBadger

Dec 17, 2019 3:18 pm

manager   ~0055028

I've put in a bit of an improvement for this sort of thing. If there are still problems then please open a new ticket with a save game for me to look at.

Issue History

Date Modified Username Field Change
Mar 11, 2019 2:11 pm AnnoyingOrange New Issue
Mar 11, 2019 3:51 pm wm46 Note Added: 0050970
Mar 11, 2019 4:04 pm AnnoyingOrange Note Added: 0050971
Mar 21, 2019 12:32 am BadgerBadger Note Added: 0051026
Mar 21, 2019 12:34 am BadgerBadger Note Edited: 0051026
Mar 21, 2019 12:35 am BadgerBadger Note Edited: 0051026
Mar 21, 2019 12:43 pm BadgerBadger Note Added: 0051031
Mar 22, 2019 1:23 am wm46 File Added: Artillery Golem.save
Mar 22, 2019 1:23 am wm46 File Added: Artillery Golem.savemet
Mar 22, 2019 1:23 am wm46 Note Added: 0051032
Mar 22, 2019 6:56 am BadgerBadger Note Added: 0051035
Dec 17, 2019 3:37 am BadgerBadger Note Added: 0055017
Dec 17, 2019 3:18 pm BadgerBadger Assigned To => BadgerBadger
Dec 17, 2019 3:18 pm BadgerBadger Status new => resolved
Dec 17, 2019 3:18 pm BadgerBadger Resolution open => fixed
Dec 17, 2019 3:18 pm BadgerBadger Fixed in Version => 1.018-1.021 Methodical Achievement
Dec 17, 2019 3:18 pm BadgerBadger Note Added: 0055028