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

  1. lowShotgunFlash
  2. {
  3.     deformVertexes autosprite
  4.     {
  5.         map models/weapons2/shotgun/shotgun_flash.tga
  6.         blendfunc add
  7.     }
  8. }
  9.  
  10. lowMachgunFlash
  11. {
  12.     deformVertexes autosprite
  13.     {
  14.         map models/weapons2/machinegun/f_machinegun.tga
  15.         blendfunc add
  16.     }
  17. }
  18.  
  19. lowPlasmaaFlash
  20. {
  21.     deformVertexes autosprite
  22.     {
  23.         map models/weapons2/plasma/f_plasma.tga
  24.         blendfunc add
  25.     }
  26. }
  27.  
  28. lowRocketlFlash
  29. {
  30.     deformVertexes autosprite
  31.     {
  32.         map models/weapons2/rocketl/f_rocketl.tga
  33.         blendfunc add
  34.     }
  35. }
  36.  
  37. lowGrenadeFlash
  38. {
  39.     deformVertexes autosprite
  40.     {
  41.         map models/weapons2/grenadel/f_grenadel.tga
  42.         blendfunc add
  43.     }
  44. }
  45.  
  46. lowRailgunFlash
  47. {
  48.     deformVertexes autosprite
  49.     {
  50.         map models/weapons2/railgun/f_railgun2.tga
  51.         blendfunc add
  52.         rgbGen entity
  53.     }
  54. }
  55.  
  56. lapscrn
  57. {
  58.     tessSize 64
  59.     {
  60.         map models/mapobjects/laptop/lapscrn.tga
  61.     }
  62.     {
  63.         map models/mapobjects/laptop/invert.tga
  64.         blendfunc gl_one_minus_dst_color gl_one_minus_src_color
  65.         tcGen environment 
  66.     }
  67. }
  68.  
  69. lowLightnnFlash
  70. {
  71.     deformVertexes autosprite
  72.     {
  73.         map models/weapons2/lightning/f_lightning.tga
  74.         blendfunc add
  75.         tcMod rotate 675756
  76.     }
  77. }
  78.  
  79. LightnnFlash
  80. {
  81.     cull disable
  82.     {
  83.         animmap 20 models/weapons2/lightning/muzzle1.tga models/weapons2/lightning/muzzle2.tga models/weapons2/lightning/muzzle3.tga 
  84.         blendfunc gl_one gl_src_alpha
  85.         rgbGen wave inversesawtooth 0 1 0 20 
  86.     }
  87.     {
  88.         animmap 20 models/weapons2/lightning/muzzle2.tga models/weapons2/lightning/muzzle3.tga models/weapons2/lightning/muzzle1.tga 
  89.         blendfunc gl_one gl_src_alpha
  90.         rgbGen wave sawtooth 0 1 0 20 
  91.     }
  92. }
  93.  
  94. default
  95. {
  96.     {
  97.         map textures/stone/pjrock1.tga
  98.     }
  99. }
  100.  
  101. textures/effects/jumpcirc
  102. {
  103.     q3map_lightimage textures/effects/jumpcirc.tga
  104.     q3map_surfacelight 466
  105.     {
  106.         clampmap textures/effects/jumpcirc.tga
  107.         tcMod stretch sawtooth 0 1 0 1 
  108.         tcMod rotate 75
  109.     }
  110.     {
  111.         clampmap textures/effects/jumpcirc.tga
  112.         blendfunc add
  113.         tcMod stretch sawtooth 0 1 0 1 
  114.         tcMod rotate -120
  115.     }
  116. }
  117.  
  118. textures/effects/jumpcircblue
  119. {
  120.     q3map_lightimage textures/effects/jumpcircblue.tga
  121.     q3map_surfacelight 466
  122.     {
  123.         clampmap textures/effects/jumpcircblue.tga
  124.         tcMod stretch sawtooth 0 1 0 1 
  125.         tcMod rotate 75
  126.     }
  127.     {
  128.         clampmap textures/effects/jumpcircblue.tga
  129.         blendfunc add
  130.         tcMod stretch sawtooth 0 1 0 1 
  131.         tcMod rotate -120
  132.     }
  133. }
  134.  
  135. textures/effects/jumpcircred
  136. {
  137.     q3map_lightimage textures/effects/jumpcircred.tga
  138.     q3map_surfacelight 466
  139.     {
  140.         clampmap textures/effects/jumpcircred.tga
  141.         tcMod stretch sawtooth 0 1 0 1 
  142.         tcMod rotate 75
  143.     }
  144.     {
  145.         clampmap textures/effects/jumpcircred.tga
  146.         blendfunc add
  147.         tcMod stretch sawtooth 0 1 0 1 
  148.         tcMod rotate -120
  149.     }
  150. }
  151.  
  152. textures/ctf_unified/floor_decal_blue
  153. {
  154.     cull disable
  155.     {
  156.         map textures/symbols/blueteam.tga
  157.         blendfunc add
  158.     }
  159. }
  160.  
  161. textures/ctf_unified/floor_decal_red
  162. {
  163.     cull disable
  164.     {
  165.         map textures/symbols/redteam.tga
  166.         blendfunc add
  167.     }
  168. }
  169.  
  170. textures/ctf_unified/monologo_flash_blue
  171. {
  172.     cull disable
  173.     {
  174.         map textures/symbols/blueteam.tga
  175.     }
  176. }
  177.  
  178. textures/ctf_unified/monologo_flash_red
  179. {
  180.     cull disable
  181.     {
  182.         map textures/symbols/redteam.tga
  183.     }
  184. }
  185.  
  186. textures/base_wall/glass01
  187. {
  188.     surfaceparm trans
  189.     cull disable
  190.     {
  191.         map textures/effects/tinfx.tga
  192.         blendfunc add
  193.         rgbGen identity
  194.         tcGen environment 
  195.     }
  196.     {
  197.         map textures/detail/d_met2.tga
  198.         blendfunc gl_dst_color gl_src_color
  199.         tcMod scale 4 4
  200.         detail
  201.     }
  202.     {
  203.         map $lightmap 
  204.         blendfunc filter
  205.         rgbGen identity
  206.         tcGen lightmap 
  207.     }
  208. }
  209.  
  210. redArmor
  211. {
  212.     {
  213.         map models/powerups/armor/redarmor.tga
  214.         rgbGen lightingDiffuse
  215.     }
  216.     {
  217.         map textures/sfx/specular.tga
  218.         blendfunc add
  219.         rgbGen lightingDiffuse
  220.         tcGen environment 
  221.     }
  222.     {
  223.         map models/powerups/armor/redarmor.tga
  224.         blendfunc blend
  225.         rgbGen lightingDiffuse
  226.     }
  227. }
  228.  
  229. yellowArmor
  230. {
  231.     {
  232.         map models/powerups/armor/yellowarmor.tga
  233.         rgbGen lightingDiffuse
  234.     }
  235.     {
  236.         map textures/sfx/specular.tga
  237.         blendfunc add
  238.         rgbGen lightingDiffuse
  239.         tcGen environment 
  240.     }
  241.     {
  242.         map models/powerups/armor/yellowarmor.tga
  243.         blendfunc blend
  244.         rgbGen lightingDiffuse
  245.     }
  246. }
  247.  
  248. textures/base_floor/metfloor1
  249. {
  250.     surfaceparm metalsteps
  251.     {
  252.         map textures/base_floor/metfloor1.tga
  253.         rgbGen const ( 1 1 1 )
  254.     }
  255.     {
  256.         clampmap textures/base_wall/chrome_env2.tga
  257.         blendfunc add
  258.         rgbGen const ( 0.188235 0.188235 0.188235 )
  259.         tcGen environment 
  260.     }
  261.     {
  262.         map textures/base_floor/metfloor1.tga
  263.         blendfunc filter
  264.         rgbGen const ( 0.737255 0.737255 0.737255 )
  265.     }
  266.     {
  267.         map $lightmap 
  268.         blendfunc filter
  269.         tcGen lightmap 
  270.     }
  271. }
  272.  
  273. textures/base_trim/tinfx
  274. {
  275.     {
  276.         map textures/base_trim/tinfx.tga
  277.         tcGen environment 
  278.     }
  279.     {
  280.         map $lightmap 
  281.         blendfunc filter
  282.         tcGen lightmap 
  283.     }
  284. }
  285.  
  286. console
  287. {
  288.     {
  289.         map textures/sfx/logo256.tga
  290.     }
  291. }
  292.  
  293. grassobj
  294. {
  295.     cull disable
  296.     {
  297.         map models/mapobjects/out/grass.tga
  298.         rgbGen lightingDiffuse
  299.         alphaFunc GE128
  300.     }
  301. }
  302.  
  303. ameatygib
  304. {
  305.     {
  306.         map models/gibs/genericgibmeat.tga
  307.         rgbGen lightingDiffuse
  308.     }
  309.     {
  310.         map models/gibs/gibmeatspec.tga
  311.         blendfunc gl_src_alpha gl_dst_alpha
  312.         rgbGen lightingDiffuse
  313.         alphaGen lightingSpecular
  314.     }
  315. }
  316.  
  317. oalogo
  318. {
  319.     {
  320.         map textures/oa/water.tga
  321.         tcMod scroll 0.01 0.01
  322.     }
  323.     {
  324.         map textures/oa/water.tga
  325.         blendfunc add
  326.         tcMod scroll 0.04 0.01
  327.     }
  328.     {
  329.         map textures/oa/water.tga
  330.         blendfunc add
  331.         tcMod scroll -0.01 -0.02
  332.     }
  333.     {
  334.         map textures/oa/flamelet.tga
  335.         tcMod scroll -0.2 0.4
  336.     }
  337.     {
  338.         map textures/oa/flamelet.tga
  339.         blendfunc add
  340.         tcMod scroll 0.2 0.7
  341.     }
  342.     {
  343.         map textures/oa/flamelet.tga
  344.         blendfunc add
  345.         tcMod scroll 0 0.6
  346.     }
  347. }
  348.  
  349. OLDmenubacknologo
  350. {
  351.     {
  352.         map textures/oa/water.tga
  353.         tcMod scroll 0.01 0.01
  354.     }
  355.     {
  356.         map textures/oa/water.tga
  357.         blendfunc add
  358.         tcMod scroll 0.04 0.01
  359.     }
  360.     {
  361.         map textures/oa/water.tga
  362.         blendfunc filter
  363.         tcMod scroll -0.01 -0.02
  364.     }
  365. }
  366.  
  367. menubacknologo
  368. {
  369.     {
  370.         map textures/sfx/blakk.tga
  371.     }
  372. }
  373.  
  374. OLDmenuback
  375. {
  376.     {
  377.         map textures/oa/bloodbg.tga
  378.         tcMod scroll 0.01 0.01
  379.         tcMod rotate 5
  380.     }
  381.     {
  382.         map textures/oa/bloodbg.tga
  383.         blendfunc add
  384.         tcMod scroll 0.01 0.01
  385.         tcMod rotate -6
  386.     }
  387.     {
  388.         map textures/oa/bloodbg.tga
  389.         blendfunc filter
  390.         tcMod scroll -0.01 -0.02
  391.         tcMod rotate 3
  392.     }
  393. }
  394.  
  395. menuback
  396. {
  397.     {
  398.         map textures/sfx/blakk.tga
  399.     }
  400. }
  401.  
  402. bloodybg
  403. {
  404.     {
  405.         map textures/oa/bloodbg.tga
  406.         tcMod scroll 0.01 0.01
  407.         tcMod rotate 5
  408.     }
  409.     {
  410.         map textures/oa/bloodbg.tga
  411.         blendfunc add
  412.         tcMod scroll 0.01 0.01
  413.         tcMod rotate -6
  414.     }
  415.     {
  416.         map textures/oa/bloodbg.tga
  417.         blendfunc filter
  418.         tcMod scroll -0.01 -0.02
  419.         tcMod rotate 3
  420.     }
  421. }
  422.  
  423. menubacknologo
  424. {
  425.     {
  426.         animmap 2 textures/oa/causty_001.tga textures/oa/causty_003.tga textures/oa/causty_005.tga textures/oa/causty_007.tga textures/oa/causty_009.tga textures/oa/causty_011.tga textures/oa/causty_013.tga textures/oa/causty_015.tga 
  427.         blendfunc blend
  428.         alphaGen wave sin 1 -1 0 2 
  429.     }
  430.     {
  431.         animmap 2 textures/oa/causty_002.tga textures/oa/causty_004.tga textures/oa/causty_006.tga textures/oa/causty_008.tga textures/oa/causty_010.tga textures/oa/causty_012.tga textures/oa/causty_014.tga textures/oa/causty_016.tga 
  432.         blendfunc blend
  433.         alphaGen wave sin 0 1 0 2 
  434.     }
  435. }
  436.  
  437. boomzor
  438. {
  439.     deformVertexes autosprite
  440.     {
  441.         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 
  442.         blendfunc gl_one gl_src_alpha
  443.         rgbGen wave inversesawtooth 0 1 0 8 
  444.     }
  445.     {
  446.         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 
  447.         blendfunc gl_one gl_src_alpha
  448.         rgbGen wave sawtooth 0 1 0 8 
  449.     }
  450.     {
  451.         clampmap textures/oa/fiar.tga
  452.         blendfunc add
  453.         rgbGen wave inversesawtooth 0 1 0 1 
  454.         tcMod rotate 77
  455.         tcMod stretch sin 0.3 0.4 0 0.4 
  456.     }
  457.     {
  458.         clampmap textures/oa/fiar2.tga
  459.         blendfunc add
  460.         rgbGen wave inversesawtooth 0 1 0 1 
  461.         tcMod rotate 33
  462.         tcMod stretch sin 0.8 -0.4 0 0.1 
  463.     }
  464.     {
  465.         clampmap textures/oa/fiar.tga
  466.         blendfunc add
  467.         rgbGen wave inversesawtooth 0 1 0 1 
  468.         tcMod rotate -17
  469.         tcMod stretch sawtooth 0 1.2 0 0.5 
  470.     }
  471.     {
  472.         clampmap textures/oa/fiar2.tga
  473.         blendfunc add
  474.         rgbGen wave inversesawtooth 0 1 0 1 
  475.         tcMod rotate -77
  476.     }
  477. }
  478.  
  479. smokePuff
  480. {
  481.     cull disable
  482.     {
  483.         clampmap gfx/misc/smokepuff3.tga
  484.         blendfunc blend
  485.         tcMod rotate -55
  486.         alphaGen Vertex
  487.     }
  488.     //{
  489.     //    clampmap gfx/misc/smokepuff3.tga
  490.     //    blendfunc blend
  491.     //    tcMod rotate 66
  492.     //    alphaGen Vertex
  493.     //}
  494. }
  495.  
  496. smokePuffRagePro
  497. {
  498.     cull disable
  499.     {
  500.         map gfx/misc/smokepuffragepro.tga
  501.         blendfunc blend
  502.         alphaGen Vertex
  503.     }
  504. }
  505.  
  506. hasteSmokePuff
  507. {
  508.     cull disable
  509.     {
  510.         map gfx/misc/hastesmoke.tga
  511.         blendfunc blend
  512.         tcMod rotate 64
  513.         alphaGen Vertex
  514.     }
  515. }
  516.  
  517. shotgunSmokePuff
  518. {
  519.     cull disable
  520.     {
  521.         clampmap gfx/misc/smokepuff3.tga
  522.         blendfunc blend
  523.         tcMod rotate -45
  524.         alphaGen entity
  525.     }
  526. }
  527.  
  528. sprites/plasma1
  529. {
  530.     {
  531.         clampmap sprites/plasmaa.tga
  532.         blendfunc gl_src_alpha gl_one
  533.         tcMod rotate -145
  534.     }
  535.     {
  536.         clampmap sprites/plasmaa.tga
  537.         blendfunc gl_src_alpha gl_one
  538.         tcMod rotate 177
  539.     }
  540. }
  541.  
  542. bfgshot
  543. {
  544.     cull disable
  545.     deformVertexes autosprite
  546.     {
  547.         clampmap textures/oafx/bfgfx.tga
  548.         blendfunc add
  549.         tcMod rotate -700
  550.     }
  551.     {
  552.         clampmap textures/oafx/bfgfx2.tga
  553.         blendfunc add
  554.         tcMod rotate 54
  555.     }
  556.     {
  557.         clampmap textures/oafx/bfgfx2.tga
  558.         blendfunc add
  559.         tcMod rotate -14
  560.     }
  561. }
  562.  
  563. bfgsho
  564. {
  565.     cull disable
  566.     deformVertexes autosprite
  567.     {
  568.         clampmap textures/oafx/bfgfx3.tga
  569.         blendfunc add
  570.         tcMod rotate 64
  571.     }
  572. }
  573.  
  574. // STUPID explosion thing introduced in q3's 1.30 patch
  575. explode11
  576. {
  577.     {
  578.         map textures/sfx/130boom/dpexplosion4_0000.tga
  579.         blendfunc add
  580.     }
  581. }
  582.  
  583. explode12
  584. {
  585.     {
  586.         map textures/sfx/130boom/dpexplosion4_0001.tga
  587.         blendfunc add
  588.     }
  589. }
  590.  
  591. explode13
  592. {
  593.     {
  594.         map textures/sfx/130boom/dpexplosion4_0002.tga
  595.         blendfunc add
  596.     }
  597. }
  598.  
  599. explode14
  600. {
  601.     {
  602.         map textures/sfx/130boom/dpexplosion4_0003.tga
  603.         blendfunc add
  604.     }
  605. }
  606.  
  607. explode15
  608. {
  609.     {
  610.         map textures/sfx/130boom/dpexplosion4_0004.tga
  611.         blendfunc add
  612.     }
  613. }
  614.  
  615. explode16
  616. {
  617.     {
  618.         map textures/sfx/130boom/dpexplosion4_0005.tga
  619.         blendfunc add
  620.     }
  621. }
  622.  
  623. explode17
  624. {
  625.     {
  626.         map textures/sfx/130boom/dpexplosion4_0006.tga
  627.         blendfunc add
  628.     }
  629. }
  630.  
  631. explode18
  632. {
  633.     {
  634.         map textures/sfx/130boom/dpexplosion4_0007.tga
  635.         blendfunc add
  636.     }
  637. }
  638.  
  639. explode19
  640. {
  641.     {
  642.         map textures/sfx/130boom/dpexplosion4_0008.tga
  643.         blendfunc add
  644.     }
  645. }
  646.  
  647. explode110
  648. {
  649.     {
  650.         map textures/sfx/130boom/dpexplosion4_0009.tga
  651.         blendfunc add
  652.     }
  653. }
  654.  
  655. explode111
  656. {
  657.     {
  658.         map textures/sfx/130boom/dpexplosion4_0010.tga
  659.         blendfunc add
  660.     }
  661. }
  662.  
  663. explode112
  664. {
  665.     {
  666.         map textures/sfx/130boom/dpexplosion4_0011.tga
  667.         blendfunc add
  668.     }
  669. }
  670.  
  671. explode113
  672. {
  673.     {
  674.         map textures/sfx/130boom/dpexplosion4_0012.tga
  675.         blendfunc add
  676.     }
  677. }
  678.  
  679. explode114
  680. {
  681.     {
  682.         map textures/sfx/130boom/dpexplosion4_0013.tga
  683.         blendfunc add
  684.     }
  685. }
  686.  
  687. explode115
  688. {
  689.     {
  690.         map textures/sfx/130boom/dpexplosion4_0014.tga
  691.         blendfunc add
  692.     }
  693. }
  694.  
  695. explode116
  696. {
  697.     {
  698.         map textures/sfx/130boom/dpexplosion4_0015.tga
  699.         blendfunc add
  700.     }
  701. }
  702.  
  703. explode117
  704. {
  705.     {
  706.         map textures/sfx/130boom/dpexplosion4_0016.tga
  707.         blendfunc add
  708.     }
  709. }
  710.  
  711. explode118
  712. {
  713.     {
  714.         map textures/sfx/130boom/dpexplosion4_0017.tga
  715.         blendfunc add
  716.     }
  717. }
  718.  
  719. explode119
  720. {
  721.     {
  722.         map textures/sfx/130boom/dpexplosion4_0018.tga
  723.         blendfunc add
  724.     }
  725. }
  726.  
  727. explode120
  728. {
  729.     {
  730.         map textures/sfx/130boom/dpexplosion4_0019.tga
  731.         blendfunc add
  732.     }
  733. }
  734.  
  735. explode121
  736. {
  737.     {
  738.         map textures/sfx/130boom/dpexplosion4_0020.tga
  739.         blendfunc add
  740.     }
  741. }
  742.  
  743. explode122
  744. {
  745.     {
  746.         map textures/sfx/130boom/dpexplosion4_0021.tga
  747.         blendfunc add
  748.     }
  749. }
  750.  
  751. explode123
  752. {
  753.     {
  754.         map textures/sfx/130boom/dpexplosion4_0022.tga
  755.         blendfunc add
  756.     }
  757. }
  758.  
  759. explode124
  760. {
  761.     {
  762.         map textures/sfx/130boom/dpexplosion4_0023.tga
  763.         blendfunc add
  764.     }
  765. }
  766.  
  767. lightningBoltNew
  768. {
  769.     cull disable
  770.     {
  771.         animmap 30 textures/oafx/lbeam3.tga textures/oafx/lbeam4.tga textures/oafx/lbeam5.tga textures/oafx/lbeam6.tga textures/oafx/lbeam7.tga textures/oafx/lbeam8.tga textures/oafx/lbeam5.tga textures/oafx/lbeam7.tga 
  772.         blendfunc add
  773.         tcMod scale 0.5 1
  774.         tcMod scroll -1 0
  775.     }
  776.     {
  777.         animmap 40 textures/oafx/lbeam8.tga textures/oafx/lbeam7.tga textures/oafx/lbeam4.tga textures/oafx/lbeam5.tga textures/oafx/lbeam6.tga textures/oafx/lbeam3.tga textures/oafx/lbeam7.tga textures/oafx/lbeam4.tga 
  778.         blendfunc add
  779.         tcMod scale 0.2 1
  780.         tcMod scroll -0.3 0
  781.     }
  782. }
  783.  
  784.