Author Topic: Changing item/trail colors  (Read 838 times)

I want to edit this mod to make the lightning black, but idk how to do it

Weapon_ElementalSpells.zip -> Scripts -> Lightning.cs

Look for stuff like LightningAmbientParticle, they are particle datablocks, they hold values that pertain to the visual aspect of emitters. What you're looking for is values like such:
Code: [Select]
colors[0] = "1 1 0 1";
colors[1] = "1 1 0 0";

Which is an Red Green Blue Alpha value, alpha meaning transparency. A solid black RGBA code would be 0 0 0 1, dark gray would be something like 0.2 0.2 0.2 1.
colors[0] is the color the particle will take on at the beginning of it's lifetime, and colors[1] is the color it will transition to over time.

If it doesn't work try slap useInvAlpha = false; in there somewhere as well lol

snip

Aye thanks bro, ill update soon to let you know if it works

Okay, so I tried a few different color ways, but I couldn't get it to be black, it would only be a white, light gray type color.


Also, I have on my server set up where there are different tiers of the lightning, so like tier 1-6 now I only want the 6th tier to be black, but when I change the tier 6 code, it changes the color for the other tiers as well. Ah I figured this part out nvm

EDIT: Nvm I got it to work thanks again Rally
« Last Edit: June 18, 2017, 01:04:59 PM by YounqD »