home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / baseoa / pak0.pk3 / scripts / ammo.shader < prev    next >
Encoding:
Text File  |  2008-08-05  |  3.0 KB  |  187 lines

  1. // // // // SHADERS FOR OPEN ARENA AMMOBOX POWERUPS 
  2. // // // //  jzero --> johnzero@verizon.net
  3. // 1.machinegun
  4. models/powerups/ammo/machammo
  5. {
  6.     {
  7.         map models/powerups/ammo/ammobox.tga
  8.         rgbGen lightingDiffuse
  9.     }
  10.     {
  11.         map models/powerups/ammo/ammolights.tga
  12.         blendfunc blend
  13.         rgbGen const ( 1 1 0 )
  14.         alphaGen wave sawtooth 0 1 0 1 
  15.     }
  16. }
  17.  
  18. models/powerups/ammo/machammo2
  19. {
  20.     {
  21.         map models/powerups/ammo/machammo2.tga
  22.         rgbGen identity
  23.     }
  24. }
  25.  
  26. // 2.shotgun
  27. models/powerups/ammo/shotammo
  28. {
  29.     {
  30.         map models/powerups/ammo/ammobox.tga
  31.         rgbGen lightingDiffuse
  32.     }
  33.     {
  34.         map models/powerups/ammo/ammolights.tga
  35.         blendfunc blend
  36.         rgbGen const ( 1 0.5 0 )
  37.         alphaGen wave sawtooth 0 1 0 1 
  38.     }
  39. }
  40.  
  41. models/powerups/ammo/shotammo2
  42. {
  43.     {
  44.         map models/powerups/ammo/shotammo2.tga
  45.         rgbGen identity
  46.     }
  47. }
  48.  
  49. // 3.grenade launcher
  50. models/powerups/ammo/grenammo
  51. {
  52.     {
  53.         map models/powerups/ammo/ammobox.tga
  54.         rgbGen lightingDiffuse
  55.     }
  56.     {
  57.         map models/powerups/ammo/ammolights.tga
  58.         blendfunc blend
  59.         rgbGen const ( 0 0.56 0 )
  60.         alphaGen wave sawtooth 0 1 0 1 
  61.     }
  62. }
  63.  
  64. models/powerups/ammo/grenammo2
  65. {
  66.     {
  67.         map models/powerups/ammo/grenammo2.tga
  68.         rgbGen identity
  69.     }
  70. }
  71.  
  72. // 4.lightning gun
  73. models/powerups/ammo/lighammo
  74. {
  75.     {
  76.         map models/powerups/ammo/ammobox.tga
  77.         rgbGen lightingDiffuse
  78.     }
  79.     {
  80.         map models/powerups/ammo/ammolights.tga
  81.         blendfunc blend
  82.         rgbGen const ( 1 1 0.69 )
  83.         alphaGen wave sawtooth 0 1 0 1 
  84.     }
  85. }
  86.  
  87. models/powerups/ammo/lighammo2
  88. {
  89.     {
  90.         map models/powerups/ammo/lighammo2.tga
  91.         rgbGen identity
  92.     }
  93. }
  94.  
  95. // 5.plasma gun
  96. models/powerups/ammo/plasammo
  97. {
  98.     {
  99.         map models/powerups/ammo/ammobox.tga
  100.         rgbGen lightingDiffuse
  101.     }
  102.     {
  103.         map models/powerups/ammo/ammolights.tga
  104.         blendfunc blend
  105.         rgbGen const ( 0.8 0 1 )
  106.         alphaGen wave sawtooth 0 1 0 1 
  107.     }
  108. }
  109.  
  110. models/powerups/ammo/plasammo2
  111. {
  112.     {
  113.         map models/powerups/ammo/plasammo2.tga
  114.         rgbGen identity
  115.     }
  116. }
  117.  
  118. //6.rocket launcher
  119. models/powerups/ammo/rockammo
  120. {
  121.     {
  122.         map models/powerups/ammo/ammobox.tga
  123.         rgbGen lightingDiffuse
  124.     }
  125.     {
  126.         map models/powerups/ammo/ammolights.tga
  127.         blendfunc blend
  128.         rgbGen const ( 1 0 0 )
  129.         alphaGen wave sawtooth 0 1 0 1 
  130.     }
  131. }
  132.  
  133. models/powerups/ammo/rockammo2
  134. {
  135.     {
  136.         map models/powerups/ammo/rockammo2.tga
  137.         rgbGen identity
  138.     }
  139. }
  140.  
  141. //7. railgun
  142. models/powerups/ammo/railammo
  143. {
  144.     {
  145.         map models/powerups/ammo/ammobox.tga
  146.         rgbGen lightingDiffuse
  147.     }
  148.     {
  149.         map models/powerups/ammo/ammolights.tga
  150.         blendfunc blend
  151.         rgbGen const ( 0 1 0 )
  152.         alphaGen wave sawtooth 0 1 0 1 
  153.     }
  154. }
  155.  
  156. models/powerups/ammo/railammo2
  157. {
  158.     {
  159.         map models/powerups/ammo/railammo2.tga
  160.         rgbGen identity
  161.     }
  162. }
  163.  
  164. //8. BFG
  165. models/powerups/ammo/bfgammo
  166. {
  167.     {
  168.         map models/powerups/ammo/ammobox.tga
  169.         rgbGen lightingDiffuse
  170.     }
  171.     {
  172.         map models/powerups/ammo/ammolights.tga
  173.         blendfunc blend
  174.         rgbGen const ( 0 0.4 1 )
  175.         alphaGen wave sawtooth 0 1 0 1 
  176.     }
  177. }
  178.  
  179. models/powerups/ammo/bfgammo2
  180. {
  181.     {
  182.         map models/powerups/ammo/bfgammo2.tga
  183.         rgbGen identity
  184.     }
  185. }
  186.  
  187.