Modding Help A question about projectiles and a question about animations

Discussion in 'Starbound Modding' started by BitHorizon, Jul 15, 2014.

  1. BitHorizon

    BitHorizon Ketchup Robot

    I want to make a weapon that is thrown, removed from the inventory, and when it collides with an enemy or surface, drops another one of itself. Is this possible? if so, how?

    Also, is it possible to make a weapon play an animation (And sound?) when it is pulled out?
     
  2. Use a .throwableitem weapon with an action on the projectile to spawn the item again when it is reaped.

    The sound/animation thing? No.
     
    The | Suit likes this.
  3. BitHorizon

    BitHorizon Ketchup Robot

    I know the first part (Making a throwable item weapon), but what is the action to make it spawn an item when it is reaped?
     
  4. The | Suit

    The | Suit Agent S. Forum Moderator

    Use notepad++ to check the projectile directory for the text "spawn"
    Notepad++ can scan all readable text documents within a folder at once.

    see if you get a hit on spawnItem {don't search for spawn item - just spawn.

    You should see things like spawnMonster spawnMat etc.
    ====
    Though Lua based items will be coming up in the near future.
    So you can just spawn item on contact with lua its implemented.
     

Share This Page