Modding Help Why is this happening to me?

Discussion in 'Starbound Modding' started by Kentyark, Feb 23, 2019.

  1. Kentyark

    Kentyark Void-Bound Voyager


    Some of my mod item place properly, but some other things are not.
    why is this happening to me?

    I got some object and frames file.

    This item is not working properly.
    Code:
    {
    
    This is object file.
    
      "objectName" : "GOGradio",
      "colonyTags" : ["musical"],
      "rarity" : "Common",
      "category" : "decorative",
      "price" : 50,
    
      "description" : "Ooga Chaka Ooga Ooga.",
      "shortdescription" : "Awesome Mix",
      "race" : "human",
    
      "apexDescription" : "This radio plays Guardians of Galaxy OST. Awesome!",
      "avianDescription" : "This radio plays Guardians of Galaxy OST. Awesome!",
      "floranDescription" : "This radio playsss Guardians of Galaxy OST. Awesome!",
      "glitchDescription" : "Musical. This radio plays Guardians of Galaxy OST.",
      "humanDescription" : "Come and get your love.",
      "hylotlDescription" : "This radio plays Guardians of Galaxy OST.",
      "novakidDescription" : "Maybe.. This radio plays Guardians of Galaxy OST.",
    
      "lightColor" : [0, 0, 0],
    
      "inventoryIcon" : "customradioicon.png",
      "orientations" : [
        {
          "image" : "customradio.png:<color>.<frame>",
          "imagePosition" : [-8, 0],
    
          "direction" : "left",
          "flipImages" : true,
          "lightPosition" : [-1, 0],
    
          "spaceScan" : 0.1,
          "anchors" : [ "bottom" ]
    
        },
        {
          "image" : "customradio.png:<color>.<frame>",
          "imagePosition" : [-8, 0],
    
          "direction" : "right",
          "lightPosition" : [0, 0],
    
          "spaceScan" : 0.1,
          "anchors" : [ "bottom" ]
        }
      ],
    
      "animation" : "customradio.animation",
      "animationParts" : {
        "bg" : "customradio.png",
        "fg" : "customradiolit.png"
      },
      "animationCustom" : {
        "sounds" : {
          "on" : [ "/sfx/objects/speaker_toggle.ogg" ],
          "off" : [ "/sfx/objects/speaker_toggle.ogg" ]
        }
      },
      "animationPosition" : [-8, 0],
    
      "scripts" : [
        "/objects/wired/light/light.lua",
        "/scripts/npcToyObject.lua"
      ],
      "scriptDelta" : 60,
    
      "inputNodes" : [ [0, 0] ],
    
      "soundEffect" : "/sfx/GOG.ogg",
    
      "npcToy" : {
        "influence" : [
          "tombstone",
          "tombstoneComplete"
        ],
         "defaultReactions" : {
          "tombstone" : [
            [1.0, "mourn"]
          ],
          "tombstoneComplete" : [
            [1.0, "smile"]
          ]
        },
        "randomStandXRange" : [-4, 4],
        "maxNpcs" : 4
      }
    }
    
    Code:
    {
    
    And, This is frames file.
    
      "frameGrid" : {
        "size" : [16, 11],
        "dimensions" : [2, 2],
        "names" : [
          [ "default.1", "default.off" ]
        ]
      },
    
      "aliases" : {
        "default.default" : "default.1",
        "default.on" : "default.1"
      }
    }
    
    And I'll show you other item that works properly.

    Code:
    {
      "objectName" : "MetalRadio",
      "colonyTags" : ["musical"],
      "rarity" : "Common",
      "category" : "decorative",
      "price" : 50,
    
      "description" : "Truckers and Rockstars will love this radio.",
      "shortdescription" : "Metal Head Radio",
      "race" : "human",
    
      "apexDescription" : "This radio plays metal music. Awesome!",
      "avianDescription" : "This radio plays metal music. Awesome!",
      "floranDescription" : "This radio playsss metal music. Awesome!",
      "glitchDescription" : "Musical. This radio plays metal music.",
      "humanDescription" : "HELL YEAH! This radio plays metal music!",
      "hylotlDescription" : "This radio plays metal music.",
      "novakidDescription" : "Maybe.. This radio plays metal music.",
    
      "lightColor" : [0, 0, 0],
    
      "inventoryIcon" : "customradioicon.png",
      "orientations" : [
        {
          "image" : "customradio.png:<color>.<frame>",
          "imagePosition" : [-8, 0],
    
          "direction" : "left",
          "flipImages" : true,
          "lightPosition" : [-1, 0],
    
          "spaceScan" : 0.1,
          "anchors" : [ "bottom" ]
    
        },
        {
          "image" : "customradio.png:<color>.<frame>",
          "imagePosition" : [-8, 0],
    
          "direction" : "right",
          "lightPosition" : [0, 0],
    
          "spaceScan" : 0.1,
          "anchors" : [ "bottom" ]
        }
      ],
    
      "animation" : "customradio.animation",
      "animationParts" : {
        "bg" : "customradio.png",
        "fg" : "customradiolit.png"
      },
      "animationCustom" : {
        "sounds" : {
          "on" : [ "/sfx/objects/speaker_toggle.ogg" ],
          "off" : [ "/sfx/objects/speaker_toggle.ogg" ]
        }
      },
      "animationPosition" : [-8, 0],
    
      "scripts" : [
        "/objects/wired/light/light.lua",
        "/scripts/npcToyObject.lua"
      ],
      "scriptDelta" : 60,
    
      "inputNodes" : [ [0, 0] ],
    
      "soundEffect" : "/sfx/RockRadioMix.ogg",
    
      "npcToy" : {
        "influence" : [
          "tombstone",
          "tombstoneComplete"
        ],
         "defaultReactions" : {
          "tombstone" : [
            [1.0, "mourn"]
          ],
          "tombstoneComplete" : [
            [1.0, "smile"]
          ]
        },
        "randomStandXRange" : [-4, 4],
        "maxNpcs" : 4
      }
    }
    
    Code:
    {
    
      "frameGrid" : {
        "size" : [21, 17],
        "dimensions" : [2, 2],
        "names" : [
          [ "default.1", "default.off" ]
        ]
      },
    
      "aliases" : {
        "default.default" : "default.1",
        "default.on" : "default.1"
      }
    }
    
     
  2. DrPvtSkittles

    DrPvtSkittles Parsec Taste Tester

Share This Page