Modding Help Marked shot animation

Discussion in 'Starbound Modding' started by fueselwe, Jun 9, 2020.

  1. fueselwe

    fueselwe Scruffy Nerf-Herder

    Quick question:
    I'm trying to make a custom weapon that uses the marked shot secondary from the Teslas Wrath;
    is there a stance assigned to just holding the button down? aiming and selecting the targets?
     
  2. projectmayhem

    projectmayhem Spaceman Spiff

    Code:
    "stances" : {
          "idle" : {
            "armRotation" : 0,
            "weaponRotation" : 0,
            "twoHanded" : true,
    
            "allowRotate" : true,
            "allowFlip" : true
          },
          "fire" : {
            "duration" : 0,
            "armRotation" : 5,
            "weaponRotation" : 5,
            "twoHanded" : true,
    
            "allowRotate" : false,
            "allowFlip" : false
          },
          "cooldown" : {
            "duration" : 0.11,
            "armRotation" : 5,
            "weaponRotation" : 5,
            "twoHanded" : true,
    
            "allowRotate" : false,
            "allowFlip" : false
          }
        }
      },
    These are part of the primary ability { } but I assume they hold true for the secondary fire also, since the weapon ability file has -

    Code:
    "stances" : {
          "cooldown" : {
            "duration" : 0.6,
            "armRotation" : 5,
            "weaponRotation" : 5,
            "twoHanded" : true
          }
        }
     

Share This Page