]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add comments in the shader scripts about model materials and rename some shader scripts
authorLegendaryGuard <rootuser999@gmail.com>
Fri, 30 Dec 2022 15:52:02 +0000 (16:52 +0100)
committerLegendaryGuard <rootuser999@gmail.com>
Fri, 30 Dec 2022 15:52:02 +0000 (16:52 +0100)
scripts/devastator.shader [new file with mode: 0644]
scripts/gl.shader [deleted file]
scripts/mnex.shader [deleted file]
scripts/mortar.shader [new file with mode: 0644]
scripts/okweapons.shader
scripts/rl.shader [deleted file]
scripts/shaderlist.txt
scripts/vaporizer.shader [new file with mode: 0644]
scripts/weapons.shader

diff --git a/scripts/devastator.shader b/scripts/devastator.shader
new file mode 100644 (file)
index 0000000..ddb1289
--- /dev/null
@@ -0,0 +1,18 @@
+RL // devastator
+{
+       dpreflectcube cubemaps/default/sky
+       {
+               map textures/rl_new.tga
+               rgbgen lightingDiffuse
+       }
+}
+RocketThrust // devastator_rocket
+{
+       cull none
+       {
+       animMap 50 textures/rl_trust01.tga textures/rl_trust02.tga textures/rl_trust03.tga textures/rl_trust04.tga
+       blendFunc GL_ONE GL_ONE
+       rgbGen wave sawtooth 0 1 0 10
+       }
+
+}
diff --git a/scripts/gl.shader b/scripts/gl.shader
deleted file mode 100644 (file)
index c5ff5dc..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-grenadelauncher
-{
-       dpreflectcube cubemaps/default/sky
-       {
-               map textures/grenadelauncher.tga
-               rgbgen lightingDiffuse
-       }
-}
-grenadelauncher_sight
-{
-       {
-       animMap 1 textures/glsight01.tga textures/glsight02.tga textures/glsight03.tga
-       blendFunc GL_ONE GL_ONE
-       rgbGen wave sawtooth 0 1 0 10
-       }
-}
diff --git a/scripts/mnex.shader b/scripts/mnex.shader
deleted file mode 100644 (file)
index 835eb6d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-MNex-Diffuse
-{
-       dpglossexponentmod 64
-       dpreflectcube env/exomorph/exomorph
-       dpoffsetmapping - 0.125 match8 128
-       {
-               map models/weapons/mnex.tga
-               rgbgen lightingDiffuse
-       }
-}
diff --git a/scripts/mortar.shader b/scripts/mortar.shader
new file mode 100644 (file)
index 0000000..5292f38
--- /dev/null
@@ -0,0 +1,16 @@
+grenadelauncher // mortar
+{
+       dpreflectcube cubemaps/default/sky
+       {
+               map textures/grenadelauncher.tga
+               rgbgen lightingDiffuse
+       }
+}
+grenadelauncher_sight  // mortar_sight
+{
+       {
+       animMap 1 textures/glsight01.tga textures/glsight02.tga textures/glsight03.tga
+       blendFunc GL_ONE GL_ONE
+       rgbGen wave sawtooth 0 1 0 10
+       }
+}
index 95057f006308f1149f2eb319aa93ce544c7c9cce..895dc237a74c82db17e0b910b51b02807af291fa 100644 (file)
@@ -1,4 +1,4 @@
-OK_SMG
+OK_SMG // ok_mg
 {
        dpglossexponentmod 64
        dpreflectcube env/exomorph/exomorph
@@ -8,7 +8,7 @@ OK_SMG
        }
 }
 
-OK_Railgun
+OK_Railgun // ok_nex
 {
        dpglossexponentmod 64
        dpreflectcube env/exomorph/exomorph
@@ -39,7 +39,7 @@ minsta
        }
 }
 
-okrocketthrust
+okrocketthrust // ok_rpc rocket
 {
        deformVertexes autosprite2
        cull none
@@ -50,7 +50,7 @@ okrocketthrust
        }
 }
 
-okrocketthrust2
+okrocketthrust2 // ok_rpc rocketthrust2
 {
        deformVertexes autosprite
        {
diff --git a/scripts/rl.shader b/scripts/rl.shader
deleted file mode 100644 (file)
index d016c17..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-RL
-{
-       dpreflectcube cubemaps/default/sky
-       {
-               map textures/rl_new.tga
-               rgbgen lightingDiffuse
-       }
-}
-RocketThrust
-{
-       cull none
-       {
-       animMap 50 textures/rl_trust01.tga textures/rl_trust02.tga textures/rl_trust03.tga textures/rl_trust04.tga
-       blendFunc GL_ONE GL_ONE
-       rgbGen wave sawtooth 0 1 0 10
-       }
-
-}
index fcc9d3c64edaf4154ee4420b383cf299d46bdc42..7da5d608d3e696a5e918a43eb6b369ec6eae0c72 100644 (file)
@@ -1,20 +1,21 @@
 domination
+devastator
 electro
 fireball
 flags
-gl
 hlac
 model-common
+mortar
 onslaught
 portals
 pyria
-rl
 shotgun
 spiderbot
 teamfx
 tree
 tuba
 turrets
+vaporizer
 weapons
 monsters
 ok_nade_counter
diff --git a/scripts/vaporizer.shader b/scripts/vaporizer.shader
new file mode 100644 (file)
index 0000000..478f291
--- /dev/null
@@ -0,0 +1,10 @@
+MNex-Diffuse // vaporizer
+{
+       dpglossexponentmod 64
+       dpreflectcube env/exomorph/exomorph
+       dpoffsetmapping - 0.125 match8 128
+       {
+               map models/weapons/mnex.tga
+               rgbgen lightingDiffuse
+       }
+}
index e2df348134f6a110de17fa94a19ea9e8d117582a..41e7f9040955bb12a97ec8f843e672d2a0136d0f 100644 (file)
@@ -1,4 +1,4 @@
-nexgun
+nexgun // vortex
 {
        dpreflectcube cubemaps/default/sky
        dpoffsetmapping - 0.3 match8 64
@@ -7,7 +7,7 @@ nexgun
                rgbgen lightingDiffuse
        }
 }
-uzi
+uzi // machinegun
 {
        dpreflectcube cubemaps/default/sky
        {
@@ -39,7 +39,7 @@ shotgun2
                rgbgen lightingDiffuse
        }
 }
-models/weapons/laser
+models/weapons/laser // blaster
 {
        dpreflectcube cubemaps/default/sky
        {
@@ -87,7 +87,7 @@ shotgun
                rgbgen lightingDiffuse
        }
 }
-SniperRifle
+SniperRifle // rifle
 {
        dpreflectcube cubemaps/default/sky
        {