Modding Help Custom Club Deck help!

Discussion in 'Starbound Modding' started by Girlthing.obj, Dec 18, 2023.

  1. Girlthing.obj

    Girlthing.obj Space Hobo

    Hi! I have been playing starbound for quite some time- but this is my first mod I have made.
    I can't get it to load right and I am a little stumped. Help would be greatly appreciated~

    I am working on putting my own DJ set into the game. I have the .object, .animation, .frames, and .modinfo files, in the main directory and in that folder, the music is in sfx/objects/girldeck.oog

    Here's the .object and .animation files:
    ____________________________________________________________________
    {
    "objectName" : "girldeck",
    "colonyTags" : ["hylotl","hylotloceancity","electronic","musical"],
    "rarity" : "Common",
    "category" : "decorative",
    "price" : 69,
    "lightColor" : [0, 53, 64],
    "flickerPeriod" : 0.3,
    "flickerMinIntensity" : 0.95,
    "flickerMaxIntensity" : 1,
    "flickerPeriodVariance" : 0.1,
    "flickerIntensityVariance" : 0.0,

    "description" : "A sad little slime girl playing her silly little beats.",
    "shortdescription" : "Girlthing Decks",
    "race" : "hylotl",

    "apexDescription" : "At least she left the tank at home.",
    "avianDescription" : "What is this noise? It's kinda funky.",
    "floranDescription" : "This music make Floran want to move hipsss and bite sssomething!",
    "glitchDescription" : "Curious. Wait. Is that a Girlthing?",
    "humanDescription" : "I think I saw her at a show in Seattle once!"
    "hylotlDescription" : "I think humans call this 'hyperpop'.",
    "novakidDescription" : "Ain't heard anythin' like this before. I kinda feel like breaking somethin'...In a good way!",

    "inventoryIcon" : "girldeckicon.png",
    "orientations" : [
    {
    "image" : "girldeck.png:<color>.<frame>",
    "imagePosition" : [-16, 0],
    "direction" : "left",
    "flipImages" : true,

    "spaceScan" : 0.1,
    "anchors" : [ "bottom" ]
    },
    {
    "image" : "girldeck.png:<color>.<frame>",
    "imagePosition" : [-16, 0],
    "direction" : "right",

    "spaceScan" : 0.1,
    "anchors" : [ "bottom" ]
    }
    ],

    "animation" : "girldeck.animation",
    "animationParts" : {
    "bg" : "girldeck.png",
    "fg" : "girldecklit.png"
    },
    "animationCustom" : {
    "sounds" : {
    "on" : [ "/sfx/objects/recordscratch2.ogg" ],
    "off" : [ "/sfx/objects/recordscratch1.ogg" ]
    }
    },
    "animationPosition" : [-16, 0],

    "scripts" : [
    "/objects/wired/light/light.lua",
    "/scripts/npcToyObject.lua"
    ],

    "scriptDelta" : 60,

    "inputNodes" : [ [0, 0] ],

    "npcToy" : {
    "influence" : [
    "music",
    "music",
    "music",
    "musicFinished"
    ],
    "defaultReactions" : {
    "musicFinished" : [
    [1.0, "smile"],
    [1.0, "laugh"]
    ]
    },
    "randomStandXRange" : [-8, 8]
    },

    "soundEffect" : "/sfx/objects/girldeck.ogg"
    }
    _______________________________________________________________
    {
    "animatedParts" : {
    "stateTypes" : {
    "light" : {
    "default" : "off",
    "states" : {
    "off" : {
    "properties" : {
    "particleEmittersOff" : [ "music" ]
    }
    },
    "on" : {
    "frames" : 9,
    "cycle" : 0.4,
    "mode" : "loop",
    "properties" : {
    "particleEmittersOn" : [ "music" ]
    }
    }
    }
    }
    },

    "parts" : {
    "bg" : {
    "properties" : {
    "centered" : false
    },

    "partStates" : {
    "light" : {
    "off" : {
    "properties" : {
    "image" : "<partImage>:<color>.off"
    }
    },

    "on" : {
    "properties" : {
    "image" : "<partImage>:<color>.<frame>",
    "fullbright" : true
    }
    }
    }
    }
    },
    "fg" : {
    "properties" : {
    "centered" : false,
    "zLevel" : 1
    },

    "partStates" : {
    "light" : {
    "off" : {
    "properties" : {
    "image" : "<partImage>:<color>.off"
    }
    },

    "on" : {
    "properties" : {
    "image" : "<partImage>:<color>.<frame>"
    }
    }
    }
    }
    }
    }
    },

    "particleEmitters" : {
    "music" : {
    "emissionRate" : 1.5,
    "emissionRateVariance" : 0.0,
    "active" : true,

    "particles" : [
    {
    "particle" : {
    "type" : "textured",
    "image" : "/particles/music/note.png",
    "flippable" : false,
    "position" : [4.5, 1.5],
    "size" : 0.5,
    "color" : [255, 255, 255, 255],
    "light" : [0, 0, 0],
    "fade" : 0,
    "destructionAction" : "shrink",
    "destructionTime" : 5,
    "initialVelocity" : [2.0, -3.0],
    "finalVelocity" : [0.0, 5.0],
    "approach" : [0, 20],
    "timeToLive" : 0.5,
    "layer" : "middle",
    "collidesForeground" : false,
    "variance" : {
    "initialVelocity" : [1.0, 1.0]
    }
    }
    }
    ]
    }
    }
    }
    ____________________________________________________
    At this point I don't know whether it has to do with how I modified the original clubdecks, or how I am organizing it/packing it. Any help is appreciated! I can attach the .zip with what I have so far in case anyone wants to check my work. :3 The game runs fine, but always spits out a generic object when I try to spawn it.
     
    Last edited: Dec 18, 2023
  2. Rezetrx

    Rezetrx Void-Bound Voyager

    There is a comma missing at the end of the line
    "humanDescription" : "I think I saw her at a show in Seattle once!"
     

Share This Page