Post by raise on Sept 30, 2012 17:27:28 GMT 1
Can someone help me get this to go from blue to red, so far i can only get it to go from blue to pink/blue.
What I want is from blue to red yellow. (mimic renk's)
Original:
What I want is from blue to red yellow. (mimic renk's)
Original:
weapon/rocket/projectile {
// world glow
color 1 0.5 0.1
size 100
Light
// model
loopSound sound/weapons/rocket/rockfly.wav
size 0.7
model models/ammo/rocket/rocket.md3
rotate time * 1440 / 4
dirModel
color 0.7 0.3 0.2
size 15
Light
shader flareshader
sprite
color 1 0.75 0.5
size 100
Light
width 1
shader flareShader
alpha 0.8
shader lglsFlame1
//Will be the light colour
distance rand*0.2+0.1
{
repeat 5 {
origin0 origin0+(rand-0.5)*3
origin1 origin1+(rand-0.5)*3
origin2 origin2+(rand-0.5)*3
red 0.100 * lerp * 3 * pi * 4
green 0.1
blue 0.8 * (lerp + lerp * 0.3) + pi/3*4
random dir
wobble dir velocity 50 + rand*70
scale velocity velocity 100 + rand*100
size 15*rand
emitter "0.1 * rand * rand" {
//moveGravity 150
colorFade 0
spark
}
shader flareShader
alpha 0.8
random dir
wobble dir velocity 50 + rand*70
scale velocity velocity 100 + rand*100
size 5*rand
emitter "0.1 * rand * rand" {
//moveGravity 150
colorFade 0
sprite
}
shader flareShader
alpha 0.8
wobble dir velocity 50 + rand*70
scale velocity velocity 100 + rand*100
size 5*rand
emitter "0.1 * rand * rand" {
//moveGravity 150
colorFade 0
quad
}
}
}