Modding Help just wondering

Discussion in 'Starbound Modding' started by gmod, Feb 5, 2014.

  1. gmod

    gmod Subatomic Cosmonaut

    ok thanks
     
  2. gmod

    gmod Subatomic Cosmonaut

    well its still not working so if you can send me the folder that would be great
     
  3. Tairuse

    Tairuse Subatomic Cosmonaut

    At work ATM but I'll have it fixed up around. 10 PM (PST) sorry for getting back to it late
     
    gmod likes this.
  4. gmod

    gmod Subatomic Cosmonaut

    hows it coming along?
     
  5. Tairuse

    Tairuse Subatomic Cosmonaut

    Name this ardiumhead.head

    Code:
    {
      "itemName" : "ardiumhead",
      "inventoryIcon" : "icons.png:head",
      "dropCollision" : [-4.0, -3.0, 4.0, 3.0],
      "maxStack" : 1,
      "rarity" : "Rare",
      "description" : "Ardium helm visor's are dark and suspicious.",
      "shortdescription" : "Ardium helm",
      "inspectionKind" : "armor",
    
      "maleFrames" : "head.png",
      "femaleFrames" : "head.png",
      "mask" : "mask.png",
    
      "statusEffects" : [
        {
          "kind" : "ColdProtection",
          "amount" : 100
        },
    
        {
          "kind" : "Protection",
          "level" : 31,
          "amount" : 39
        },
    
      {
          "kind" : "energyincrease",
          "amount" : 135
      }
      ]
    }


    and name this player.conifg


    Code:
    {
      "__merge" : [],
      "defaultBlueprints" : {
        "tier1" : [
        { "item" : "ardiumhead" }
     
        ]
      }
    }


    and name this ardiumhelm.recipe


    Code:
    {
      "input" : [
        { "item" : "dirtmaterial", "count" : 1 },
        { "item" : "money", "count" : 50 }
      ],
      "output" : {
        "item" : "ardiumhead",
        "count" : 1
      },
      "groups" : [ "anvil", "armor", "all" ]
    }


    -Make sure to keep png pictures in same folder as the helmet!
    -Change recipe ingredients to whatever and make sure to spell correctly
    -I changed the crafting table from furnace to anvil because it's complicated to make armor from a furnace...
    -Place files into appropriate mod file

    Let me know if this fixed it hopefully it works :D
     
  6. gmod

    gmod Subatomic Cosmonaut

    where should I put the player.config file? And shouldn't I name the recipe ardiumhead?
     
  7. Tairuse

    Tairuse Subatomic Cosmonaut

    Yes!!! ardiumhead, and place the player config in the mod folder ie. Ardiummod/player.config
     
    gmod likes this.
  8. gmod

    gmod Subatomic Cosmonaut

    thanks for the hepl but I have one more question: will my current character now how to craft this item even though he is in the final tier? and it still showing up as a perfect generic item
     
    Last edited: Feb 10, 2014
  9. Aurorialis

    Aurorialis Pangalactic Porcupine

    Gmod, check the log. Use ctrl+f or cmd+f "error." I simply cannot overstate the usefulness of the log.

    As for knowing how to craft it...if it's added at tier 1, they will.
     
  10. gmod

    gmod Subatomic Cosmonaut

    Could not instantiate item '[ardiumhead, 1, {}]'. ItemException: No such item 'ardiumhead' this is what i get but I named everything right
     
  11. Aurorialis

    Aurorialis Pangalactic Porcupine

    The log, it does not lie. Toss the file up, I'll see if I can puzzle it out if you're certain you got all the names right.
     
  12. gmod

    gmod Subatomic Cosmonaut

    I will doube check and if there if they are I will send them to you


    EDIT: here is the recipe file
    {
    "input" : [
    { "item" : "ardiumbar", "count" : 2 },
    { "item" : "money", "count" : 50 }
    ],
    "output" : {
    "item" : "ardiumhead",
    "count" : 1
    },
    "groups" : [ "anvil", "armor", "all" ]
    }
    and here is the item file
    {
    "itemName" : "ardiumhead",
    "inventoryIcon" : "icons.png:head",
    "dropCollision" : [-4.0, -3.0, 4.0, 3.0],
    "maxStack" : 1,
    "rarity" : "Rare",
    "description" : "Ardium helm visor's are dark and suspicious.",
    "shortdescription" : "Ardium helm",
    "inspectionKind" : "armor",

    "maleFrames" : "head.png",
    "femaleFrames" : "head.png",
    "mask" : "mask.png",

    "statusEffects" : [
    {
    "kind" : "ColdProtection",
    "amount" : 100
    },

    {
    "kind" : "Protection",
    "level" : 31,
    "amount" : 39
    },

    {
    "kind" : "energyincrease",
    "amount" : 135
    }
    ]
    }
     
    Last edited: Feb 10, 2014
  13. Tairuse

    Tairuse Subatomic Cosmonaut

    The pngs might be an issue??
     
  14. gmod

    gmod Subatomic Cosmonaut

    they shouldn't be they are named what they need to be named
     
  15. Aurorialis

    Aurorialis Pangalactic Porcupine

    I'm afraid my request was literal-I'd need to see the file, not a code snippet. Just upload a zip of the ENTIRE MOD and I can probably fix it. Running the code snippet through a parser returns no errors.
     
  16. gmod

    gmod Subatomic Cosmonaut

     

    Attached Files:

  17. Aurorialis

    Aurorialis Pangalactic Porcupine

    Okay,I'll be at the home computer in a few hours and will fix things then. But looking at the file names, I see you've named something ardiumhead.head. Use ardium.head
     
    gmod likes this.
  18. gmod

    gmod Subatomic Cosmonaut

    ok I will try that
     
  19. gmod

    gmod Subatomic Cosmonaut

    didn't work
     
  20. Aurorialis

    Aurorialis Pangalactic Porcupine

    Okay, so I ran the mod and figured out there's a bit more to the problem. The relevant bit of the error log was down a few more lines, it's a JSON error. Give me a few...
     
    gmod likes this.

Share This Page