Modding Help How to craft a gun based on another gun as input?

Discussion in 'Starbound Modding' started by dantevfenris, Feb 16, 2017.

  1. dantevfenris

    dantevfenris Space Hobo

    So Im making a sort of modification station for guns. Is their a way for me to take the old gun copy all its values and appearances onto the new gun object.

    I made an alternate commonpistol. Id like to take in any commonpistol and turn it into this new type. How would I go about doing this? everything is set up besides the idea of getting the alternate commonpistol taking the appearance and some vars of the old common pistol.
     
  2. IHart

    IHart Subatomic Cosmonaut

    There are mods that do similar things, Weapon Assembly for example.
     
  3. dantevfenris

    dantevfenris Space Hobo

    Im not too concerned what other mods are doing. This is a learning experience. Plus my idea is different. Like adding flashlights, and more so adding effects to already owned guns.

    I haven't used weapon assembly but from searching it seems mostly about the appearance. Even if not true, this is my learning practice mod. Can we see the code of other people mods? Weapon assemble might help me than to learn.
     
  4. IHart

    IHart Subatomic Cosmonaut

    Get concerned. They are additional data for you to learn from.
     

Share This Page