Modding Help Help with Broken Object Image

Discussion in 'Starbound Modding' started by alibabaggypants, Jan 16, 2017.

  1. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    I wanted to make a custom crafting table for a mod, and while everything else about the mod is working the object itself is invisible. At first just placing it would crash the game but at this point I can even craft everything from it, it's just invisible.
    I keep on getting this error:
    Code:
    [11:45:05.060] [Error] Could not load image asset '/objects/crafting/mooglehologram/mooglehologram.png:default', using placeholder default.
    (AssetException) No such frame default in frames spec /objects/crafting/mooglehologram/mooglehologram.frames
    What am I doing wrong?

    Code:
    {
      "objectName" : "mooglehologram",
      "colonyTags" : ["crafting"],
      "category" : "crafting",
      "rarity" : "Uncommon",
      "description" : "The moogle synthesis industry in your very home! Moogle not included.",
      "shortdescription" : "^orange;Moogle Hologram^white;",
      "race" : "generic",
      "interactData" : {
        "config" : "/interface/windowconfig/craftingmooglehologram.config",
        "filter" : [ "mooglehologram" ]
      },
      "printable" : false,
      "price" : 100,
      "interactAction" : "OpenCraftingInterface",
     
      "apexDescription" : "A shop with many different items.",
      "avianDescription" : "A chance to display one's ability to create.",
      "floranDescription" : "Floran ussse table. Make nice thingss.",
      "glitchDescription" : "Inspired. Crafting module activated.",
      "humanDescription" : "I can use materials I've found here to create new things.",
      "hylotlDescription" : "A chance to create.",
      "novakidDescription" : "I could buy some mighty fine items from this shop.",
    
      "inventoryIcon" : "mooglehologramicon.png",
      "orientations" : [
        {
          "dualImage" : "mooglehologram.png:<color>",
    
          "imagePosition" : [-16, 0],
          "frames" : 2,
          "animationCycle" : 1.0,
    
          "spaceScan" : 0.1,
          "anchors" : [ "bottom" ]
    
        }
      ],
    
      "npcToy" : {}
    }
    
    Code:
    {
    
      "frameGrid" : {
        "size" : [32, 64],
        "dimensions" : [2, 1],
        "names" : [
          [ "default.0", "default.1" ]
        ]
      },
    
      "aliases" : {
        "default.default" : "default.0"
      }
    }
     
  2. lazarus78

    lazarus78 The Waste of Time

    What does your sprite sheet look like?
     
  3. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

  4. lazarus78

    lazarus78 The Waste of Time

    Where it says:
    Code:
    "dualImage" : "mooglehologram.png:<color>",
    
    Make it look like this:
    Code:
    "dualImage" : "mooglehologram.png:<color>.<frame>",
    
     
  5. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    I tested it out, but I got the same error.
     
  6. lazarus78

    lazarus78 The Waste of Time

    Could you pack the whole thing so I can test it exactly as you have it?
     
  7. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    Sorry, but I can't get the ModPackHelper to pack it and alas my computer skills are insufficient to understand any of the tutorials to do it manually. Is there any other way I could send it over?
     
  8. lazarus78

    lazarus78 The Waste of Time

    Pack it in a zip file. It is a standard Windows feature so Google can help tell you how. (Right click folder, sent to compressed zip).
     
  9. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    Alright! Sorry to get this back so late!
     

    Attached Files:

  10. lazarus78

    lazarus78 The Waste of Time

    Seems to work fine for me. No errors, save for the crafting interface config pointing to the wrong images for the closing X button.
     
  11. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    Really? And I never got any errors until I tried to use the table and the image was missing. It's really all working?

    I'll fix that second problem real fast though.
     
  12. lazarus78

    lazarus78 The Waste of Time

    Yup. No errors to speak of.

    Did you close the game/spawn in a new object each time you tested? Using existing items can be problematic and won't reflect changes.
     
    Last edited: Jan 24, 2017
  13. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    I'll try it again? That might be it after all....

    Edit: Once I restarted, even the old tables were working for some reason. I mean, I'll take it, but I didn't even change anything since last time.
     
    Last edited: Jan 24, 2017
    lazarus78 likes this.
  14. lazarus78

    lazarus78 The Waste of Time

    [​IMG]

    Computers, yo. They don't make sense some times.
     
    alibabaggypants likes this.
  15. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    They really don't. Thanks for helping anyway!
     

Share This Page