]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
evil4 shaders (hopefully I didn't break any)
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 28 Jan 2012 11:52:57 +0000 (13:52 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 28 Jan 2012 11:52:57 +0000 (13:52 +0200)
data/scripts/evil4_d_techwalls.shader [new file with mode: 0644]
data/scripts/evil4_fx.shader [new file with mode: 0644]
data/scripts/evil4_lights.shader [new file with mode: 0644]
data/scripts/evil4_metals.shader [new file with mode: 0644]
data/scripts/evil4_techfloors.shader [new file with mode: 0644]
data/scripts/evil4_techtrims.shader
data/scripts/evil4_techwalls.shader [new file with mode: 0644]
data/scripts/shaderlist.txt

diff --git a/data/scripts/evil4_d_techwalls.shader b/data/scripts/evil4_d_techwalls.shader
new file mode 100644 (file)
index 0000000..bbbf2eb
--- /dev/null
@@ -0,0 +1,572 @@
+textures/evil4_d_techwalls/d_drkmtl_dpanel\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_dpanel\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtl_dpanelb\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_dpanelb\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtl_dpanelc\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_dpanelc\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtl_dpanelwrn\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_dpanelwrn\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2.tga\r
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtl_dpanelwrnbgrt\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnbgrt\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtl_lightboard\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_lightboard\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtl_mpanel\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_mpanel\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtl_mpanelgrt\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtl_mpanelgrt\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtlsupport_alpha\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtlsupport_alpha\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_drkmtlsupport\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_drkmtlsupport\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_lighttechdoor\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_lighttechdoor\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_shinymtlsupport\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_shinymtlsupport\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_drkwall_b\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_drkwall_b\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_drkwall_cutl\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_drkwall_cutl\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_drkwall_cutr\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_drkwall_cutr\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_drkwall\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_drkwall\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_drkwall_seam\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_drkwall_seam\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_drkwall_seam2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_drkwall_seam2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_drkwall2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_drkwall2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_drkwll_pnltek\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_drkwll_pnltek\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dw_grate\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dw_grate\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dw2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dw2\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc filter\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dw2_fx\r
+               blendFunc add\r
+               rgbGen wave sin .5 .5 0 3\r
+       }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dw2g\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dw2g\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc filter\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dw2_fx\r
+               blendFunc add\r
+               rgbGen wave sin .5 .5 0 3\r
+       }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dw2gb\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dw2gb\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc filter\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dw2_fx\r
+               blendFunc add\r
+               rgbGen wave sin .5 .5 0 3\r
+       }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dwb_2g\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dwb_2g\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dwb_2gsign\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dwb_2gsign\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dwb_light\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dwb_light\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dwb\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dwb\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dwb_sign\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dwb_sign\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dws_grate\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dws_grate\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_dwteky\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_dwteky\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_wall_dlight\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm nomarks\r
+       q3map_surfacelight 5000\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_wall_dlight.tga\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc filter\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_wall_drkm\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_wall_drkm\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_wall_drkm2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_wall_drkm2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_wall_drkmpanel\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_wall_drkmpanel\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_wall_grll\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_wall_grll\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_wall2_huge\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_wall2_huge\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_window\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       cull twosided\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_window\r
+               blendFunc blend\r
+               rgbGen identity\r
+       }\r
+\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_window\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_window\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_d_techwalls/d_tech_windowmask\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_d_techwalls/d_tech_windowmask\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}
\ No newline at end of file
diff --git a/data/scripts/evil4_fx.shader b/data/scripts/evil4_fx.shader
new file mode 100644 (file)
index 0000000..6937a8e
--- /dev/null
@@ -0,0 +1,73 @@
+// portal\r
+\r
+textures/evil4_fx/mtlportal_fx\r
+{\r
+       qer_editorimage textures/evil4_fx/mtlportal.tga\r
+       cull disable\r
+       surfaceparm nomarks\r
+       surfaceparm trans\r
+       sort additive\r
+       {\r
+               clampmap textures/evil4_fx/mtlportal_fx1.tga\r
+               blendFunc add\r
+               tcmod rotate -100\r
+               rgbGen identity\r
+       }\r
+       {\r
+               clampmap textures/evil4_fx/mtlportal_fx2.tga\r
+               blendFunc add\r
+               tcmod rotate 100\r
+               rgbGen identity\r
+       }\r
+       {\r
+               clampmap textures/evil4_fx/mtlportal.tga\r
+               alphaFunc GE128\r
+               depthWrite\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               depthFunc equal\r
+       }\r
+}\r
+\r
+//snow\r
+textures/evil4_fx/teleprtr\r
+{\r
+       cull disable\r
+       surfaceparm nomarks\r
+       surfaceparm trans\r
+       sort additive\r
+       {\r
+               clampmap textures/evil4_fx/teleprtr_fx3.tga\r
+               blendFunc add\r
+               tcmod rotate -267\r
+               rgbGen identity\r
+       }\r
+       {\r
+               clampmap textures/evil4_fx/teleprtr_fx1.tga\r
+               blendFunc add\r
+               tcmod rotate 155\r
+               rgbGen identity\r
+       }\r
+       {\r
+               clampmap textures/evil4_fx/teleprtr_fx2.tga\r
+               blendFunc add\r
+               tcmod rotate -100\r
+               rgbGen identity\r
+       }\r
+       {\r
+               clampmap textures/evil4_fx/teleprtr.tga\r
+               alphaFunc GE128\r
+               depthWrite\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               depthFunc equal\r
+       }\r
+}
\ No newline at end of file
diff --git a/data/scripts/evil4_lights.shader b/data/scripts/evil4_lights.shader
new file mode 100644 (file)
index 0000000..ba9629f
--- /dev/null
@@ -0,0 +1,231 @@
+textures/evil4_lights/steplight\r
+{\r
+       surfaceparm nomarks\r
+       q3map_surfacelight 1000\r
+       //light1\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/steplight.tga\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/steplight_glow.tga\r
+               blendfunc GL_ONE GL_ONE\r
+       }\r
+}\r
+\r
+textures/evil4_lights/drkmtlsupport_light\r
+{\r
+       surfaceparm nomarks\r
+       q3map_surfacelight 1000\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/drkmtlsupport_light.tga\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/drkmtlsupport_light_glow.tga\r
+               rgbGen wave sin 0.5 0.5 1 .5\r
+               blendfunc GL_ONE GL_ONE\r
+       }\r
+}\r
+\r
+textures/evil4_lights/s_light\r
+{\r
+       qer_editorimage textures/evil4_lights/s_light.jpg\r
+       surfaceparm nomarks\r
+       q3map_surfacelight 2500\r
+       {\r
+               map textures/evil4_lights/s_light.jpg\r
+               //blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+               blendFunc Filter\r
+       }\r
+}\r
+\r
+textures/evil4_lights/t_mtllight\r
+{\r
+       surfaceparm nomarks\r
+       q3map_surfacelight 1000\r
+       //light1\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/t_mtllight.jpg\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_lights/mtl_lightsmll\r
+{\r
+       surfaceparm nomarks\r
+       q3map_surfacelight 1000\r
+       //light1\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/mtl_lightsmll.jpg\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+//double glowing effect light strips\r
+\r
+textures/evil4_lights/l_light_b\r
+{\r
+       q3map_surfacelight 5000\r
+       q3map_lightimage textures/evil4_lights/l_light_b.jpg\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/l_light_b.jpg\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_lights/l_light_g\r
+{\r
+       q3map_surfacelight 5000\r
+       q3map_lightimage textures/evil4_lights/l_light_g.jpg\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/l_light_g.jpg\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_lights/l_light_r\r
+{\r
+       q3map_surfacelight 5000\r
+       q3map_lightimage textures/evil4_lights/l_light_r.jpg\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/l_light_r.jpg\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_lights/l_light_w\r
+{\r
+       q3map_surfacelight 5000\r
+       q3map_lightimage textures/evil4_lights/l_light_w.jpg\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_lights/l_light_w.jpg\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_lights/mtl_l1\r
+{\r
+       q3map_surfacelight 1000\r
+       q3map_lightimage textures/evil4_lights/mtl_l1.tga\r
+       // LordHavoc: replaced most of this shader\r
+       {\r
+               map textures/evil4_lights/mtl_l1.tga\r
+       }\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+               blendfunc filter\r
+       }\r
+       {\r
+               map textures/evil4_lights/mtl_l1_glow.tga\r
+               blendfunc add\r
+       }\r
+       // LordHavoc: original shader\r
+       //{\r
+       //      map textures/evil4_lights/mtl_l1_fx.tga\r
+       //      //blendfunc add\r
+       //      tcmod scale 12 1\r
+       //      rgbGen identity\r
+       //      tcMod scroll 0 1\r
+       //}\r
+       //{\r
+       //      map textures/evil4_lights/mtl_l1_fx.tga\r
+       //      blendfunc add\r
+       //      //tcmod scale 25 1\r
+       //      rgbGen identity\r
+       //      tcMod scroll 1 0\r
+       //}\r
+       //{\r
+       //      map textures/evil4_lights/mtl_l1.tga\r
+       //      blendfunc blend\r
+       //      rgbGen identity\r
+       //}\r
+       //{\r
+       //      map textures/evil4_lights/mtl_l1_glow.tga\r
+       //      blendfunc add\r
+       //      tcmod scale 1 1\r
+       //}\r
+       //{\r
+       //      map $lightmap\r
+       //      rgbGen identity\r
+       //      blendfunc filter\r
+       //}\r
+}\r
+\r
+//border light\r
+\r
+textures/evil4_lights/trimtl_grlbtm_light\r
+{\r
+       q3map_surfacelight 5000\r
+       qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga\r
+       {\r
+               map textures/evil4_lights/trimtl_grlbtm_light.tga\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+               blendfunc gl_dst_color gl_zero\r
+       }\r
+}\r
+\r
+textures/evil4_lights/s_bluelight\r
+{\r
+       q3map_surfacelight 1000\r
+       q3map_lightimage textures/evil4_lights/s_bluelight.tga\r
+       {\r
+               map textures/evil4_lights/s_bluelight.tga\r
+               rgbGen identity\r
+       }       \r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+               blendfuns filter\r
+       }\r
+}
\ No newline at end of file
diff --git a/data/scripts/evil4_metals.shader b/data/scripts/evil4_metals.shader
new file mode 100644 (file)
index 0000000..369a043
--- /dev/null
@@ -0,0 +1,641 @@
+textures/evil4_metals/defaultmetal\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/defaultmetal\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/drkmtl_default\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/drkmtl_default\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/drkmtl_grlpltmech\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/drkmtl_grlpltmech\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/eshinytin\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/eshinytin\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/flrgrate\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/flrgrate\r
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_metals/hexametal_drk\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/hexametal_drk\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/hexametal\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/hexametal\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mediummtl_default\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mediummtl_default\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtl2grt\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtl2grt\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlb\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlb\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtldoor\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtldoor\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlflrslots\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlflrslots\r
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_metals/mtloverlaprwll\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtloverlaprwll\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlpanel_d\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlpanel_d\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlpanel_ow\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlpanel_ow\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlpanel\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlpanel\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlpanel_wrnstripe_ow\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlpanel_wrnstripe_ow\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlpanel_wrnstripe_ow2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlpanel_wrnstripe_ow2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlpanel_wrnstripe\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlpanel_wrnstripe\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlpanelsmll_ow\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlpanelsmll_ow\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlpanelsmll_ow2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlpanelsmll_ow2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlpanelsmll\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlpanelsmll\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlslots_ow\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlslots_ow\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlslots\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlslots\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlslotsrivts_ow\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlslotsrivts_ow\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlslotsrivts\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlslotsrivts\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlsportal\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlsportal\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtltechwall_128\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtltechwall_128\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtltechwall\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtltechwall\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlbrushed\r
+{\r
+       qer_editorimage textures/evil4_metals/mtlbrushed\r
+\r
+       {\r
+               map textures/evil4_metals/mtlbrushed\r
+               blendFunc gl_dst_color gl_zero\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+\r
+textures/evil4_metals/mtltekfloor\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       q3map_surfacelight 100\r
+       q3map_lightimage textures/evil4_metal/mtltekfloor_fx\r
+\r
+       {\r
+               map textures/evil4_metals/mtltekfloor\r
+       }\r
+\r
+       {\r
+               map $lightmap\r
+               blendfunc gl_dst_color gl_zero\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_metals/mtlwrndoor\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlwrndoor\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/mtlwrndoor2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/mtlwrndoor2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/step\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/step\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/stepgrl\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/stepgrl\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti_wrn\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti_wrn\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti_wrn2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti_wrn2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti_wrn2hfx\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti_wrn2hfx\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti_wrnb\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti_wrnb\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti_wrnlights\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti_wrnlights\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti_wrnlights2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti_wrnlights2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti2_0000\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti2_0000\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/tekwallmulti2_wrn\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/tekwallmulti2_wrn\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/trimtl_grlbtm\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/trimtl_grlbtm\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/whitemtl_default\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_metals/whitemtl_default\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_metals/wrnjumppad\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_metals/wrnjumppad.tga\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_metals/wrnjumppad_glow.tga\r
+               rgbGen wave sin 0.5 0.5 1 1\r
+               blendfunc GL_ONE GL_ONE\r
+       }\r
+}
\ No newline at end of file
diff --git a/data/scripts/evil4_techfloors.shader b/data/scripts/evil4_techfloors.shader
new file mode 100644 (file)
index 0000000..3a01cd0
--- /dev/null
@@ -0,0 +1,166 @@
+textures/evil4_techfloors/tfloor\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloor\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_techfloors/tfloor_rndholes_drty\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloor_rndholes_drty\r
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_techfloors/tfloor_rndholes\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloor_rndholes\r
+               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_techfloors/tfloor2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloor2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_techfloors/tfloor2b\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloor2b\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_techfloors/tfloor3_huge\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       cull none\r
+       {\r
+               map textures/evil4_techfloors/tfloor3_huge\r
+               tcMod scale 2.0 2.0\r
+               blendFunc GL_ONE GL_ZERO\r
+               alphaFunc GE128\r
+               depthWrite\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               depthFunc equal\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+textures/evil4_techfloors/tfloor3\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloor3\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_techfloors/tfloor4\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloor4\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_techfloors/tfloor4plain\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloor4plain\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_techfloors/tfloorhex_big\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloorhex_big\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_techfloors/tfloorhex_smll\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tfloorhex_smll\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_techfloors/tflooroddtile\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techfloors/tflooroddtile\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
index 52eea4097780c3e63c19d01fcf9e5e95952250a3..a049894f3db530d5045f0f34bbc55560ac5acefa 100644 (file)
-// tech floors\r
-\r
-textures/evil4_techfloors/tfloor3_huge\r
-{\r
-       cull none\r
-       {\r
-               map textures/evil4_techfloors/tfloor3_huge.tga\r
-               tcMod scale 2.0 2.0\r
-               blendFunc GL_ONE GL_ZERO\r
-               alphaFunc GE128\r
-               depthWrite\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               depthFunc equal\r
-               rgbGen identity\r
-       }\r
-}\r
-\r
-textures/evil4_techfloors/tfloor_rndholes\r
+textures/evil4_techtrims/cleantrimmulti\r
 {\r
-       {\r
-               map textures/evil4_techfloors/tfloor_rndholes.tga\r
-               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/cleantrimmulti\r
        }\r
        {\r
                map $lightmap\r
-               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
+    }\r
 }\r
 \r
-textures/evil4_techfloors/tfloor_rndholes_drty\r
+textures/evil4_techtrims/drkmtl_oddtrim\r
 {\r
-       {\r
-               map textures/evil4_techfloors/tfloor_rndholes_drty.tga\r
-               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/drkmtl_oddtrim\r
        }\r
        {\r
                map $lightmap\r
-               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
+    }\r
 }\r
 \r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-//**************evil metals section**************\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-\r
-\r
-textures/evil4_metals/flrgrate\r
+textures/evil4_techtrims/drttrimmulti\r
 {\r
-       {\r
-               map textures/evil4_metals/flrgrate.tga\r
-               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/drttrimmulti\r
        }\r
        {\r
                map $lightmap\r
-               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
+    }\r
 }\r
 \r
-textures/evil4_metals/mtlflrslots\r
+textures/evil4_techtrims/dw_combo\r
 {\r
-       {\r
-               map textures/evil4_metals/mtlflrslots.tga\r
-               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/dw_combo\r
        }\r
        {\r
                map $lightmap\r
-               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
+    }\r
 }\r
 \r
-\r
-textures/evil4_metals/mtlbrushed\r
+textures/evil4_techtrims/dwtrim_bevel\r
 {\r
-       qer_editorimage textures/evil4_metals/mtlbrushed.tga\r
-\r
-       {\r
-               map textures/evil4_metals/mtlbrushed.tga\r
-               blendFunc gl_dst_color gl_zero\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/dwtrim_bevel\r
        }\r
        {\r
                map $lightmap\r
-               blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
+    }\r
 }\r
 \r
-\r
-textures/evil4_metals/mtltekfloor\r
+textures/evil4_techtrims/dwtrim_bevelslite\r
 {\r
-       q3map_surfacelight 100\r
-       q3map_lightimage textures/evil4_metal/mtltekfloor_fx.tga\r
-\r
-       {\r
-               map textures/evil4_metals/mtltekfloor.tga\r
-       }\r
-\r
-       {\r
-               map $lightmap\r
-               blendfunc gl_dst_color gl_zero\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/dwtrim_bevelslite\r
        }\r
-}\r
-\r
-textures/evil4_metals/wrnjumppad\r
-{\r
        {\r
                map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_metals/wrnjumppad.tga\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_metals/wrnjumppad_glow.tga\r
-               rgbGen wave sin 0.5 0.5 1 1\r
-               blendfunc GL_ONE GL_ONE\r
-       }\r
+    }\r
 }\r
 \r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-//**************evil lights section***************\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-\r
-textures/evil4_lights/steplight\r
+textures/evil4_techtrims/dwtrim_fade\r
 {\r
-       surfaceparm nomarks\r
-       q3map_surfacelight 1000\r
-       //light1\r
-       {\r
-               map $lightmap\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_lights/steplight.tga\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/dwtrim_fade\r
        }\r
-       {\r
-               map textures/evil4_lights/steplight_glow.tga\r
-               blendfunc GL_ONE GL_ONE\r
-       }\r
-}\r
-\r
-textures/evil4_lights/drkmtlsupport_light\r
-{\r
-       surfaceparm nomarks\r
-       q3map_surfacelight 1000\r
        {\r
                map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_lights/drkmtlsupport_light.tga\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_lights/drkmtlsupport_light_glow.tga\r
-               rgbGen wave sin 0.5 0.5 1 .5\r
-               blendfunc GL_ONE GL_ONE\r
-       }\r
+    }\r
 }\r
 \r
-textures/evil4_lights/s_light\r
+textures/evil4_techtrims/dwtrim_fade2\r
 {\r
-       qer_editorimage textures/evil4_lights/s_light.jpg\r
-       surfaceparm nomarks\r
-       q3map_surfacelight 2500\r
-       {\r
-               map textures/evil4_lights/s_light.jpg\r
-               //blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/dwtrim_fade2\r
        }\r
        {\r
                map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-               blendFunc Filter\r
-       }\r
+    }\r
 }\r
 \r
-textures/evil4_lights/t_mtllight\r
+textures/evil4_techtrims/dwtrim_grill\r
 {\r
-       surfaceparm nomarks\r
-       q3map_surfacelight 1000\r
-       //light1\r
-       {\r
-               map $lightmap\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_lights/t_mtllight.jpg\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/dwtrim_grill\r
        }\r
-}\r
-\r
-textures/evil4_lights/mtl_lightsmll\r
-{\r
-       surfaceparm nomarks\r
-       q3map_surfacelight 1000\r
-       //light1\r
        {\r
                map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_lights/mtl_lightsmll.jpg\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
-       }\r
+    }\r
 }\r
 \r
-//double glowing effect light strips\r
-\r
-textures/evil4_lights/l_light_b\r
+textures/evil4_techtrims/dwtrim_grt\r
 {\r
-       q3map_surfacelight 5000\r
-       q3map_lightimage textures/evil4_lights/l_light_b.jpg\r
-       {\r
-               map $lightmap\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/dwtrim_grt\r
        }\r
-       {\r
-               map textures/evil4_lights/l_light_b.jpg\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
-       }\r
-}\r
-\r
-textures/evil4_lights/l_light_g\r
-{\r
-       q3map_surfacelight 5000\r
-       q3map_lightimage textures/evil4_lights/l_light_g.jpg\r
        {\r
                map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_lights/l_light_g.jpg\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
-       }\r
+    }\r
 }\r
 \r
-textures/evil4_lights/l_light_r\r
+textures/evil4_techtrims/dwtrim_panel\r
 {\r
-       q3map_surfacelight 5000\r
-       q3map_lightimage textures/evil4_lights/l_light_r.jpg\r
-       {\r
-               map $lightmap\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_lights/l_light_r.jpg\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/dwtrim_panel\r
        }\r
-}\r
-\r
-textures/evil4_lights/l_light_w\r
-{\r
-       q3map_surfacelight 5000\r
-       q3map_lightimage textures/evil4_lights/l_light_w.jpg\r
        {\r
                map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_lights/l_light_w.jpg\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
-       }\r
+    }\r
 }\r
 \r
