Modding Help Spawning Projectiles from Projectiles

Discussion in 'Starbound Modding' started by Dakrhunter30, Jul 20, 2017.

  1. Dakrhunter30

    Dakrhunter30 Scruffy Nerf-Herder

    I know how to spawn projectiles from other Projectiles with angles and such but i would like to know if it's possible to spawn a projectile "next to" the primary projectile and or make it interact with the primary one. In other words, shoot a projectile upwards and after a delay it spawns two projectiles in one of two ways:
    1st: one to the right and one to the left of the primary projectile making it 3 flying in the same direction
    2nd: make the two new projectiels circle around the primary one

    I know i could spawn an invisible projectile with angle 90degrees and spawn the secondary projectiles from that one with -90 degrees, but i wonder if there is way around that.
     
  2. IHart

    IHart Scruffy Nerf-Herder

    You could always do this by just drawing a new animation to make it *look* like there are multiple projectiles. The 90 then -90 idea is pretty genius though.
     
  3. Dakrhunter30

    Dakrhunter30 Scruffy Nerf-Herder

    Making it an animation sounds interesting... but i'm not good at creating sprites. Thanks for the Idea though
     

Share This Page