From 9c181933850b29b09272d7c345a69ccd674adf62 Mon Sep 17 00:00:00 2001 From: Maik Merten Date: Thu, 18 Aug 2011 20:23:59 +0200 Subject: [PATCH] moving terrain for onarail! --- maps/onarail.map | 19 ++++++++++--------- scripts/map_onarail.shader | 22 ++++++++++++++++++++++ scripts/shaderlist.txt | 1 + 3 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 scripts/map_onarail.shader diff --git a/maps/onarail.map b/maps/onarail.map index 73fdf848..29e54463 100644 --- a/maps/onarail.map +++ b/maps/onarail.map @@ -1,5 +1,6 @@ { "classname" "worldspawn" +"_blocksize" "2048 2048 2048" { patchDef2 { @@ -7405,7 +7406,7 @@ exx/wall-metalrib01 ( -1632 16480 -288 ) ( -1632 16384 1344 ) ( -1632 16384 -288 ) skies/exosystem2 0 128 0 0.75 0.75 0 0 0 } { -( -336 -16384 -156 ) ( -768 16384 -192 ) ( -336 16384 -156 ) terrain01x/ground-sand01 0.0000801086 896 0 1.25 1.25 0 0 0 +( -336 -16384 -156 ) ( -768 16384 -192 ) ( -336 16384 -156 ) map_onarail/ground-sand01-scroll 0.0000801086 896 90 1.25 1.25 0 0 0 ( -768 16384 -192 ) ( -336 16384 -288 ) ( -336 16384 -156 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( -768 -16384 -288 ) ( -336 16384 -288 ) ( -768 16384 -288 ) common/caulk 0 0 0 0.75 0.75 0 0 0 ( -768 -16384 -288 ) ( -336 -16384 -156 ) ( -336 -16384 -288 ) common/caulk 0 128 0 0.75 0.75 0 0 0 @@ -7413,7 +7414,7 @@ exx/wall-metalrib01 ( -336 -16384 -288 ) ( -336 16384 -156 ) ( -336 16384 -288 ) common/caulk 0 128 0 0.75 0.75 0 0 0 } { -( -768 -16384 -192 ) ( -1344 16384 0 ) ( -768 16384 -192 ) terrain01x/ground-sand01 0.0000801086 896 0 1.25 1.25 0 0 0 +( -768 -16384 -192 ) ( -1344 16384 0 ) ( -768 16384 -192 ) map_onarail/ground-sand01-scroll 0.0000801086 896 90 1.25 1.25 0 0 0 ( -1632 16384 -288 ) ( -768 16384 -288 ) ( -768 16384 -192 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( -768 -16384 -288 ) ( -768 16384 -288 ) ( -1632 16384 -288 ) common/caulk 0 0 0 0.75 0.75 0 0 0 ( -1632 -16384 -288 ) ( -768 -16384 -192 ) ( -768 -16384 -288 ) common/caulk 0 128 0 0.75 0.75 0 0 0 @@ -7421,14 +7422,14 @@ exx/wall-metalrib01 ( -1344 -16384 0 ) ( -1632 16384 -288 ) ( -1344 16384 0 ) common/caulk 0 0 0 0.75 0.75 0 0 0 } { -( -1632 -16384 672 ) ( -1632 16384 672 ) ( -1344 16384 0 ) terrain01x/ground-sand01 0.0000801086 896 0 1.25 1.25 0 0 0 +( -1632 -16384 672 ) ( -1632 16384 672 ) ( -1344 16384 0 ) map_onarail/ground-sand01-scroll 0.0000801086 896 0 1.25 1.25 0 0 0 ( -1632 16384 -288 ) ( -1344 16384 0 ) ( -1632 16384 672 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( -1408 -16384 -64 ) ( -1408 16384 -64 ) ( -1632 -16384 672 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( -1632 -16384 -288 ) ( -1632 -16384 672 ) ( -1344 -16384 0 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( -1408 16384 -64 ) ( -1408 -16384 -64 ) ( -1344 -16384 0 ) common/caulk 0 0 0 0.75 0.75 0 0 0 } { -( 1344 -16384 0 ) ( 768 16384 -192 ) ( 1344 16384 0 ) terrain01x/ground-sand01 0.0000801086 896 0 1.25 1.25 0 0 0 +( 1344 -16384 0 ) ( 768 16384 -192 ) ( 1344 16384 0 ) map_onarail/ground-sand01-scroll 0.0000801086 896 90 1.25 1.25 0 0 0 ( 1632 16384 -288 ) ( 768 16384 -192 ) ( 768 16384 -288 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( 768 -16384 -288 ) ( 1632 16384 -288 ) ( 768 16384 -288 ) common/caulk 0 0 0 0.75 0.75 0 0 0 ( 1632 -16384 -288 ) ( 768 -16384 -288 ) ( 768 -16384 -192 ) common/caulk 0 128 0 0.75 0.75 0 0 0 @@ -7436,14 +7437,14 @@ exx/wall-metalrib01 ( 1632 -16384 -288 ) ( 1344 16384 0 ) ( 1632 16384 -288 ) common/caulk 0 0 0 0.75 0.75 0 0 0 } { -( 1632 -16384 672 ) ( 1344 16384 0 ) ( 1632 16384 672 ) terrain01x/ground-sand01 0.0000801086 896 0 1.25 1.25 0 0 0 +( 1632 -16384 672 ) ( 1344 16384 0 ) ( 1632 16384 672 ) map_onarail/ground-sand01-scroll 0.0000801086 896 0 1.25 1.25 0 0 0 ( 1632 16384 -288 ) ( 1632 16384 672 ) ( 1344 16384 0 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( 1408 16384 -64 ) ( 1408 -16384 -64 ) ( 1632 -16384 672 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( 1632 -16384 -288 ) ( 1344 -16384 0 ) ( 1632 -16384 672 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( 1408 -16384 -64 ) ( 1408 16384 -64 ) ( 1344 16384 0 ) common/caulk 0 0 0 0.75 0.75 0 0 0 } { -( 768 -16384 -192 ) ( 336 16384 -156 ) ( 768 16384 -192 ) terrain01x/ground-sand01 0.0000801086 896 0 1.25 1.25 0 0 0 +( 768 -16384 -192 ) ( 336 16384 -156 ) ( 768 16384 -192 ) map_onarail/ground-sand01-scroll 0.0000801086 896 90 1.25 1.25 0 0 0 ( 768 16384 -288 ) ( 336 16384 -156 ) ( 336 16384 -288 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( 768 -16384 -288 ) ( 768 16384 -192 ) ( 768 16384 -288 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( 336 -16384 -288 ) ( 768 16384 -288 ) ( 336 16384 -288 ) common/caulk 0 0 0 0.75 0.75 0 0 0 @@ -7475,7 +7476,7 @@ exx/wall-metalrib01 ( -1728 -16384 1344 ) ( -1728 16384 672 ) ( -1728 16384 1344 ) skies/exosystem2 0 128 0 0.75 0.75 0 0 0 } { -( 336 -16384 -156 ) ( -336 16384 -156 ) ( 336 16384 -156 ) terrain01x/ground-sand01 0.0000801086 896 0 1.25 1.25 0 0 0 +( 336 -16384 -156 ) ( -336 16384 -156 ) ( 336 16384 -156 ) map_onarail/ground-sand01-scroll 0.0000801086 896 90 1.25 1.25 0 0 0 ( -336 16384 -156 ) ( 336 16384 -288 ) ( 336 16384 -156 ) common/caulk 0 128 0 0.75 0.75 0 0 0 ( -336 -16384 -288 ) ( 336 16384 -288 ) ( -336 16384 -288 ) common/caulk 0 0 0 0.75 0.75 0 0 0 ( -336 -16384 -288 ) ( 336 -16384 -156 ) ( 336 -16384 -288 ) common/caulk 0 128 0 0.75 0.75 0 0 0 @@ -15099,7 +15100,7 @@ facility114x/base-basegray { "classname" "path_corner" "origin" "1024.000000 -16368.000000 -88.000000" -"speed" "2500" +"speed" "1500" "targetname" "path_corner3" "target" "path_corner2" } @@ -15113,7 +15114,7 @@ facility114x/base-basegray { "classname" "path_corner" "origin" "-640.000000 -16368.000000 -168.000000" -"speed" "2500" +"speed" "1500" "target" "path_corner5" "targetname" "path_corner8" } diff --git a/scripts/map_onarail.shader b/scripts/map_onarail.shader new file mode 100644 index 00000000..89314cf4 --- /dev/null +++ b/scripts/map_onarail.shader @@ -0,0 +1,22 @@ +textures/map_onarail/ground-sand01-scroll +{ + + qer_editorimage textures/terrain01x/ground/mud02.tga + + q3map_bounceScale 0.5 + dpoffsetmapping - 2 + surfaceparm nomarks + q3map_lightmapSampleOffset 8 + q3map_nonplanar + q3map_shadeangle 45 + { + map textures/terrain01x/ground/sand01.tga + tcMod scroll 1.75 0 + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } +} diff --git a/scripts/shaderlist.txt b/scripts/shaderlist.txt index d6aad375..6a4242c8 100644 --- a/scripts/shaderlist.txt +++ b/scripts/shaderlist.txt @@ -20,6 +20,7 @@ map_courtfun map_glowplant map_leave_em_behind map_newtonian-nightmare +map_onarail map_red-planet map_space-elevator map_stormkeep -- 2.39.2