Toll
Oct 30, 2010 3:13 pm
reporter
|
|
|
|
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. |
|
|
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. |
|
|
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. |
|
|
Ahhhh. Right. Carry on. :) |
|