Blockland Forums > Help
How do i recolor a weapon, or a projectile of a weapon?
(1/1)
diode34:
I want to change the color of the TF2 medigun into a blue beam, then a red one, do i change something in the server?
colors[0]     = "1 0 0 1";
   colors[1]     = "1 0 0 0";
      colors[2]     = "1 0 0 0";
      colors[3]     = "1 0 0 0";
do i change anything on this?
darerd:

--- Quote from: diode34 on December 20, 2009, 02:34:10 PM ---colors[0]     = "1 0 0 1";
   colors[1]     = "1 0 0 0";
      colors[2]     = "1 0 0 0";
      colors[3]     = "1 0 0 0";
do i change anything on this?

--- End quote ---
yeah, maybe you should:

--- Code: ---colors[0]     = "255 0 0 255";
colors[1]     = "255 0 0 0";
    colors[2]     = "255 0 0 0";
    colors[3]     = "255 0 0 0";

--- End code ---

255 is the max for red, green or blue. if you were just using one it would keep it black.
diode34:

--- Quote from: darerd on December 20, 2009, 03:15:41 PM ---yeah, maybe you should:

--- Code: ---colors[0]     = "255 0 0 255";
colors[1]     = "255 0 0 0";
    colors[2]     = "255 0 0 0";
    colors[3]     = "255 0 0 0";

--- End code ---

255 is the max for red, green or blue. if you were just using one it would keep it black.

--- End quote ---
so would 85 be the number for blue?
Navigation
Message Index

Go to full version