have you tried the ANTIVERYLIGHT type?
harpo
I have set the attacktype already to "ANTILIGHT" as is indicated in the original post, however the guns will still target other ships, just do less damage then they will fighters. While this is useful, not exactly what I was looking for. I will try the ANTIVERYLIGHT damage type to see if there is any significant change. Though I suspect I will only see a 10% increase in damage to the interceptor as indicated in the gameplay.constants (still a better option then what I have set already though, not quite sure why I didn't set it this way initially).
DamageData
ChanceToHitTargetType:ANTIVERYLIGHT
CAPITALSHIP 1.00000
INTERCEPTOR 0.750000
BOMBER 0.750000
ChanceToHitTargetType:ANTILIGHT
CAPITALSHIP 1.00000
INTERCEPTOR 0.650000
BOMBER 0.75
I could setup a different attack type with a 0 damage to other ships, but that doesn't mean that the guns would not target those ships and try to kill them even though it cannot damage it (as carbon has indicated further up)
why not add the ability "AbletoTagetFighter" to true or something like that
This is already done per the original post (see line 3)
Have you read Ironclads Introduction to modding? If not, I sugest you do.
As already indicated, please re-read the initial post where I already describe changing the abilities files correctly.
Thanks for the replies so far. Glad to see I was not missing something obvious.
Again I really wish that per each damage type you could set additional constraints and an order of priority to help better manipulate the AI. Overall though modding this game has brought many hours of additional enjoyment to the game!