-textures/evil4_lights/mtl_l1\r
+textures/evil4_techtrims/dwtrim_panel2\r
 {\r
-       q3map_surfacelight 1000\r
-       q3map_lightimage textures/evil4_lights/mtl_l1.tga\r
-       // LordHavoc: replaced most of this shader\r
-       {\r
-               map textures/evil4_lights/mtl_l1.tga\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/dwtrim_panel2\r
        }\r
        {\r
                map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-               blendfunc filter\r
-       }\r
-       {\r
-               map textures/evil4_lights/mtl_l1_glow.tga\r
-               blendfunc add\r
-       }\r
-       // LordHavoc: original shader\r
-       //{\r
-       //      map textures/evil4_lights/mtl_l1_fx.tga\r
-       //      //blendfunc add\r
-       //      tcmod scale 12 1\r
-       //      rgbGen identity\r
-       //      tcMod scroll 0 1\r
-       //}\r
-       //{\r
-       //      map textures/evil4_lights/mtl_l1_fx.tga\r
-       //      blendfunc add\r
-       //      //tcmod scale 25 1\r
-       //      rgbGen identity\r
-       //      tcMod scroll 1 0\r
-       //}\r
-       //{\r
-       //      map textures/evil4_lights/mtl_l1.tga\r
-       //      blendfunc blend\r
-       //      rgbGen identity\r
-       //}\r
-       //{\r
-       //      map textures/evil4_lights/mtl_l1_glow.tga\r
-       //      blendfunc add\r
-       //      tcmod scale 1 1\r
-       //}\r
-       //{\r
-       //      map $lightmap\r
-       //      rgbGen identity\r
-       //      blendfunc filter\r
-       //}\r
+    }\r
 }\r
 \r
