Author Topic: Brickblood modifcation RGB help  (Read 1498 times)

I'm trying to modify Gravity Cats brickblood addon color, using rgb, to make it pink.
I put in 238 115 184, but it turns out green ingame
Anything i'm doing wrong?


Code: [Select]
  dragCoefficient = 2;
  gravityCoefficient = 1;
  inheritedVelFactor = 0;
  constantAcceleration = 0;
  lifetimeMS = 500;
  lifetimeVarianceMS = 200;
  textureName = "base/client/ui/brickIcons/1x1F";
  spinSpeed = 0;
  spinRandomMin = -100;
  spinRandomMax = 100;
  colors[0] = "238 115 184 1";
  colors[1] = "238 115 184 1 0";
  sizes[0] = 1;
  sizes[1] = 1.5;
  useInvAlpha = false;
};

datablock ParticleEmitterData(gc_TinyBloodEmitter)
{
  ejectionPeriodMS = 10;
  periodVarianceMS = 0;
  ejectionVelocity = 1;
  velocityVariance = 1;
  ejectionOffset = 0;
  thetaMin = 0;
  thetaMax = 180;
  phiReferenceVel = 0;
  phiVariance = 360;
  overrideAdvance = false;
  particles = "gc_TinyBloodParticle";
  uiName = "";
};

datablock ParticleData(gc_BloodParticle)
{
  dragCoefficient = 2;
  gravityCoefficient = 1;
  inheritedVelFactor = 0;
  constantAcceleration = 0;
  lifetimeMS = 500;
  lifetimeVarianceMS = 200;
  textureName = "./brickblood";
  spinSpeed = 0;
  spinRandomMin = -100;
  spinRandomMax = 100;
  colors[0] = "238 115 184 1";
  colors[1] = "238 115 184";
  sizes[0] = 3;
  sizes[1] = 4;
  useInvAlpha = false;
};

It might not help at all, but useInvAlpha = true;
No idea if that is correct, but that color is pink and I have no other reason why it would do that.

It might not help at all, but useInvAlpha = true;
No idea if that is correct, but that color is pink and I have no other reason why it would do that.
I disabled useInvAlpha to see if that is what it was, but it only made the blood transparent

you need replace color  as same name.png, because name.png is in the model already. That how I did edit the blood into slime. you can look it up slime blood add-ons. If you want me fix it for you?
« Last Edit: September 18, 2013, 01:37:43 AM by Furling² »

you need replace color pink as same name.png, because name.png is in the model already. That how I did edit the blood into slime. you can look it up smile blood add-ons. If you want me fix it for you?
He's right. I just figured you had your image white. But change the material.png color to pink and make the color shift 0 0 0

He's right. I just figured you had your image white. But change the material.png color to pink and make the color shift 0 0 0
in 10 minutes, I will work on it anyway...  I will post the link at here, later.
« Last Edit: September 18, 2013, 02:39:21 AM by Furling² »

Divide each component of 238 115 184 by 255.

I did tested the brick pink blood few time and I just replace them correct pink color code is 1 0.7 0.8 1. Also I added color pink to red.png, The model will automatically see the color is pink from red.png, not worry about red.png. If you want look at inside zip folder, feel free look at the zip folder.
Here is the link:
http://furlingaddons.freeforums.org/download/file.php?id=97
Enjoy the brick pink blood!

:)