-
Notifications
You must be signed in to change notification settings - Fork 3
Miniguns
SmArtKar edited this page Apr 28, 2023
·
1 revision
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;
}- Stats
- Gene Templates
- Pawn Group Utility
- Under Group Combat Pressure Think Node
- Min Prey Body Size
- Modular Things
- Gene Locked Recipes and Buildings
- Additional Gene Drops
- Angle Based Shotguns
- Following ("Running") Beams
- Pawn Turret Extensions
- Damage Modification
- Advanced Tools
- Shockwave Attacks
- Miniguns
- Elite Shot
- AOE Hediff Explosion Projectiles
- Frag Grenades
- Cooldown Graphics
- Scatter Things Ability
- Abilities on Equipment
- Burst Projectile Abilities
- Reloadable Abilities
- Shockwave Ability
- Projectile Comps
- Projectile Impact Effects
- Projectile Trails
- Bouncy Projectiles
- Spawner Projectiles
- Roof Collapse Projectiles
- Scattershot Projectiles
- Custom Body Graphic For Apparel
- Multi Layered Apparel Graphics
- Advanced Equipment Shields
- Equipment with Prerequisites
- Advanced Armor
- Gene-based Apparel Textures
- Gene Locked Equipment
- Additional Apparel Graphics Comps
- Hediff Giver Extension
- Bomb Hediff Comp
- Remove On Severity Comp
- Renderable Hediffs
- Shield Hediffs
- Armored Hediffs
- Disableable Hediffs
- Modular Hediffs
- Hediffs with Prerequisites
- Singular Hediff Abilities
- Hediff On Damage
- Additional Hediff Graphics Comps
- Caching
- IArmored
- IDamageResponse
- IRenderable
- IStageOverride
- IStatModifier
- IProjectile
- IPreventEquip
- IHediffGraphicGiver and IEquippableGraphicGiver
- IDamageModifier
- IColorSelector
- IBodyModifier