summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/crosshairs.shader293
1 files changed, 293 insertions, 0 deletions
diff --git a/scripts/crosshairs.shader b/scripts/crosshairs.shader
new file mode 100644
index 00000000..91f565ad
--- /dev/null
+++ b/scripts/crosshairs.shader
@@ -0,0 +1,293 @@
+gfx/2d/crosshair-alien_s
+{
+ {
+ map gfx/2d/crosshair-alien.tga
+ blendfunc blend
+ rgbgen const ( 1.0 0.0 0.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-rifle_s
+{
+ {
+ map gfx/2d/crosshair-rifle.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-prifle_s
+{
+ {
+ map gfx/2d/crosshair-prifle.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-chaingun_s
+{
+ {
+ map gfx/2d/crosshair-chaingun.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-mdriver_s
+{
+ {
+ map gfx/2d/crosshair-mdriver.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-lcannon_s
+{
+ {
+ map gfx/2d/crosshair-lcannon.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-lgun_s
+{
+ {
+ map gfx/2d/crosshair-lgun.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-flamer_s
+{
+ {
+ clampmap gfx/2d/crosshair-flamer1.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.15
+ tcmod rotate 5
+ }
+ {
+ clampmap gfx/2d/crosshair-flamer1.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.15
+ tcmod rotate -5
+ }
+}
+gfx/2d/crosshair-psaw
+{
+ {
+ map gfx/2d/crosshair-psaw.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+*** 1,97 **** 0
+gfx/2d/crosshair-alien_s
+{
+ {
+ map gfx/2d/crosshair-alien.tga
+ blendfunc blend
+ rgbgen const ( 1.0 0.0 0.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-rifle_s
+{
+ {
+ map gfx/2d/crosshair-rifle.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-prifle_s
+{
+ {
+ map gfx/2d/crosshair-prifle.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-chaingun_s
+{
+ {
+ map gfx/2d/crosshair-chaingun.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-mdriver_s
+{
+ {
+ map gfx/2d/crosshair-mdriver.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-lcannon_s
+{
+ {
+ map gfx/2d/crosshair-lcannon.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-lgun_s
+{
+ {
+ map gfx/2d/crosshair-lgun.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-flamer_s
+{
+ {
+ clampmap gfx/2d/crosshair-flamer1.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.15
+ tcmod rotate 5
+ }
+ {
+ clampmap gfx/2d/crosshair-flamer1.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.15
+ tcmod rotate -5
+ }
+}
+gfx/2d/crosshair-psaw
+{
+ {
+ map gfx/2d/crosshair-psaw.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+*** 1,97 **** 0
+gfx/2d/crosshair-alien_s
+{
+ {
+ map gfx/2d/crosshair-alien.tga
+ blendfunc blend
+ rgbgen const ( 1.0 0.0 0.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-rifle_s
+{
+ {
+ map gfx/2d/crosshair-rifle.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-prifle_s
+{
+ {
+ map gfx/2d/crosshair-prifle.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-chaingun_s
+{
+ {
+ map gfx/2d/crosshair-chaingun.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-mdriver_s
+{
+ {
+ map gfx/2d/crosshair-mdriver.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-lcannon_s
+{
+ {
+ map gfx/2d/crosshair-lcannon.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-lgun_s
+{
+ {
+ map gfx/2d/crosshair-lgun.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+
+gfx/2d/crosshair-flamer_s
+{
+ {
+ clampmap gfx/2d/crosshair-flamer1.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.15
+ tcmod rotate 5
+ }
+ {
+ clampmap gfx/2d/crosshair-flamer1.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.15
+ tcmod rotate -5
+ }
+}
+gfx/2d/crosshair-psaw
+{
+ {
+ map gfx/2d/crosshair-psaw.tga
+ blendfunc blend
+ rgbgen const ( 0.0 0.8 1.0 )
+ alphagen const 0.35
+ }
+}
+