Modding Help How to layer projectiles?

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

  1. SuperMandrew

    SuperMandrew Cosmic Narwhal

    Hey all,

    Working on a tech, the tech spawns two projectiles. One should be behind the other, in layering. Both are spawning, but no matter what I set, I can't get the bigger projectile to go behind the smaller one.

    I've tried:

    - changing the "layers" variable in both .projectile files
    - changing the "levels" variable in both .projectile files
    - changing the order which the projectiles are spawned in LUA
    - even changing which variable is created first

    Does anyone have any idea on how to layer projectiles?
     
  2. TheAltgunner

    TheAltgunner Subatomic Cosmonaut

    ...try switching the animations for them? It seems that ONE of them spawns on top of the other, so theoretically you could just have the smaller one (in front) use the larger one's animations, and vice-versa.
     
  3. SuperMandrew

    SuperMandrew Cosmic Narwhal

    I ended up using a combination of forcing it into an animation and changing the zLevel, but that's not a bad idea which I didn't have to try.
     

Share This Page