Modding Help Starbound doesn't load my custom material at all?

Discussion in 'Starbound Modding' started by Delos-X, Aug 3, 2016.

  1. Delos-X

    Delos-X Scruffy Nerf-Herder

    Hiya,

    I'm trying to create a colour-appropriate version of the Heavy Pipe for my space outpost, however, the mod doesn't load up the item - or at least I'm unable to spawn it. I'm not having any errors of any kind until I try and spawn it, in which it says:

    Code:
    [Error] Could not instantiate item '[outpostpipe, 1, {}]'. (ItemException) No such item 'outpostpipe'
    
    Which is we,, strange, because this is the material script...

    Code:
    {
      "materialId" : 5928,
      "materialName" : "outpostpipe",
      "particleColor" : [111, 75, 58, 255],
      "itemDrop" : "outpostpipe",
      "shortdescription" : "Outpost Pipe",
      "description" : "A strong metal pipe, used for various things.",
      "glitchDescription" : "Intruigued. I wonder what goes through that pipe.",
      "floranDescription" : "Sstrange metal pipe.",
      "novakidDescription" : "Some ol' pipes.",
      "footstepSound" : "/sfx/blocks/footstep_lightmetal.ogg",
      "drawBackground" : true,
      "health" : 6,
      "category" : "materials",
    
      "renderTemplate" : "/tiles/pipetemplate.config",
      "renderParameters" : {
        "texture" : "outpostpipe.png",
        "variants" : 5,
        "lightTransparent" : false,
        "occludesBelow" : false,
        "multiColored" : true,
        "zLevel" : 3380
      }
    }
    
    It makes it even stranger that when I purposefully put an error in (making the materialid really long, for example), it acknowledges the error and crashes the client. What can I do to fix this? I just want a nice pipe. >.<
     
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    Did you make both files the matmod + mat item file?
     
  3. Delos-X

    Delos-X Scruffy Nerf-Herder

    matmod? I have that file I put up, the texture file (outpostpipe.png), and that's it. They're in the right directories.

    Do I need to have the other pipe files, like the N E S W ones? because I looked in the config file and it specifies a position, not a file.
     
  4. The | Suit

    The | Suit Agent S. Forum Moderator

    Mat mod is only the visual representation.
    The error is you don't have an item.

    Which means you also need to make the material item file.

    Go to unpacked -> Items -> Materials
    To see the file you are missing.
     
  5. Delos-X

    Delos-X Scruffy Nerf-Herder

    Aaah, thank you. I didn't realise that.
     

Share This Page