1. Hey Guest! Our new game Wargroove has released! Check out the forums or wiki for more information!
    Dismiss Notice

Use replace directive to replace drill spear animation colors.

Discussion in 'Starbound FAQs, Q&A, and General Help' started by Vortetty, Jul 11, 2019.

  1. Vortetty

    Vortetty Space Hobo

    i apologise if any of this if confusing, i can clarify if i need to, this is my first post so i dont know what i need to post for people to understand it

    i am attempting to make a custom drill spear with replaced colors using "directive":"?replace;da5302ff=0038a8ff;". here is what i have so far:

    Code:
    "parameters" : {
                    "rarity" : "essential",
                    "description" : "Mine is the drill that will pierce the heavens!",
                    "shortdescription" : "^#ffd700;Spiral Drill Spear^reset;",
                    "primaryAbilityType" : "spearstab",
                    "altAbility" : {
                      "tileDamageRate" : 0.01,
                      "tileDamage" : 0,
                      "damageConfig" : {
                        "knockback" : 100,
                        "knockbackMode" : "aim",
                        "statusEffects" : ["bouncy"],
                        "baseDamage" : 5000,
                        "damageSourceKind" : "spear"
                      },
                      "energyCost" : -1000,
                      "boostSpeed" : 50,
                      "damageTileDepth" : 3,
                      "boostForce" : 500
                    },
                    "directives" : "?replace;da5302ff=0038a8ff;fd8f4dff=734f96ff;fdd14dff=d70270ff;",
                    "animationCustom" : {
                      "animatedParts" : {
                        "stateTypes" : {
                          "energy" : {
                            "states" : {
                              "active1" : {
                                "properties" : {
                                  "lightsOn" : ["glow"]
                                }
                              },
                              "active2" : {
                                "properties" : {
                                  "lightsOn" : ["glow"]
                                }
                              },
                              "idle" : {
                                "properties" : {
                                  "lightsOff" : ["glow"]
                                }
                              }
                            }
                          }
                        }
                      },
                      "lights" : {
                        "glow" : {
                          "transformationGroups" : ["weapon"],
                          "position" : [0, 2],
                          "color" : [253, 209, 77]
                        }
                      }
                    }
                  },
                  "name" : "drillspear",
                  "count" : 1
                }
    however the colors did not change. what have i done wrong and how can i fix it?
    my goal is to make it so everybody on a server can see the color change, without downloading a mod.
    image (left) shows the original animation, image (right) shows what i would like the colors to be.
    [​IMG] [​IMG]
     

    Attached Files:

Share This Page