Only attack Capitals?

Simple question - is there a way to make a specific weapon type on a ship only target specific types of ships? For example, I want a Battlecruiser with a long, drawn-out beam volley to only target enemy capital ships with it.

 

It's surprisingly hard to find anything on the forum related to subjects like this... the search button in the modding forum specifically seems to do utterly nothing, I have to use the one at the base directory of the forum. Which nets mostly balancing topics or old patch notes whenever I look for entity entries.

 

/edit

 

Also while I'm here - does weapon cooldown begin immediately or after all hardpoints are used?

6,176 views 4 replies
Reply #1 Top

I'm not a programmer but it will seem that if you use the same coding when ships attack planets could be used to attack specfic ships....

Reply #2 Top

Attacking planets is an entirely different thing than the weapons used for ship vs ship combat, unfortunately.

 

I think if I set a damage type to have 0.0 damage vs all units of everything but capitals it might make the AI not shoot. Or it just might make them do no damage. Since Fighters require a very specific setting to target...

Reply #3 Top

Simple question - is there a way to make a specific weapon type on a ship only target specific types of ships? For example, I want a Battlecruiser with a long, drawn-out beam volley to only target enemy capital ships with it.
End of quote

Put simply, no unless you want the weapon to be an ability and then you could target CapitalShips separately from frigates. As your aware the only way to simulate this would be to tweak the damage modifiers in the game play constants. However, you won't be able to keep an normal weapon from firing on non-capitalships.

I've thought about giving CapitalShips the COMPOSITE AttackType for most weapons in my mod and limiting the CAPITALSHIP damage type for anti-capitalship weapons.

Also while I'm here - does weapon cooldown begin immediately or after all hardpoints are used?
End of quote

Weapon cooldowns begin immediately is my understanding. When the damage is applied is based on the DamageApplyType.

Reply #4 Top

Alright. Thanks for the information. I'll have to restructure how I planned to handle these beam attacks - the long volley commonly clipped through the hull when it engaged small targets and they died part-way through. So I just made every beam weapon fire at once.

 

The cooldown thing solves a question I had for a long time. "Why is the Wormwood doing 10k DPS??? Oh, the cooldown is ending within 10 shots of its first volley... and it does 2500 a volley..."