MOD-TUTORIAL 4: How to make your own Armor

Discussion in 'Starbound Modding' started by Ghoul159, Dec 11, 2013.

Thread Status:
Not open for further replies.
  1. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    you mean an armor with no protection?
     
  2. bantalother

    bantalother Void-Bound Voyager

    no when i use my new armor all attacks from hostile monsters are blocked and the only damage i can take is fall , poison , drowning, and burning damage
     
  3. Kurosagi

    Kurosagi Big Damn Hero

    I think you need to go to a higher threat level sector xD

    Either that or lower the defense on your armor
     
    Ghoul159 likes this.
  4. Kurosagi

    Kurosagi Big Damn Hero

    For repainting/color change etc, will paint suffice?

    Because I heard paint doesn't allow for transparrency
     
  5. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    i think you can't save with transpary... but im not 100% shure...
    you could use paint.net or gimp which are good free tools for that....
     
  6. Kurosagi

    Kurosagi Big Damn Hero

    yeah i ended up using gimp

    I tried making a new back item but everytime I try it ends up as "Perfectly Generic Item" lol

    I'll try again tomorrow I guess but I wonder what could've been wrong
     
  7. KeetakuShai

    KeetakuShai Aquatic Astronaut

    Thanks for this tutorial. I noticed a shortage of Cave Story related content, so I am working on Quote's outfit and will post it here as a mod when finished.
     
  8. walletsalesman

    walletsalesman Space Hobo

    Alright, im stuck. you say to copy the .frames files, but i cant find them. im in the right folder, but there simply isnt anything there. am i missing something?
     
  9. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

  10. walletsalesman

    walletsalesman Space Hobo

  11. El Comandante

    El Comandante Aquatic Astronaut

    Hey ho, i got it to work so far that 3 generic items show up in the game. They are also in the armor section. I haven´t paintedt the whole armor but i don´t think that is the problem.
    Here is the itemfile for the chest (in mod/items/armors/basic_iron):
    {

    "itemName" : "basiciron_chest",
    "inventoryIcon" : "icons.png:chest",

    "dropCollision" : [-4.0, -3.0, 4.0, 3.0],

    "maxStack" : 1,

    "rarity" : "Common",

    "description" : "A simpel chainmail from iron rings. It will do the job.",
    "shortdescription" : "Iron Chainmail",
    "inspectionKind" : "armor",


    "maleFrames" : {

    "body" : "chestm.png",

    "backSleeve" : "bsleeve.png",

    "frontSleeve" : "fsleeve.png"

    },


    "femaleFrames" : {

    "body" : "chestf.png",

    "backSleeve" : "bsleeve.png",

    "frontSleeve" : "fsleeve.png"

    },

    "statusEffects" : [

    {

    "kind" : "ColdProtection",

    "amount" : "12,5"

    },


    {

    "kind" : "Protection",

    "amount" : 30

    },


    {

    "kind" : "healthincrease",

    "amount" : 80
    }

    ],


    "colorOptions" : [

    /* GREY */

    { "ffca8a" : "b5b5b5", "e0975c" : "808080", "a85636" : "555555", "6f2919" : "303030" },

    /* BLACK */

    { "ffca8a" : "838383", "e0975c" : "555555", "a85636" : "383838", "6f2919" : "151515" },

    /* GREY */

    { "ffca8a" : "b5b5b5", "e0975c" : "808080", "a85636" : "555555", "6f2919" : "303030" },

    /* WHITE */
    { "ffca8a" : "e6e6e6", "e0975c" : "b6b6b6", "a85636" : "7b7b7b", "6f2919" : "373737" },

    /* RED */
    { "ffca8a" : "f4988c", "e0975c" : "d93a3a", "a85636" : "932625", "6f2919" : "601119" },

    /* ORANGE */
    { "ffca8a" : "ffd495", "e0975c" : "ea9931", "a85636" : "af4e00", "6f2919" : "6e2900" },

    /* YELLOW */
    { "ffca8a" : "ffffa7", "e0975c" : "e2c344", "a85636" : "a46e06", "6f2919" : "642f00" },

    /* GREEN */
    { "ffca8a" : "b2e89d", "e0975c" : "51bd3b", "a85636" : "247824", "6f2919" : "144216" },

    /* BLUE */
    { "ffca8a" : "96cbe7", "e0975c" : "5588d4", "a85636" : "344495", "6f2919" : "1a1c51" },

    /* PURPLE */
    { "ffca8a" : "d29ce7", "e0975c" : "a451c4", "a85636" : "6a2284", "6f2919" : "320c40" },

    /* PINK */
    { "ffca8a" : "eab3db", "e0975c" : "d35eae", "a85636" : "97276d", "6f2919" : "59163f" },

    /* BROWN */
    { "ffca8a" : "ccae7c", "e0975c" : "a47844", "a85636" : "754c23", "6f2919" : "472b13" }

    ]
    }


    Here the recipe (in mod/recipes):

    {

    "input" : [

    { "item" : "money", "count" : 1 }

    ],

    "output" : { "item" : "basic_ironchest", "count" : 1 },

    "groups" : [ "plain", "armors", "all" ]

    }

    pls help ^^

     
  12. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    i think after the patch
    "amount" : "12,5"
    should be

    "amount" : 12,5

    and look into the starbound.log there is an error message... ;)
     
    El Comandante likes this.
  13. El Comandante

    El Comandante Aquatic Astronaut

    Thaks, did what you told me still doesn´t work. I checked the crash but I´m not gettig any wiser:

    Error: Could not load /items/armors/basic_iron/basic_ironchest.chest asset, attempting to use default.
    AssetException: Could not read variant asset /items/armors/basic_iron/basic_ironchest.chest
    caused by: JsonParsingException: Cannot parse json file: /items/armors/basic_iron/basic_ironchest.chest
    caused by: JsonParsingException: Error parsing json: bad string, should be '"' at 48:21

    009AE772 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarVariant.hpp:14)
    00511B96 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarAssets.cpp:584)
    00512B2C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarVariant.hpp:41)
    00508AFF (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarAssets.cpp:992)
    ... (3)
    00514B51 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarAssets.cpp:712)
    0098243C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarThread_windows.cpp:74)
    75D7336A kernel32.dll
    76EF9F72 ntdll.dll
    76EF9F45 ntdll.dll

    The the red part seems to be the importend one but the coordinates tell me nothig.
     
  14. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    oh well i think it means the line i corrected for you change it back again and look at the log file again..
     
  15. El Comandante

    El Comandante Aquatic Astronaut

    Well taht did fix that but the new report helps even less:

    Error: Could not instantiate item '[basic_ironchest, 1, {}]'. ItemException: No such item 'basic_ironchest'
    ... (3)
    0059F6A7 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarItemDatabase.cpp:219)
    005D4A76 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRecipeDatabase.cpp:76)
    004FDAFE (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRoot.cpp:209)
    0040494C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:305)
    0098243C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarThread_windows.cpp:74)
    75D7336A kernel32.dll
    76EF9F72 ntdll.dll
    76EF9F45 ntdll.dll

    Is it the diretory i put the file in? basic_armormod/items/armors/basic_iron
    ... i don´t think so.
     
  16. u2hello

    u2hello Big Damn Hero

    i followed the tutorial to the best I could and i managed to almost get it working however even though i can craft it and equip it aswell it just shows my character naked.
    now since its a full armor suit that shouldn't be happening. please help
     
  17. Beschutzer

    Beschutzer Void-Bound Voyager

    I am experiencing the exact same problem. My items were fully functional outside of actually appearing in game. It was almost as if the framework files werent reading the armor.png's I had edited (Which I altered in gimp so that they support transparency). My code was flawless I don't understand. Also upon having posted this I deleted my files to re-attempt the same gear. So I have mo .zip to share atm.
     
  18. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    the problem is the filename of basic_ironchest did you change it or used it in your recipe?

    it's most likely because of the recent update you should get a error message for that in the starbound.log... :)
     
  19. CarlF3

    CarlF3 Space Hobo

    that would be a lot harder as all the techs are written in lua and not c++
     
  20. CarlF3

    CarlF3 Space Hobo

    just a question in the .head and .chest file for the tier 10 armor there is a line of code that reads

    "kind" : "Protection",
    "level" : 36,
    "amount" :

    I know that the first line is the effect and the third is the amount of it but what is the second line? What does it mean with level?
     
Thread Status:
Not open for further replies.

Share This Page