]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Move _luma powerup shaders to the appropriate shader file
authorterencehill <piuntn@gmail.com>
Tue, 11 Jun 2024 10:45:07 +0000 (12:45 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 11 Jun 2024 10:45:07 +0000 (12:45 +0200)
scripts/luma.shader
scripts/simpleitems.shader

index b6ee3cd8ae597e31e38b5141b03724a036edb188..f0164bf4564e7374d1d82489ab754585721146b8 100644 (file)
@@ -1,4 +1,4 @@
-// models/items
+////////// ITEMS //////////
 
 a_bullets_luma
 {
@@ -121,88 +121,110 @@ g_h100_luma
        }
 }
 
-g_invincible_luma
+g_jetpack_luma
 {
        deformVertexes autosprite
        cull none
        nopicmip
        {
-               map models/items/g_invincible_luma
+               map models/items/g_jetpack_luma
                blendfunc blend
        }
 }
 
-g_jetpack_luma
+item_armor_big_luma
 {
        deformVertexes autosprite
        cull none
        nopicmip
        {
-               map models/items/g_jetpack_luma
+               map models/items/item_armor_big_luma
                blendfunc blend
        }
 }
 
-g_strength_luma
+item_armor_large_luma
 {
        deformVertexes autosprite
        cull none
        nopicmip
        {
-               map models/items/g_strength_luma
+               map models/items/item_armor_large_luma
                blendfunc blend
        }
 }
 
-item_armor_big_luma
+item_armor_medium_luma
 {
        deformVertexes autosprite
        cull none
        nopicmip
        {
-               map models/items/item_armor_big_luma
+               map models/items/item_armor_medium_luma
                blendfunc blend
        }
 }
 
-item_armor_large_luma
+item_armor_small_luma
 {
        deformVertexes autosprite
        cull none
        nopicmip
        {
-               map models/items/item_armor_large_luma
+               map models/items/item_armor_small_luma
                blendfunc blend
        }
 }
 
-item_armor_medium_luma
+
+////////// POWERUPS //////////
+
+models/items/g_strength_luma
 {
        deformVertexes autosprite
        cull none
        nopicmip
        {
-               map models/items/item_armor_medium_luma
+               map models/items/g_strength_luma
                blendfunc blend
        }
 }
 
-item_armor_small_luma
+models/items/g_invincible_luma
 {
        deformVertexes autosprite
        cull none
        nopicmip
        {
-               map models/items/item_armor_small_luma
+               map models/items/g_invincible_luma
                blendfunc blend
        }
 }
 
+models/items/g_invisibility_luma
+{
+       deformVertexes autosprite
+       cull none
+       nopicmip
+       {
+               map models/items/g_invisibility_luma
+               blendfunc blend
+       }
+}
 
+models/items/g_speed_luma
+{
+       deformVertexes autosprite
+       cull none
+       nopicmip
+       {
+               map models/items/g_speed_luma
+               blendfunc blend
+       }
+}
 
 
-
-// models/weapons
+////////// WEAPONS //////////
 
 g_arc_luma
 {
index 3e6ff14b37ac00b973a6d64592018e4114adc7c4..e01b8c65cbe75566c94d84e73822e48c56b621ad 100644 (file)
@@ -1,6 +1,5 @@
 ////////// AMMO //////////
 
-
 a_cells_simple // cells
 {
        deformVertexes autosprite
@@ -49,6 +48,7 @@ a_shells_simple // shells
        }
 }
 
+
 ////////// WEAPONS //////////
 
 g_arc_simple // arc
@@ -303,6 +303,7 @@ g_ok_rl_simple // rocket propelled chainsaw
        }
 }
 
+
 ////////// ARMOR + HEALTH ITEMS //////////
 
 ///// ARMOR /////
@@ -405,6 +406,7 @@ g_h100_simple // 100hp
        }
 }
 
+
 ////////// POWERUPS //////////
 
 models/items/g_strength_simple
@@ -488,49 +490,3 @@ g_fuelregen_simple // fuel regen powerup
                blendfunc blend
        }
 }
-
-// relic powerups
-
-models/items/g_strength_luma // strength
-{
-       deformVertexes autosprite
-       cull none
-       nopicmip
-       {
-               map models/items/g_strength_luma
-               blendfunc blend
-       }
-}
-
-models/items/g_invincible_luma // invincible
-{
-       deformVertexes autosprite
-       cull none
-       nopicmip
-       {
-               map models/items/g_invincible_luma
-               blendfunc blend
-       }
-}
-
-models/items/g_invisibility_luma // invisibility
-{
-       deformVertexes autosprite
-       cull none
-       nopicmip
-       {
-               map models/items/g_invisibility_luma
-               blendfunc blend
-       }
-}
-
-models/items/g_speed_luma // speed
-{
-       deformVertexes autosprite
-       cull none
-       nopicmip
-       {
-               map models/items/g_speed_luma
-               blendfunc blend
-       }
-}