From: Matthias Krüger Date: Tue, 2 Jul 2013 20:26:33 +0000 (+0200) Subject: map: unsealed: add proper shadows to trees. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ba64689af59652f01783812847c8e00758151813;p=xonotic%2Fxonotic-maps.pk3dir.git map: unsealed: add proper shadows to trees. --- diff --git a/gfx/unsealedtrial2_mini.tga b/gfx/unsealedtrial2_mini.tga deleted file mode 100644 index 536bc020..00000000 Binary files a/gfx/unsealedtrial2_mini.tga and /dev/null differ diff --git a/maps/unsealedtrial2.map b/maps/unsealedtrial2.map index 5305e500..b37730ff 100644 --- a/maps/unsealedtrial2.map +++ b/maps/unsealedtrial2.map @@ -12792,83 +12792,109 @@ "spawnflags" "6" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "10824.000000 -2336.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" "angle" "-90.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "3232.000000 3720.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "2656.000000 -5624.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "2528.000000 -2488.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-1824.000000 -5880.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-2752.000000 -4216.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-2528.000000 3656.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-2080.000000 5640.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "2208.000000 5960.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "4128.000000 -1208.000000 136.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "8096.000000 -4472.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "11552.000000 -3000.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "11616.000000 2184.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { "classname" "misc_gamemodel" @@ -13728,35 +13754,43 @@ "light" "300" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-10632.000000 2399.998779 40.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" "angle" "90.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-7904.000000 4536.000000 136.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" "angle" "-179.999985" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-11360.000000 3063.999756 136.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" "angle" "-179.999985" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-11424.000000 -2119.999756 136.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" "angle" "-179.999985" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-9248.000000 -1279.000244 456.000000" "model" "models/lights/xonlight04.md3" "modelscale" "0.500000" @@ -13892,40 +13926,52 @@ "angles" "-0.000017 90.000000 -179.999985" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "5536.000000 -3256.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-7808.000000 -5656.000000 72.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "7904.000000 5512.000000 40.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-3328.000000 -280.000000 136.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "-6176.000000 -3736.000000 136.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { -"classname" "misc_gamemodel" +"classname" "misc_model" "origin" "6656.000000 3528.000000 136.000000" "model" "models/unsealed/tree.md3" "modelscale" "2.000000" +"_castshadows" "1" +"_receiveshadows" "1" } { "classname" "misc_model" diff --git a/scripts/map_unsealedtrial2.shader b/scripts/map_unsealedtrial2.shader index fa875e7b..474296a4 100644 --- a/scripts/map_unsealedtrial2.shader +++ b/scripts/map_unsealedtrial2.shader @@ -239,6 +239,7 @@ models/unsealed/bark dpmeshcollisions dpglossintensitymod 1 dpglossexponentmod 1 + surfaceparm alphashadow { map "models/unsealed/bark" } diff --git a/scripts/shaderlist.txt b/scripts/shaderlist.txt index fd5f8f51..2381d8bd 100644 --- a/scripts/shaderlist.txt +++ b/scripts/shaderlist.txt @@ -31,6 +31,7 @@ map_solarium map_space-elevator map_stormkeep map_techassault +map_unsealedtrial2 map_xoylent metaltechx model_bigfan01