home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / tahud.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  2.6 KB  |  126 lines

  1. textures/hud/crosshair
  2. {
  3.     surfaceparm nolightmap
  4.     nomipmaps
  5.     nopicmip
  6.     cull none
  7.     {
  8.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  9.         map textures/hud/crosshair.tga
  10.     }
  11. }
  12.  
  13. textures/hud/crosshair_friend
  14. {
  15.     surfaceparm nolightmap
  16.     nomipmaps
  17.     nopicmip
  18.     cull none
  19.     {
  20.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  21.         map textures/hud/crosshair_friend.tga
  22.     }
  23. }
  24.  
  25. //-------------------------------------------
  26. // These are the HUD icons for weapon classes
  27. //-------------------------------------------
  28.  
  29. //-------------------------------------
  30. // These are the HUD icons for items
  31. //-------------------------------------
  32.  
  33. //-------------------------------------------
  34. // These are the shaders for the hud compass, health meter, and stealth meter
  35. //-------------------------------------------
  36.  
  37. // the shader used for the player's health meter
  38. textures/hud/potentialhealthmeter
  39. {
  40.     surfaceparm nolightmap
  41.     nomipmaps
  42.     nopicmip
  43.     {
  44.         clampmap textures/hud/potentialhealthmeter.tga
  45.         blendFunc blend
  46.         alphaGen oneMinusVertex
  47. //        tcmod rotate 5
  48. //        nextbundle
  49. //        clampmap textures/hud/healthmeter.tga
  50. //        tcmod rotate -5
  51.     }
  52. }
  53.  
  54. //-------------------------------------------
  55. // These are the shaders for the hud ammo meter, and weapon clip meter
  56. //-------------------------------------------
  57.  
  58. //-------------------------------------------
  59. // These are shaders for the ammo bars
  60. //-------------------------------------------
  61.  
  62. //-------------------------------------------
  63. // This is the overlay that's done when the player is zoomed
  64. //-------------------------------------------
  65.  
  66. //------------------------------------------- //
  67. // Team icons for use over teammates & on hud //
  68. //------------------------------------------- //
  69.  
  70. textures/hud/talking_headicon
  71. {
  72.     spritegen parallel
  73.     surfaceparm nolightmap
  74. //    nomipmaps
  75.     nopicmip
  76.     cull none
  77.     {
  78. //        alphaFunc GE128
  79. //        alphagen 0.8
  80. //        rgbGen identityLighting
  81.         alphaFunc GT0
  82.         blendFunc blend
  83.         rgbGen vertex
  84.         alphagen vertex
  85.         clampmap textures/hud/talking.tga
  86.     }
  87. }
  88.  
  89. textures/hud/inmenu_headicon
  90. {
  91.     spritegen parallel
  92.     surfaceparm nolightmap
  93. //    nomipmaps
  94.     nopicmip
  95.     cull none
  96.     {
  97. //        alphaFunc GE128
  98. //        alphagen 0.8
  99. //        rgbGen identityLighting
  100.         alphaFunc GT0
  101.         blendFunc blend
  102.         rgbGen vertex
  103.         alphagen vertex
  104.         clampmap textures/hud/inmenu.tga
  105.     }
  106. }
  107.  
  108. textures/hud/inmenu_artilleryicon
  109. {
  110.     spritegen parallel
  111.     surfaceparm nolightmap
  112. //    nomipmaps
  113.     nopicmip
  114.     cull none
  115.     {
  116. //        alphaFunc GE128
  117. //        alphagen 0.8
  118. //        rgbGen identityLighting
  119.         alphaFunc GT0
  120.         blendFunc blend
  121.         rgbGen vertex
  122.         alphagen vertex
  123.         clampmap textures/hud/artillery.tga
  124.     }
  125. }
  126.