]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
unsealed: prevent bullets from passing crystals.
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 30 Jul 2013 11:30:35 +0000 (13:30 +0200)
committerMatthias Krüger <matthias.krueger@famsik.de>
Tue, 30 Jul 2013 11:30:35 +0000 (13:30 +0200)
maps/unsealedtrial2.map
scripts/crystals.shader

index 0a2c415701bba000e3e49dfa4266e703cc25d5db..63df56e488e41f78c97e65396ba021fe1c912c35 100644 (file)
 "origin" "256.000000 -128.000000 936.000000"
 "model" "models/crystals/crystal1.md3"
 "angles" "-0.000000 -90.000000 179.999985"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "448.000061 312.000061 896.000000"
 "model" "models/crystals/crystal1.md3"
 "angles" "35.608776 -55.340916 141.054199"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "-48.000080 -408.000031 752.000000"
 "model" "models/crystals/crystal1.md3"
 "angles" "12.154839 -85.364128 -143.407074"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "-8.000000 1120.000000 615.999878"
 "model" "models/crystals/crystal1.md3"
 "angles" "-48.677002 171.167755 0.872133"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "-63.999924 311.999725 800.000183"
 "model" "models/crystals/crystal1.md3"
 "angles" "-22.214470 -98.649452 -130.093338"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "183.999847 -672.000000 855.999878"
 "model" "models/crystals/crystal1.md3"
 "angles" "-30.345594 -102.708931 163.437485"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "592.000488 1120.000366 440.000214"
 "model" "models/crystals/crystal1.md3"
 "angles" "15.843727 -114.335983 86.534050"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "568.000000 -671.999939 544.000305"
 "model" "models/crystals/crystal1.md3"
 "angles" "21.872536 -114.228844 53.707550"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "616.000000 -216.000244 408.000244"
 "model" "models/crystals/crystal1.md3"
 "angles" "-72.878632 5.678804 -0.919880"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "424.000061 312.000244 119.999870"
 "model" "models/crystals/crystal1.md3"
 "angles" "51.368542 68.049881 -121.521347"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
 {
 "classname" "misc_model"
 "origin" "-160.000031 -47.999977 400.000000"
 "model" "models/crystals/crystal1.md3"
 "angles" "-53.205082 -54.222404 -151.176682"
+"_castshadows" "1"
+"_receiveshadows" "1"
 }
index 140158057f85c405d53eb186744741c1ce40208f..7fd7e3f344153123d545e768929eedc2e560a5e2 100644 (file)
@@ -1,13 +1,17 @@
 models/crystals/crystal1
 {
+       dpmeshcollisions
        dpglossintensitymod 5
        dpglossexponentmod 2
        dpreflectcube cubemaps/default/sky
        {
                map "models/crystals/crystal1"
+               alphafunc GE0
        }
        {
                map $lightmap
+               blendfunc GL_DST_COLOR GL_ZERO
+               rgbGen identity
        }
 }