home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / tasprites.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  10.2 KB  |  627 lines

  1. smokegrenade
  2. {
  3.     nopicmip
  4.     surfaceparm nolightmap
  5.     spritegen parallel_oriented
  6.     cull twosided
  7.     {
  8.         clampmap textures/sprites/hrpuffnstuff.tga
  9.         blendFunc blend
  10.         tcMod rotate 16
  11.         rgbGen vertex
  12.         alphaGen vertex
  13.     nextbundle
  14.         clampmap textures/sprites/hrpuffnstuff.tga
  15.         tcMod rotate -14 77
  16.     }
  17. }
  18.  
  19. smokegrenade_allied
  20. {
  21.     nopicmip
  22.     surfaceparm nolightmap
  23.     spritegen parallel_oriented
  24.     cull twosided
  25.     {
  26.         clampmap textures/sprites/hrpuffnstuff_allied.tga
  27.         blendFunc blend
  28.         tcMod rotate 16
  29.         rgbGen vertex
  30.         alphaGen vertex
  31.     nextbundle
  32.         clampmap textures/sprites/hrpuffnstuff_allied.tga
  33.         tcMod rotate -14 77
  34.     }
  35. }
  36.  
  37. smokegrenade_blue
  38. {
  39.     nopicmip
  40.     surfaceparm nolightmap
  41.     spritegen parallel_oriented
  42.     cull twosided
  43.     {
  44.         clampmap textures/sprites/hrpuffnstuff_blue.tga
  45.         blendFunc blend
  46.         tcMod rotate 16
  47.         rgbGen vertex
  48.         alphaGen vertex
  49.     nextbundle
  50.         clampmap textures/sprites/hrpuffnstuff_blue.tga
  51.         tcMod rotate -14 77
  52.     }
  53. }
  54. smokegrenade_german
  55. {
  56.     nopicmip
  57.     surfaceparm nolightmap
  58.     spritegen parallel_oriented
  59.     cull twosided
  60.     {
  61.         clampmap textures/sprites/hrpuffnstuff_german.tga
  62.         blendFunc blend
  63.         tcMod rotate 16
  64.         rgbGen vertex
  65.         alphaGen vertex
  66.     nextbundle
  67.         clampmap textures/sprites/hrpuffnstuff_german.tga
  68.         tcMod rotate -14 77
  69.     }
  70. }
  71.  
  72. smokegrenade_soviet
  73. {
  74.     nopicmip
  75.     surfaceparm nolightmap
  76.     spritegen parallel_oriented
  77.     cull twosided
  78.     {
  79.         clampmap textures/sprites/hrpuffnstuff_soviet.tga
  80.         blendFunc blend
  81.         tcMod rotate 16
  82.         rgbGen vertex
  83.         alphaGen vertex
  84.     nextbundle
  85.         clampmap textures/sprites/hrpuffnstuff_soviet.tga
  86.         tcMod rotate -14 77
  87.     }
  88. }
  89.  
  90. corona_util_colorable
  91. {
  92.     qer_editorimage textures/sprites/corona_util.tga
  93.     deformVertexes lightglow
  94.     cull none
  95.     {
  96.         map textures/sprites/corona_util.tga
  97.         rgbGen vertex
  98.         alphaGen vertex
  99.         blendfunc GL_SRC_ALPHA GL_ONE
  100.     }
  101. }
  102.  
  103. //=====================================================================================
  104. // mortar stuff
  105.  
  106. snowPlume
  107. {
  108.     nomipmaps
  109.     nopicmip
  110.     cull none
  111.     spriteGen parallel_oriented
  112.     {
  113.         clampmap textures/sprites/snowplume.tga
  114.         alphafunc ge128
  115.         alphaGen vertex
  116.         rgbGen vertex
  117.         depthwrite
  118.         nextbundle
  119.         map textures/sprites/mortarsnow_noise.tga
  120.         tcmod rotate 360
  121.     }
  122. }
  123.  
  124. snowCloud
  125. {
  126.     nomipmaps
  127.     nopicmip
  128.     cull none
  129.     spriteGen parallel_oriented
  130.     {
  131.         clampmap textures/sprites/snowplume.tga
  132.         blendfunc blend
  133.         alphaGen vertex
  134.         rgbGen vertex
  135.     }
  136. }
  137.  
  138. mortar_snowHit1
  139. {
  140.     cull none
  141.     spriteGen parallel_upright
  142.     {
  143.         clampmap textures/sprites/snow_motarhit.tga
  144.         alphafunc ge128
  145.         alphaGen vertex
  146.         rgbGen vertex
  147.     nextbundle
  148.         map textures/sprites/mortarsnow_noise.tga
  149.         tcmod scroll 0 -.1
  150.         tcmod scale 8 16
  151.     }
  152. }
  153.  
  154. mortar_snowHit2
  155. {
  156.     cull none
  157.     spriteGen parallel_upright
  158.     {
  159.         clampmap textures/sprites/snow_motarhit.tga
  160.         blendfunc blend
  161.         alphaGen vertex
  162.         rgbGen vertex
  163.     nextbundle
  164.         map textures/effects/sandplume1.tga
  165.         tcmod scale 2 2
  166.     }
  167. }
  168.  
  169. snowClump
  170. {
  171.     cull none
  172.     spriteGen parallel_oriented
  173.     {
  174.         clampmap textures/sprites/snowclump.tga
  175.         blendfunc blend
  176.         rgbGen vertex
  177.         alphaGen vertex
  178.     }
  179.  
  180. //=====================================================================================
  181.  
  182. //Train Sparks
  183.  
  184. trainSpark_01
  185. {
  186.     sort nearest
  187.     cull none
  188.     spriteGen parallel_oriented
  189.     {
  190.         clampmap textures/fx/Train/trainSpark_01.tga
  191.         blendfunc alphaadd
  192.         rgbGen vertex
  193.     }
  194. }
  195.  
  196. //=====================================================================================
  197. //Bomb exploding in the snow.
  198.  
  199. //snow and smoke trailing blast debris
  200. snowPlume_01
  201. {
  202.     cull none
  203.     spriteGen parallel_oriented
  204.     {
  205.         clampmap textures/fx/bomb_exp/snowTrail_01.tga
  206.         blendfunc blend
  207.         rgbGen vertex
  208.     }
  209. }
  210.  
  211. dirtDebris_01
  212. {
  213.     cull none
  214.     deformVertexes autoSprite2
  215.     {
  216.         clampmap textures/fx/bomb_exp/dirtySnowball_01.tga
  217.         blendfunc blend
  218.         rgbGen vertex
  219.     }
  220. }
  221.  
  222. //Initial blast
  223. bombBlast_snow01
  224. {
  225.     cull none
  226.     spriteGen parallel_upright
  227.     {
  228.         clampmap textures/fx/bomb_exp/bombBlast_snow02.tga
  229.         blendfunc blend
  230.         alphaGen vertex
  231.         rgbGen vertex
  232.     nextbundle
  233.         map textures/sprites/mortarsnow_noise.tga
  234.         tcmod scroll 0 .7
  235.         tcmod scale 5 2
  236.     }
  237. }
  238.  
  239. bombBlast_dirt01
  240. {
  241.     cull none
  242.     spriteGen parallel_upright
  243.     {
  244.         clampmap textures/fx/bomb_exp/bombBlast_dirt01.tga
  245.         blendfunc blend
  246.         alphaGen vertex
  247.         rgbGen vertex
  248.     nextbundle
  249.         map textures/sprites/mortarsnow_noise.tga
  250.         tcmod scroll 0 .75
  251.         tcmod scale 5 2
  252.     }
  253. }
  254.  
  255. //Big Blast -dirt-
  256.  
  257. bombBlast_bigDirt
  258. {
  259.     cull none
  260.     spriteGen parallel_upright
  261.     {
  262.         clampmap textures/fx/bomb_exp/BombBlast_bigDirt.tga
  263.         blendfunc blend
  264.         alphaGen vertex
  265.         rgbGen vertex
  266.     nextbundle
  267.         map textures/sprites/mortarsnow_noise.tga
  268.         tcmod scroll 0 -.5
  269.         tcmod scale 3 2
  270.     }
  271. }
  272.  
  273. thrownStone1
  274. {
  275.     cull none
  276.     spriteGen parallel_oriented
  277.     {
  278.         clampmap textures/fx/tank/dirtBall1.tga
  279.         blendfunc blend
  280.         rgbGen vertex
  281.     }
  282. }
  283.  
  284. thrownStone2
  285. {
  286.     cull none
  287.     spriteGen parallel_oriented
  288.     {
  289.         clampmap textures/fx/tank/concrete_02.tga
  290.         blendfunc blend
  291.         rgbGen vertex
  292.     }
  293. }
  294.  
  295. thrownStone3
  296. {
  297.     cull none
  298.     spriteGen parallel_oriented
  299.     {
  300.         clampmap textures/fx/tank/dirtBall2.tga
  301.         blendfunc blend
  302.         rgbGen vertex
  303.     }
  304. }
  305.  
  306. //=====================================================================================
  307.  
  308. //Big bridge detonation
  309.  
  310. waterBlast01
  311. {
  312.     cull none
  313.     spriteGen parallel_oriented
  314.     {
  315.         clampmap textures/effects/h2o_hit.tga
  316.         blendfunc blend
  317.         alphaGen vertex
  318.         rgbGen vertex
  319.     }
  320. }
  321.  
  322. //Big Splash
  323.  
  324. bigSplash
  325. {
  326.     cull none
  327.     spriteGen parallel_upright
  328.     {
  329.         clampmap textures/fx/Bridge/bigSplash.tga
  330.         blendfunc blend
  331.         alphaGen vertex
  332.         rgbGen vertex
  333.     nextbundle
  334.         map textures/sprites/mortarsnow_noise.tga
  335.         tcmod scroll 0 -.5
  336.         tcmod scale 3 2
  337.     }
  338. }
  339.  
  340. //Charges going off
  341.  
  342. BridgeCharge
  343. {
  344.     cull none
  345.     sort nearest
  346.     spriteGen parallel_oriented
  347.     {
  348.         clampmap textures/fx/bridge/bridgeCharge.tga
  349.         blendfunc alphaadd
  350.         rgbGen vertex
  351.     }
  352. }
  353.  
  354. fallingDirt
  355. {
  356.     cull none
  357.     spriteGen parallel_oriented
  358.     {
  359.         clampmap textures/fx/bridge/fallingDirt.tga
  360.         blendfunc blend
  361.         rgbGen vertex
  362.     }
  363. }
  364.  
  365. //=====================================================================================
  366. //Tree Shattering from a Mortar Strike
  367.  
  368. Splinter1
  369. {
  370.     cull none
  371.     spriteGen oriented
  372.     {
  373.         clampmap textures/fx/treeShatter/Splinter1.tga
  374.         blendfunc blend
  375.         rgbGen vertex
  376.     }
  377. }
  378.  
  379. Splinter2
  380. {
  381.     cull none
  382.     spriteGen oriented
  383.     {
  384.         clampmap textures/fx/treeShatter/Splinter2.tga
  385.         blendfunc blend
  386.         rgbGen vertex
  387.     }
  388. }
  389.  
  390. //=====================================================================================
  391.  
  392. //Grenade redo
  393.  
  394. metalDebris_01
  395. {
  396.     cull none
  397.     deformVertexes autoSprite2
  398.     {
  399.         clampmap textures/fx/grenade/metalDebris_01.tga
  400.         blendfunc blend
  401.         rgbGen vertex
  402.     }
  403. }
  404.  
  405. grenadeFire
  406. {
  407.     sort nearest
  408.     cull none
  409.     spriteGen parallel_oriented
  410.     {
  411.         clampmap textures/fx/grenade/explosion1.tga
  412.         blendfunc alphaadd
  413.         rgbGen vertex
  414.     }
  415. }
  416.  
  417. //=====================================================================================
  418. //Tank's muzzle fire
  419.  
  420. muzzleBlast_01
  421. {
  422.     cull none
  423.     spriteGen parallel_oriented
  424.     {
  425.         clampmap textures/fx/tank/muzzleBlast_01.tga
  426.         blendfunc blend
  427.         rgbGen vertex
  428.     }
  429. }
  430.  
  431. generalSpark_01
  432. {
  433.     cull none
  434.     spriteGen parallel_oriented
  435.     {
  436.         clampmap textures/fx/tank/generalSpark_01.tga
  437.         blendfunc alphaadd
  438.         rgbGen vertex
  439.     }
  440. }
  441.  
  442. generalFireball_01
  443. {
  444.     cull none
  445.     sort nearest
  446.     spriteGen parallel_oriented
  447.     {
  448.         clampmap textures/fx/bridge/bridgeCharge.tga
  449.         blendfunc alphaadd
  450.         rgbGen vertex
  451.     }
  452. }
  453.  
  454. muzzleCharge
  455. {
  456.     cull none
  457.     sort nearest
  458.     spriteGen parallel_oriented
  459.     {
  460.         clampmap textures/fx/bridge/bridgeCharge.tga
  461.         blendfunc alphaadd
  462.         rgbGen vertex
  463.     }
  464. }
  465.  
  466. muzzleCharge_02
  467. {
  468.     cull none
  469.     sort nearest
  470.     spriteGen parallel_oriented
  471.     {
  472.         clampmap textures/fx/tank/muzzleBlast_02.tga
  473.         blendfunc alphaadd
  474.         rgbGen vertex
  475.     }
  476. }
  477.  
  478. //=====================================================================================
  479. //Strafe
  480.  
  481. strafe_snowHit1
  482. {
  483.     cull none
  484.     spriteGen parallel_upright
  485.     {
  486.         clampmap textures/fx/Strafe/strafe_snowHit1.tga
  487.         blendfunc blend
  488.         alphaGen vertex
  489.         rgbGen vertex
  490.     }
  491. }
  492.  
  493. strafe_snowHit2
  494. {
  495.     cull none
  496.     spriteGen parallel_upright
  497.     {
  498.         clampmap textures/fx/Strafe/strafe_snowHit2.tga
  499.         blendfunc blend
  500.         alphaGen vertex
  501.         rgbGen vertex
  502.     nextbundle
  503.         map textures/sprites/mortarsnow_noise.tga
  504.         tcmod scroll 0 2
  505.         tcmod scale 5 2
  506.     }
  507. }
  508.  
  509. snowPlume_02
  510. {
  511.     cull none
  512.     spriteGen parallel_oriented
  513.     {
  514.         clampmap textures/fx/strafe/snowTrail_02.tga
  515.         blendfunc blend
  516.         rgbGen vertex
  517.     }
  518. }
  519. //=====================================================================================
  520. //Strafe
  521.  
  522. //smoke from engine
  523. engineSmoke_01
  524. {
  525.     cull none
  526.     spriteGen parallel_oriented
  527.     {
  528.         clampmap textures/fx/supplyTruck/engineSmoke.tga
  529.         blendfunc blend
  530.         rgbGen vertex
  531.     }
  532. }
  533.  
  534. //=====================================================================================
  535.  
  536. deathSod_01
  537. {
  538.     cull none
  539.     deformVertexes autoSprite2
  540.     {
  541.         clampmap textures/fx/tank/grassChunk.tga
  542.         blendfunc blend
  543.         rgbGen vertex
  544.     }
  545. }
  546.  
  547. concreteDebris_01
  548. {
  549.     cull none
  550.     deformVertexes autoSprite2
  551.     {
  552.         clampmap textures/fx/tank/concrete_01.tga
  553.         blendfunc blend
  554.         rgbGen vertex
  555.     }
  556. }
  557.  
  558. puffyStuff_dark
  559. {
  560.     cull none
  561.     spriteGen parallel_oriented
  562.     {
  563.         clampmap textures/fx/tank/puffyStuff_dark.tga
  564.         blendfunc blend
  565.         rgbGen vertex
  566.     }
  567. }
  568.  
  569. puffyStuff_light
  570. {
  571.     cull none
  572.     spriteGen parallel_oriented
  573.     {
  574.         clampmap textures/fx/tank/puffyStuff_light.tga
  575.         blendfunc blend
  576.         rgbGen vertex
  577.     }
  578. }
  579.  
  580. //=====================================================================================
  581. //Fire
  582.  
  583. campFire_01
  584. {
  585.     cull none
  586.     spriteGen parallel_oriented
  587.     {
  588.         clampmap textures/fx/sustainedFire/flame1.tga
  589.         blendfunc alphaadd
  590.         rgbGen vertex
  591.     }
  592. }
  593.  
  594. campFire_02
  595. {
  596.     cull none
  597.     spriteGen parallel_oriented
  598.     {
  599.         clampmap textures/fx/sustainedFire/flame2.tga
  600.         blendfunc alphaadd
  601.         rgbGen vertex
  602.     }
  603. }
  604.  
  605. campFire_03
  606. {
  607.     cull none
  608.     spriteGen parallel_oriented
  609.     {
  610.         clampmap textures/fx/sustainedFire/flame3.tga
  611.         blendfunc alphaadd
  612.         rgbGen vertex
  613.     }
  614. }
  615.  
  616. emberBlast
  617. {
  618.     cull none
  619.     sort nearest
  620.     spriteGen parallel_oriented
  621.     {
  622.         clampmap textures/fx/tank/Explosion3.tga
  623.         blendfunc alphaadd
  624.         rgbGen vertex
  625.     }
  626. }