diff options
author | Michael Levin <risujin@fastmail.fm> | 2009-10-03 11:27:09 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:00 +0000 |
commit | e5d4b2471e72ff574ebc0d01afbab50fc447cf5a (patch) | |
tree | 852b809c6d12be200fb9d7fac8baf8132c140dfa /scripts | |
parent | 0cf04fe37fef2e827a95bb19926a3cbf8e98c581 (diff) |
* Gave Painsaw a crappy looking crosshair
* Change turret behavior again to make them even dumber (will not stay "spun up" anymore or retarget without spinning up again)
* DCC will not complain about an attack when something is deconstructed
* Fixed "\sell upgrades" command emptying energy weapons when a battery pack was sold with it
* Spectators moving to lock view points now set teleport bit, hopefully prevents the ugly lerping
Hive changes:
* Will not fire unless the missile can actually hit
* Will fire from the hive tip rather than the center
* Fixed broken code that made hive fire when shot from out of hive range
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/crosshairs.shader | 293 |
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
+ }
+}
+ |