Page 1 of 1

Red Lightning

Posted: Fri May 23, 2014 12:50 pm
by Kingpin
Hi

I have this effect:
Hidden/Spoiler:
ParticleEmitter("!Mesh")
{
MaxParticles(-1.0000,-1.0000);
StartDelay(0.0000,0.0000);
BurstDelay(0.0500, 0.1500);
BurstCount(1.0000,1.0000);
MaxLodDist(2200.0000);
MinLodDist(2000.0000);
BoundingRadius(5.0);
SoundName("ball_sparks defer")
NoRegisterStep();
Size(1.0000, 1.0000);
Hue(255.0000, 255.0000);
Saturation(255.0000, 255.0000);
Value(255.0000, 255.0000);
Alpha(255.0000, 255.0000);
Spawner()
{
Circle()
{
PositionX(0.0000,0.0000);
PositionY(0.0000,0.0000);
PositionZ(0.0000,0.0000);
}
Offset()
{
PositionX(-0.2000,0.2000);
PositionY(-0.2000,0.2000);
PositionZ(-0.2000,0.2000);
}
PositionScale(0.0000,0.0000);
VelocityScale(0.0000,0.0000);
InheritVelocityFactor(0.0000,0.0000);
Size(0, 0.0500, 0.2500);
Hue(0, 13.0000, 20.0000);
Saturation(0, 240.0000, 240.0000);
Value(0, 176.0000, 180.0000);
Alpha(0, 0.0000, 0.0000);
StartRotation(0, 0.0000, 360.0000);
RotationVelocity(0, 0.0000, 0.0000);
FadeInTime(0.0000);
}
Transformer()
{
LifeTime(0.0500);
Position()
{
LifeTime(1.0000)
}
Size(0)
{
LifeTime(0.2500)
Scale(1.0000);
}
Color(0)
{
LifeTime(0.0010)
Move(0.0000,0.0000,0.0000,255.0000);
}
}
Geometry()
{
BlendMode("NORMAL");
Type("GEOMETRY");
Model("com_sfx_lightningball1");
}
ParticleEmitter("!Mesh")
{
MaxParticles(-1.0000,-1.0000);
StartDelay(0.0000,0.0000);
BurstDelay(0.0500, 0.1500);
BurstCount(1.0000,1.0000);
MaxLodDist(2200.0000);
MinLodDist(2000.0000);
BoundingRadius(5.0);
SoundName("")
NoRegisterStep();
Size(1.0000, 1.0000);
Hue(255.0000, 255.0000);
Saturation(255.0000, 255.0000);
Value(255.0000, 255.0000);
Alpha(255.0000, 255.0000);
Spawner()
{
Circle()
{
PositionX(0.0000,0.0000);
PositionY(0.0000,0.0000);
PositionZ(0.0000,0.0000);
}
Offset()
{
PositionX(-0.2000,0.2000);
PositionY(-0.2000,0.2000);
PositionZ(-0.2000,0.2000);
}
PositionScale(0.0000,0.0000);
VelocityScale(0.0000,0.0000);
InheritVelocityFactor(0.0000,0.0000);
Size(0, 0.0500, 0.2500);
Hue(0, 13.0000, 20.0000);
Saturation(0, 240.0000, 240.0000);
Value(0, 176.0000, 200.0000);
Alpha(0, 0.0000, 0.0000);
StartRotation(0, 0.0000, 360.0000);
RotationVelocity(0, 0.0000, 0.0000);
FadeInTime(0.0000);
}
Transformer()
{
LifeTime(0.0500);
Position()
{
LifeTime(1.0000)
}
Size(0)
{
LifeTime(0.2500)
Scale(1.0000);
}
Color(0)
{
LifeTime(0.0010)
Move(0.0000,0.0000,0.0000,255.0000);
}
}
Geometry()
{
BlendMode("NORMAL");
Type("GEOMETRY");
Model("com_sfx_lightningball2");
}
ParticleEmitter("!Mesh")
{
MaxParticles(-1.0000,-1.0000);
StartDelay(0.0000,0.0000);
BurstDelay(0.0500, 0.1500);
BurstCount(1.0000,1.0000);
MaxLodDist(2200.0000);
MinLodDist(2000.0000);
BoundingRadius(5.0);
SoundName("")
NoRegisterStep();
Size(1.0000, 1.0000);
Hue(255.0000, 255.0000);
Saturation(255.0000, 255.0000);
Value(255.0000, 255.0000);
Alpha(255.0000, 255.0000);
Spawner()
{
Circle()
{
PositionX(0.0000,0.0000);
PositionY(0.0000,0.0000);
PositionZ(0.0000,0.0000);
}
Offset()
{
PositionX(-0.2000,0.2000);
PositionY(-0.2000,0.2000);
PositionZ(-0.2000,0.2000);
}
PositionScale(0.0000,0.0000);
VelocityScale(0.0000,0.0000);
InheritVelocityFactor(0.0000,0.0000);
Size(0, 0.0500, 0.2500);
Hue(0, 13.0000, 20.0000);
Saturation(0, 240.0000, 240.0000);
Value(0, 176.0000, 190.0000);
Alpha(0, 0.0000, 0.0000);
StartRotation(0, 0.0000, 360.0000);
RotationVelocity(0, 0.0000, 0.0000);
FadeInTime(0.0000);
}
Transformer()
{
LifeTime(0.0500);
Position()
{
LifeTime(1.0000)
}
Size(0)
{
LifeTime(0.2500)
Scale(1.0000);
}
Color(0)
{
LifeTime(0.0010)
Move(0.0000,0.0000,0.0000,255.0000);
}
}
Geometry()
{
BlendMode("NORMAL");
Type("GEOMETRY");
Model("com_sfx_lightningball3");
}
}
}
}
It is an orange Force Lightning. I was wondering how I could change the colour of it to red?

Re: Red Lightning

Posted: Fri May 23, 2014 2:37 pm
by LRKfm946
Every time you see this:

Code: Select all

Hue(0, 13.0000, 20.0000);
Change it to this:

Code: Select all

Hue(0, 0.0000, 5.0000);
I think that'll do it. If you have particle editor, it's much easier to use that so you can see the changes in real time.

Re: Red Lightning

Posted: Fri May 23, 2014 3:16 pm
by Kingpin
Thanks dude! It works! It looks awesome!

Just to show off: Image