Modding Help Custom Storage [Please help...]

Discussion in 'Starbound Modding' started by eksynn, Aug 8, 2016.

  1. eksynn

    eksynn Giant Laser Beams

    related to/continued from the other thread - http://community.playstarbound.com/threads/multi-placement-of-same-object.121716/ - figured i'd ask here instead since the topic changed...
    long story short, i'm trying to add a super-compact storage device, but i'm failing horribly. any ideas?

    copypaste:

    i'm failing so horribly right now.. lol
    i got the item into the game, but that's it
    =x it says Storage under its name, and the description, and i can take it and wave it around.. but i can't place it down at all. or do anything else with it for that matter xD
    i have wispstorage.object, wispstorage.frames, wispstorage.png, and wispstorageicon.png in \Starbound\mods\e_Items\objects\generic\wispstorage but it doesn't show or do anything.
    i also have wispstorage.item and wispstorageicon.png under \Starbound\mods\e_Items\items\generic\other
    <-- this one shows.
    no recipe yet, but i can rez it out with '/spawnitem wispstorage'
    and of course, i have the modinfo file at \mods\e_Items

    what am i missing?

    .object file:

    -snip-

    --

    oh. that makes sense now xD i'll take a look at that lol

    -edit-

    that works =D

    only issue, it doesn't show up when i set it anywhere, even though it works lol

    current .object file:
    Code:
    {
      "objectName" : "wispstorage",
      "colonyTags" : ["storage"],
      "rarity" : "Uncommon",
      "description" : "A friendly wisp that holds things!",
      "shortdescription" : "Wisp Storage",
      "race" : "generic",
      "objectType" : "container",
      "tooltipKind" : "container",
      "category" : "storage",
      "printable" : true,
      "price" : 808,
      "health" : 1.0,
    
      "apexDescription" : "A useful Fatuo. It can carry my things.",
      "avianDescription" : "This is such a pretty useful wisp!",
      "floranDescription" : "Floran want storage! Niblesss everything!",
      "glitchDescription" : "Thoughtful. The contents of this wisp carrier elude me.",
      "humanDescription" : "A friendly wisp to hold my things? Yeaaaa!",
      "hylotlDescription" : "Such tiny thing, so much usability.",
      "novakidDescription" : "This creature looks oddly familiar...",
    
      "inventoryIcon" : "wispstorageicon.png",
      "largeImage" : "wispstorage.png",
      "orientations" : [
        {
          "image" : "wispstorage.png:<color>",
          "flipImages" : false,
          "imagePosition" : [-4, -4],
          "frames" : 4,
          "animationCycle" : 1.0,
          //"direction" : "left",
          //"direction" : "right",
          "spaceScan" : 0.1,
          "anchors" : [ "bottom" ]
        },
        {
          "image" : "wispstorage.png:<color>",
          "flipImages" : false,
          "imagePosition" : [-4, -4],
          "frames" : 4,
          "animationCycle" : 1.0,
          //"direction" : "left",
          //"direction" : "right",
          "spaceScan" : 0.1,
          "anchors" : [ "top" ]
        },
        {
          "image" : "wispstorage.png:<color>",
          "flipImages" : false,
          "imagePosition" : [-4, -4],
          "frames" : 4,
          "animationCycle" : 1.0,
          //"direction" : "left",
          //"direction" : "right",
          "spaceScan" : 0.1,
          "anchors" : [ "left" ]
        },
        {
          "image" : "wispstorage.png:<color>",
          "flipImages" : false,
          "imagePosition" : [-4, -4],
          "frames" : 4,
          "animationCycle" : 1.0,
          //"direction" : "left",
          //"direction" : "right",
          "spaceScan" : 0.1,
          "anchors" : [ "right" ]
        },
        {
          "image" : "wispstorage.png:<color>",
          "flipImages" : false,
          "imagePosition" : [-4, -4],
          "frames" : 4,
          "animationCycle" : 1.0,
          //"direction" : "left",
          //"direction" : "right",
          "spaceScan" : 0.1,
          "anchors" : [ "background" ]
        }
      ],
    
      "twoHanded" : false,
      "interactive" : true,
      "openSounds" : [ "/sfx/objects/florancrate_open.ogg" ],
      "closeSounds" : [ "/sfx/objects/florancrate_close.ogg" ],
      "slotCount" : 64,
      "uiConfig" : "/interface/chests/chest<slots>.config",
      "frameCooldown" : 5,
      "autoCloseCooldown" : 3600
    }
    


    --

    urgh x.x; this is giving me a headache
     
    Last edited: Aug 8, 2016
  2. eksynn

    eksynn Giant Laser Beams

    duno WHAT i did, but now it won't even show up in-game anymore >.<
    i don't remember adding an object to the game being so difficult lol
    (
    i'm probably missing something REALLY obvious)
     

Share This Page