From 2b813277e5c8528d7ce3646eb5446e838cb4b5a9 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 4 Oct 2011 15:12:23 +0200 Subject: [PATCH] ligthnings in "effects_lightning" without "deformVertexes autosprite2" for better control of the appearance of lightnings --- scripts/effects_lightning.shader | 62 +++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/scripts/effects_lightning.shader b/scripts/effects_lightning.shader index 974dc9a8..9ae8e080 100644 --- a/scripts/effects_lightning.shader +++ b/scripts/effects_lightning.shader @@ -74,4 +74,64 @@ textures/effects_lightning/gradient_white clampmap textures/effects_lightning/gradient_white.tga blendfunc blend } -} \ No newline at end of file +} +//Lightning1-a-nosprite +textures/effects_lightning/lightning1_a_nosprite +{ + qer_editorimage textures/effects_lightning/lightning1/1.tga + surfaceparm nolightmap + surfaceparm nodlight + surfaceparm trans + surfaceparm nomarks + surfaceparm noimpact + cull none + { + animMap 15 textures/effects_lightning/lightning1/1.tga textures/effects_lightning/lightning1/2.tga textures/effects_lightning/lightning1/3.tga textures/effects_lightning/lightning1/4.tga textures/effects_lightning/lightning1/5.tga textures/effects_lightning/lightning1/6.tga textures/effects_lightning/lightning1/7.tga textures/effects_lightning/lightning1/8.tga textures/effects_lightning/lightning1/9.tga textures/effects_lightning/lightning1/10.tga textures/effects_lightning/lightning1/11.tga + blendfunc add + } +} +//Lightning1-b-nosprite +textures/effects_lightning/lightning1_b_nosprite +{ + qer_editorimage textures/effects_lightning/lightning1/4.tga + surfaceparm nolightmap + surfaceparm nodlight + surfaceparm trans + surfaceparm nomarks + surfaceparm noimpact + cull none + { + animMap 15 textures/effects_lightning/lightning1/4.tga textures/effects_lightning/lightning1/5.tga textures/effects_lightning/lightning1/6.tga textures/effects_lightning/lightning1/7.tga textures/effects_lightning/lightning1/8.tga textures/effects_lightning/lightning1/9.tga textures/effects_lightning/lightning1/10.tga textures/effects_lightning/lightning1/11.tga textures/effects_lightning/lightning1/1.tga textures/effects_lightning/lightning1/2.tga textures/effects_lightning/lightning1/3.tga + blendfunc add + } +} +//Lightning1-c-nosprite +textures/effects_lightning/lightning1_c_nosprite +{ + qer_editorimage textures/effects_lightning/lightning1/6.tga + surfaceparm nolightmap + surfaceparm nodlight + surfaceparm trans + surfaceparm nomarks + surfaceparm noimpact + cull none + { + animMap 15 textures/effects_lightning/lightning1/6.tga textures/effects_lightning/lightning1/7.tga textures/effects_lightning/lightning1/8.tga textures/effects_lightning/lightning1/9.tga textures/effects_lightning/lightning1/10.tga textures/effects_lightning/lightning1/11.tga textures/effects_lightning/lightning1/1.tga textures/effects_lightning/lightning1/2.tga textures/effects_lightning/lightning1/3.tga textures/effects_lightning/lightning1/4.tga textures/effects_lightning/lightning1/5.tga + blendfunc add + } +} +//Lightning1-d-nosprite +textures/effects_lightning/lightning1_d_nosprite +{ + qer_editorimage textures/effects_lightning/lightning1/8.tga + surfaceparm nolightmap + surfaceparm nodlight + surfaceparm trans + surfaceparm nomarks + surfaceparm noimpact + cull none + { + animMap 15 textures/effects_lightning/lightning1/8.tga textures/effects_lightning/lightning1/9.tga textures/effects_lightning/lightning1/10.tga textures/effects_lightning/lightning1/11.tga textures/effects_lightning/lightning1/1.tga textures/effects_lightning/lightning1/2.tga textures/effects_lightning/lightning1/3.tga textures/effects_lightning/lightning1/4.tga textures/effects_lightning/lightning1/5.tga textures/effects_lightning/lightning1/6.tga textures/effects_lightning/lightning1/7.tga + blendfunc add + } +} -- 2.39.2