From c393a65f055619a2538ee9f83dba465e642b3cb4 Mon Sep 17 00:00:00 2001
From: Rudolf Polzer <divverent@alientrap.org>
Date: Tue, 27 Apr 2010 17:20:32 +0200
Subject: [PATCH] add back some shaders that were missing here

---
 scripts/nexcompat-electro.shader   |  16 ++++
 scripts/nexcompat-fireball.shader  |  10 +++
 scripts/nexcompat-flags.shader     |  33 ++++++++
 scripts/nexcompat-hlac.shader      |  40 ++++++++++
 scripts/nexcompat-onslaught.shader |  99 ++++++++++++++++++++++++
 scripts/nexcompat-portals.shader   |  68 ++++++++++++++++
 scripts/nexcompat-shotgun.shader   |  10 +++
 scripts/nexcompat-spiderbot.shader |  10 +++
 scripts/nexcompat-teamfx.shader    | 120 +++++++++++++++++++++++++++++
 scripts/nexcompat-tuba.shader      |  19 +++++
 10 files changed, 425 insertions(+)
 create mode 100644 scripts/nexcompat-electro.shader
 create mode 100644 scripts/nexcompat-fireball.shader
 create mode 100644 scripts/nexcompat-flags.shader
 create mode 100644 scripts/nexcompat-hlac.shader
 create mode 100644 scripts/nexcompat-onslaught.shader
 create mode 100644 scripts/nexcompat-portals.shader
 create mode 100644 scripts/nexcompat-shotgun.shader
 create mode 100644 scripts/nexcompat-spiderbot.shader
 create mode 100644 scripts/nexcompat-teamfx.shader
 create mode 100644 scripts/nexcompat-tuba.shader

