Modding Help Help me add frames to a gun!

Discussion in 'Starbound Modding' started by Magma Claw, Dec 18, 2013.

  1. Magma Claw

    Magma Claw Existential Complex

    So heres the script:

    {
    "itemName" : "Pistol",
    "inventoryIcon" : "Pistolicon.png",
    "shortdescription" : "Pistol",
    "description" : "Pistol from HALO",
    "dropCollision" : [-8.0, -3.0, 8.0, 3.0],
    "maxStack" : 1,
    "level" : 100,
    "rarity" : "Rare",
    "inspectionKind" : "gun",
    "image" : "PlasmaPistol.png:<frame>",
    "frames" : 2,
    "animationCycle" : 1.0,
    "recoilTime" : 0.05,
    "handPosition" : [-6, 0.5],
    "firePosition" : [11, -0.5],

    "fireTime" : 0.20,
    "twoHanded" : true,
    "projectileType" : "PlasmaPistolProjectile",
    "projectile" : {
    "power" : 80,
    "speed" : 70,
    "color" : [10, 255, 10]
    },
    "muzzleEffect" : {
    "animation" : "/WeaponCrate/Guns/HaloNeedler/muzzleflash/Needler.animation",
    "fireSound" : [ { "file" : "/sfx/gun/plasma_ar2.wav" } ]
    }
    }

    what I want is for the animation to work!, but the way I doesnt seem to work! Pwease help!
     
  2. Magma Claw

    Magma Claw Existential Complex

    Its meant to be liek the chicken gun mod, when fired the weapon is animated
     

Share This Page