-//border light\r
-\r
-textures/evil4_lights/trimtl_grlbtm_light\r
+textures/evil4_techtrims/medmtl_oddtrim\r
 {\r
-       q3map_surfacelight 5000\r
-       qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga\r
-       {\r
-               map textures/evil4_lights/trimtl_grlbtm_light.tga\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               rgbGen identity\r
-               blendfunc gl_dst_color gl_zero\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/medmtl_oddtrim\r
        }\r
-}\r
-\r
-textures/evil4_lights/s_bluelight\r
-{\r
-       q3map_surfacelight 1000\r
-       q3map_lightimage textures/evil4_lights/s_bluelight.tga\r
-       {\r
-               map textures/evil4_lights/s_bluelight.tga\r
-               rgbGen identity\r
-       }       \r
        {\r
                map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-               blendfuns filter\r
-       }\r
+    }\r
 }\r
 \r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-//**************evil fx section******************\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-\r
-// portal\r
-\r
-textures/evil4_fx/mtlportal_fx\r
+textures/evil4_techtrims/misc_grill\r
 {\r
-       qer_editorimage textures/evil4_fx/mtlportal.tga\r
-       cull disable\r
-       surfaceparm nomarks\r
-       surfaceparm trans\r
-       sort additive\r
-       {\r
-               clampmap textures/evil4_fx/mtlportal_fx1.tga\r
-               blendFunc add\r
-               tcmod rotate -100\r
-               rgbGen identity\r
-       }\r
-       {\r
-               clampmap textures/evil4_fx/mtlportal_fx2.tga\r
-               blendFunc add\r
-               tcmod rotate 100\r
-               rgbGen identity\r
-       }\r
-       {\r
-               clampmap textures/evil4_fx/mtlportal.tga\r
-               alphaFunc GE128\r
-               depthWrite\r
-               rgbGen identity\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/evil4_techtrims/misc_grill\r
        }\r
        {\r
                map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               depthFunc equal\r
-       }\r
-}\r
-\r
-//snow\r
-textures/evil4_fx/teleprtr\r
-{\r
-       cull disable\r
-       surfaceparm nomarks\r
-       surfaceparm trans\r
-       sort additive\r
-       {\r
-               clampmap textures/evil4_fx/teleprtr_fx3.tga\r
-               blendFunc add\r
-               tcmod rotate -267\r
-               rgbGen identity\r
-       }\r
-       {\r
-               clampmap textures/evil4_fx/teleprtr_fx1.tga\r
-               blendFunc add\r
-               tcmod rotate 155\r
-               rgbGen identity\r
-       }\r
-       {\r
-               clampmap textures/evil4_fx/teleprtr_fx2.tga\r
-               blendFunc add\r
-               tcmod rotate -100\r
-               rgbGen identity\r
-       }\r
-       {\r
-               clampmap textures/evil4_fx/teleprtr.tga\r
-               alphaFunc GE128\r
-               depthWrite\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               rgbGen identity\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               depthFunc equal\r
-       }\r
-}\r
-\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-//**************evil tech wall section************\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-\r
-textures/evil4_techwalls/tech_dw2\r
-{\r
-       {\r
-               map textures/evil4_techwalls/tech_dw2.tga\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendfunc filter\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_techwalls/tech_dw2_fx.tga\r
-               blendFunc add\r
-               rgbGen wave sin .5 .5 0 3\r
-       }\r
-}\r
-\r
-textures/evil4_techwalls/tech_dw2g\r
-{\r
-       {\r
-               map textures/evil4_techwalls/tech_dw2g.tga\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendfunc filter\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_techwalls/tech_dw2_fx.tga\r
-               blendFunc add\r
-               rgbGen wave sin .5 .5 0 3\r
-       }\r
-}\r
-\r
-textures/evil4_techwalls/tech_dw2gb\r
-{\r
-       {\r
-               map textures/evil4_techwalls/tech_dw2gb.tga\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendfunc filter\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_techwalls/tech_dw2_fx.tga\r
-               blendFunc add\r
-               rgbGen wave sin .5 .5 0 3\r
-       }\r
-}\r
-\r
-textures/evil4_techwalls/tech_wall_dlight\r
-{\r
-       surfaceparm nomarks\r
-       q3map_surfacelight 5000\r
-       {\r
-               map $lightmap\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_techwalls/tech_wall_dlight.tga\r
-               blendFunc GL_DST_COLOR GL_ZERO\r
-               rgbGen identity\r
-       }\r
-}\r
-\r
-\r
-\r
-\r
-//tech window with transparency\r
-\r
-textures/evil4_techwalls/tech_window\r
-{\r
-       cull twosided\r
-\r
-       {\r
-               map textures/evil4_techwalls/tech_window.tga\r
-               blendFunc blend\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
-               rgbGen identity\r
-       }\r
-}\r
-\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-// techwall section II\r
-// This is the dirty version of the evil_techwalls...\r
-// I added d_ to the filenames.\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-//********************************************\r
-\r
-textures/evil4_d_techwalls/d_tech_dw2\r
-{\r
-       {\r
-               map textures/evil4_d_techwalls/d_tech_dw2.tga\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendfunc filter\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
-               blendFunc add\r
-               rgbGen wave sin .5 .5 0 3\r
-       }\r
-}\r
-\r
-textures/evil4_d_techwalls/d_tech_dw2g\r
-{\r
-       {\r
-               map textures/evil4_d_techwalls/d_tech_dw2g.tga\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendfunc filter\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
-               blendFunc add\r
-               rgbGen wave sin .5 .5 0 3\r
-       }\r
-}\r
-\r
-textures/evil4_d_techwalls/d_tech_dw2gb\r
-{\r
-       {\r
-               map textures/evil4_d_techwalls/d_tech_dw2gb.tga\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendfunc filter\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
-               blendFunc add\r
-               rgbGen wave sin .5 .5 0 3\r
-       }\r
-}\r
-\r
-textures/evil4_d_techwalls/d_tech_wall_dlight\r
-{\r
-       surfaceparm nomarks\r
-       q3map_surfacelight 5000\r
-       {\r
-               map textures/evil4_d_techwalls/d_tech_wall_dlight.tga\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendfunc filter\r
-               rgbGen identity\r
-       }\r
-}\r
-\r
-textures/evil4_d_techwalls/d_tech_window\r
-{\r
-       cull twosided\r
-       {\r
-               map textures/evil4_d_techwalls/d_tech_window.tga\r
-               blendFunc blend\r
-               rgbGen identity\r
-       }\r
-\r
-       {\r
-               map $lightmap\r
-               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
-               rgbGen identity\r
-       }\r
-}\r
-\r
-\r
-\r
-textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2\r
-{\r
-       {\r
-               map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2.tga\r
-               blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
-               rgbGen identity\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
-               rgbGen identity\r
-       }\r
+    }\r
 }\r
