Modding Help Gun elements question

Discussion in 'Starbound Modding' started by xxCygnus13xx, May 8, 2017.

  1. xxCygnus13xx

    xxCygnus13xx Scruffy Nerf-Herder

    Hello,

    I was wondering if elements for guns only come from the "elementType" field found on the activeitem, or does the effects/damage come from the "damageType" field on projectile, or is it a combination of both?

    Thanks.
     
  2. Sparklink

    Sparklink Ketchup Robot

    It can come from the elementType the damageType and even the projectile itself. Take the Dragon Head Pistol for example; if you were to give a gun with no element and give it that projectile it will inflict fire damage when the projectile hit it.
     
  3. lazarus78

    lazarus78 The Waste of Time

    The elementtype will define which element icon to show, and in the case of tendon weapons, will dictate which set of projectiles to use for the regular fire and ability fire.
     

Share This Page