View Issue Details

IDProjectCategoryLast Update
0000973AI War 1 / ClassicBug - OtherNov 9, 2010 9:38 am
ReporterToll Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version4.021 
Summary0000973: When multiple forcefields cover the same target, the wrong one is damaged.
DescriptionI think the screenshot explains this better than I ever would. In essence, it seems as if the forcefields take damage as if the attacks came from the opposite side.
TagsNo tags attached.
Internal Weight

Activities

Toll

Oct 30, 2010 3:13 pm

reporter  

keith.lamothe

Oct 30, 2010 3:16 pm

administrator   ~0002388

The game does its best to ensure that if a forcefield is entirely within another forcefield that the outer one takes the damage. But if neither is a proper subset of the other it doesn't try to figure it out, it would take too much cpu in lots-of-ffs cases.

Draco18s

Nov 8, 2010 6:18 pm

developer   ~0003001

Keith: I wonder. Would it be possible to know if the edges of two FFs are in roughly the same place and apply damage to the one that is nearer to the firing ship?

Should only need a little distance/geometry math to determine if two FFs have tangential (or nearly tangential) edges based on their HP->radius and then which FF is closer to the shot origin (which would be two distance formulas).

Alternatively you could apply damage to the larger force field when it fails the subset check.

keith.lamothe

Nov 9, 2010 7:38 am

administrator   ~0003049

The forcefield damaged is the forcefield assigned to the target, and that assignment happens without any consideration of hostile ships or incoming shots. Therefore, it can't be directional. It can and does detect "this ff is entirely within that ff" and switch to the latter, though even that may not work perfectly as the update doesn't happen every frame.

Draco18s

Nov 9, 2010 9:38 am

developer   ~0003064

Ahhhh. Right. Carry on. :)

Issue History

Date Modified Username Field Change
Oct 30, 2010 3:13 pm Toll New Issue
Oct 30, 2010 3:13 pm Toll File Added: Screenshot_2010_10_30_21_11_05.png
Oct 30, 2010 3:16 pm keith.lamothe Note Added: 0002388
Oct 30, 2010 3:16 pm keith.lamothe Status new => resolved
Oct 30, 2010 3:16 pm keith.lamothe Resolution open => fixed
Oct 30, 2010 3:16 pm keith.lamothe Assigned To => keith.lamothe
Nov 8, 2010 6:18 pm Draco18s Note Added: 0003001
Nov 9, 2010 7:38 am keith.lamothe Note Added: 0003049
Nov 9, 2010 9:38 am Draco18s Note Added: 0003064