]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Restore old shaders of simple powerup models as they are needed for backward compatib...
authorterencehill <piuntn@gmail.com>
Tue, 11 Jun 2024 13:50:43 +0000 (15:50 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 11 Jun 2024 13:51:58 +0000 (15:51 +0200)
scripts/luma.shader
scripts/simpleitems.shader

index f0164bf4564e7374d1d82489ab754585721146b8..f9cdf5b4497a70e8c0322d9fddc5dd144192548a 100644 (file)
@@ -179,6 +179,30 @@ item_armor_small_luma
 
 ////////// POWERUPS //////////
 
+// legacy shader
+g_strength_luma
+{
+       deformVertexes autosprite
+       cull none
+       nopicmip
+       {
+               map models/items/g_strength_luma
+               blendfunc blend
+       }
+}
+
+// legacy shader
+g_invincible_luma
+{
+       deformVertexes autosprite
+       cull none
+       nopicmip
+       {
+               map models/items/g_invincible_luma
+               blendfunc blend
+       }
+}
+
 models/items/g_strength_luma
 {
        deformVertexes autosprite
index e01b8c65cbe75566c94d84e73822e48c56b621ad..55f189860047ddf9a2cfb6fe62bc422fd8333d38 100644 (file)
@@ -409,6 +409,32 @@ g_h100_simple // 100hp
 
 ////////// POWERUPS //////////
 
+// legacy shader
+g_strength_simple
+{
+       deformVertexes autosprite
+       cull none
+       nopicmip
+
+       {
+               map models/items/g_strength_simple
+               blendfunc blend
+       }
+}
+
+// legacy shader
+g_invincible_simple
+{
+       deformVertexes autosprite
+       cull none
+       nopicmip
+
+       {
+               map models/items/g_invincible_simple
+               blendfunc blend
+       }
+}
+
 models/items/g_strength_simple
 {
        deformVertexes autosprite