Modding Help Requesting assistance w/ glow effect

Discussion in 'Starbound Modding' started by Darklaugh, Dec 30, 2013.

  1. Darklaugh

    Darklaugh Intergalactic Tourist

    I just decided to make a mod today because i didnt want to have to get back to tier 3 in order to use a drill again after the last wipe so i decided to make a drill that could be crafted early on.
    I already made a custom texture and have done all the proper coding for the drill to be crafted in game and function but when i try to add a glow effect to the drill it no longer works in game.
    i have been trying to use the glow effect from the lantern on a stick but to no effect, the drill just turns into a perfectly generic item.

    { "itemName" : "wreckerofra",
    "inventoryIcon" : "wreckerofraicon.png",
    "dropCollision" : [-4.0, -3.0, 4.0, 3.0],
    "maxStack" : 1,
    "rarity" : "legendary",
    "inspectionKind" : "tool",
    "description" : "A drill imbued with the power of the Egyptian god Ra.",
    "shortdescription" : "Wrecker of Ra",
    "largeImage" : "wreckerofrabig.png",
    "image" : "wreckerofra.png:{frame}",
    "frames" : 5,
    "animationCycle" : 0.1,
    "handPosition" : [-8, 1],
    "pointable" : true,
    "swingStart" : 0,
    "swingFinish" : 0,
    "fireTime" : 0.3,
    "blockRadius" : 3,
    "altBlockRadius" : 1,
    "twoHanded" : true,
    "idleSound" : "/sfx/tools/chainsaw_idle.wav",
    "strikeSound" : "/sfx/tools/drill_hit.wav",
    "durability" : 6000,
    "durabilityPerUse" : 1,
    "durabilityRegenChart" : [
    [ [ "copperore" ], 750],
    [ [ "silverore" ], 1125],
    [ [ "goldore" ], 1500],
    [ [ "platinumore" ], 1875],
    [ [ "diamond" ], 2250]
    ],
    "tileDamage" : 3.9,
    "tileDamageBlunted" : 0.5
    }

    i would greatly appreciate it if anyone could help me with where to put the code from the lantern on a stick or the glow stim or an explanation on how to add the desired effect. formatting etc
     
    Last edited: Dec 30, 2013
  2. Zanarias

    Zanarias Orbital Explorer

    Add:

    "statusEffects" : [
    { "kind" : "glow",
    "amount" : 1,
    "color" : [89, 83, 71]
    }
    ],

    Somewhere. I think that'll work.
     
  3. Heliostorm

    Heliostorm Phantasmal Quasar

    I don't think tools can have status effects.
     
  4. Darklaugh

    Darklaugh Intergalactic Tourist

    i came to the same conclusion as heliostorm. i tried the way you posted zanarias but it wouldnt work anywhere i put it
     
  5. Wurmheart

    Wurmheart Subatomic Cosmonaut

    that status effect causes enemies to glow when hit, and tools can't hit enemies to begin with.

    you could try:
    "lightColor" : [78, 202, 223],
    that works for projectiles giving them an innate light. not sure if it will work here but it's worth a shot.
     
  6. Maskrising

    Maskrising Subatomic Cosmonaut

    how would i go about changing the color of the stim packs particle effect?
     

Share This Page