Well I guess the next question would be if you could somehow modify it so that only one weapon type in any given bank could have more than a single target while the others don't?
Unfortunately, no.
I want to create an ability where a ship will use an energy weapon like a normal weapon. First question is how do I know where the weapon will originate from?
Normally, abilities only have a couple points for their particle effects: center, above, and aura. These are pretty self explanatory. Above shows the particle effect above the ship, aura below, and center originates from the center of the ships.
However, if you take a look at the Marza's Missile Barrage, it has this little bit:
hasWeaponEffects TRUE
weaponEffectOriginType "Targetter"
weaponEffectAttachInfo
attachType "Ability"
abilityIndex 3
weaponEffectImpactOffsetType "RandomMesh"
canWeaponEffectHitHull TRUE
canWeaponEffectHitShields TRUE
weaponEffectsDef
weaponType "Missile"
burstCount 3
burstDelay 0.080000
muzzleEffectName "Weapon_TechCapitalMissileHeavy_Muzzle"
muzzleSoundMinRespawnTime 0.100000
muzzleSounds
soundCount 1
sound "WEAPON_TECHCAPITALMISSILEHEAVY_MUZZLE"
hitEffectName "Weapon_TechCapitalMissileHeavy_Hit"
hitHullEffectSounds
soundCount 1
sound "WEAPONIMPACT_MISSILEHEAVY_HITGENERIC"
hitShieldsEffectSounds
soundCount 1
sound "WEAPONIMPACT_MISSILEHEAVY_HITGENERIC"
missileTravelEffectName "Weapon_TechCapitalMissileHeavy_Travel"
missileStartTurningDistance 300.000000
missileSlowTurnRate 0.708997
missileMaxSlowTurnTime 4.000000
And as you would expect the missiles come out of the Marza's missile bays on the side of the ship. You probably could use something similar for your ability.
Second question is can I somehow tie this into a reduced shield mitigation factor? I was thinking along the lines of each time you use the weapon shield mitigation will be reduced for a period of time. In science fiction it's pretty typical to transfer power from weapons to shields etc., I want to do the opposite. Is this possible? Even if it was something to the effect of each time the ship uses this weapon it will eat it's own shield points. Hopefully this makes sense.
Well, you can attach abilities to weapon shots (see Vulkoras' siege upgrade ability, or Javelis' cluster warheads). An ability can also do more than one thing, so in theory you should be able to have this effect with your weapon-like ability. The Vasari Subverter cruiser has an ability that reduces mitigation, if you need the modifier for that.