Modding Help Bow damage?

Discussion in 'Starbound Modding' started by MetalArrow, Sep 8, 2016.

  1. MetalArrow

    MetalArrow Subatomic Cosmonaut

    This may be a stupid question, but how do I modify the damage done by a bow? I can't seem to find it anywhere.
     
  2. Violent Pacifist

    Violent Pacifist Void-Bound Voyager

    There should be a "basedps" that you edit.
    "primaryAbility" : {
    "scripts" : ["/items/active/weapons/ranged/gunfire.lua"],
    "class" : "GunFire",

    "fireTime" : [0.3, 0.6],
    >>>>>>>>>>>>>> "baseDps" : [30, 45], <<<<<<<<<<<<
    "energyUsage" : [28.5, 31.5],
    "inaccuracy" : 0.15,

    "burstTime" : 0.075,
    "burstCount" : [4,6],
    "fireType" : ["auto"],

    "projectileParameters" : {
    "knockbackRange" : [4,8]

    I haven't tried anything with bows, could be a guns only thing if that isn't there.
     
  3. BlueLeafeon

    BlueLeafeon Cosmic Narwhal

    The problem with bows is that their damage increases the further the string is drawn. I've edited bows to deal more DPS but this caused fully "charged" bows to do insane amounts of damage.

    The thing you'll be looking for is "Power" instead of DPS.
     
  4. MetalArrow

    MetalArrow Subatomic Cosmonaut

    I did see power, but if i remember correctly it was the same for all the bows.
    Bows do not have a basedps attribute that I've seen.
     
  5. BlueLeafeon

    BlueLeafeon Cosmic Narwhal

    Yeah, that's because bows take longer than a second to fire in most cases. However, I can promise that editing the power will edit damage. I have a bow that can do 200+ at full draw. It's ridiculous.
     
  6. MetalArrow

    MetalArrow Subatomic Cosmonaut

    Okay. That makes sense.
     
  7. Chofranc

    Chofranc Pangalactic Porcupine

    Code:
    //Normal bow have this, since "primaryAbility" is in blank this mean that doesn't have an increment in his base damage
    
      "primaryAbilityType" : "bowshot",
      "primaryAbility" : {
    
      },
    
    //If you want to increase his base damage you need to add this, you can increase the damage of the bow using the power stat of the projectile
    "primaryAbilityType" : "bowshot",
      "primaryAbility" : {
        "projectileType" : "ironarrow",
        "powerProjectileType" : "chargedironarrow",
        "projectileParameters" : {
          "power" : 6.5
        }
      },
    
    //You can increase the base damage of the alt ability too
    
    "altAbilityType" : "zenshot",
      "altAbility" : {
        "projectileType" : "ironarrow",
        "projectileParameters" : {
          "power" : 8.125
        }
      }
    
    //the multiplier for charged shot is in the "leveling" folder
    
    
     
  8. MetalArrow

    MetalArrow Subatomic Cosmonaut

    Thanks!
     

Share This Page