home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 February / maximum-cd-2001-02.iso / Team Arena / TeamArenaDemo.exe / Main / pak0.pk3 / scripts / common.shader < prev    next >
Encoding:
Text File  |  2000-11-22  |  7.0 KB  |  395 lines

  1. textures/common/nolightmap
  2. {
  3.     surfaceparm nolightmap
  4. }
  5.  
  6. textures/common/nodrawnonsolid
  7. {
  8.     surfaceparm    nonsolid
  9.     surfaceparm    nodraw
  10. }
  11.  
  12. textures/common/invisible
  13. {
  14.     surfaceparm nolightmap            
  15.         {
  16.                 map textures/common/invisible.tga
  17.                 alphaFunc GE128
  18.         depthWrite
  19.         rgbGen vertex
  20.         }
  21. }
  22.  
  23. textures/common/teleporter
  24. {
  25.     surfaceparm nolightmap
  26.     surfaceparm noimpact
  27.     q3map_lightimage textures/sfx/powerupshit.tga    
  28.     q3map_surfacelight 800
  29.     {
  30.         map textures/sfx/powerupshit.tga
  31.         tcGen environment
  32. //        tcMod scale 5 5
  33.         tcMod turb 0 0.015 0 0.3
  34.     }
  35. }
  36.  
  37. textures/common/nodrop
  38. {
  39.     qer_nocarve
  40.     qer_trans    0.5
  41.     surfaceparm     trans
  42.     surfaceparm    nonsolid
  43.     surfaceparm    nomarks
  44.     surfaceparm     nodrop
  45.     surfaceparm     nolightmap
  46.     surfaceparm     nodraw
  47.     cull        disable
  48. }
  49.  
  50. textures/common/weapclip
  51. {
  52.     qer_trans 0.40
  53.     surfaceparm trans
  54.     surfaceparm nomarks
  55.     surfaceparm nodraw
  56. }
  57.  
  58. textures/common/pwclip
  59. {
  60.     qer_trans 0.40
  61.     surfaceparm trans
  62.     surfaceparm nomarks
  63.     surfaceparm nodraw
  64.  
  65. }
  66.  
  67.  
  68. textures/common/clip
  69. {
  70.     qer_trans 0.40
  71.     surfaceparm     nolightmap
  72.     surfaceparm nomarks
  73.     surfaceparm nodraw
  74.     surfaceparm nonsolid
  75.         //surfaceparm     nolightmap //proto_addition 11/08/99
  76.     surfaceparm playerclip
  77.     surfaceparm noimpact
  78. }
  79.  
  80. textures/common/full_clip
  81. {
  82.     qer_trans 0.40
  83.     surfaceparm nodraw
  84.     surfaceparm playerclip
  85. }
  86.  
  87.  
  88. textures/common/missileclip
  89. {
  90.     qer_trans 0.40
  91.     surfaceparm nodamage
  92.     surfaceparm nomarks
  93.     surfaceparm nodraw
  94.     //surfaceparm nonsolid
  95.     surfaceparm playerclip
  96. }
  97.  
  98. //*****************************************
  99. //**   I've reduced the transparency on most editor-only brushes here.
  100. //**   If the transparent textures are still too pale for
  101. //**   things like clip, hint, trigger, etc.,
  102. //**   Please make an editorimage to suit your needs.
  103. //******************************************
  104.  
  105. textures/common/cushion
  106. {
  107.     qer_nocarve
  108.     qer_trans 0.50
  109.     surfaceparm nodraw
  110.     surfaceparm nomarks
  111.     surfaceparm nodamage
  112.     surfaceparm trans
  113. }
  114.  
  115. textures/common/hint
  116. {
  117. qer_nocarve
  118. qer_trans 0.30
  119. surfaceparm nodraw
  120. surfaceparm nonsolid
  121. surfaceparm structural
  122. surfaceparm trans
  123. surfaceparm noimpact
  124. surfaceparm hint
  125. }
  126.  
  127. textures/common/skip
  128. {
  129. qer_nocarve
  130. qer_trans 0.40
  131. surfaceparm nodraw
  132. surfaceparm nonsolid
  133. surfaceparm structural
  134. surfaceparm trans
  135. }
  136.  
  137. textures/common/slick
  138. {
  139.     qer_trans 0.50
  140.     surfaceparm nodraw
  141.     surfaceparm nomarks
  142.     surfaceparm trans
  143.     surfaceparm slick
  144. }
  145.  
  146. textures/common/origin
  147. {
  148.     qer_nocarve
  149.     surfaceparm nodraw
  150.     surfaceparm nonsolid
  151.     surfaceparm origin
  152. }
  153.  
  154. textures/common/noimpact
  155. {
  156.     surfaceparm noimpact
  157. }
  158.  
  159. textures/common/areaportal
  160. {
  161.     qer_trans 0.50
  162.     surfaceparm nodraw
  163.     surfaceparm nonsolid
  164.     surfaceparm structural
  165.     surfaceparm trans
  166.     surfaceparm    nomarks
  167.     surfaceparm areaportal
  168. }
  169.  
  170. //bot specific cluster portal
  171. textures/common/clusterportal
  172. {
  173.     qer_trans 0.50
  174.     surfaceparm nodraw
  175.     surfaceparm nonsolid
  176.     surfaceparm trans
  177.     surfaceparm    nomarks
  178.     surfaceparm detail
  179.     surfaceparm clusterportal
  180. }
  181.  
  182. //bot specific "do not enter" brush
  183. textures/common/donotenter
  184. {
  185.     qer_trans 0.50
  186.     surfaceparm nodraw
  187.     surfaceparm nonsolid
  188.     surfaceparm trans
  189.     surfaceparm    nomarks
  190.     surfaceparm detail
  191.     surfaceparm donotenter
  192. }
  193.  
  194. textures/common/trigger
  195. {
  196.     qer_trans 0.50
  197.     qer_nocarve
  198.     surfaceparm nodraw
  199. }
  200.  
  201. textures/common/caulk
  202. {
  203.     surfaceparm nodraw
  204.     surfaceparm nomarks
  205.         surfaceparm nolightmap
  206. }
  207.  
  208. textures/common/terrain
  209. {
  210.     surfaceparm nodraw
  211.     surfaceparm nomarks
  212.         surfaceparm nolightmap
  213. }
  214.  
  215. textures/common/terrain2
  216. {
  217.     qer_editorimage textures/common/terrain.tga
  218.     surfaceparm dust
  219.     surfaceparm nodraw
  220.     surfaceparm nomarks
  221.     surfaceparm nolightmap
  222. }
  223.  
  224. textures/common/nodraw
  225. {
  226.     surfaceparm nodraw
  227.     surfaceparm nonsolid
  228.     surfaceparm trans
  229.     surfaceparm nomarks
  230. }
  231.  
  232. textures/common/mirror1
  233. {
  234.     qer_editorimage textures/common/qer_mirror.tga
  235.     surfaceparm nolightmap
  236.     portal
  237.   
  238.     {
  239.         map textures/common/mirror1.tga
  240.         blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  241.         depthWrite
  242.     }
  243.        
  244.         
  245.  
  246. }
  247.  
  248. textures/common/mirror2
  249. {
  250.     qer_editorimage textures/common/qer_mirror.tga
  251.     surfaceparm nolightmap
  252.     portal
  253.     {
  254.         map textures/common/mirror1.tga
  255.         blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  256.         depthWrite
  257.     }
  258.         {
  259.                map textures/sfx/mirror.tga
  260.            blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
  261.         }
  262.  
  263. }
  264. textures/common/energypad
  265. {
  266.     qer_editorimage textures/common/bluegoal.tga
  267.     surfaceparm nolightmap
  268.     cull twosided
  269.     {
  270.         map textures/common/bluegoal.tga
  271.         blendFunc GL_ONE GL_SRC_ALPHA
  272.         tcGen environment
  273.         tcMod turb 0 0.25 0 0.05
  274.     }
  275. }
  276.  
  277. textures/common/portal
  278. {
  279.     qer_editorimage textures/common/qer_portal.tga
  280.     surfaceparm nolightmap
  281.     portal
  282.     {
  283.         map textures/common/mirror1.tga
  284. //        map textures/common/portal.tga
  285.         tcMod turb 0 0.25 0 0.05
  286. //        blendFunc GL_ONE GL_SRC_ALPHA
  287.         blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  288.         depthWrite
  289.  
  290.     }
  291. }
  292.  
  293. textures/common/timportal
  294. {
  295.     qer_editorimage textures/common/qer_portal.tga
  296.     portal
  297.     surfaceparm nolightmap
  298.     {
  299.         map textures/common/portal.tga
  300.         tcMod turb 0 0.25 0 0.05
  301.         blendFunc GL_ONE GL_SRC_ALPHA
  302.         depthWrite
  303.     }
  304. }
  305.  
  306. textures/sfx/portal_sfx
  307. {
  308.  
  309.     //    *************************************************
  310.     //    *          Portal Inside Effect             *
  311.     //    *          April 29                *    
  312.     //    *    Please Comment Changes            *
  313.     //    *************************************************
  314.  
  315.     portal
  316.     surfaceparm nolightmap
  317.     deformVertexes wave 100 sin 0 2 0 .5
  318.  
  319.  
  320.     {
  321.         map textures/sfx/portal_sfx3.tga
  322.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  323.     //    This blend function is not working on RagePro drivers Mac only
  324.     //    when it is used on top of portals
  325.         depthWrite
  326.     }
  327.  
  328.  
  329.     {
  330.         map textures/sfx/portal_sfx1.tga
  331.         blendfunc gl_dst_color gl_zero
  332.         tcMod rotate 360
  333.     }
  334.  
  335.     {
  336.         map textures/sfx/portal_sfx.tga
  337.         blendfunc gl_one gl_one
  338.         rgbgen wave inversesawtooth 0 .5 .2 .5
  339.     }
  340.  
  341.     {
  342.         map textures/sfx/portalfog.tga
  343.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  344.         alphagen portal 256
  345.         rgbGen identityLighting    
  346.         tcmod turb sin 0 .5 0 1
  347.         tcmod rotate .1 .1
  348.         tcmod scroll .01 .03
  349.     }
  350. }
  351. textures/sfx/portal2_sfx
  352. {
  353.  
  354.     //    *************************************************
  355.     //    *          Portal Inside Effect             *
  356.     //    *          April 29                *    
  357.     //    *    Please Comment Changes            *
  358.     //    *************************************************
  359.  
  360.     portal
  361.     surfaceparm nolightmap
  362.     deformVertexes wave 100 sin 0 2 0 .5
  363.  
  364.  
  365.     {
  366.         map textures/sfx/portal_sfx3.tga
  367.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  368.     //    This blend function is not working on RagePro drivers Mac only
  369.     //    when it is used on top of portals
  370.         depthWrite
  371.     }
  372.  
  373.  
  374.     {
  375.         map textures/sfx/portal_sfx1.tga
  376.         blendfunc gl_dst_color gl_zero
  377.         tcMod rotate 360
  378.     }
  379.  
  380.     {
  381.         map textures/sfx/portal_sfx.tga
  382.         blendfunc gl_one gl_one
  383.         rgbgen wave inversesawtooth 0 .5 .2 .5
  384.     }
  385.  
  386.     {
  387.         map textures/sfx/portalfog.tga
  388.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  389.         //alphagen portal 128
  390.         rgbGen identityLighting    
  391.         tcmod turb sin 0 .5 0 1
  392.         tcmod rotate .1 .1
  393.         tcmod scroll .01 .03
  394.     }
  395. }