Author Topic: Projectile Colors  (Read 551 times)

Well I wanted to change the color of the projectile from the E-11 Blaster Rifle and I think I found the spot but I don't know the numbers for blue. This is the one I found in the script which I'm guessing is red. I'm new to scripting and just need a bit of help here.
Code: [Select]
colors[0] = "1 0.0 0.0 1";
colors[1] = "1.0 0.0 0.0 1";

Code: [Select]
colors[0] = "0.0 0.0 1.0 1";
colors[1] = "0.0 0.0 1.0 1";
This would be bright blue.

Code: [Select]
colors[0] = "0.0 0.0 1.0 1";
colors[1] = "0.0 0.0 1.0 1";
This would be bright blue.
Light blue maybe?

Experiment with the numbers, they go in the order of RGB and the intensity from 0.0 (Black) to 1.0 (White).

Experiment with the numbers, they go in the order of RGB and the intensity from 0.0 (Black) to 1.0 (White).
Oh okay that helps. Is there a site where you can make your own colors and it displays the code, but it should display the projectile color code not hex or anything.

Use the colour picker in paint/photoshop to find the RGB values, and divide them by 255.

Hint: Look for the Projectile's trail emitter in the projectile's datablock and backtrack from there.

Use the colour picker in paint/photoshop to find the RGB values, and divide them by 255.
Whoa thanks, wrote that in my math journal so I wouldn't forget :D