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

  1. railDic
  2. {
  3.     cull disable
  4.     deformVertexes autosprite
  5.     {
  6.         clampmap textures/oafx/plastrail.tga
  7.         blendfunc gl_one gl_src_alpha
  8.         rgbGen wave inversesawtooth 0 1 0 1.3 
  9.         tcMod rotate -460
  10.     }
  11.     {
  12.         clampmap textures/oafx/plastrail.tga
  13.         blendfunc gl_one gl_src_alpha
  14.         rgbGen wave inversesawtooth 0 1 0 1.3 
  15.         tcMod rotate 754
  16.     }
  17. }
  18.  
  19. oldbulletExplosion
  20. {
  21.     cull disable
  22.     {
  23.         map models/weaphits/bulletscroll.tga
  24.         blendfunc add
  25.         tcMod scroll -1.4 0
  26.     }
  27. }
  28.  
  29. bitoutofdatebulletExplosion
  30. {
  31.     cull disable
  32.     {
  33.         map models/weaphits/bulletscroll2.tga
  34.         blendfunc gl_one gl_src_alpha
  35.         rgbGen wave inversesawtooth 0 1 0 2.8 
  36.         tcMod scroll -1.5 0
  37.     }
  38.     {
  39.         map models/weaphits/bulletscroll2.tga
  40.         blendfunc gl_one gl_src_alpha
  41.         rgbGen wave inversesawtooth 0 1 0 2.8 
  42.         tcMod scroll -1.5 0
  43.     }
  44. }
  45.  
  46. bulletExplosion
  47. {
  48.     cull disable
  49.     {
  50.         animmap 12 models/weaphits/bullet_0000.tga models/weaphits/bullet_0001.tga models/weaphits/bullet_0002.tga models/weaphits/bullet_0003.tga models/weaphits/bullet_0004.tga models/weaphits/bullet_0005.tga models/weaphits/bullet_0006.tga models/weaphits/bullet_0007.tga 
  51.         blendfunc add
  52.     }
  53. }
  54.  
  55. lightningExplosion
  56. {
  57.     cull disable
  58.     deformVertexes wave 9 sin 0 1 0 9 
  59.     {
  60.         map models/weaphits/elecscroll.tga
  61.         blendfunc add
  62.         tcMod scroll -8 0
  63.     }
  64. }
  65.  
  66. bfgExplocsion
  67. {
  68.     cull disable
  69.     {
  70.         map models/weaphits/bfgscroll.tga
  71.         blendfunc add
  72.         tcMod scroll -1.4 0
  73.     }
  74.     {
  75.         map models/weaphits/bfgscroll.tga
  76.         blendfunc add
  77.         tcMod scroll -0.6 0
  78.     }
  79. }
  80.  
  81. bfgExplosion
  82. {
  83.     {
  84.         clampmap textures/oa/bfgfiar.tga
  85.         blendfunc add
  86.         rgbGen wave inversesawtooth 0 1 0 1.6 
  87.         tcMod rotate 77
  88.         tcMod stretch sin 0.3 0.7 0 0.6 
  89.     }
  90.     {
  91.         clampmap textures/oa/bfgfiar.tga
  92.         blendfunc add
  93.         rgbGen wave inversesawtooth 0 1 0 1.6 
  94.         tcMod rotate -17
  95.         tcMod stretch sin 0 1.3 0 0.8 
  96.     }
  97.     {
  98.         clampmap textures/oa/bfgfiar.tga
  99.         blendfunc add
  100.         rgbGen wave inversesawtooth 0 1 0 1.6 
  101.         tcMod rotate -77
  102.         tcMod stretch sawtooth 0 1.3 0 0.8 
  103.     }
  104. }
  105.  
  106. plasmaExplosion
  107. {
  108.     cull disable
  109.     deformVertexes wave 1 sin 0 1 0 2 
  110.     {
  111.         clampmap models/weaphits/plasring.tga
  112.         blendfunc add
  113.         rgbGen wave inversesawtooth 0 1 0 1.6 
  114.         tcMod stretch sawtooth 0 4.3 0 1.4 
  115.         tcMod rotate -37
  116.     }
  117.     {
  118.         clampmap models/weaphits/plasring.tga
  119.         blendfunc add
  120.         rgbGen wave inversesawtooth 0 1 0 1.6 
  121.         tcMod stretch sawtooth 0 4.5 0 1.4 
  122.         tcMod rotate 66
  123.     }
  124. }
  125.  
  126. railExplosion
  127. {
  128.     cull disable
  129.     {
  130.         clampmap models/weaphits/smokering2.tga
  131.         blendfunc blend
  132.         rgbGen lightingDiffuse
  133.         tcMod stretch sawtooth 0 4.5 0 1.3 
  134.         tcMod rotate -80
  135.         alphaGen wave inversesawtooth 0 1 0 1.65 
  136.     }
  137.     {
  138.         clampmap models/weaphits/smokering2.tga
  139.         blendfunc blend
  140.         rgbGen lightingDiffuse
  141.         tcMod stretch sawtooth 0 4.5 0 1.4 
  142.         tcMod rotate 66
  143.         alphaGen wave inversesawtooth 0 1 0 1.65 
  144.     }
  145.     {
  146.         clampmap models/weaphits/spark.tga
  147.         blendfunc gl_src_alpha gl_one
  148.         rgbGen identity
  149.         tcMod stretch sawtooth 1.5 -3.5 0 1.1 
  150.         tcMod rotate -80
  151.         alphaGen wave inversesawtooth 0 1 0 1.65 
  152.     }
  153. }
  154.  
  155. OLDplasmaExplosion
  156. {
  157.     cull disable
  158.     {
  159.         map models/weaphits/plasscroll2.tga
  160.         blendfunc add
  161.         tcMod scroll -1.2 7
  162.     }
  163. }
  164.  
  165. OLDrailExplosion
  166. {
  167.     cull disable
  168.     {
  169.         map models/weaphits/railscroll.tga
  170.         blendfunc blend
  171.         rgbGen lightingDiffuse
  172.         tcMod scroll -1 -0.06
  173.     }
  174.     {
  175.         map models/weaphits/plasscroll2.tga
  176.         blendfunc add
  177.         rgbGen wave inversesawtooth 0 1 0 0.6 
  178.         tcMod scroll 0 1
  179.     }
  180. }
  181.  
  182. OLDrocketExplosion
  183. {
  184.     {
  185.         clampmap textures/oa/fiar.tga
  186.         blendfunc add
  187.         rgbGen wave inversesawtooth 0 1 0 1 
  188.         tcMod rotate 77
  189.         tcMod stretch sin 0.3 0.4 0 0.4 
  190.     }
  191.     {
  192.         clampmap textures/oa/fiar2.tga
  193.         blendfunc add
  194.         rgbGen wave inversesawtooth 0 1 0 1 
  195.         tcMod rotate 33
  196.         tcMod stretch sin 0.8 -0.4 0 0.1 
  197.     }
  198.     {
  199.         clampmap textures/oa/fiar.tga
  200.         blendfunc add
  201.         rgbGen wave inversesawtooth 0 1 0 1 
  202.         tcMod rotate -17
  203.     }
  204.     {
  205.         clampmap textures/oa/fiar2.tga
  206.         blendfunc add
  207.         rgbGen wave inversesawtooth 0 1 0 1 
  208.         tcMod rotate -77
  209.     }
  210. }
  211.  
  212. bloodExplosion
  213. {
  214.     {
  215.         clampmap gfx/2d/bloodspew.tga
  216.         blendfunc blend
  217.         tcMod rotate 77
  218.         tcMod stretch sin 0 2 0 0.4 
  219.         alphaGen wave inversesawtooth 0 1 0 1 
  220.     }
  221.     {
  222.         clampmap gfx/2d/bloodspew.tga
  223.         blendfunc blend
  224.         tcMod rotate -43
  225.         tcMod stretch sin 0 1.7 0 0.4 
  226.         alphaGen wave inversesawtooth 0 1 0 1 
  227.     }
  228. }
  229.  
  230. olderrocketExplosion
  231. {
  232.     {
  233.         clampmap textures/oa/fiar.tga
  234.         blendfunc add
  235.         rgbGen wave inversesawtooth 0 1 0 1 
  236.         tcMod rotate 77
  237.         tcMod stretch sin 0 1 0 0.4 
  238.     }
  239.     {
  240.         clampmap textures/oa/fiar2.tga
  241.         blendfunc add
  242.         rgbGen wave inversesawtooth 0 1 0 1 
  243.         tcMod rotate 33
  244.         tcMod stretch sin 0 1 0 0.4 
  245.     }
  246.     {
  247.         clampmap textures/oa/fiar.tga
  248.         blendfunc add
  249.         rgbGen wave inversesawtooth 0 1 0 1 
  250.         tcMod rotate -17
  251.         tcMod stretch sawtooth 0 1.8 0 1 
  252.     }
  253.     {
  254.         clampmap textures/oa/fiar2.tga
  255.         blendfunc add
  256.         rgbGen wave inversesawtooth 0 1 0 1 
  257.         tcMod rotate -77
  258.         tcMod stretch sawtooth 0.3 1 0 1 
  259.     }
  260. }
  261.  
  262. rocketExplosion
  263. {
  264.     {
  265.         animmap 8 models/weaphits/rlboom/rlboom_1.tga models/weaphits/rlboom/rlboom_2.tga models/weaphits/rlboom/rlboom_3.tga models/weaphits/rlboom/rlboom_4.tga models/weaphits/rlboom/rlboom_5.tga models/weaphits/rlboom/rlboom_6.tga models/weaphits/rlboom/rlboom_7.tga models/weaphits/rlboom/rlboom_8.tga 
  266.         blendfunc gl_one gl_src_alpha
  267.         rgbGen wave inversesawtooth 0 1 0 8 
  268.     }
  269.     {
  270.         animmap 8 models/weaphits/rlboom/rlboom_2.tga models/weaphits/rlboom/rlboom_3.tga models/weaphits/rlboom/rlboom_4.tga models/weaphits/rlboom/rlboom_5.tga models/weaphits/rlboom/rlboom_6.tga models/weaphits/rlboom/rlboom_7.tga models/weaphits/rlboom/rlboom_8.tga models/weaphits/rlboom/rlboom_8.tga 
  271.         blendfunc gl_one gl_src_alpha
  272.         rgbGen wave sawtooth 0 1 0 8 
  273.     }
  274.     {
  275.         clampmap textures/oa/fiar.tga
  276.         blendfunc add
  277.         rgbGen wave inversesawtooth 0 1 0 1 
  278.         tcMod rotate 77
  279.         tcMod stretch sawtooth 0 1 0 0.4 
  280.     }
  281.     {
  282.         clampmap textures/oa/fiar2.tga
  283.         blendfunc add
  284.         rgbGen wave inversesawtooth 0 1 0 1 
  285.         tcMod rotate 33
  286.         tcMod stretch sin 0 1 0 0.4 
  287.     }
  288.     {
  289.         clampmap textures/oa/fiar.tga
  290.         blendfunc add
  291.         rgbGen wave inversesawtooth 0 1 0 1 
  292.         tcMod rotate -17
  293.         tcMod stretch sawtooth 0 1.5 0 1 
  294.     }
  295.     {
  296.         clampmap textures/oa/fiar2.tga
  297.         blendfunc add
  298.         rgbGen wave inversesawtooth 0 1 0 1 
  299.         tcMod rotate -77
  300.         tcMod stretch sawtooth 0.3 1 0 1 
  301.     }
  302. }
  303.  
  304. lasmaExplosion
  305. {
  306.     cull disable
  307.     {
  308.         clampmap textures/oa/fiar.tga
  309.         blendfunc add
  310.         rgbGen wave inversesawtooth 0 1 0 4 
  311.         tcMod rotate 300
  312.         tcMod stretch sin 0.3 0.4 0 0.4 
  313.     }
  314.     {
  315.         clampmap textures/oa/fiar2.tga
  316.         blendfunc add
  317.         rgbGen wave inversesawtooth 0 1 0 4 
  318.         tcMod rotate 122
  319.         tcMod stretch sin 0.8 -0.7 0 0.1 
  320.     }
  321. }
  322.  
  323. ailExplosion
  324. {
  325.     cull disable
  326.     {
  327.         clampmap textures/oa/fiar.tga
  328.         blendfunc add
  329.         rgbGen wave inversesawtooth 0 1 0 1 
  330.         tcMod rotate 12
  331.         tcMod stretch sin 0.3 0.4 0 0.4 
  332.     }
  333.     {
  334.         clampmap textures/oa/fiar2.tga
  335.         blendfunc add
  336.         rgbGen wave inversesawtooth 0 1 0 1 
  337.         tcMod rotate 15
  338.         tcMod stretch sin 0.8 -0.4 0 0.1 
  339.     }
  340.     {
  341.         clampmap textures/oa/fiar.tga
  342.         blendfunc add
  343.         rgbGen wave inversesawtooth 0 1 0 1 
  344.         tcMod rotate -12
  345.     }
  346.     {
  347.         clampmap textures/oa/fiar2.tga
  348.         blendfunc add
  349.         rgbGen wave inversesawtooth 0 1 0 1 
  350.         tcMod rotate -78
  351.     }
  352. }
  353.  
  354. OLDgrenadeExplosion
  355. {
  356.     {
  357.         clampmap textures/oa/grenfiar.tga
  358.         blendfunc add
  359.         rgbGen wave inversesawtooth 0 1 0 1.6 
  360.         tcMod rotate 77
  361.         tcMod stretch sin 0.3 0.4 0 0.4 
  362.     }
  363.     {
  364.         clampmap textures/oa/grenfiar.tga
  365.         blendfunc add
  366.         rgbGen wave inversesawtooth 0 1 0 1.6 
  367.         tcMod rotate 33
  368.         tcMod stretch sin 0.8 -0.4 0 0.4 
  369.     }
  370.     {
  371.         clampmap textures/oa/grenfiar.tga
  372.         blendfunc add
  373.         rgbGen wave inversesawtooth 0 1 0 1.6 
  374.         tcMod rotate -17
  375.     }
  376.     {
  377.         clampmap textures/oa/grenfiar.tga
  378.         blendfunc add
  379.         rgbGen wave inversesawtooth 0 1 0 1.6 
  380.         tcMod rotate -77
  381.     }
  382. }
  383.  
  384. grenadeExplosion
  385. {
  386.     {
  387.         clampmap textures/oa/grenfiar.tga
  388.         blendfunc add
  389.         rgbGen wave inversesawtooth 0 1 0 1.6 
  390.         tcMod rotate 77
  391.         tcMod stretch sin 0 1 0 0.4 
  392.     }
  393.     {
  394.         clampmap textures/oa/grenfiar.tga
  395.         blendfunc add
  396.         rgbGen wave inversesawtooth 0 1 0 1.6 
  397.         tcMod rotate 33
  398.         tcMod stretch sin 0 1 0 0.4 
  399.     }
  400.     {
  401.         clampmap textures/oa/grenfiar.tga
  402.         blendfunc add
  403.         rgbGen wave inversesawtooth 0 1 0 1.6 
  404.         tcMod rotate -17
  405.         tcMod stretch sawtooth 0 1.8 0 1 
  406.     }
  407.     {
  408.         clampmap textures/oa/grenfiar.tga
  409.         blendfunc add
  410.         rgbGen wave inversesawtooth 0 1 0 1.6 
  411.         tcMod rotate -77
  412.         tcMod stretch sawtooth 0.3 1 0 1 
  413.     }
  414. }
  415.  
  416.