Modding Help Help! New at code

Discussion in 'Starbound Modding' started by XeroNova, May 10, 2023.

Tags:
  1. XeroNova

    XeroNova Big Damn Hero

    I need help. It's my first time playing programming and I'm trying to make a sword that has the ability to turn into a bow (alt ability). The sword is already made (more or less). But the bow part is giving me more than a headache.

    I have tried to copy the code of both the basic shot and the bow specials, and tried to put them as a special ability, but nothing. It only lets me use the special skills of the swords.
    My question is, do I have to create the whole skill from scratch, or maybe I'm implementing the code wrong?
    upload_2023-5-10_1-40-26.png
    Thats the activeitem
    upload_2023-5-10_1-41-28.png
    thats the weaponability
    upload_2023-5-10_1-41-47.png
    upload_2023-5-10_1-42-4.png
    the lua.
     
  2. tigerfestival

    tigerfestival Cosmic Narwhal

  3. The | Suit

    The | Suit Agent S. Forum Moderator

Share This Page