fix the liquids shader files
authorRudolf Polzer <divverent@alientrap.org>
Fri, 6 Aug 2010 22:41:51 +0000 (00:41 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 6 Aug 2010 22:41:51 +0000 (00:41 +0200)
scripts/liquids.shader [deleted file]
scripts/liquids_lava.shader [new file with mode: 0644]
scripts/liquids_slime.shader [new file with mode: 0644]
scripts/liquids_water.shader [new file with mode: 0644]

diff --git a/scripts/liquids.shader b/scripts/liquids.shader
deleted file mode 100644 (file)
index 56d1376..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-// reflective water by Urre and Zombie
-
-textures/liquids_water/water0
-{
-       qer_editorimage textures/liquids_water/water0.tga
-       qer_trans 20
-       surfaceparm nomarks
-       surfaceparm trans
-       surfaceparm water
-       surfaceparm nolightmap
-       cull none
-       q3map_globaltexture
-       {
-               map textures/liquids_water/water0.tga
-               tcMod scroll 0.07 0.07
-               tcmod scale 1.2 0.7
-               blendfunc blend
-       }
-       dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
-}
-
-textures/liquids_water/water1
-{
-       qer_editorimage textures/liquids_water/water1.tga
-       qer_trans 20
-       surfaceparm nomarks
-       surfaceparm trans
-       surfaceparm water
-       surfaceparm nolightmap
-       cull none
-       q3map_globaltexture
-       {
-               map textures/liquids_water/water1.tga
-               tcMod scroll 0.07 0.07
-               tcmod scale 1.2 0.7
-               blendfunc blend
-       }
-       dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
-}
-
-textures/liquids_water/water2
-{
-       qer_editorimage textures/liquids_water/water2.tga
-       qer_trans 20
-       surfaceparm nomarks
-       surfaceparm trans
-       surfaceparm water
-       surfaceparm nolightmap
-       cull none
-       q3map_globaltexture
-       {
-               map textures/liquids_water/water2.tga
-               tcMod scroll 0.07 0.07
-               tcmod scale 1.2 0.7
-               blendfunc blend
-       }
-       dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
-}
-
-textures/liquids_water/ruiner_water
-{
-       qer_editorimage textures/liquids_water/ruiner_water.jpg
-       qer_trans 0.5
-       surfaceparm noimpact
-       surfaceparm trans
-       surfaceparm nonsolid
-       surfaceparm water
-       deformVertexes wave 150.0 sin 2 5 0.25 0.1
-       Q3map_TessSize 128
-       cull none
-       {
-               map textures/liquids_water/ruiner_water.jpg
-               blendFunc add
-               rgbGen identity
-       }
-}
-
-
-textures/liquids_slime/slime0
-{
-       qer_editorimage textures/liquids_slime/slime0.tga
-       qer_trans 20
-       surfaceparm nomarks
-       surfaceparm trans
-       surfaceparm slime
-       surfaceparm nolightmap
-       cull none
-       q3map_globaltexture
-       {
-               map textures/liquids_slime/slime0.tga
-               tcMod scroll 0.07 0.07
-               tcmod scale 1.2 0.7
-               blendfunc blend
-       }
-       dp_water 0.1 0.8  3 3  0.5 1 0.5  0.5 1 0.5  0.75
-}
-
-textures/liquids_slime/slime1
-{
-       qer_editorimage textures/liquids_slime/slime1.tga
-       qer_trans 20
-       surfaceparm nomarks
-       surfaceparm trans
-       surfaceparm slime
-       surfaceparm nolightmap
-       cull none
-       q3map_globaltexture
-       {
-               map textures/liquids_slime/slime1.tga
-               tcMod scroll 0.07 0.07
-               tcmod scale 1.2 0.7
-               blendfunc blend
-       }
-       dp_water 0.1 0.8  3 3  1 1 0.5  1 1 0.5  0.75
-}
-
-textures/liquids_lava/protolava
-{
-       qer_editorimage textures/liquids_lava/protolava.jpg
-       qer_trans 0.5
-       surfaceparm trans
-       surfaceparm nonsolid
-       surfaceparm lava
-       deformVertexes wave 150.0 sin 2 5 0.25 0.1
-       Q3map_TessSize 128
-       cull none
-       {
-               map textures/liquids_lava/protolava.jpg
-               blendFunc add
-               rgbGen identity
-       }
-}
diff --git a/scripts/liquids_lava.shader b/scripts/liquids_lava.shader
new file mode 100644 (file)
index 0000000..6e448dd
--- /dev/null
@@ -0,0 +1,16 @@
+textures/liquids_lava/protolava
+{
+       qer_editorimage textures/liquids_lava/protolava.jpg
+       qer_trans 0.5
+       surfaceparm trans
+       surfaceparm nonsolid
+       surfaceparm lava
+       deformVertexes wave 150.0 sin 2 5 0.25 0.1
+       Q3map_TessSize 128
+       cull none
+       {
+               map textures/liquids_lava/protolava.jpg
+               blendFunc add
+               rgbGen identity
+       }
+}
diff --git a/scripts/liquids_slime.shader b/scripts/liquids_slime.shader
new file mode 100644 (file)
index 0000000..208ac32
--- /dev/null
@@ -0,0 +1,37 @@
+textures/liquids_slime/slime0
+{
+       qer_editorimage textures/liquids_slime/slime0.tga
+       qer_trans 20
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm slime
+       surfaceparm nolightmap
+       cull none
+       q3map_globaltexture
+       {
+               map textures/liquids_slime/slime0.tga
+               tcMod scroll 0.07 0.07
+               tcmod scale 1.2 0.7
+               blendfunc blend
+       }
+       dp_water 0.1 0.8  3 3  0.5 1 0.5  0.5 1 0.5  0.75
+}
+
+textures/liquids_slime/slime1
+{
+       qer_editorimage textures/liquids_slime/slime1.tga
+       qer_trans 20
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm slime
+       surfaceparm nolightmap
+       cull none
+       q3map_globaltexture
+       {
+               map textures/liquids_slime/slime1.tga
+               tcMod scroll 0.07 0.07
+               tcmod scale 1.2 0.7
+               blendfunc blend
+       }
+       dp_water 0.1 0.8  3 3  1 1 0.5  1 1 0.5  0.75
+}
diff --git a/scripts/liquids_water.shader b/scripts/liquids_water.shader
new file mode 100644 (file)
index 0000000..8c10a56
--- /dev/null
@@ -0,0 +1,76 @@
+// reflective water by Urre and Zombie
+
+textures/liquids_water/water0
+{
+       qer_editorimage textures/liquids_water/water0.tga
+       qer_trans 20
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm water
+       surfaceparm nolightmap
+       cull none
+       q3map_globaltexture
+       {
+               map textures/liquids_water/water0.tga
+               tcMod scroll 0.07 0.07
+               tcmod scale 1.2 0.7
+               blendfunc blend
+       }
+       dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
+}
+
+textures/liquids_water/water1
+{
+       qer_editorimage textures/liquids_water/water1.tga
+       qer_trans 20
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm water
+       surfaceparm nolightmap
+       cull none
+       q3map_globaltexture
+       {
+               map textures/liquids_water/water1.tga
+               tcMod scroll 0.07 0.07
+               tcmod scale 1.2 0.7
+               blendfunc blend
+       }
+       dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
+}
+
+textures/liquids_water/water2
+{
+       qer_editorimage textures/liquids_water/water2.tga
+       qer_trans 20
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm water
+       surfaceparm nolightmap
+       cull none
+       q3map_globaltexture
+       {
+               map textures/liquids_water/water2.tga
+               tcMod scroll 0.07 0.07
+               tcmod scale 1.2 0.7
+               blendfunc blend
+       }
+       dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
+}
+
+textures/liquids_water/ruiner_water
+{
+       qer_editorimage textures/liquids_water/ruiner_water.jpg
+       qer_trans 0.5
+       surfaceparm noimpact
+       surfaceparm trans
+       surfaceparm nonsolid
+       surfaceparm water
+       deformVertexes wave 150.0 sin 2 5 0.25 0.1
+       Q3map_TessSize 128
+       cull none
+       {
+               map textures/liquids_water/ruiner_water.jpg
+               blendFunc add
+               rgbGen identity
+       }
+}