Modding Help How to add ColorSwap to particles?

Discussion in 'Starbound Modding' started by MarkasDenver, Jul 22, 2025.

  1. MarkasDenver

    MarkasDenver Big Damn Hero

    Is there any way to add ImageOperation type <paletteSwaps> for particles? I try to add ?<paletteSwaps> after .png in my particle.animation

    { "frames" : "particle.png?<paletteSwaps>", "variants" : 1, "frameNumber" : 5, "animationCycle" : 0.85, "offset" : [0, 0] }

    also I tried to change "type" of particle "animated" -> "textured"/"animation" -> "image"

    { "kind" : "particle1", "definition" : { "type" : "textured", "image" : "/particles/particle.png?<paletteSwaps>", "position" : [0, 0], "finalVelocity" : [0, 2], "approach" : [0, 50], "size" : 0.5, "timeToLive" : 0.45, "fade" : 0.5, "light" : [50, 90, 0], "variance" : { "initialVelocity" : [3.0, 3.0] } } }

    But in both cases nothing worked(
    And in logs I saw this:


    [Error] Could not load image asset '/particles/particle.png?<paletteSwaps>', using placeholder default. (ImageOperationException) Could not recognize ImageOperation type <paletteSwaps>

    Whats wrong? Help, pls((
     

Share This Page