From 381bfb1c3df3e9705d8d2ea465eef2217d9188f4 Mon Sep 17 00:00:00 2001
From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Date: Sun, 19 Sep 2010 02:44:11 +0300
Subject: [PATCH] Greatwall overloaded shaders

---
 data/scripts/greatwall-overloaded.shader     | 170 +++++++++++++++
 data/scripts/greatwall_overloaded-ter.shader | 217 +++++++++++++++++++
 data/scripts/shaderlist.txt                  |   4 +-
 3 files changed, 390 insertions(+), 1 deletion(-)
 create mode 100644 data/scripts/greatwall-overloaded.shader
 create mode 100644 data/scripts/greatwall_overloaded-ter.shader

diff --git a/data/scripts/greatwall-overloaded.shader b/data/scripts/greatwall-overloaded.shader
new file mode 100644
index 00000000..e12d4bf8
--- /dev/null
+++ b/data/scripts/greatwall-overloaded.shader
@@ -0,0 +1,170 @@
+textures/greatwall-overloaded/slime
+{
+	qer_editorimage textures/greatwall-overloaded/slime
+	qer_trans 0.75
+
+	q3map_shadeAngle 45
+
+	surfaceparm trans
+	surfaceparm nonsolid
+	surfaceparm slime
+	surfaceparm nolightmap
+
+	cull disable
+
+	//tessSize 32
+	//deformVertexes bulge 128 2 1
+
+
+	{
+		tcMod turb 0 0.2 0.28 0.1
+		map textures/greatwall-overloaded/slime
+		blendfunc blend
+		rgbGen Vertex
+	}
+
+//	{
+//		map $lightmap 
+//		rgbGen identity
+//		tcGen lightmap 
+//		blendfunc filter
+//	}
+
+}
+
+textures/greatwall-overloaded/e6horzovallight_1250
+{
+	qer_editorimage textures/evil6_lights/e6horzovallight.jpg
+
+	q3map_surfacelight 1250
+	q3map_lightSubdivide 8
+
+	surfaceparm nomarks
+	{
+		map textures/evil6_lights/e6horzovallight.jpg
+	}
+
+	{
+		map $lightmap
+		blendfunc filter
+	}
+}
+
+textures/greatwall-overloaded/light1
+{
+	qer_editorimage textures/greatwall-overloaded/light1.tga
+
+	q3map_surfacelight 7500
+	q3map_lightSubdivide 8
+
+	surfaceparm nomarks
+	{
+		map textures/greatwall-overloaded/light1.tga
+	}
+
+	{
+		map $lightmap
+		blendfunc filter
+	}
+}
+
+textures/greatwall-overloaded/rock1
+{
+	// q3map_lightmapSampleOffset 32
+	q3map_splotchFix
+	q3map_globalTexture
+	q3map_nonplanar
+	q3map_shadeangle 179
+
+	qer_editorimage textures/terrain_data/rock06
+
+	q3map_alphaMod dotproduct2 ( 0 0 0.95 )
+
+
+	{
+		map textures/terrain_data/rock06
+	}
+
+	{
+		map textures/terrain_data/rock01
+		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA		
+		alphaGen vertex
+	}
+
+	{
+		map $lightmap
+		blendfunc filter
+	}
+}
+
+
+textures/greatwall-overloaded/protolava
+{
+	qer_editorimage textures/liquids/protolava.jpg
+	qer_trans 0.5
+	surfaceparm trans
+	surfaceparm nonsolid
+	surfaceparm lava
+
+	q3map_surfacelight 2500
+	q3map_lightSubdivide 8
+
+	// deformVertexes wave 150.0 sin 2 5 0.25 0.1
+	// Q3map_TessSize 128
+	cull none
+	{
+		map textures/liquids/protolava.jpg
+		blendFunc add
+		rgbGen identity
+	}
+}
+
+textures/greatwall-overloaded/e8tinylight-950
+{
+	qer_editorimage textures/evil8_lights/e8tinylight.tga
+	surfaceparm nomarks
+	q3map_surfacelight 950
+
+	{
+		map textures/evil8_lights/e8tinylight.tga
+	}
+
+	{
+		map $lightmap
+		blendfunc filter
+		tcGen lightmap
+	}
+}
+
+textures/greatwall-overloaded/e8tinylight-broke
+{
+	qer_editorimage textures/greatwall-overloaded/e8tinylight-broke
+
+	surfaceparm nomarks
+//	q3map_surfacelight 950
+
+	{
+		map textures/greatwall-overloaded/e8tinylight-broke
+	}
+
+	{
+		map $lightmap
+		blendfunc filter
+		tcGen lightmap
+	}
+}
+
+textures/brokenworld/sky
+{
+	qer_editorimage env/brokensky/brokensky_up.tga
+	surfaceparm sky
+	surfaceparm noimpact
+	surfaceparm nolightmap
+	surfaceparm nomarks
+
+	q3map_backSplash 0 0
+	q3map_surfacelight 50
+	q3map_sunExt 0.7 1 1 250 0 90 15 32
+
+	skyparms env/brokensky/brokensky - -
+}
diff --git a/data/scripts/greatwall_overloaded-ter.shader b/data/scripts/greatwall_overloaded-ter.shader
new file mode 100644
index 00000000..4c615d95
--- /dev/null
+++ b/data/scripts/greatwall_overloaded-ter.shader
@@ -0,0 +1,217 @@
+textures/greatwall_overloaded-ter/terrain_0
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+
+	{
+		map textures/terrain_data/grass01.tga
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain_1
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+
+	{
+		map textures/terrain_data/mudground02.tga
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain_2
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+
+	{
+		map textures/terrain_data/rockyground01.tga
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain_3
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+
+	{
+		map textures/terrain_data/sand.tga
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain_0to1
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+	
+	{
+		map textures/terrain_data/grass01.tga
+	}
+	{
+		map textures/terrain_data/mudground02.tga
+		alphaGen vertex
+		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain_0to2
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+	
+	{
+		map textures/terrain_data/grass01.tga
+	}
+	{
+		map textures/terrain_data/rockyground01.tga
+		alphaGen vertex
+		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain_0to3
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+	
+	{
+		map textures/terrain_data/grass01.tga
+	}
+	{
+		map textures/terrain_data/sand.tga
+		alphaGen vertex
+		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain_1to2
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+	
+	{
+		map textures/terrain_data/mudground02.tga
+	}
+	{
+		map textures/terrain_data/rockyground01.tga
+		alphaGen vertex
+		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain_1to3
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+	
+	{
+		map textures/terrain_data/mudground02.tga
+	}
+	{
+		map textures/terrain_data/sand.tga
+		alphaGen vertex
+		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain_2to3
+{
+	q3map_lightmapsamplesize 64
+	q3map_lightmapaxis z
+	q3map_texturesize 512 512
+	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
+	q3map_lightmapBrightness 0.5
+	
+	{
+		map textures/terrain_data/rockyground01.tga
+	}
+	{
+		map textures/terrain_data/sand.tga
+		alphaGen vertex
+		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
+	}
+	{
+		map $lightmap
+		blendFunc GL_DST_COLOR GL_ZERO
+		tcGen lightmap
+	}
+}
+
+textures/greatwall_overloaded-ter/terrain.vertex
+{
+	{
+		map textures/terrain_data/grass01.tga
+		rgbGen vertex
+	}
+}
\ No newline at end of file
diff --git a/data/scripts/shaderlist.txt b/data/scripts/shaderlist.txt
index 4cf47d73..36769902 100644
--- a/data/scripts/shaderlist.txt
+++ b/data/scripts/shaderlist.txt
@@ -64,4 +64,6 @@ water
 mirceakitsune
 artwork
 gasolinepowered
-ab
\ No newline at end of file
+ab
+greatwall_overloaded
+greatwall_overloaded-ter
-- 
2.39.5