Projectile Modifier

Modifies the projectile config of a weapon

  Projectile_Modifier:

    # ProjectileSettings modifiers
    Override_Projectile_Settings: <ProjectileSettings>
    Gravity: <DoubleModifier>
    Minimum_Speed: <DoubleModifier>
    Maximum_Speed: <DoubleModifier>
    Max_Alive_Ticks: <IntModifier>
    Drag:
      Base: <DoubleModifier>
      In_Water: <DoubleModifier>
      When_Raining_Or_Snowing: <DoubleModifier>
    
    # Sticky modifiers
    Override_Sticky: <Sticky>

    # Through modifiers
    Override_Through: <Through>
    Maximum_Through_Amount: <DoubleModifier>
    
    # Bouncy modifiers
    Override_Bouncy: <Bouncy>
    Maximum_Bounce_Amount: <IntModifier>

Override_Projectile_Settings

Completely overrides the projectile settings (See Projectile) of the shot projectile.

Gravity

Modifies the Projectile of the projectile, how fast it accelerates downwards over time.

Minimum_Speed

Modifies the Projectile Speed of the projectile.

Maximum_Speed

Modifies the Projectile Speed of the projectile.

Maximum_Alive_Ticks

Modifies the Projectile of the projectile. This can be used to make the projectile last for a shorter or longer amount of time. This can be used to create longer range laser weapon attachments, or similar.

Drag

Modifies the Projectile constants of the projectile. Remember that a drag of 1.0 is actually no drag at all. A number like 0.98 will slow the projectile down a little bit over time.

  • Base -> When not in water, and not in the rain.

  • In_Water -> When the projectile is traveling through water.

  • When_Raining_Or_Snowing -> When it is raining.

Subtly Increase Drag Example

This example increases the drag of the projectile. This should be used for suppressors or other muzzle attachments.

    Projectile_Modifier:
      Drag:
        Base: MULTIPLY 0.98        

Override_Sticky

Completely overrides the current Sticky settings. This should probably only be used on explosive weapons.

Override_Through

Completely overrides the current Through settings.

Maximum_Through_Amount

Modifies the Through of the through settings. This can be used to create ammunition that pierces through more walls/entities.

Override_Bouncy

Completely overrides the current Bouncy settings.

Maximum_Bounce_Amount

Modifies the Bouncy of the bouncy settings.

Last updated