Modding Help [Fixed!] Custom Projectiles for Custom Melee Alt Weapon Ability

Discussion in 'Starbound Modding' started by AudioFox, Jan 2, 2018.

Tags:
  1. AudioFox

    AudioFox Big Damn Hero

    I am trying to do custom projectiles for a custom melee alt attack, the alt melee attack is based off of kunaiblast.

    Problem(s) I am encountering: Cannot seem to call the custom .weaponability

    What I have done: New .weaponability and changed the new .weaponability type, and added new coords for projectile time and angles
    ex (.weaponability) :

    "ability" : {
    "name" : "Kunai Blast",
    "type" : "customblast",
    "scripts" : ["/items/active/weapons/melee/abilities/broadsword/kunaiblast/kunaiblast.lua"],
    "class" : "KunaiBlast",

    "projectileTimesAndAngles" : [
    [0.02, -20],
    [0.10, -35],
    [0.14, -40],
    [0.18, -50]

    It seems that if I do (.activeitem) :

    "altAbilityType" : "customblast",

    It just "forgets" its alt attack.
    Help would be much appreciated, even if its a template that's fine too
     

Share This Page