Gauss module to target fighters only
So I have looked all over the forum and simply cannot figure out this one problem. I am trying to create a new module type that can ONLY attack fighters, not other ships.
Q: How do I limit the damage to one type of object, in this case a fighter?
Here is what I have done so far....
- Created a new planet module type calld anti-fighter gauss weapon
- limited that weapon to have 0 damage and only 1 target on the front bank
- set the CanFireAtFighter TRUE
- created a new ability called "antifighter" in which I have the following...
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 1
object "Fighter"
numSpaces 1
space "Normal"
numConstraints 0
However when I try to force the gun to target and shoot an enemy fighter I get a "ability cannot target this type of object" message. What is interesting is if I change the weapon banks to do damage, lets say 4 banks at 50 each with 1 target per bank, the guns will absolutely decimate the fighters, however this is AFTER they tear through all the frigates (I have the attack type set to "ANTILIGHT".
Hopefully someone has come across this. I wish there was a way to change the targets and priorities of the turrets like you can in the ability (and there does not appear to be a "FIGHTER" constraint anywhere ![]()