]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
ligthnings in "effects_lightning" without "deformVertexes autosprite2"
authormartin <martin@localhost.(none)>
Tue, 4 Oct 2011 13:12:23 +0000 (15:12 +0200)
committermartin <martin@localhost.(none)>
Tue, 4 Oct 2011 13:12:23 +0000 (15:12 +0200)
for better control of the appearance of lightnings

scripts/effects_lightning.shader

index 974dc9a8f3808878f678bab0eb1ef0b67eecd98f..9ae8e080936abcdfb5067d25cb8b70ec7f906a5b 100644 (file)
@@ -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
+       }
+}