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

  1. textures/liquids/x_calm_pool_nolight
  2.     {
  3.         //    *************************************************
  4.         //    * CALM GREEN WATER POOL oct.6.2000
  5.         //    * same as calm water but emits NO light -Xian    *
  6.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  7.         //    *************************************************
  8.  
  9.     
  10.         qer_editorimage textures/liquids/pool3d_4b.tga
  11.         q3map_globaltexture
  12.         qer_trans .75
  13.  
  14.         surfaceparm trans
  15.         surfaceparm nonsolid
  16.         surfaceparm water
  17.         surfaceparm nolightmap
  18.  
  19.         cull disable
  20.         tesssize 256
  21.         deformVertexes wave 100 sin 1 1 1 .1
  22.         
  23.     
  24.     
  25.         { 
  26.             map textures/liquids/pool3d_5c2.tga
  27.             blendFunc GL_dst_color GL_zero
  28.             rgbgen identity
  29.             tcmod scale .5 .5
  30.             tcmod transform 1.5 0 1.5 1 1 2
  31.             tcmod scroll -.05 .001
  32.         }
  33.     
  34.         { 
  35.             map textures/liquids/pool3d_6c2.tga
  36.             blendFunc GL_dst_color GL_zero
  37.             rgbgen identity
  38.             tcmod scale .5 .5
  39.             tcmod transform 0 1.5 1 1.5 2 1
  40.             tcmod scroll .025 -.001
  41.         }
  42.  
  43.         { 
  44.             map textures/liquids/pool3d_3c2.tga
  45.             blendFunc GL_dst_color GL_zero
  46.             rgbgen identity
  47.             tcmod scale .25 .5
  48.             tcmod scroll .001 .025
  49.         }
  50.         {
  51.             map textures/liquids/pool3d_4b2.tga
  52.             blendfunc add
  53.             tcmod scale .125 .125    
  54.             rgbgen identity
  55.         }
  56.  
  57.  
  58.         //    END
  59.     }
  60.  
  61.  
  62.  
  63. textures/liquids/calm_pool_nolight
  64.     {
  65.         //    *************************************************
  66.         //    * CALM GREEN WATER POOL oct.6.2000
  67.         //    * same as calm water but emits NO light -Xian    *
  68.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  69.         //    *************************************************
  70.  
  71.     
  72.         qer_editorimage textures/liquids/pool3d_4b.tga
  73.         q3map_globaltexture
  74.         qer_trans .75
  75.  
  76.         surfaceparm trans
  77.         surfaceparm nonsolid
  78.         surfaceparm water
  79.         surfaceparm nolightmap
  80.  
  81.         cull disable
  82.         tesssize 64
  83.         deformVertexes wave 100 sin 1 1 1 .1
  84.         
  85.     
  86.     
  87.         { 
  88.             map textures/liquids/pool3d_5c2.tga
  89.             blendFunc GL_dst_color GL_zero
  90.             rgbgen identity
  91.             tcmod scale .5 .5
  92.             tcmod transform 1.5 0 1.5 1 1 2
  93.             tcmod scroll -.05 .001
  94.         }
  95.     
  96.         { 
  97.             map textures/liquids/pool3d_6c2.tga
  98.             blendFunc GL_dst_color GL_zero
  99.             rgbgen identity
  100.             tcmod scale .5 .5
  101.             tcmod transform 0 1.5 1 1.5 2 1
  102.             tcmod scroll .025 -.001
  103.         }
  104.  
  105.         { 
  106.             map textures/liquids/pool3d_3c2.tga
  107.             blendFunc GL_dst_color GL_zero
  108.             rgbgen identity
  109.             tcmod scale .25 .5
  110.             tcmod scroll .001 .025
  111.         }
  112.         {
  113.             map textures/liquids/pool3d_4b2.tga
  114.             blendfunc add
  115.             tcmod scale .125 .125    
  116.             rgbgen identity
  117.         }
  118.  
  119.  
  120.         //    END
  121.     }
  122.  
  123.  
  124.  
  125. textures/liquids/protolava
  126. {
  127.     
  128.     q3map_globaltexture
  129.     surfaceparm trans
  130.     //surfaceparm nonsolid
  131.     surfaceparm noimpact
  132.     surfaceparm lava
  133.     surfaceparm nolightmap
  134.     q3map_surfacelight 600
  135.     cull disable
  136.     
  137.     tesssize 128
  138.     cull disable
  139.     deformVertexes wave 100 sin 3 2 .1 0.1
  140.     
  141.         {
  142.         map textures/liquids/protolava2.tga
  143.                 tcmod scale .2 .2
  144.                 tcmod scroll .04 .03
  145.                 tcMod turb 0 .1 0 .01
  146.                 blendFunc GL_ONE GL_ZERO
  147.                 rgbGen identity
  148.     }
  149.     {
  150.         map textures/liquids/protolava.tga
  151.                 blendfunc blend
  152.         tcMod turb 0 .2 0 .1
  153.     }
  154.  
  155. }
  156.  
  157. textures/liquids/slime2
  158.     {
  159.     //    *************************************************        
  160.     //    * SLIME Feb 11 1999                 *
  161.     //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  162.     //    *************************************************    
  163.  
  164.         // Added to g3map_global texture on May 11, 1999
  165.         qer_editorimage textures/liquids/slime7e.tga
  166.         q3map_lightimage textures/liquids/slime7e4.tga
  167.         q3map_globaltexture
  168.         qer_trans .5
  169.  
  170.         surfaceparm noimpact
  171.         surfaceparm lava
  172.         surfaceparm trans        
  173.  
  174.         q3map_surfacelight 2000
  175.         tessSize 64
  176.         cull disable
  177.         deformVertexes wave 100 sin 2 4 0 .5
  178.         
  179.         
  180.         {    
  181.             map $lightmap
  182.             rgbgen identity
  183.         }
  184.         
  185.  
  186.         {
  187.             map textures/liquids/slime7e.tga
  188.             blendFunc GL_DST_COLOR GL_SRC_ALPHA
  189.             rgbGen identity
  190.             alphaGen lightingSpecular
  191.             tcMod turb 0 .2 .5 .05
  192.             tcmod scroll .01 .01
  193.         }
  194.  
  195.  
  196.         
  197.         {
  198.             map textures/liquids/slime7e4.tga
  199.             blendfunc add
  200.             rgbgen wave inversesawtooth 0 1 0 4
  201.             tcMod turb 0 .2 .5 .05
  202.             tcmod scroll .01 .01
  203.         }
  204.  
  205.  
  206.  
  207.         //     END
  208.     }
  209.  
  210. textures/liquids/watertest
  211.  
  212. //    ************************************************************
  213. //    *      Water test with environmentmap. Created September 21*
  214. //    ************************************************************
  215.     
  216.     {
  217.         qer_editorimage textures/liquids/pool3d_3b.tga
  218.         qer_trans .5
  219.         q3map_globaltexture
  220.         surfaceparm trans
  221.         surfaceparm nonsolid
  222.         surfaceparm water
  223.  
  224.         cull disable
  225.         tessSize 32
  226.         deformVertexes normal .15 2 
  227.         deformVertexes bulge 128 5 2
  228.         {    
  229.             map $lightmap
  230.             blendfunc filter
  231.         }
  232.         
  233.         {
  234.             map textures/liquids/pool3d_4byell2.tga
  235.             blendfunc add
  236.             tcgen environment
  237.     //        tcMod scroll .05 .05
  238.         }
  239.  
  240.     
  241.     }
  242.  
  243.  
  244.  
  245.  
  246. textures/liquids/flatripplewater_1500
  247. {
  248.     // Added to g3map_global texture on May 11, 1999
  249.     qer_editorimage textures/liquids/pool2.tga
  250.     q3map_globaltexture
  251.     q3map_lightsubdivide 32
  252.     //surfaceparm trans
  253.     //surfaceparm nonsolid
  254.     surfaceparm noimpact
  255.     surfaceparm lava
  256.     surfaceparm nolightmap
  257.     q3map_surfacelight 500
  258.     cull disable
  259.     
  260. //    tesssize 128
  261. //    cull disable
  262.     deformVertexes wave 100 sin 3 2 .1 0.1
  263.     
  264.     {
  265.         map textures/liquids/pool2.tga
  266.         tcMod turb 0 .2 0 .1
  267.     }
  268. }
  269.  
  270. textures/liquids/xctf_painwater
  271.     {
  272.         qer_editorimage textures/liquids/pool2.tga
  273.         q3map_globaltexture
  274.         qer_trans .5
  275.  
  276.         surfaceparm trans
  277.         surfaceparm nonsolid
  278.         surfaceparm water
  279.         surfaceparm nolightmap
  280.         q3map_surfacelight 450
  281.  
  282.         cull disable
  283.         tesssize 64
  284.         deformVertexes wave 100 sin 1 1 1 .1
  285.         {
  286.             map textures/liquids/pool2.tga
  287.             blendfunc GL_ONE GL_SRC_COLOR    
  288.             tcMod scale .03 .03
  289.             tcMod scroll .001 .001
  290.         }
  291.         {
  292.             map textures/liquids/pool3.tga
  293.             blendfunc GL_DST_COLOR GL_ONE
  294.             tcMod turb .1 .1 0 .01
  295.             tcMod scale .5 .5
  296.             tcMod scroll -.025 .02
  297.         }
  298.                 {
  299.             map textures/sfx/bolts.tga
  300.             blendfunc GL_ONE GL_ONE
  301.             tcMod scale .2 .2
  302.                         //tcGen environment
  303.             tcMod scroll .1 .1
  304.                         tcmod rotate 290
  305.                         //rgbgen wave sin .1 1 5 .1
  306.         }
  307.     }
  308. textures/liquids/clear_calm1
  309.  
  310. //    *********************************************************
  311. //    *      Medium clear calm water. Created September 9    *
  312. //    *********************************************************
  313.         
  314.     {
  315.         qer_editorimage textures/liquids/pool3d_3e.tga
  316.         qer_trans .5
  317.         q3map_globaltexture
  318.         surfaceparm trans
  319.         surfaceparm nonsolid
  320.         surfaceparm water
  321.     
  322.         cull disable
  323.         deformVertexes wave 64 sin .25 .25 0 .5    
  324.         { 
  325.             map textures/liquids/pool3d_5e.tga
  326.             blendFunc GL_dst_color GL_one
  327.             rgbgen identity
  328.             tcmod scale .5 .5
  329.             tcmod scroll .025 .01
  330.         }
  331.     
  332.         { 
  333.             map textures/liquids/pool3d_3e.tga
  334.             blendFunc GL_dst_color GL_one
  335.             tcmod scale -.5 -.5
  336.             tcmod scroll .025 .025
  337.         }
  338.  
  339.     
  340.         {
  341.             map $lightmap
  342.             blendFunc GL_dst_color GL_zero
  343.             rgbgen identity        
  344.         }
  345.     
  346.     
  347.  
  348. //    END
  349.     }
  350.  
  351. textures/liquids/clear_ripple3
  352.  
  353. //    *********************************************************
  354. //    *      Medium clear ripple water. Created September 9    *
  355. //    *********************************************************
  356.         
  357.     {
  358.         qer_editorimage textures/liquids/pool3d_3c.tga
  359.         qer_trans .5
  360.         q3map_globaltexture
  361.         surfaceparm trans
  362.         surfaceparm nonsolid
  363.         surfaceparm water
  364.     
  365.         cull disable
  366.         deformVertexes wave 64 sin .5 .5 0 .5    
  367.         
  368.         { 
  369.             map textures/liquids/pool3d_5c.tga
  370.             blendFunc GL_dst_color GL_one
  371.             rgbgen identity
  372.             tcmod scale .5 .5
  373.             tcmod transform 1.5 0 1.5 1 1 2
  374.             tcmod scroll -.05 .001
  375.         }
  376.     
  377.         { 
  378.             map textures/liquids/pool3d_6c.tga
  379.             blendFunc GL_dst_color GL_one
  380.             rgbgen identity
  381.             tcmod scale .5 .5
  382.             tcmod transform 0 1.5 1 1.5 2 1
  383.             tcmod scroll .025 -.001
  384.         }
  385.  
  386.         { 
  387.             map textures/liquids/pool3d_3c.tga
  388.             blendFunc GL_dst_color GL_one
  389.             rgbgen identity
  390.             tcmod scale .25 .5
  391.             tcmod scroll .001 .025
  392.         }
  393.     
  394.         {
  395.             map $lightmap
  396.             blendFunc GL_dst_color GL_zero
  397.             rgbgen identity        
  398.         }
  399.     
  400.  
  401. //    END
  402.     }
  403.  
  404.  
  405. textures/liquids/clear_ripple2
  406.  
  407. //    *********************************************************
  408. //    *      Small clear ripple water. Created September 9    *
  409. //    *********************************************************
  410.     
  411.     {
  412.         qer_editorimage textures/liquids/pool3d_3b.tga
  413.         qer_trans .5
  414.         q3map_globaltexture
  415.         surfaceparm trans
  416.         surfaceparm nonsolid
  417.         surfaceparm water
  418.  
  419.         cull disable
  420.         deformVertexes wave 64 sin .5 .5 0 .5    
  421.  
  422.         { 
  423.             map textures/liquids/pool3d_5b.tga
  424.             blendFunc GL_dst_color GL_one
  425.             rgbgen identity
  426.             tcmod scale .5 .5
  427.             tcmod transform 1.5 0 1.5 1 1 2
  428.             tcmod scroll -.05 .001
  429.         }
  430.     
  431.         { 
  432.             map textures/liquids/pool3d_6b.tga
  433.             blendFunc GL_dst_color GL_one
  434.             rgbgen identity
  435.             tcmod scale .5 .5
  436.             tcmod transform 0 1.5 1 1.5 2 1
  437.             tcmod scroll .025 -.001
  438.         }
  439.  
  440.         { 
  441.             map textures/liquids/pool3d_3b.tga
  442.             blendFunc GL_dst_color GL_one
  443.             rgbgen identity
  444.             tcmod scale .25 .5
  445.             tcmod scroll .001 .025
  446.         }
  447.  
  448.         {
  449.             map $lightmap
  450.             blendFunc GL_dst_color GL_zero
  451.             rgbgen identity        
  452.         }
  453.     
  454.  
  455. //    END
  456.     }
  457.  
  458.  
  459. textures/liquids/clear_ripple1
  460.  
  461. //    *********************************************************
  462. //    *      Large clear ripple water. Created September 9    *
  463. //    *********************************************************
  464.     
  465.     {
  466.         qer_editorimage textures/liquids/pool3d_3.tga
  467.         qer_trans .5
  468.         q3map_globaltexture
  469.         surfaceparm trans
  470.         surfaceparm nonsolid
  471.         surfaceparm water
  472.  
  473.         cull disable
  474.         deformVertexes wave 64 sin .5 .5 0 .5    
  475.     
  476.         
  477.         { 
  478.             map textures/liquids/pool3d_5.tga
  479.             blendFunc GL_dst_color GL_one
  480.             rgbgen identity
  481.             tcmod scale .5 .5
  482.             tcmod transform 1.5 0 1.5 1 1 2
  483.             tcmod scroll -.05 .001
  484.         }
  485.     
  486.         { 
  487.             map textures/liquids/pool3d_6.tga
  488.             blendFunc GL_dst_color GL_one
  489.             rgbgen identity
  490.             tcmod scale .5 .5
  491.             tcmod transform 0 1.5 1 1.5 2 1
  492.             tcmod scroll .025 -.001
  493.         }
  494.  
  495.         { 
  496.             map textures/liquids/pool3d_3.tga
  497.             blendFunc GL_dst_color GL_one
  498.             rgbgen identity
  499.             tcmod scale .25 .5
  500.             tcmod scroll .001 .025
  501.         }    
  502.  
  503.         {
  504.             map $lightmap
  505.             blendFunc GL_dst_color GL_zero
  506.             rgbgen identity        
  507.         }
  508. //    END
  509.     }
  510.  
  511. textures/liquids/clear_ripple1_q3dm1
  512.  
  513. //    *********************************************************
  514. //    *      Large clear ripple water. Created September 9    *
  515. //    *********************************************************
  516.     
  517.     {
  518.         qer_editorimage textures/liquids/pool3d_3.tga
  519.         qer_trans .5
  520.         q3map_globaltexture
  521.         surfaceparm trans
  522.         surfaceparm nonsolid
  523.         surfaceparm water
  524.  
  525.         cull disable
  526.         deformVertexes wave 64 sin .5 .5 0 .5    
  527.     
  528.         
  529.         { 
  530.             map textures/liquids/pool3d_5.tga
  531.             blendFunc GL_dst_color GL_one
  532.             rgbgen identity
  533.             tcmod scale .5 .5
  534.             tcmod transform 1.5 0 1.5 1 1 2
  535.             tcmod scroll -.05 .001
  536.         }
  537.     
  538.         { 
  539.             map textures/liquids/pool3d_6.tga
  540.             blendFunc GL_dst_color GL_one
  541.             rgbgen identity
  542.             tcmod scale .5 .5
  543.             tcmod transform 0 1.5 1 1.5 2 1
  544.             tcmod scroll .025 -.001
  545.         }
  546.  
  547.         { 
  548.             map textures/liquids/pool3d_3.tga
  549.             blendFunc GL_dst_color GL_one
  550.             rgbgen identity
  551.             tcmod scale .25 .5
  552.             tcmod scroll .001 .025
  553.         }    
  554.  
  555.         {
  556.             map $lightmap
  557.             blendFunc GL_dst_color GL_zero
  558.             rgbgen identity        
  559.         }
  560. //    END
  561.     }
  562.  
  563.  
  564. textures/liquids/mercury
  565. {
  566.         tesssize 128
  567.     deformVertexes wave 100 sin 5 5 0 0.4
  568.         {
  569.         rgbGen identity
  570.         map $lightmap
  571.                 blendFunc GL_ONE GL_ONE
  572.     }
  573.     {
  574.         map textures/liquids/mercury.tga
  575.         blendFunc GL_DST_COLOR GL_SRC_ALPHA
  576.         rgbGen identity
  577.         alphaGen lightingSpecular
  578.     }
  579.         {
  580.         map textures/base_trim/tinfx.tga
  581.                 tcgen environment
  582.         blendFunc GL_ONE GL_ONE
  583.         rgbGen identity
  584.     }
  585.        
  586.         {
  587.         map textures/liquids/mercury.tga
  588.         //blendFunc GL_ONE GL_ONE
  589.                 blendFunc GL_DST_COLOR GL_ZERO
  590.         rgbGen identity
  591.     }       
  592. }
  593. textures/liquids/proto_spec
  594. {
  595.        // tesssize 128
  596.     cull disable
  597.     //deformVertexes wave 100 sin 3 2 .1 2
  598.          
  599.  
  600.     {
  601.                 map $lightmap
  602.         //map textures/effects/envmapdim2.tga
  603.                 blendFunc GL_ONE GL_ONE
  604.         tcgen environment
  605.          tcmod scale .25 .25
  606.                 //tcmod scroll -.05 -.5
  607.         rgbgen identity      
  608.     }
  609.         // {
  610.     //    map textures/liquids/proto_gruel2.tga
  611.         //        tcmod scroll .01 .02
  612.         //        tcmod scale .03  .04
  613.     //    blendFunc GL_ONE GL_ONE
  614.     //    rgbGen identity
  615.     //}
  616.         //{
  617.     //    map textures/liquids/proto_spec.tga
  618.     //        //blendFunc GL_DST_COLOR GL_SRC_ALPHA
  619.         //        blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  620.         //        tcmod scroll -.05 -.07
  621.     //    rgbGen identity
  622.     //    alphaGen lightingSpecular
  623.     //}
  624.         
  625.     
  626.     {
  627.         map textures/liquids/proto_spec.tga
  628.                 tcmod scroll .01 .02
  629.         blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  630.         rgbGen identity
  631.     }
  632.         {
  633.             map textures/liquids/proto_gruel2.tga
  634.             blendfunc GL_ONE GL_ONE
  635.             tcMod scale .2 .2
  636.             tcMod scroll .01 .02
  637.         }
  638.        
  639.  
  640.     {
  641.         map $lightmap
  642.                 //blendFunc GL_ONE GL_ONE
  643.             rgbgen identity
  644.             blendFunc GL_DST_COLOR GL_ZERO
  645.                
  646.     }
  647.  
  648.             
  649. }
  650.  
  651. textures/liquids/lavahell
  652. {
  653.     q3map_globaltexture
  654.     surfaceparm noimpact
  655.     surfaceparm trans
  656.     surfaceparm lava
  657.     surfaceparm nolightmap
  658.     q3map_surfacelight 600
  659.     cull disable
  660.     
  661.     tesssize 128
  662.     cull disable
  663.     deformVertexes wave 100 sin 3 2 .1 0.1
  664.     
  665.     {
  666.         map textures/liquids/lavahell.tga
  667.         tcMod turb 0 .2 0 .1
  668.     }
  669.  
  670.  
  671.     
  672. //    END
  673. }
  674.  
  675. textures/liquids/lavahell_xdm1
  676. {
  677.     qer_editorimage textures/liquids/lavahell.tga
  678.     // Added to g3map_global texture on May 11, 1999
  679.     q3map_globaltexture
  680.     //surfaceparm trans
  681.     //surfaceparm nonsolid
  682.     surfaceparm nodlight
  683.     surfaceparm noimpact
  684.     //surfaceparm lava
  685.     surfaceparm nolightmap
  686.     q3map_surfacelight 600
  687.     cull disable
  688.     
  689.     tesssize 128
  690.     cull disable
  691.     deformVertexes wave 100 sin 3 2 .1 0.1
  692.     
  693.     {
  694.         map textures/liquids/lavahell.tga
  695.         tcMod turb 0 .2 0 .1
  696.     }
  697.     
  698. //    END
  699. }
  700.  
  701. textures/liquids/lavahell_1000
  702. {
  703.     // Added to g3map_global texture on May 11, 1999
  704.     qer_editorimage textures/liquids/lavahell.tga
  705.     q3map_globaltexture
  706.     surfaceparm trans
  707.     //surfaceparm nonsolid
  708.     surfaceparm noimpact
  709.     surfaceparm lava
  710.     surfaceparm nolightmap
  711.     q3map_surfacelight 1000
  712.     cull disable
  713.     
  714.     tesssize 128
  715.     cull disable
  716.     deformVertexes wave 100 sin 3 2 .1 0.1
  717.     
  718.     {
  719.         map textures/liquids/lavahell.tga
  720.         tcMod turb 0 .2 0 .1
  721.     }
  722. }
  723.  
  724. textures/liquids/lavahell_2000
  725. {
  726.     // Added to g3map_global texture on May 11, 1999
  727.     qer_editorimage textures/liquids/lavahell.tga
  728.     q3map_globaltexture
  729.     surfaceparm trans
  730.     //surfaceparm nonsolid
  731.     surfaceparm noimpact
  732.     surfaceparm lava
  733.     surfaceparm nolightmap
  734.     q3map_surfacelight 2000
  735.     cull disable
  736.     
  737.     tesssize 128
  738.     cull disable
  739.     deformVertexes wave 100 sin 3 2 .1 0.1
  740.     
  741.     {
  742.         map textures/liquids/lavahell.tga
  743.         tcMod turb 0 .2 0 .1
  744.     }
  745. }
  746. textures/liquids/lavahell_750
  747. {
  748.     // Added to g3map_global texture on May 11, 1999
  749.     qer_editorimage textures/liquids/lavahell.tga
  750.     q3map_globaltexture
  751.     q3map_lightsubdivide 32
  752.     surfaceparm trans
  753.     //surfaceparm nonsolid
  754.     surfaceparm noimpact
  755.     surfaceparm lava
  756.     surfaceparm nolightmap
  757.     q3map_surfacelight 500
  758.     cull disable
  759.     
  760.     tesssize 128
  761.     cull disable
  762.     deformVertexes wave 100 sin 3 2 .1 0.1
  763.     
  764.     {
  765.         map textures/liquids/lavahell.tga
  766.         tcMod turb 0 .2 0 .1
  767.     }
  768. }
  769.  
  770. textures/liquids/flatlavahell_1500
  771. {
  772.     // Added to g3map_global texture on May 11, 1999
  773.     qer_editorimage textures/liquids/lavahell.tga
  774.     q3map_globaltexture
  775.     q3map_lightsubdivide 32
  776.     //surfaceparm trans
  777.     //surfaceparm nonsolid
  778.     surfaceparm noimpact
  779.     surfaceparm lava
  780.     surfaceparm nolightmap
  781.     q3map_surfacelight 1500
  782.     cull disable
  783.     
  784. //    tesssize 128
  785. //    cull disable
  786.     deformVertexes wave 100 sin 3 2 .1 0.1
  787.     
  788.     {
  789.         map textures/liquids/lavahell.tga
  790.         tcMod turb 0 .2 0 .1
  791.     }
  792.        
  793. }
  794.  
  795.  
  796. textures/liquids/lavahell_2500
  797. {
  798.     // Added to g3map_global texture on May 11, 1999
  799.     qer_editorimage textures/liquids/lavahell.tga
  800.     q3map_globaltexture
  801.     surfaceparm trans
  802.     //surfaceparm nonsolid
  803.     surfaceparm noimpact
  804.     surfaceparm lava
  805.     surfaceparm nolightmap
  806.     q3map_surfacelight 2500
  807.     cull disable
  808.     
  809.     tesssize 128
  810.     cull disable
  811.     deformVertexes wave 100 sin 3 2 .1 0.1
  812.     
  813.     {
  814.         map textures/liquids/lavahell.tga
  815.         tcMod turb 0 .2 0 .1
  816.     }
  817. }
  818.  
  819. textures/liquids/lavahelldark
  820. {
  821.     // Added to g3map_global texture on May 11, 1999
  822.     qer_editorimage textures/liquids/lavahell.tga
  823.     q3map_globaltexture
  824.     surfaceparm trans
  825.     //surfaceparm nonsolid
  826.     surfaceparm noimpact
  827.     surfaceparm lava
  828.     surfaceparm nolightmap
  829.     q3map_surfacelight 150
  830.     cull disable
  831.     
  832.     tesssize 128
  833.     cull disable
  834.     deformVertexes wave 100 sin 3 2 .1 0.1
  835.     
  836.     {
  837.         map textures/liquids/lavahell.tga
  838.         tcMod turb 0 .2 0 .1
  839.     }
  840.     
  841. //    END
  842. }
  843.  
  844. textures/liquids/lavahellflat_400
  845. {
  846.     // Added to g3map_global texture on May 11, 1999
  847.     qer_editorimage textures/liquids/lavahell.tga
  848.     q3map_globaltexture
  849.     surfaceparm trans
  850.     //surfaceparm nonsolid
  851.     surfaceparm noimpact
  852.     surfaceparm lava
  853.     surfaceparm nolightmap
  854.     q3map_surfacelight 400
  855.     cull disable
  856.     
  857.     tesssize 128
  858.     cull disable
  859.     //deformVertexes wave 100 sin 3 2 .1 0.1
  860.     
  861.     {
  862.         map textures/liquids/lavahell.tga
  863.         tcMod turb 0 .2 0 .1
  864.     }
  865.     
  866. //    END
  867. }
  868.  
  869. textures/liquids/lavahell2
  870. {
  871.     // Added to g3map_global texture on May 11, 1999
  872.     qer_editorimage textures/liquids/lavahell2.tga
  873.     q3map_globaltexture
  874.     qer_nocarve
  875.     surfaceparm noimpact
  876.     surfaceparm lava
  877.     surfaceparm nolightmap
  878.     q3map_surfacelight 3000
  879.     tesssize 256
  880.     cull disable
  881.     deformVertexes wave 100 sin 5 5 .5 0.02
  882.     fogparms ( 0.8519142 0.309723 0.0 ) 128
  883.  
  884.     {
  885.         map textures/liquids/lavahell.tga
  886.         tcMod turb .25 0.2 1 0.02
  887.         tcMod scroll 0.1 0.1
  888.     }
  889. }
  890.  
  891. textures/liquids/calm_pool
  892.     {
  893.         //    *************************************************
  894.         //    * CALM GREEN WATER POOL Feb 19, 1998        *
  895.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  896.         //    *************************************************
  897.  
  898.         // Added to g3map_global texture on May 11, 1999
  899.         qer_editorimage textures/liquids/pool2.tga
  900.         qer_trans .5
  901.         q3map_globaltexture
  902.  
  903.         surfaceparm trans
  904.         surfaceparm nonsolid
  905.         surfaceparm water
  906.         surfaceparm nolightmap
  907.  
  908.         cull disable
  909.         tesssize 64
  910.         deformVertexes wave 100 sin 1 1 1 .1
  911.         
  912.     
  913.     
  914.         {
  915.             map textures/liquids/pool2.tga
  916.             blendfunc GL_ONE GL_SRC_COLOR    
  917.             tcMod scale .03 .03
  918.             tcMod scroll .001 .001
  919.         }
  920.     
  921.         {
  922.             map textures/liquids/pool3.tga
  923.             blendfunc GL_DST_COLOR GL_ONE
  924.             tcMod turb .1 .1 0 .01
  925.             tcMod scale .5 .5
  926.             tcMod scroll -.025 .02
  927.         }
  928.  
  929.  
  930.         //    END
  931.     }
  932.  
  933. textures/liquids/ps_bloodwater1
  934.     {
  935.         //    *************************************************
  936.         //    *  I made this for ps_dm5 on June 13 1999    *
  937.         //      *      (it's okay if you fuck it up)        *
  938.         //    *************************************************
  939.  
  940.         qer_editorimage textures/liquids/ps_bloodwater1.tga
  941.         q3map_globaltexture
  942.         qer_trans .5
  943.  
  944.         surfaceparm trans
  945.         surfaceparm nonsolid
  946.         surfaceparm water
  947.         surfaceparm nolightmap
  948.         q3map_surfacelight 50
  949.  
  950.         cull disable
  951.         tesssize 64
  952.         deformVertexes wave 100 sin 1 1 1 .1
  953.         
  954.     
  955.     
  956.         {
  957.             map textures/liquids/ps_bloodwater1.tga
  958.             blendfunc GL_ONE GL_SRC_COLOR    
  959.             tcMod scale .03 .03
  960.             tcMod scroll .001 .001
  961.         }
  962.     
  963.         {
  964.             map textures/liquids/ps_bloodwater1.tga
  965.             blendfunc GL_DST_COLOR GL_ONE
  966.             tcMod turb .1 .1 0 .01
  967.             tcMod scale .5 .5
  968.             tcMod scroll -.025 .02
  969.         }
  970.  
  971.  
  972.         //    END
  973.     }
  974.  
  975.  
  976. textures/liquids/calm_poollight
  977.     {
  978.         //    *************************************************
  979.         //    * CALM GREEN WATER POOL may 5 1999
  980.         //    * same as calm water but emits light        *
  981.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  982.         //    *************************************************
  983.  
  984.     
  985.         qer_editorimage textures/liquids/pool3d_4b.tga
  986.         q3map_globaltexture
  987.         qer_trans .75
  988.  
  989.         surfaceparm trans
  990.         surfaceparm nonsolid
  991.         surfaceparm water
  992.         surfaceparm nolightmap
  993.         q3map_surfacelight 50
  994.  
  995.         cull disable
  996.         tesssize 64
  997.         deformVertexes wave 100 sin 1 1 1 .1
  998.         
  999.     
  1000.     
  1001.         { 
  1002.             map textures/liquids/pool3d_5c2.tga
  1003.             blendFunc GL_dst_color GL_zero
  1004.             rgbgen identity
  1005.             tcmod scale .5 .5
  1006.             tcmod transform 1.5 0 1.5 1 1 2
  1007.             tcmod scroll -.05 .001
  1008.         }
  1009.     
  1010.         { 
  1011.             map textures/liquids/pool3d_6c2.tga
  1012.             blendFunc GL_dst_color GL_zero
  1013.             rgbgen identity
  1014.             tcmod scale .5 .5
  1015.             tcmod transform 0 1.5 1 1.5 2 1
  1016.             tcmod scroll .025 -.001
  1017.         }
  1018.  
  1019.         { 
  1020.             map textures/liquids/pool3d_3c2.tga
  1021.             blendFunc GL_dst_color GL_zero
  1022.             rgbgen identity
  1023.             tcmod scale .25 .5
  1024.             tcmod scroll .001 .025
  1025.         }
  1026.         {
  1027.             map textures/liquids/pool3d_4b2.tga
  1028.             blendfunc add
  1029.             tcmod scale .125 .125    
  1030.             rgbgen identity
  1031.         }
  1032.  
  1033.  
  1034.         //    END
  1035.     }
  1036.  
  1037.  
  1038.  
  1039. textures/liquids/calm_poollight2
  1040.     {
  1041.         //    *************************************************
  1042.         //    * CALM GREEN WATER POOL may 5 1999
  1043.         //    * same as calm water but emits light        *
  1044.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1045.         //    *************************************************
  1046.  
  1047.     
  1048.         qer_editorimage textures/liquids/pool3d_4b.tga
  1049.         q3map_globaltexture
  1050.         qer_trans .75
  1051.  
  1052.         surfaceparm trans
  1053.         surfaceparm nonsolid
  1054.         surfaceparm water
  1055.         surfaceparm nolightmap
  1056.         q3map_surfacelight 50
  1057.  
  1058.         cull disable
  1059.         tesssize 512
  1060.         deformVertexes wave 100 sin 1 1 1 .1
  1061.         
  1062.     
  1063.     
  1064.         { 
  1065.             map textures/liquids/pool3d_5c2.tga
  1066.             blendFunc GL_dst_color GL_zero
  1067.             rgbgen identity
  1068.             tcmod scale .5 .5
  1069.             tcmod transform 1.5 0 1.5 1 1 2
  1070.             tcmod scroll -.05 .001
  1071.         }
  1072.     
  1073.         { 
  1074.             map textures/liquids/pool3d_6c2.tga
  1075.             blendFunc GL_dst_color GL_zero
  1076.             rgbgen identity
  1077.             tcmod scale .5 .5
  1078.             tcmod transform 0 1.5 1 1.5 2 1
  1079.             tcmod scroll .025 -.001
  1080.         }
  1081.  
  1082.         { 
  1083.             map textures/liquids/pool3d_3c2.tga
  1084.             blendFunc GL_dst_color GL_zero
  1085.             rgbgen identity
  1086.             tcmod scale .25 .5
  1087.             tcmod scroll .001 .025
  1088.         }
  1089.         {
  1090.             map textures/liquids/pool3d_4b2.tga
  1091.             blendfunc add
  1092.             tcmod scale .125 .125    
  1093.             rgbgen identity
  1094.         }
  1095.  
  1096.  
  1097.         //    END
  1098.     }
  1099.  
  1100. textures/liquids/calm_pool2
  1101.     {
  1102.         //    *************************************************
  1103.         //    * CALM GREEN WATER POOL Feb 19, 1998        *
  1104.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1105.         //    *************************************************
  1106.  
  1107.         // Added to g3map_global texture on May 11, 1999
  1108.         qer_editorimage textures/liquids/pool3.tga
  1109.         q3map_globaltexture
  1110.         qer_trans .5
  1111.  
  1112.         surfaceparm trans
  1113.         surfaceparm nonsolid
  1114.         surfaceparm water
  1115.  
  1116.         cull disable
  1117.         tesssize 64
  1118.         deformVertexes wave 100 sin 1 1 1 .1
  1119.         
  1120.     
  1121.     
  1122.             
  1123.  
  1124.         {
  1125.             map textures/liquids/pool2.tga
  1126.             blendfunc GL_one GL_src_color
  1127.             tcMod scale .03 .03
  1128.             tcMod scroll .001 .001
  1129.         }
  1130.     
  1131.         {
  1132.             map textures/liquids/pool3.tga 
  1133.             blendfunc GL_DST_COLOR GL_one
  1134.             tcMod scale .5 .5
  1135.             tcMod scroll -.025 .02
  1136.         }
  1137.  
  1138.         {
  1139.             map $lightmap
  1140.             blendfunc GL_dst_color GL_one
  1141.             tcmod turb 0 .001 0 1
  1142.         }    
  1143.  
  1144.         {
  1145.             map textures/liquids/pj_e3_reflection.tga
  1146.             blendfunc gl_dst_color gl_one
  1147.             tcgen environment
  1148.         }
  1149.  
  1150.             
  1151.  
  1152.  
  1153.  
  1154.         //    END
  1155.     }
  1156.  
  1157.  
  1158. textures/liquids/pool
  1159.     {
  1160.         //    *************************************************
  1161.         //    * GREEN WATER POOL Feb 19, 1998            *
  1162.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1163.         //    *************************************************
  1164.  
  1165.         // Added to g3map_global texture on May 11, 1999
  1166.         qer_trans .5
  1167.  
  1168.         surfaceparm trans
  1169.         surfaceparm nonsolid
  1170.         surfaceparm water
  1171.         surfaceparm nolightmap
  1172.  
  1173.         q3map_globaltexture        
  1174.         // so the scMod scales work properly 5/11/99
  1175.  
  1176.         cull disable
  1177.         tesssize 64
  1178.         deformVertexes wave 100 sin 1 1 1 .1
  1179.         
  1180.     
  1181.     
  1182.         {
  1183.             map textures/liquids/pool2.tga
  1184.             blendfunc GL_ONE GL_SRC_COLOR    
  1185.             tcMod scale .03 .03
  1186.             tcMod scroll .001 .001
  1187.         }
  1188.     
  1189.         {
  1190.             map textures/liquids/pool.tga
  1191.             blendfunc GL_DST_COLOR GL_ONE
  1192.             tcMod scale .2 .2
  1193.             tcMod stretch sin 1 .1 0 .05
  1194.             rgbGen wave sin .5 .5 0 .05
  1195.             tcMod scroll -.001 .001
  1196.         }
  1197.     
  1198.         {
  1199.             map textures/liquids/pool3.tga
  1200.             blendfunc GL_DST_COLOR GL_ONE
  1201.             tcMod turb .1 .1 0 .01
  1202.             tcMod scale .5 .5
  1203.             tcMod scroll -.025 .02
  1204.         }
  1205.     
  1206.         {
  1207.             map textures/liquids/pool4.tga
  1208.             blendfunc GL_DST_COLOR GL_ONE
  1209.             tcMod scale .3 .3
  1210.             tcMod turb .1 .01 0 .01
  1211.             tcMod stretch sin 1 .3 0 .015
  1212.             rgbGen wave sin .5 .5 0 .07
  1213.             tcMod scroll .001 -.001
  1214.         }
  1215.  
  1216.         //    END
  1217.     }
  1218.     
  1219. textures/liquids/calm_pool_bgtess
  1220.     {
  1221.         //    *************************************************
  1222.         //    * CALM GREEN WATER POOL Feb 19, 1998        *
  1223.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1224.         //      * Large tesselations added on May 26, '99
  1225.         //    *************************************************
  1226.  
  1227.         // Added to g3map_global texture on May 11, 1999
  1228.         qer_editorimage textures/liquids/pool2.tga
  1229.         qer_trans .5
  1230.         q3map_globaltexture
  1231.  
  1232.         surfaceparm trans
  1233.         surfaceparm nonsolid
  1234.         surfaceparm water
  1235.         surfaceparm nolightmap
  1236.  
  1237.         cull disable
  1238.         tesssize 256
  1239.         deformVertexes wave 256 sin 1 1 1 .1
  1240.         
  1241.     
  1242.     
  1243.         {
  1244.             map textures/liquids/pool2.tga
  1245.             blendfunc GL_ONE GL_SRC_COLOR    
  1246.             tcMod scale .03 .03
  1247.             tcMod scroll .001 .001
  1248.         }
  1249.     
  1250.         {
  1251.             map textures/liquids/pool3.tga
  1252.             blendfunc GL_DST_COLOR GL_ONE
  1253.             tcMod turb .1 .1 0 .01
  1254.             tcMod scale .5 .5
  1255.             tcMod scroll -.025 .02
  1256.         }
  1257.  
  1258.  
  1259.         //    END
  1260.     }
  1261.  
  1262. textures/liquids/ripplewater2
  1263.     {
  1264.         //    *************************************************
  1265.         //    * Ripply Water Feb 16 1999            *
  1266.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1267.         //    *************************************************
  1268.  
  1269.         // Added to g3map_global texture on May 11, 1999
  1270.         q3map_globaltexture
  1271.         qer_trans .5
  1272.     
  1273.         surfaceparm trans
  1274.         surfaceparm nonsolid
  1275.         surfaceparm water
  1276.         surfaceparm nolightmap
  1277.  
  1278.         // JDC: testing foggy water
  1279.         surfaceparm    fog
  1280.         fogparms ( .5 .12 1 ) 200
  1281.  
  1282.         tesssize 64
  1283.         deformVertexes wave 100 triangle 2 2 1 0.1
  1284.         
  1285.         {
  1286.             map textures/liquids/ripplewater3.tga
  1287.             blendfunc GL_ONE GL_SRC_COLOR    
  1288.             tcMod scale .05 .05
  1289.             tcGen environment
  1290.             tcMod scroll .001 .001
  1291.         }
  1292.     
  1293.         {
  1294.             map textures/liquids/ripplewater2.tga
  1295.             blendfunc GL_DST_COLOR GL_ONE
  1296.             tcMod turb .1 .1 0 .01
  1297.             tcMod scale .5 .5
  1298.             tcMod scroll -.025 .02
  1299.         }
  1300.  
  1301.         {
  1302.             map textures/liquids/ripplewater.tga
  1303.             blendFunc GL_DST_COLOR GL_ONE
  1304.             tcMod turb .1 .07 .1 .01
  1305.             tcMod scale .5 .5
  1306.             tcMod stretch sin 1 .1 0 .01
  1307.             tcMod scroll 0 .025
  1308.         }    
  1309.  
  1310.         
  1311.  
  1312.         //    END
  1313.     }
  1314.  
  1315. textures/liquids/proto_pool3
  1316.     {
  1317.         ///////////////////////////////////////////
  1318.         //   Water Fuckage June 18 99 Kenneth     //
  1319.         ///////////////////////////////////////////
  1320.                 
  1321.         q3map_globaltexture
  1322.             qer_trans .80
  1323.                 surfaceparm trans
  1324.         surfaceparm nonsolid
  1325.         surfaceparm water
  1326.                 q3map_surfacelight 50
  1327.         cull disable
  1328.                 // tesssize 256
  1329.             //deformVertexes wave 100 sin 1 5 .1 .5
  1330.             
  1331.         
  1332.         {
  1333.             map textures/liquids/proto_pool3.tga
  1334.             blendfunc GL_ONE GL_ONE //SRC_COLOR
  1335.             tcMod scale 1 1
  1336.             tcMod scroll .02 .02
  1337.                        
  1338.         }
  1339.             {
  1340.             map textures/liquids/proto_poolpass2.tga
  1341.             blendfunc GL_ONE GL_ONE
  1342.             tcMod scale .5 .6
  1343.             tcMod scroll .06 .04
  1344.         }
  1345.             {
  1346.             map textures/liquids/proto_poolpass.tga
  1347.             blendfunc GL_ONE GL_ONE
  1348.             tcMod scale .2 .2
  1349.             tcMod scroll .05 .05
  1350.         }
  1351.             {
  1352.                 map $lightmap
  1353.             rgbgen identity
  1354.             blendfunc GL_DST_COLOR GL_ZERO
  1355.                 }
  1356.                
  1357.         
  1358.  
  1359.         //    END
  1360.     }
  1361.  textures/liquids/proto_poolpass
  1362.         {
  1363.         ///////////////////////////////////////////
  1364.             //Electric Slime. FOUR passes of FURY ---//
  1365.         ///////////////////////////////////////////
  1366.                 
  1367.         q3map_globaltexture
  1368.             //qer_editorimage textures/liquids/proto_pool3.tga
  1369.                  q3map_lightimage textures/liquids/proto_pool3.tga
  1370.             q3map_globaltexture    
  1371.             q3map_surfacelight 240
  1372.         // tesssize 256
  1373.             //deformVertexes wave 100 sin 1 5 .1 .5
  1374.             surfaceparm slime
  1375.         
  1376.         {
  1377.                 map textures/liquids/proto_gruel2.tga
  1378.                 //tcMod scale 1 1
  1379.                          tcMod scale .5 .6
  1380.             //tcMod scroll .4 .01
  1381.                         tcMod turb .1 .25 0 -.1
  1382.                        
  1383.         }
  1384.            //{
  1385.         //    map textures/liquids/proto_poolpass2.tga
  1386.         //    blendfunc GL_ONE GL_ONE
  1387.         //    tcMod scale .5 .6
  1388.         //    //tcMod scroll .6 .04
  1389.                 //        tcMod turb .1 .25 0 .01
  1390.         //}
  1391.             {
  1392.             map textures/liquids/proto_poolpass.tga
  1393.             blendfunc GL_ONE GL_ONE
  1394.             tcMod scale .2 .2
  1395.             //tcMod scroll .5 .05
  1396.                         tcMod turb .1 .25 0 .07
  1397.         }
  1398.             {
  1399.                 map $lightmap
  1400.             rgbgen identity
  1401.             blendfunc GL_DST_COLOR GL_ZERO
  1402.                 }
  1403.                 {
  1404.             map textures/sfx/bolts.tga
  1405.             blendfunc GL_ONE GL_ONE
  1406.             tcMod scale .2 .2
  1407.                         //tcGen environment
  1408.             tcMod scroll .1 .1
  1409.                         tcmod rotate 290
  1410.                         //rgbgen wave sin .1 1 5 .1
  1411.         }
  1412.         
  1413.  
  1414.         //    END
  1415.     }
  1416. textures/liquids/jello
  1417.         {
  1418.         ///////////////////////////////////////////
  1419.             //DANGER JELLO! FOUR passes of FURY ---  //
  1420.         ///////////////////////////////////////////
  1421.                 
  1422.         q3map_globaltexture
  1423.             //qer_editorimage textures/liquids/proto_pool3.tga
  1424.                  q3map_lightimage textures/liquids/proto_pool3.tga
  1425.             q3map_globaltexture    
  1426.             q3map_surfacelight 240
  1427.         // tesssize 256
  1428.             //deformVertexes wave 100 sin 1 5 .1 .5
  1429.             surfaceparm slime
  1430.         
  1431.         {
  1432.                 map textures/liquids/jello.tga
  1433.                 //tcMod scale 1 1
  1434.                          tcMod scale .5 .6
  1435.             //tcMod scroll .4 .01
  1436.                         tcMod turb .1 .25 0 -.1
  1437.                        
  1438.         }
  1439.             {
  1440.             map textures/liquids/jello2.tga
  1441.             blendfunc GL_ONE GL_ONE
  1442.             tcMod scale .2 .2
  1443.             //tcMod scroll .5 .05
  1444.                         tcMod turb .1 .25 0 .07
  1445.         }
  1446.             {
  1447.                 map $lightmap
  1448.             rgbgen identity
  1449.             blendfunc GL_DST_COLOR GL_ZERO
  1450.                 }
  1451.                 {
  1452.             map textures/sfx/bolts2.tga
  1453.             blendfunc GL_ONE GL_ONE
  1454.             tcMod scale .2 .2
  1455.                         //tcGen environment
  1456.             tcMod scroll 5  5
  1457.                         tcmod rotate 296
  1458.                         //rgbgen wave sin .1 1 5 .1
  1459.         }
  1460.         
  1461.  
  1462.         //    END
  1463.     }
  1464.  textures/liquids/proto_slime
  1465.         {
  1466.         ///////////////////////////////////////////
  1467.         //   Slimage June 22 99 Kenneth             //
  1468.         ///////////////////////////////////////////
  1469.                 
  1470.         q3map_globaltexture
  1471.          // qer_trans .001
  1472.                 surfaceparm trans
  1473.         surfaceparm nonsolid
  1474.         surfaceparm water
  1475.                 cull disable
  1476.             
  1477.         
  1478.         {
  1479.             map textures/liquids/proto_slime.tga
  1480.                 alphaFunc GE128
  1481.                 depthWrite
  1482.                 //rgbGen vertex
  1483.             tcMod scale 1 1
  1484.             tcMod scroll .02 .02
  1485.                        
  1486.         }
  1487.             {
  1488.                 map $lightmap
  1489.             rgbgen identity
  1490.             blendfunc GL_DST_COLOR GL_ZERO
  1491.                 }
  1492.         
  1493.  
  1494.         //    END
  1495.     }
  1496. textures/liquids/proto_gruel
  1497.         {
  1498.         ///////////////////////////////////////////////////
  1499.         //   Wrongful, Afterbirth-esque goo June 24 99 //
  1500.         ///////////////////////////////////////////////////
  1501.               q3map_globaltexture
  1502.             qer_trans 80
  1503.                 surfaceparm trans
  1504.         surfaceparm nonsolid
  1505.                 surfaceparm nomarks
  1506.         surfaceparm water
  1507.         cull disable
  1508.                 //tesssize 256
  1509.             //deformVertexes wave 100 sin 1 5 .1 .5
  1510.             
  1511.         
  1512.         {
  1513.             map textures/liquids/proto_gruel.tga
  1514.             // blendfunc GL_ONE GL_ONE
  1515.             tcMod scale 1 1
  1516.             tcMod scroll .02 .02
  1517.                        
  1518.         }
  1519.             {
  1520.             map textures/liquids/proto_gruel.tga
  1521.             blendfunc GL_ONE GL_ONE
  1522.             tcMod scale .5 .6
  1523.             tcMod scroll .06 .04
  1524.         }
  1525.             //{
  1526.         //    map textures/liquids/proto_poolpass.tga
  1527.         //    blendfunc GL_ONE GL_ONE
  1528.         //    tcMod scale .2 .2
  1529.         //    tcMod scroll .05 .05
  1530.         //}
  1531.             {
  1532.                 map $lightmap
  1533.             rgbgen identity
  1534.             blendfunc GL_DST_COLOR GL_ZERO
  1535.                 }
  1536.         
  1537.         }
  1538. textures/liquids/xripplewater2
  1539.     {
  1540.         //    *************************************************
  1541.         //    * Ripply Water Feb 16 1999            *
  1542.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1543.         //    *************************************************
  1544.         // June.9.1999 -- Added q3map_surfacelight -- Xian
  1545.         // Added to g3map_global texture on May 11, 1999
  1546.         qer_editorimage textures/liquids/ripplewater2.tga
  1547.         q3map_surfacelight 600
  1548.         q3map_globaltexture
  1549.         qer_trans .5
  1550.     
  1551.         surfaceparm trans
  1552.         surfaceparm nonsolid
  1553.         surfaceparm water
  1554.         surfaceparm nolightmap
  1555.  
  1556.         // JDC, testing backshader cull disable
  1557.         tesssize 64
  1558.         deformVertexes wave 100 triangle 2 2 1 0.1
  1559.         
  1560.         surfaceparm fog
  1561.         fogparms ( 0.3 0.3 1.0 ) 512
  1562.  
  1563.         {
  1564.             map textures/liquids/ripplewater3.tga
  1565.             blendfunc GL_ONE GL_SRC_COLOR    
  1566.             tcMod scale .05 .05
  1567.             tcGen environment
  1568.             tcMod scroll .001 .001
  1569.         }
  1570.     
  1571.         {
  1572.             map textures/liquids/ripplewater2.tga
  1573.             blendfunc GL_DST_COLOR GL_ONE
  1574.             tcMod turb .1 .1 0 .01
  1575.             tcMod scale .5 .5
  1576.             tcMod scroll -.025 .02
  1577.         }
  1578.  
  1579.         {
  1580.             map textures/liquids/ripplewater.tga
  1581.             blendFunc GL_DST_COLOR GL_ONE
  1582.             tcMod turb .1 .07 .1 .01
  1583.             tcMod scale .5 .5
  1584.             tcMod stretch sin 1 .1 0 .01
  1585.             tcMod scroll 0 .025
  1586.         }    
  1587.  
  1588.         
  1589.  
  1590.         //    END
  1591.     }
  1592.  
  1593. ripplewater2_back
  1594.     {
  1595.         // Added to g3map_global texture on May 11, 1999
  1596.         q3map_globaltexture
  1597.     //    this is used when looking from inside the water to the outside
  1598.         surfaceparm trans
  1599.         surfaceparm nonsolid
  1600.         surfaceparm water
  1601.         surfaceparm nolightmap
  1602.  
  1603. //        fogonly
  1604.         {
  1605.             map textures/liquids/ripplewater3.tga
  1606.             blendfunc GL_DST_COLOR GL_SRC_COLOR
  1607.             tcMod scale .05 .05
  1608.             tcGen environment
  1609.             tcMod scroll .001 .001
  1610.         }
  1611.  
  1612.         //    END
  1613.     }
  1614.  
  1615. textures/liquids/ripplewater2a
  1616.     {
  1617.         //    *************************************************
  1618.         //    * Ripply Water large tesselations MAr 15 1999            *
  1619.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1620.         //    *************************************************
  1621.  
  1622.         // Added to g3map_global texture on May 11, 1999
  1623.         q3map_globaltexture
  1624.         qer_trans .5
  1625.         qer_editorimage textures/liquids/ripplewater2
  1626.         surfaceparm trans
  1627.         surfaceparm nonsolid
  1628.         surfaceparm water
  1629.         surfaceparm nolightmap
  1630.  
  1631.         cull disable
  1632.         tesssize 128
  1633.         deformVertexes wave 100 triangle 2 2 1 0.1
  1634.         
  1635.  
  1636.         {
  1637.             map textures/liquids/ripplewater3.tga
  1638.             blendfunc GL_ONE GL_SRC_COLOR    
  1639.             tcMod scale .05 .05
  1640.             tcGen environment
  1641.             tcMod scroll .001 .001
  1642.         }
  1643.     
  1644.         {
  1645.             map textures/liquids/ripplewater2.tga
  1646.             blendfunc GL_DST_COLOR GL_ONE
  1647.             tcMod turb .1 .1 0 .01
  1648.             tcMod scale .5 .5
  1649.             tcMod scroll -.025 .02
  1650.         }
  1651.  
  1652.         {
  1653.             map textures/liquids/ripplewater.tga
  1654.             blendFunc GL_DST_COLOR GL_ONE
  1655.             tcMod turb .1 .07 .1 .01
  1656.             tcMod scale .5 .5
  1657.             tcMod stretch sin 1 .1 0 .01
  1658.             tcMod scroll 0 .025
  1659.         }    
  1660.         //    END
  1661.     }
  1662.  
  1663. textures/liquids/slime1
  1664.     {
  1665.     //    *************************************************        
  1666.     //    * SLIME Feb 11 1999                 *
  1667.     //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1668.     //    *************************************************    
  1669.  
  1670.         // Added to g3map_global texture on May 11, 1999
  1671.         qer_editorimage textures/liquids/slime7.tga
  1672.         q3map_lightimage textures/liquids/slime7.tga
  1673.         q3map_globaltexture
  1674.         qer_trans .5
  1675.  
  1676.         surfaceparm noimpact
  1677.         surfaceparm slime
  1678.         surfaceparm nolightmap
  1679.         surfaceparm trans        
  1680.  
  1681.         q3map_surfacelight 100
  1682.         tessSize 32
  1683.         cull disable
  1684.  
  1685.         deformVertexes wave 100 sin 0 1 .5 .5
  1686.  
  1687.         {
  1688.             map textures/liquids/slime7c.tga
  1689.             tcMod turb .3 .2 1 .05
  1690.             tcMod scroll .01 .01
  1691.         }
  1692.     
  1693.         {
  1694.             map textures/liquids/slime7.tga
  1695.             blendfunc GL_ONE GL_ONE
  1696.             tcMod turb .2 .1 1 .05
  1697.             tcMod scale .5 .5
  1698.             tcMod scroll .01 .01
  1699.         }
  1700.  
  1701.         {
  1702.             map textures/liquids/bubbles.tga
  1703.             blendfunc GL_ZERO GL_SRC_COLOR
  1704.             tcMod turb .2 .1 .1 .2
  1705.             tcMod scale .05 .05
  1706.             tcMod scroll .001 .001
  1707.         }        
  1708.  
  1709.         //     END
  1710.     }
  1711.  
  1712. textures/liquids/slime1_2000
  1713.     {
  1714.     //    *************************************************        
  1715.     //    * SLIME Feb 11 1999                 *
  1716.     //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1717.     //    *************************************************    
  1718.  
  1719.         // Added to g3map_global texture on May 11, 1999
  1720.         qer_editorimage textures/liquids/slime7.tga
  1721.         q3map_lightimage textures/liquids/slime7.tga
  1722.         q3map_globaltexture
  1723.         qer_trans .5
  1724.  
  1725.         surfaceparm noimpact
  1726.         surfaceparm slime
  1727.         surfaceparm nolightmap
  1728.         surfaceparm trans        
  1729.  
  1730.         q3map_surfacelight 2000
  1731.         tessSize 32
  1732.         cull disable
  1733.  
  1734.         deformVertexes wave 100 sin 0 1 .5 .5
  1735.  
  1736.         {
  1737.             map textures/liquids/slime7c.tga
  1738.             tcMod turb .3 .2 1 .05
  1739.             tcMod scroll .01 .01
  1740.         }
  1741.     
  1742.         {
  1743.             map textures/liquids/slime7.tga
  1744.             blendfunc GL_ONE GL_ONE
  1745.             tcMod turb .2 .1 1 .05
  1746.             tcMod scale .5 .5
  1747.             tcMod scroll .01 .01
  1748.         }
  1749.  
  1750.         {
  1751.             map textures/liquids/bubbles.tga
  1752.             blendfunc GL_ZERO GL_SRC_COLOR
  1753.             tcMod turb .2 .1 .1 .2
  1754.             tcMod scale .05 .05
  1755.             tcMod scroll .001 .001
  1756.         }        
  1757.  
  1758.         //     END
  1759.     }
  1760.  
  1761.  
  1762.  
  1763. textures/liquids/lavacrust
  1764.     {
  1765.     //    *************************************************
  1766.     //    * CRUSTY LAVA Feb 11 1999            *
  1767.     //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1768.     //    *************************************************
  1769.     // change 5/3 - lighting changed from 300 to 50    
  1770.     // change 5/5 - made lavacrust solid
  1771.     // Added to g3map_global texture on May 11, 1999
  1772.         q3map_globaltexture
  1773.         surfaceparm trans
  1774.         //surfaceparm lava
  1775.  
  1776.         
  1777.         q3map_surfacelight 50
  1778.         q3map_lightimage textures/liquids/lava.tga
  1779.  
  1780.         //tesssize 64
  1781.         //deformVertexes wave 100 sin 0 5 0 .05
  1782.         //cull disable
  1783.  
  1784.         {
  1785.             map textures/liquids/lava.tga
  1786.             tcMod turb 0 0.1 0 0.02
  1787.             rgbGen wave triangle .9 .1 0 1
  1788.             tcMod scroll -.02 -.02
  1789.         }
  1790.  
  1791.         {
  1792.             map textures/liquids/lavacrust.tga
  1793.             blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1794.             tcmod turb 0 .5 0 .005
  1795.             rgbgen identity
  1796.         }
  1797.  
  1798.         {
  1799.             map $lightmap
  1800.             blendfunc gl_dst_color gl_zero
  1801.             rgbgen identity
  1802.         }
  1803.  
  1804.             
  1805.         //    END
  1806.     }
  1807.  
  1808. textures/liquids/bloodwater_pj
  1809.     {
  1810.     //    *************************************************
  1811.     //    * Brighter BLOODY WATER Apr 7 1999                *
  1812.     //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1813.     //    *************************************************
  1814.     // Added to g3map_global texture on May 11, 1999
  1815.     qer_editorimage textures/liquids/bloodwater.tga
  1816.     q3map_globaltexture
  1817.     qer_trans .5
  1818.     
  1819.     surfaceparm trans
  1820.     surfaceparm nonsolid
  1821.     surfaceparm water
  1822.     surfaceparm nolightmap
  1823.     //testing out a dim surface light, march 19 - bj
  1824.     q3map_surfacelight 500
  1825.     tesssize 128
  1826.     cull disable
  1827.     deformVertexes wave 128 sin 1 1 .5 .5
  1828.     
  1829.     
  1830.         {
  1831.             map textures/liquids/bloodwater1.tga
  1832.             blendFunc GL_ONE GL_ONE
  1833.             tcGen environment
  1834.             tcMod scroll 0 .01
  1835.         }
  1836.  
  1837.         {
  1838.             map textures/liquids/bloodwater2.tga
  1839.             blendFunc GL_DST_COLOR GL_SRC_COLOR
  1840.             tcMod scale .1 .1
  1841.             tcMod turb .1 .1 1 .01
  1842.             tcMod scroll 0 .01
  1843.         }
  1844.  
  1845.         {
  1846.             map textures/liquids/bloodwater.tga
  1847.             blendFunc GL_DST_COLOR GL_SRC_COLOR
  1848.             tcMod scale .25 .25
  1849.             tcMod scroll 0 .007
  1850.         }
  1851.     
  1852.         //    END
  1853.     }
  1854.  
  1855. textures/liquids/bloodwater
  1856.     {
  1857.     //    *************************************************
  1858.     //    * BLOODY WATER Feb 16 1999                *
  1859.     //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  1860.     //    *************************************************
  1861.  
  1862.     // Added to g3map_global texture on May 11, 1999
  1863.     q3map_globaltexture
  1864.     qer_trans .5
  1865.  
  1866.     surfaceparm trans
  1867.     surfaceparm nonsolid
  1868.     surfaceparm water
  1869.     surfaceparm nolightmap
  1870.     //testing out a dim surface light, march 19 - bj
  1871.     q3map_surfacelight 200
  1872.     tesssize 64
  1873.     cull disable
  1874.     deformVertexes wave 100 sin 1 1 .5 .5
  1875.     
  1876.     
  1877.         {
  1878.             map textures/liquids/bloodwater1.tga
  1879.             blendFunc GL_ONE GL_ONE
  1880.             tcGen environment
  1881.             tcMod scroll 0 .01
  1882.         }
  1883.  
  1884.         {
  1885.             map textures/liquids/bloodwater2.tga
  1886.             blendFunc GL_DST_COLOR GL_SRC_COLOR
  1887.             tcMod scale .1 .1
  1888.             tcMod turb .1 .1 1 .01
  1889.             tcMod scroll 0 .01
  1890.         }
  1891.  
  1892.         {
  1893.             map textures/liquids/bloodwater.tga
  1894.             blendFunc GL_DST_COLOR GL_SRC_COLOR
  1895.             tcMod scale .25 .25
  1896.             tcMod scroll 0 .007
  1897.         }
  1898.     
  1899.         //    END
  1900.     }
  1901.  
  1902.  
  1903. textures/hell/lavasolid
  1904. {
  1905.     // Added to g3map_global texture on May 11, 1999
  1906.     q3map_globaltexture
  1907.     surfaceparm noimpact
  1908.     surfaceparm nolightmap
  1909.     q3map_surfacelight 450
  1910.  
  1911.     tesssize 64
  1912.     deformVertexes wave 100 sin 2 2 0 0.1
  1913.  
  1914.     {
  1915.         map textures/hell/lava2d.tga
  1916.         tcGen environment
  1917.         tcMod turb 0 0.25 0 0.05
  1918.     }
  1919.  
  1920.     {
  1921.         map textures/hell/lava2d.tga
  1922.         blendfunc GL_ONE GL_ONE
  1923.         tcMod turb 0 0.25 0 0.05
  1924.     }
  1925. }
  1926.  
  1927. textures/liquids/lavahell_2500_subd
  1928. {
  1929.     // Added to g3map_global texture on May 11, 1999
  1930.     qer_editorimage textures/liquids/lavahell.tga
  1931.     q3map_lightsubdivide 32
  1932.     q3map_globaltexture
  1933.     surfaceparm trans
  1934.     //surfaceparm nonsolid
  1935.     surfaceparm noimpact
  1936.     surfaceparm lava
  1937.     surfaceparm nolightmap
  1938.     q3map_surfacelight 2500
  1939.     cull disable
  1940.     
  1941.     tesssize 128
  1942.     cull disable
  1943.     deformVertexes wave 100 sin 3 2 .1 0.1
  1944.     
  1945.     {
  1946.         map textures/liquids/lavahell.tga
  1947.         tcMod turb 0 .2 0 .1
  1948.     }
  1949. }
  1950.  
  1951.