Modding Help Creating a spread projectile

Discussion in 'Starbound Modding' started by Monijir, Feb 4, 2017.

  1. Monijir

    Monijir Scruffy Nerf-Herder

    I'm still working on variant monsters and tweaking them. For some of them I've added projectile that are just there to split into multiple projectiles. It seems to offset the point of origin. Anybody see a problem with the way this is set up?
    Code:
    {
      "projectileName" : "cryopodbreath",
      "timeToLive" : 0.1,
        "image" : "/projectiles/invisibleprojectile/invisibleprojectile.png",
      "actionOnReap" : [
        {
          "action" : "projectile",
          "type" : "icethrower",
          "parameters" : {},
          "inheritDamageFactor" : 0.3,
          "angleAdjust" : 15
        },
        {
          "action" : "projectile",
          "type" : "icethrower",
          "parameters" : {},
          "inheritDamageFactor" : 0.3,
          "angleAdjust" : 0
        },
        {
          "action" : "projectile",
          "type" : "icethrower",
          "parameters" : {},
          "inheritDamageFactor" : 0.3,
          "angleAdjust" : -15
        }
      ],
      "power" : 1,
      "damageType" : "NoDamage",
      "damageKind" : "default"
    }
    
    I'm pretty happy with this monster otherwise even learned to modify behaviors so I can get a swoop attack intended to pass over the player rather than charge into them. Could still stand some tweaking though.
     
  2. Monijir

    Monijir Scruffy Nerf-Herder

    Nevermind, just needed to set
    Code:
    "speed" : 0,
    
     

Share This Page