Modding Help Gun Modding - Working out DPS, Rof, DpS and EpS

Discussion in 'Starbound Modding' started by Shotgun75, Aug 23, 2014.

  1. Shotgun75

    Shotgun75 Scruffy Nerf-Herder

    I'm having a go at creating some guns and I'm having a spot of bother working out, with some precision, how to control DPS, Rate of Fire, Damage per Shot and Energy per Shot.

    I can work out how to get those values roughly where they need to be but i'd like to understand how use them properly.

    Here is the code for one of guns I'm working on, I've worked out that Its these values which are the ones I'm interested in (I think!) and that they seem to work in combination with each other but I could use some help understanding them better..

    "spread" : 1,
    "accuracy" : 30,
    "recoilTime" : 0.1,
    "fireTime" : 0.10,
    "multiplier" : 0.05,
    "classMultiplier" : 0.80,
    "projectile" : {"power" : 0.90,"speed" : 100,"color" : [10, 255, 10]},

    Code:
    {
    "itemName" : "P-AR1a",
    "inventoryIcon" : "P-AR1aicon.png",
    "image" : "P-AR1a.png",
    "shortdescription" : "P-AR1a 'Grease Gun'",
    "weaponType" : "Assault Rifle",
    "description" : "Assault Rifle",
    "level" : 1,
    "rarity" : "Common",
    "inspectionKind" : "gun",
    "maxStack" : 1,
    "dropCollision" : [-8.0, -3.0, 8.0, 3.0],
    "handPosition" : [-3.5, -3],
    "firePosition" : [20, 2],
    "twoHanded" : true,
    "spread" : 1,
    "accuracy" : 30,
    "recoilTime" : 0.1,
    "fireTime" : 0.10,
    "multiplier" : 0.05,
    "classMultiplier" : 0.80,
    "projectileType" : "PSEbullet-2",
    "projectile" : {"power" : 0.90,"speed" : 100,"color" : [10, 255, 10]},
    "muzzleEffect" : {"animation" : "/animations/muzzleflash/PSEbulletmuzzle3/PSEbulletmuzzle3.animation",
    "fireSound" : [ { "file" : "/sfx/ar1.wav" } ]  }
    }
     

Share This Page