Modding Help Getting "Palette" to change gun's color.

Discussion in 'Starbound Modding' started by Eixumau, Dec 29, 2013.

  1. Eixumau

    Eixumau Void-Bound Voyager

    I have been trying to get "Palette" to change the colours of my rocket launcher so that it will randomly choose a colour upon crafting, i did this for a sword using the "colorOptions", but it wont work for what i am doing now

    What it currently looks like in game, using the default sprite instead of random colours added by the palette
    http://imgur.com/YVEr8mT

    {
    "itemName" : "RocketZuh_1",
    "inventoryIcon" : "RocketZuh_1_Fixed.png",
    "shortdescription" : "M103A2",
    "description" : "Boom, Blow something up",
    "dropCollision" : [-8.0, -3.0, 8.0, 3.0],
    "maxStack" : 1,
    "level" : 20,
    "rarity" : "Rare",
    "inspectionKind" : "gun",
    "image" : "RocketZuh_1_Fixed.png",
    "recoilTime" : 1.5,
    "handPosition" : [6.0, -3.5],
    "firePosition" : [23, 2.5],
    "spread" : 1,
    "fireTime" : 1.22,
    "twoHanded" : true,

    "projectileType" : "rocket",
    "projectile" : {
    "power" : 115,
    "speed" : 25,
    "color" : [10, 255, 10]
    },

    "fireSound" : [ "/sfx/gun/rocket_shot.wav" ],

    "palette" : [
    { "e35f5d" : "aa1d1b", "b22042" : "8b1311", "871132" : "5d0100", "808080" : "808080", "606060" : "606060", "404040" : "404040" },
    { "e35f5d" : "64967f", "b22042" : "446556", "871132" : "1e2c26", "808080" : "787784", "606060" : "4f545a", "404040" : "33343c" },
    { "e35f5d" : "ff9d1e", "b22042" : "bb6a0b", "871132" : "6b3501", "808080" : "787784", "606060" : "4f545a", "404040" : "33343c" },
    { "e35f5d" : "787784", "b22042" : "4f545a", "871132" : "404040", "808080" : "808080", "606060" : "606060", "404040" : "404040" },
    { "e35f5d" : "cb13ff", "b22042" : "9b1dcf", "871132" : "580682", "808080" : "787784", "606060" : "4f545a", "404040" : "33343c" }
    ],

    "muzzleFlashes" : [
    "/animations/muzzleflash/bulletmuzzle1/bulletmuzzle1.animation",
    "/animations/muzzleflash/bulletmuzzle2/bulletmuzzle2.animation",
    "/animations/muzzleflash/bulletmuzzle3/bulletmuzzle3.animation"
    ]

    }
     
  2. Zeeps

    Zeeps Void-Bound Voyager

    You can do this without mods at all.
    Using a external tool (I recommend Starcheat) contributes to editing colour values of an existing weapon.
    It also works on armor, too, so screw dye mods.
     
  3. DerektheApex

    DerektheApex Space Hobo

    How do you change the color value in Starcheat?
     
  4. Zeeps

    Zeeps Void-Bound Voyager

    Just look around the "colorables" values. They're gonna be in HEX format.
     
  5. Emberflamepire

    Emberflamepire Void-Bound Voyager

    where are the 'colorables' located though?
     

Share This Page