From cd9f8731a13a29d51a401f67ec2aa0b8962e01c8 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 19 Jan 2014 20:31:28 +0100 Subject: Minor shader and particle system fixes --- assets/scripts/g_jetpack.particle | 126 +++++++++++++++++++------------------- assets/scripts/g_misc.shader | 9 +++ 2 files changed, 72 insertions(+), 63 deletions(-) diff --git a/assets/scripts/g_jetpack.particle b/assets/scripts/g_jetpack.particle index 398aafa..f46862e 100644 --- a/assets/scripts/g_jetpack.particle +++ b/assets/scripts/g_jetpack.particle @@ -2,31 +2,31 @@ jetPackDescendPS { ejector { - particle - { - shader sync gfx/sprites/smoke_blue - displacement 0 0 0 0 + particle + { + shader sync bluesmoke + displacement 0 0 0 0 - velocityType static - velocityDir linear - velocityMagnitude 50 - velocity 0 0 -1 ~15 + velocityType static + velocityDir linear + velocityMagnitude 50 + velocity 0 0 -1 ~15 - accelerationType static - accelerationDir linear - acceleration 0 0 -1 ~5 - accelerationMagnitude 25 + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 - radius 0 5 40 - alpha 250 .15 0 - rotation 0 ~360 ~360 - bounce 0.0 + radius 0 5 40 + alpha 250 0.15 0 + rotation 0 ~360 ~360 + bounce 0 - lifeTime 1000 - } - count infinite - delay 0 - period 45 - ~0% + lifeTime 1000 + } + count infinite + delay 0 + period 45 - 0 } } @@ -34,31 +34,31 @@ jetPackAscendPS { ejector { - particle - { - shader sync gfx/sprites/smoke_blue - displacement 0 0 0 0 + particle + { + shader sync bluesmoke + displacement 0 0 0 0 - velocityType static - velocityDir linear - velocityMagnitude 50 - velocity 0 0 -1 ~15 + velocityType static + velocityDir linear + velocityMagnitude 50 + velocity 0 0 -1 ~15 - accelerationType static - accelerationDir linear - acceleration 0 0 -1 ~5 - accelerationMagnitude 25 + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 - radius 0 5 40 - alpha 250 .30 0 - rotation 0 ~360 ~360 - bounce 0.0 + radius 0 5 40 + alpha 250 0.3 0 + rotation 0 ~360 ~360 + bounce 0 - lifeTime 2000 - } - count infinite - delay 0 - period 45 - ~0% + lifeTime 2000 + } + count infinite + delay 0 + period 45 - 0 } } @@ -66,30 +66,30 @@ jetPackHoverPS { ejector { - particle - { - shader sync gfx/sprites/smoke_blue - displacement 0 0 0 0 + particle + { + shader sync bluesmoke + displacement 0 0 0 0 - velocityType static - velocityDir linear - velocityMagnitude 50 - velocity 0 0 -1 ~15 + velocityType static + velocityDir linear + velocityMagnitude 50 + velocity 0 0 -1 ~15 - accelerationType static - accelerationDir linear - acceleration 0 0 -1 ~5 - accelerationMagnitude 25 + accelerationType static + accelerationDir linear + acceleration 0 0 -1 ~5 + accelerationMagnitude 25 - radius 0 5 40 - alpha 250 .20 0 - rotation 0 ~360 ~360 - bounce 0.0 + radius 0 5 40 + alpha 250 0.2 0 + rotation 0 ~360 ~360 + bounce 0 - lifeTime 1500 - } - count infinite - delay 0 - period 45 - ~0% + lifeTime 1500 + } + count infinite + delay 0 + period 45 - 0 } } \ No newline at end of file diff --git a/assets/scripts/g_misc.shader b/assets/scripts/g_misc.shader index bafde0a..ab614ab 100644 --- a/assets/scripts/g_misc.shader +++ b/assets/scripts/g_misc.shader @@ -138,4 +138,13 @@ models/mapobjects/plant_life/grass depthWrite rgbGen vertex } +} + +bluesmoke +{ + nopicmip + { + map gfx/sprites/smoke_blue.tga + blendFunc Blend + } } \ No newline at end of file -- cgit