diff --git a/scripts/nexcompat-electro.shader b/scripts/nexcompat-electro.shader
new file mode 100644
index 000000000..29fa15a3e
--- /dev/null
+++ b/scripts/nexcompat-electro.shader
@@ -0,0 +1,16 @@
+textures/electro_plasma
+{
+ {
+	map textures/electro_plasma.tga
+	tcMod scroll 0.03 0.001
+ }
+}
+
+textures/electro_plasma_hull
+{
+        {
+	map textures/electro_plasma_hull.tga
+	alphaFunc GT0
+	rgbGen Vertex
+        }
+}
diff --git a/scripts/nexcompat-fireball.shader b/scripts/nexcompat-fireball.shader
new file mode 100644
index 000000000..aeed387ec
--- /dev/null
+++ b/scripts/nexcompat-fireball.shader
@@ -0,0 +1,10 @@
+textures/fireball
+{
+	{
+		map textures/fireball
+		tcgen environment
+	}
+	{
+		map $lightmap
+	}
+}
diff --git a/scripts/nexcompat-flags.shader b/scripts/nexcompat-flags.shader
new file mode 100644
index 000000000..12ba575d3
--- /dev/null
+++ b/scripts/nexcompat-flags.shader
@@ -0,0 +1,33 @@
+textures/flags/flag_red_cloth {
+	cull none
+	deformVertexes wave 100 sin 0 0.4 0 2.5
+	{
+		map textures/flags/flag_red_cloth.tga
+	}
+}
+
+textures/flags/flag_red_laser {
+	{
+		map textures/flags/flag_red_laser.tga
+		tcMod scroll 0.2 -1
+		blendfunc add
+	}
+}
+
+
+textures/flags/flag_blue_cloth {
+	cull none
+	deformVertexes wave 100 sin 0 0.4 0 2.5
+	{
+		map textures/flags/flag_blue_cloth.tga
+	}
+}
+
+textures/flags/flag_blue_laser {
+	{
+		map textures/flags/flag_blue_laser.tga
+		tcMod scroll 0.2 -1
+		blendfunc add
+	}
+}
+
diff --git a/scripts/nexcompat-hlac.shader b/scripts/nexcompat-hlac.shader
new file mode 100644
index 000000000..cd85d936f
--- /dev/null
+++ b/scripts/nexcompat-hlac.shader
@@ -0,0 +1,40 @@
+hlac_plasma
+{
+ {
+	map textures/hlac_plasma.tga
+	tcMod scroll 22.5 0.2
+	tcmod scale 0.01 0.01
+ }
+}
+
+hlac_metal
+{
+        cull none
+        {
+                map textures/hlac_metal.tga
+                rgbgen vertex
+        }
+}
+hlac_glass
+{
+	qer_editorimage textures/hlac_glass.tga
+	surfaceparm trans
+	cull disable
+	qer_trans 0.5
+	{
+		map textures/hlac_glass.tga
+		blendfunc add
+		//rgbGen vertex
+		tcgen environment
+		tcmod scale 4 4
+	}	
+}
+hlac_bullet
+{
+	cull disable
+	deformVertexes autosprite
+	{
+		map models/hlac_bullet.tga
+		blendfunc add
+	}	
+}
diff --git a/scripts/nexcompat-onslaught.shader b/scripts/nexcompat-onslaught.shader
new file mode 100644
index 000000000..6b9c9461a
--- /dev/null
+++ b/scripts/nexcompat-onslaught.shader
@@ -0,0 +1,99 @@
+ons_shield
+{
+ {
+	map textures/ons_shield.tga
+	tcMod rotate 15
+	tcMod scale 0.3 0.3
+	tcMod scroll 0.03 0.001
+	tcGen environment
+ }
+}
+
+ons_pad_text
+{
+	cull none
+ {
+	map textures/ons_text.tga
+	tcMod scroll 0.1 0
+	blendfunc add
+
+ }
+}
+
+ons_icon_text
+{
+ {
+	map textures/ons_text.tga
+	tcMod scroll 0.1 0
+ }
+}
+
+ons_icon_thrust
+{
+ {
+	map textures/ons_icon_thrust.tga
+	tcMod scroll 3 0
+	tcMod rotate 10
+ }
+}
+ons_gen_spark
+{
+	cull none
+ {
+	animmap 9 textures/generator_lightning.tga textures/generator_lightning2.tga
+	tcMod scroll 0.5 0
+	blendfunc add
+
+ }
+}
+ons_fire
+{
+ {
+	map textures/ons_boom1.tga
+	tcMod scroll 0.05 0.1
+	tcMod rotate 0.01
+	blendfunc add
+
+ }
+}
+ons_smoke
+{
+	deformVertexes wave sin 1 3 2 0.2
+ {
+	map textures/ons_smoke1.tga
+	tcMod scroll 0.01 0.04
+	tcMod rotate 0.01
+	alphaFunc GE128
+
+ }
+}
+ons_shockwave
+{
+	cull none
+ {
+	map textures/ons_shockwave1.tga
+	tcMod scroll 0.2 0
+	blendfunc add
+
+ }
+}
+ons_shockwave2
+{
+ {
+	map textures/ons_shockwave2.tga
+	tcMod rotate 85
+	tcMod scroll 0.03 0.6
+	tcGen environment
+	blendfunc add
+ }
+}
+
+ons_ray
+{
+cull none
+ {
+	map textures/ons_ray.tga
+	tcMod rotate 85
+	blendfunc add
+ }
+}
\ No newline at end of file
diff --git a/scripts/nexcompat-portals.shader b/scripts/nexcompat-portals.shader
new file mode 100644
index 000000000..9473c3ae0
--- /dev/null
+++ b/scripts/nexcompat-portals.shader
@@ -0,0 +1,68 @@
+portals_red_vortex
+{
+	cull none
+	deformVertexes wave 100 sin 1.5 0.6 0 1.5
+	{
+		map textures/portals/portals_red_vortex.tga
+		tcMod rotate 10
+		blendfunc blend
+	}
+}
+
+portals_blue_vortex
+{
+	cull none
+	deformVertexes wave 100 sin 1.5 0.6 0 1.5
+	{
+		map textures/portals/portals_blue_vortex.tga
+		tcMod rotate 10
+		blendfunc blend
+	}
+}
+
+portals_inactive_vortex
+{
+	cull none
+	deformVertexes wave 100 sin 1.5 0.6 0 1.5
+	{
+		map textures/portals/portals_inactive_vortex.tga
+		tcMod rotate 10
+		blendfunc blend
+	}
+}
+
+textures/portals/portals_red
+{
+	surfaceparm nonsolid
+	{
+		map textures/portals/portals_red.tga
+	}
+	{
+		map $lightmap
+		blendfunc filter
+	}
+}
+
+textures/portals/portals_blue
+{
+	surfaceparm nonsolid
+	{
+		map textures/portals/portals_blue.tga
+	}
+	{
+		map $lightmap
+		blendfunc filter
+	}
+}
+
+textures/portals/portals_inactive
+{
+	surfaceparm nonsolid
+	{
+		map textures/portals/portals_inactive.tga
+	}
+	{
+		map $lightmap
+		blendfunc filter
+	}
+}
diff --git a/scripts/nexcompat-shotgun.shader b/scripts/nexcompat-shotgun.shader
new file mode 100644
index 000000000..039230427
--- /dev/null
+++ b/scripts/nexcompat-shotgun.shader
@@ -0,0 +1,10 @@
+textures/shotgun_sight
+{
+	surfaceparm trans
+
+	{
+		map textures/shotgun_sight.tga
+		blendfunc add
+		//rgbGen vertex
+	}	
+}
diff --git a/scripts/nexcompat-spiderbot.shader b/scripts/nexcompat-spiderbot.shader
new file mode 100644
index 000000000..445fed53f
--- /dev/null
+++ b/scripts/nexcompat-spiderbot.shader
@@ -0,0 +1,10 @@
+darkvisor
+{
+	qer_editorimage darkvisor.tga
+	{
+		map darkvisor.tga
+		rgbGen vertex
+		tcgen environment
+		tcmod scale 4 4
+	}	
+}
\ No newline at end of file
diff --git a/scripts/nexcompat-teamfx.shader b/scripts/nexcompat-teamfx.shader
new file mode 100644
index 000000000..8f368aff1
--- /dev/null
+++ b/scripts/nexcompat-teamfx.shader
@@ -0,0 +1,120 @@
+teamfx/blobblue
+{
+surfaceparm trans
+deformVertexes autosprite
+{
+	map models/teamfx/blobblue.tga
+	blendfunc add
+}
+}
+
+teamfx/blobred
+{
+surfaceparm trans
+deformVertexes autosprite
+{
+	map models/teamfx/blobred.tga
+	blendfunc add
+}
+
+}
+
+teamfx/blobyellow
+{
+surfaceparm trans
+deformVertexes autosprite
+{
+	map models/teamfx/blobyellow.tga
+	blendfunc add
+}
+
+}
+
+teamfx/blobpink
+{
+surfaceparm trans
+deformVertexes autosprite
+{
+	map models/teamfx/blobpink.tga
+	blendfunc add
+}
+
+}
+
+teamfx/bluering
+{
+surfaceparm trans
+{
+	map models/teamfx/blobblue.tga
+	blendfunc add
+}
+}
+teamfx/redring
+{
+surfaceparm trans
+{
+	map models/teamfx/blobyellow.tga
+	blendfunc add
+}
+}
+teamfx/yellowring
+{
+surfaceparm trans
+{
+	map models/teamfx/blobpink.tga
+	blendfunc add
+}
+}
+teamfx/pinkring
+{
+surfaceparm trans
+{
+	map models/teamfx/blobpink.tga
+	blendfunc add
+}
+}
+teamfx/flare
+{
+surfaceparm trans
+deformVertexes autosprite
+{
+	map models/teamfx/flare.tga
+	blendfunc add
+}
+}
+teamfx/rayblue
+{
+surfaceparm trans
+deformVertexes autosprite
+{
+	map models/teamfx/rayblue.tga
+	blendfunc add
+}
+}
+teamfx/rayred
+{
+surfaceparm trans
+deformVertexes autosprite
+{
+	map models/teamfx/rayred.tga
+	blendfunc add
+}
+}
+teamfx/rayyellow
+{
+surfaceparm trans
+deformVertexes autosprite
+{
+	map models/teamfx/rayyellow.tga
+	blendfunc add
+}
+}
+teamfx/raypink
+{
+surfaceparm trans
+deformVertexes autosprite
+{
+	map models/teamfx/raypink.tga
+	blendfunc add
+}
+}
diff --git a/scripts/nexcompat-tuba.shader b/scripts/nexcompat-tuba.shader
new file mode 100644
index 000000000..e5e0da415
--- /dev/null
+++ b/scripts/nexcompat-tuba.shader
@@ -0,0 +1,19 @@
+textures/tuba
+{
+	{
+		map textures/tuba
+		tcgen environment
+	}
+	{
+		map $lightmap
+	}
+}
+textures/tuba_misc
+{
+	{
+		map textures/tuba
+	}
+	{
+		map $lightmap
+	}
+}
-- 
2.39.5