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

  1. // Hedgehog
  2. hedgehog
  3. {
  4.     qer_editorimage textures/models/items/hedgehog.tga
  5.     cull none
  6.     {
  7.         map textures/models/items/hedgehog.tga
  8.         rgbGen lightingGrid
  9.     }
  10. }
  11.  
  12. // Teller minepost
  13. minepole
  14. {
  15.     qer_editorimage textures/models/items/minepole.tga
  16.     {
  17.         map textures/models/items/minepole.tga
  18.         rgbGen lightingGrid
  19.     }
  20. }
  21.  
  22. minepole2
  23. {
  24.     qer_editorimage textures/models/items/minepole.tga
  25.     cull none
  26.     {
  27.         map textures/models/items/minepole.tga
  28.         rgbGen lightingGrid
  29.     }
  30. }
  31.  
  32. // Ramp
  33. ramp
  34. {
  35.     qer_editorimage textures/models/items/ramp.tga
  36.     {
  37.         map textures/models/items/ramp.tga
  38.         rgbGen lightingGrid
  39.     }
  40. }
  41.  
  42. // Barb wire posts
  43. bwirepost
  44. {
  45.     qer_editorimage textures/models/items/bwirepost.tga
  46.     {
  47.         map textures/models/items/bwirepost.tga
  48.         rgbGen lightingGrid
  49.     }
  50. }
  51.  
  52. // Barb wire
  53. bspindle
  54. {
  55.     qer_editorimage textures/models/items/bspindle.tga
  56.     cull none
  57.     nopicmip
  58.     nomipmaps
  59.     {
  60.         clampmap textures/models/items/bspindle.tga
  61.         blendFunc blend
  62. //        alphaFunc GT0
  63. //        alphaGen distFade 2048 3072
  64.         alphaGen distFade 256 3072
  65.         rgbGen lightingGrid
  66.     }
  67. }
  68.  
  69. bplane
  70. {
  71.     qer_editorimage textures/models/items/bplane.tga
  72.     cull none
  73.     nopicmip
  74.     nomipmaps
  75.     {
  76.         clampmap textures/models/items/bplane.tga
  77.         blendFunc blend
  78. //        alphaFunc GT0
  79. //        alphaGen distFade 2048 3072
  80.         alphaGen distFade 256 3072
  81.         rgbGen lightingGrid
  82.     }
  83. }
  84.  
  85. // Barb wire Pulsing
  86. bspindle_pulse
  87. {
  88.     qer_editorimage textures/models/items/bspindle.tga
  89.     cull none
  90.     nopicmip
  91.     nomipmaps
  92.     {
  93.         clampmap textures/models/items/bspindle.tga
  94.         blendFunc blend
  95. //        alphaFunc GT0
  96. //        alphaGen distFade 2048 3072
  97.         alphaGen distFade 256 3072
  98.         rgbGen lightingGrid
  99.     }
  100.     { 
  101.         map textures/models/items/pulse.tga
  102.         blendFunc GL_SRC_ALPHA GL_ONE // this is an additive blend that uses alpha
  103.         rgbGen wave sin 0.25 0.25 0 0.75
  104.         alphaGen distFade 1024 512 // this makes the pulsating fade when you go away from it
  105.     }
  106. }
  107.  
  108. bplane_pulse
  109. {
  110.     qer_editorimage textures/models/items/bplane.tga
  111.     cull none
  112.     nopicmip
  113.     nomipmaps
  114.     {
  115.         clampmap textures/models/items/bplane.tga
  116.         blendFunc blend
  117. //        alphaFunc GT0
  118. //        alphaGen distFade 2048 3072
  119.         alphaGen distFade 256 3072
  120.         rgbGen lightingGrid
  121.  
  122.  
  123.     }
  124.     {
  125.         map textures/models/items/pulse.tga
  126.         blendFunc GL_SRC_ALPHA GL_ONE // this is an additive blend that uses alpha
  127.         rgbGen wave sin 0.25 0.25 0 0.75
  128.         alphaGen distFade 1024 512 // this makes the pulsating fade when you go away from it
  129.     }
  130. }
  131.  
  132. // Large rock winter
  133. lrock1
  134. {
  135.     qer_editorimage textures/models/items/rockwinter1.tga
  136.     {
  137.         map textures/models/items/rockwinter1.tga
  138.         rgbGen lightingGrid
  139.     }
  140. }
  141.  
  142. static_lrock1
  143. {
  144.     qer_editorimage textures/models/items/rockwinter1.tga
  145.     {
  146.         map textures/models/items/rockwinter1.tga
  147.         rgbgen lightingSpherical
  148.     }
  149. }
  150.  
  151. // Medium rock winter
  152. mrock1
  153. {
  154.     qer_editorimage textures/models/items/mrock1.tga
  155.     {
  156.         map textures/models/items/mrock1.tga
  157.         rgbGen lightingGrid
  158.     }
  159. }
  160.  
  161. static_mrock1
  162. {
  163.     qer_editorimage textures/models/items/mrock1.tga
  164.     {
  165.         map textures/models/items/mrock1.tga
  166.         rgbgen lightingSpherical
  167.     }
  168. }
  169.  
  170. // Haystack
  171. static_haystack
  172. {
  173.     qer_editorimage textures/models/items/haystack.tga
  174.     {
  175.         map textures/models/items/haystack.tga
  176.         rgbgen lightingSpherical
  177.     }
  178. }
  179.  
  180. // Big pile of rubble
  181. static_lrubble1
  182. {
  183.     qer_editorimage textures/mohtest/rubble2c.tga
  184.     {
  185.         map textures/mohtest/rubble2c.tga
  186.         rgbgen lightingSpherical
  187.     }
  188. }
  189.  
  190. static_boards
  191. {
  192.     qer_editorimage textures/interior/trenchwall2.tga
  193.     {
  194.         map textures/interior/trenchwall2.tga
  195.         rgbgen lightingSpherical
  196.     }
  197. }
  198.  
  199. // Small pile of rubble
  200. static_srubble1
  201. {
  202.     qer_editorimage textures/models/items/rubblebase.tga
  203.     {
  204.         map textures/models/items/rubblebase.tga
  205.         rgbgen lightingSpherical
  206.     }
  207. }
  208.  
  209. // Can be placed in levels as a normal texture
  210. textures/models/items/rubblebase
  211. {
  212.     surfaceparm rock
  213.     {
  214.         map textures/models/items/rubblebase.tga
  215.         depthWrite
  216.         alphaFunc GE128
  217.         nextbundle
  218.         map $lightmap
  219.     }
  220. }
  221.  
  222. static_bricks
  223. {
  224.     qer_editorimage textures/models/items/rubbleblocks.tga
  225.     {
  226.         map textures/models/items/rubbleblocks.tga
  227.         rgbgen lightingSpherical
  228.     }
  229. }