Miniguns - SmArtKar/AthenaFramework GitHub Wiki

Verb_ShootMinigun is an alternative shooting verb which gives the weapon unlimited burst. In order to control your minigun's stats, you need a MinigunExtension

    public class MinigunExtension : DefModExtension
    {
        // Use NonInterruptingSelfCast or else the pawn won't be able to stop bursting

        // Maximum ramp up speed. Deducted from ticksBetweenBurstShots every tick. Should not be lower than ticksBetweenBurstShots
        public float maxSpeed = 5f;
        // Burst speed gain every tick.
        public float speedPerTick = 0.02f;
        // If the gun can only be used when standing still
        public bool standingOnly = true;
        // When set to true, pawn will ignore shotsPerBurst and fire until something stops them.
        public bool unlimitedBurst = true;
    }