From: Rudolf Polzer Date: Tue, 15 Jun 2010 10:05:40 +0000 (+0200) Subject: fix morphed's tree model X-Git-Tag: xonotic-v0.1.0preview~542 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=772a1a71f8b0d4a1ea41b4db28bcdda0708d7da5;p=xonotic%2Fxonotic-data.pk3dir.git fix morphed's tree model --- diff --git a/models/grass03.md3 b/models/grass03.md3 deleted file mode 100644 index c96e60c67..000000000 Binary files a/models/grass03.md3 and /dev/null differ diff --git a/scripts/tree.shader b/scripts/tree.shader new file mode 100644 index 000000000..2b3c2b855 --- /dev/null +++ b/scripts/tree.shader @@ -0,0 +1,62 @@ +morph/leaves3 +{ +cull none + qer_editorimage leaves6.tga + qer_trans 0.6 + surfaceparm trans +// surfaceparm nolightmap + surfaceparm alphashadow + deformVertexes autosprite + q3map_vertexScale 1 + deformVertexes wave 128 sin 0 1 0 0.4 + { + map leaves6.tga + alphaFunc GT0 + rgbGen vertex + } +} + +grass02 +{ + distancecull 256 1024 0.4 + cull none + qer_editorimage grass2.tga + qer_trans 0.2 + surfaceparm nolightmap + surfaceparm trans + q3map_vertexScale 1 + deformVertexes autosprite + deformVertexes wave 128 sin 0 1 0 0.1 + { + map grass2.tga + alphaFunc GT0 + rgbGen vertex + } +} + +leaves4 +{ +cull none + qer_editorimage leaves7.tga + qer_trans 0.6 + deformVertexes autosprite + surfaceparm nolightmap + surfaceparm trans + q3map_vertexScale 1 + deformVertexes wave 128 sin 0 1 0 0.5 + { + map leaves7.tga + alphaFunc GT0 + rgbGen vertex + } +} + +e8teamcolor + { + qer_editorimage morphed/e8support02c_shirt.jpg + map morphed/e8support02c.tga + { + map $lightmap + rgbGen identity + } + } diff --git a/textures/e8support02c.tga b/textures/e8support02c.tga new file mode 100644 index 000000000..7dc7a0dbd Binary files /dev/null and b/textures/e8support02c.tga differ diff --git a/textures/e8support02c_gloss.jpg b/textures/e8support02c_gloss.jpg new file mode 100644 index 000000000..7521315f0 Binary files /dev/null and b/textures/e8support02c_gloss.jpg differ diff --git a/textures/e8support02c_norm.tga b/textures/e8support02c_norm.tga new file mode 100644 index 000000000..5200aaa7d Binary files /dev/null and b/textures/e8support02c_norm.tga differ diff --git a/textures/e8support02c_shirt.jpg b/textures/e8support02c_shirt.jpg new file mode 100644 index 000000000..d3a28d9e6 Binary files /dev/null and b/textures/e8support02c_shirt.jpg differ diff --git a/textures/grass2.tga b/textures/grass2.tga new file mode 100644 index 000000000..f0ea62a68 Binary files /dev/null and b/textures/grass2.tga differ diff --git a/textures/leaves6.tga b/textures/leaves6.tga new file mode 100644 index 000000000..6110f38e3 Binary files /dev/null and b/textures/leaves6.tga differ diff --git a/textures/leaves7.tga b/textures/leaves7.tga new file mode 100644 index 000000000..e3a81b18d Binary files /dev/null and b/textures/leaves7.tga differ diff --git a/textures/leaves7_norm.tga b/textures/leaves7_norm.tga new file mode 100644 index 000000000..46d8bca6f Binary files /dev/null and b/textures/leaves7_norm.tga differ