diff --git a/data/scripts/evil4_techwalls.shader b/data/scripts/evil4_techwalls.shader
new file mode 100644 (file)
index 0000000..cdf90e7
--- /dev/null
@@ -0,0 +1,89 @@
+textures/evil4_techwalls/tech_dw2\r
+{\r
+       {\r
+               map textures/evil4_techwalls/tech_dw2.tga\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc filter\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_techwalls/tech_dw2_fx.tga\r
+               blendFunc add\r
+               rgbGen wave sin .5 .5 0 3\r
+       }\r
+}\r
+\r
+textures/evil4_techwalls/tech_dw2g\r
+{\r
+       {\r
+               map textures/evil4_techwalls/tech_dw2g.tga\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc filter\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_techwalls/tech_dw2_fx.tga\r
+               blendFunc add\r
+               rgbGen wave sin .5 .5 0 3\r
+       }\r
+}\r
+\r
+textures/evil4_techwalls/tech_dw2gb\r
+{\r
+       {\r
+               map textures/evil4_techwalls/tech_dw2gb.tga\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc filter\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_techwalls/tech_dw2_fx.tga\r
+               blendFunc add\r
+               rgbGen wave sin .5 .5 0 3\r
+       }\r
+}\r
+\r
+textures/evil4_techwalls/tech_wall_dlight\r
+{\r
+       surfaceparm nomarks\r
+       q3map_surfacelight 5000\r
+       {\r
+               map $lightmap\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map textures/evil4_techwalls/tech_wall_dlight.tga\r
+               blendFunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+       }\r
+}\r
+\r
+\r
+\r
+\r
+//tech window with transparency\r
+\r
+textures/evil4_techwalls/tech_window\r
+{\r
+       cull twosided\r
+\r
+       {\r
+               map textures/evil4_techwalls/tech_window.tga\r
+               blendFunc blend\r
+               rgbGen identity\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
+               rgbGen identity\r
+       }\r
+}\r
index 61663ff8361a22c39ac571f7b05a918540c71c07..5b4ca1fec899a1b311ab88159612d927edf3d5b4 100644 (file)
@@ -25,7 +25,13 @@ evil3_misc
 evil3_metals\r
 evil3_support\r
 evil3_walls\r
+evil4_d_techwalls\r
+evil4_fx\r
+evil4_lights\r
+evil4_metals\r
+evil4_techfloors\r
 evil4_techtrims\r
+evil4_techwalls\r
 evil5\r
 evil6_floors\r
 evil6_lights\r