Projectile Offset Framework
For use by modders.
Allows turrets to shoot projectiles from multiple different positions, as though they had several barrels.
To use, add the following node to your Turret ThingDef's comps node:
<li Class="ProjectileOffset.CompProperties_ProjectileOffset">
<offsets>
<li>(-1,0,0.5)</li>
<li>(0,0,1)</li>
<li>(1,0,0.5)</li>
</offsets>
</li>
Where 'offsets' is a list of Vector3s that define the position of a barrel relative to the Turret itself.
(0, 0, 0) is the middle of the turret.
The x value defines the vertical offset, where a negative value pushes the offset upwards on the gun sprite, and a positive value downwards.
The z value defines the horizontal offset, where a positive value pushes the offset towards the right on the gun sprite, and a positive value towards the left.