You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fighters (the objects, not the "Teeny Fighter" ships) don't have a SystemId attribute and therefore can attack ships that are in another system. The fighters appear to swarm around and fire at nothing in their system while the target ship in the other system appears to be taking fire (and damage) from all over with no visible combatants (plenty of tracers, though!).
This can be observed in the attached save file, where a swarm of fighters fly around and shoot at apparently nothing in NG4 while the Bethlehem Steel takes fire in the STARGATE system.
I've just started looking into this one and I was just wondering whether these steps might also cause the problem:
Start with two friendly ships in one system.
Start a battle with a ship with hostile fighters.
Jump your friendly ship that is being targetted by the fighters to another system.
The fighers continuing to target that ship even though it's not there.
The fighters do know which system they're in, this is because the way it's structured is that fighters are world objects that belong to a layer ( a free space layer, when they're launched) and layers have system ids.
You know, I probably should have considered inheritance more strongly since the logistics drones clearly know whether their target is in the same system or not while also lacking a SystemId attribute.
I will see if I can get repro this with the proposed alternative steps. Yep, that works, too.
Description
Fighters (the objects, not the "Teeny Fighter" ships) don't have a SystemId attribute and therefore can attack ships that are in another system. The fighters appear to swarm around and fire at nothing in their system while the target ship in the other system appears to be taking fire (and damage) from all over with no visible combatants (plenty of tracers, though!).
This can be observed in the attached save file, where a swarm of fighters fly around and shoot at apparently nothing in NG4 while the Bethlehem Steel takes fire in the STARGATE system.
FighersAttackingShipInAnotherSystem.space.zip
Flavour affected
Steam
Operating System
Mac OS X
Version
Alpha 7
Is it something that used to work before?
N/A, multi-system simulation did not exist before Alpha 7
Expected behavior
Fighters should not be aware of ships in another system or attack them.
Actual behavior
Fighters are aware of ships in another system and attack them.
Repro steps
The text was updated successfully, but these errors were encountered: