From 0abaa28e6d9b88f5b00b13a8ff9f8714106f3bbc Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 5 Jan 2017 21:31:32 +0100 Subject: More work on p9 - add the reactor. --- scripts/analmango.shader | 301 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 267 insertions(+), 34 deletions(-) (limited to 'scripts') diff --git a/scripts/analmango.shader b/scripts/analmango.shader index 80af6f6..929fed6 100644 --- a/scripts/analmango.shader +++ b/scripts/analmango.shader @@ -461,38 +461,271 @@ textures/analmango/crystal } } -// textures/nexus6/slime_s with more surface light -textures/analmango/slime -{ - qer_editorimage textures/nexus6/slime7.tga - q3map_lightimage textures/nexus6/slime7.tga - q3map_globaltexture - - surfaceparm noimpact - surfaceparm slime - surfaceparm nolightmap - surfaceparm trans - - q3map_surfacelight 500 - tessSize 32 - cull disable - - deformVertexes wave 100 sin 0 1 .5 .5 - - { - map textures/nexus6/slime7c.tga - rgbGen const ( 0.5 0.5 0.5 ) - blendfunc add - tcMod turb .3 .2 1 .05 - tcMod scroll .01 .01 - } - - { - map textures/nexus6/slime7.tga - rgbGen const ( 0.75 0.75 0.75 ) - blendfunc add - tcMod turb .2 .1 1 .05 - tcMod scale .5 .5 - tcMod scroll .02 .01 - } +textures/analmango/acid +{ + qer_trans .5 + q3map_globaltexture + + surfaceparm noimpact + surfaceparm slime + surfaceparm nolightmap + surfaceparm trans + + tessSize 32 + cull disable + + sort 8 + + deformVertexes wave 100 sin 0 1 .5 .5 + + { + map textures/analmango/acid.jpg + rgbGen const ( 0.5 0.5 0.5 ) + blendfunc filter + tcMod turb .3 .2 1 .05 + tcMod scroll .01 .01 + } +} + +textures/analmango/reactor_light +{ + qer_editorimage textures/common/white.tga + + surfaceparm noimpact + surfaceparm nolightmap + surfaceparm nomarks + + q3map_surfaceLight 200 + + { + map $whiteimage + } +} + +textures/analmango/reactor_light_trim +{ + surfaceparm noimpact + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm nonsolid + surfaceparm trans + + polygonOffset + + { + map textures/analmango/reactor_light_trim + blendFunc add + } +} + +textures/analmango/reactor_beam +{ + surfaceparm noimpact + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm nonsolid + surfaceparm trans + cull none + + { + map textures/analmango/reactor_beam.jpg + blendFunc add + tcMod scroll 0 6.275479 + } + { + map textures/analmango/reactor_beam.jpg + blendFunc add + tcMod scroll 0 2.275479 + } +} + +textures/analmango/reactor_beam_start +{ + surfaceparm noimpact + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm nonsolid + surfaceparm trans + cull none + + { + map textures/analmango/reactor_beam_start.jpg + blendFunc add + } +} + +textures/analmango/reactor_blob +{ + surfaceparm noimpact + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm nonsolid + surfaceparm trans + + polygonOffset + + { + map textures/analmango/reactor_blob.jpg + blendFunc add + } +} + +textures/analmango/pk01_panel01a_d +{ + q3map_lightImage textures/analmango/pk01_panel01a_add.jpg + q3map_surfaceLight 200 + + { + map textures/analmango/pk01_panel01a_d.jpg + } + { + map $lightmap + blendFunc filter + } + { + map textures/analmango/pk01_panel01a_add.jpg + blendFunc add + } +} + +textures/analmango/pk01_panel01b_d +{ + q3map_lightImage textures/analmango/pk01_panel01b_add.jpg + q3map_surfaceLight 200 + + { + map textures/analmango/pk01_panel01b_d.jpg + } + { + map $lightmap + blendFunc filter + } + { + map textures/analmango/pk01_panel01b_add.jpg + blendFunc add + } +} + +textures/analmango/pk01_panel02_d +{ + q3map_lightImage textures/analmango/pk01_panel02a_add.jpg + q3map_surfaceLight 200 + + { + map textures/analmango/pk01_panel02_d.jpg + } + { + map $lightmap + blendFunc filter + } + { + map textures/analmango/pk01_panel02a_add.jpg + blendFunc add + } +} + +textures/analmango/pk01_panel03a_d +{ + q3map_lightImage textures/analmango/pk01_panel03a_add.jpg + q3map_surfaceLight 200 + + { + map textures/analmango/pk01_panel03a_d.jpg + } + { + map $lightmap + blendFunc filter + } + { + map textures/analmango/pk01_panel03a_add.jpg + blendFunc add + } +} + +textures/analmango/pk01_panel03b_d +{ + q3map_lightImage textures/analmango/pk01_panel03b_add.jpg + q3map_surfaceLight 200 + + { + map textures/analmango/pk01_panel03b_d.jpg + } + { + map $lightmap + blendFunc filter + } + { + map textures/analmango/pk01_panel03b_add.jpg + blendFunc add + } +} + +textures/analmango/pk01_panel_small01_d +{ + q3map_lightImage textures/analmango/pk01_panel_small01_add.jpg + q3map_surfaceLight 200 + + { + map textures/analmango/pk01_panel_small01_d.jpg + } + { + map $lightmap + blendFunc filter + } + { + map textures/analmango/pk01_panel_small01_add.jpg + blendFunc add + } +} + +textures/analmango/pk01_panel_small01red_d +{ + q3map_lightImage textures/analmango/pk01_panel_small01red_add.jpg + q3map_surfaceLight 200 + + { + map textures/analmango/pk01_panel_small01red_d.jpg + } + { + map $lightmap + blendFunc filter + } + { + map textures/analmango/pk01_panel_small01red_add.jpg + blendFunc add + } +} + +textures/analmango/pk01_panel_small02_d +{ + q3map_lightImage textures/analmango/pk01_panel_small02_add.jpg + q3map_surfaceLight 200 + + { + map textures/analmango/pk01_panel_small02_d.jpg + } + { + map $lightmap + blendFunc filter + } + { + map textures/analmango/pk01_panel_small02_add.jpg + blendFunc add + } +} + +textures/analmango/reactor_blueprints +{ + qer_trans .5 + surfaceparm noimpact + surfaceparm nolightmap + surfaceparm nomarks + surfaceparm nonsolid + surfaceparm trans + polygonOffset + + { + map textures/analmango/reactor_blueprints.jpg + blendFunc add + } } -- cgit