How do you make it so a ship can fire the HV gun instead of a proton beam?
Uh... Open HardPoints.xml and change the projectile of the HP you want to Proj_Hypervelocity_Gun, but since there's a commentary on this projectile code saying to use it only in Special Structures, I suggest to make a new entry for a projectile (copy the turbolaser one as base) and change it's model, remove the tags related to 'texture slot etc' and put HV Projectile caracteristics on it. ;D
But wouldn't that mean the gun fired automaticly like a normal turbolaser?
Just realised It wouldnt if it had HV Projectile caracteristics.
How do you sort out the charicteristics?
i dont know where the data for the beam is, find that then we can probably help, try ***LIGHTNINGEFFECTTYPES.XML***
No, the data for the beam is in the own unit XML. Check the end of Piett's code. You can change the Energy Beam color in GameConstants (I made mine light blue as the SPHA-T turbolaser ^^).
Not what I was hoping for but thanks anyway!