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

  1. textures/flags/nazi1
  2. {
  3.     qer_keyword special
  4.     surfaceparm nonsolid
  5.     qer_editorimage textures/flags/nazi1.tga
  6.     surfaceparm alphashadow
  7.     cull none
  8.     //deformvertexes flap t 10 sin 1 3 50 .08 0 10
  9.     {
  10.         map textures/flags/nazi1.tga
  11.         //depthWrite
  12.         alphaFunc GE128
  13.         nextbundle
  14.         map $lightmap
  15.         }
  16. }
  17.  
  18. //////////////////////////////////////
  19. //nazibanner and brass eagle top models
  20. //////////////////////////////////////
  21.  
  22. static_flagtop2
  23. {
  24.     cull none
  25.     qer_editorimage textures/models/flags/flagtop.tga
  26.     {
  27.         map textures/models/flags/flagtop.tga
  28.         blendfunc blend
  29.         depthwrite
  30.         //alphafunc GE128
  31.         rgbGen static
  32.     }
  33. }
  34.  
  35. static_flagtop
  36. {
  37.     qer_editorimage textures/models/flags/flagtop.tga
  38.     {
  39.         map textures/models/flags/flagtop.tga
  40.         blendfunc blend
  41.         //alphafunc GE128
  42.         rgbGen static
  43.     }
  44. }
  45. static_nazibanner1
  46. {
  47.     //qer_keyword special
  48.     //surfaceparm nonsolid
  49.     qer_editorimage textures/models/flags/nazibanner.tga
  50.     //surfaceparm alphashadow
  51.     cull none
  52.     //deformvertexes flap t 1 sin 1 1 50 .08 0 2
  53.     deformvertexes flap t 1 sin 0 1 0 .10 0 2
  54.     {
  55.         map textures/models/flags/nazibanner.tga
  56.         //depthWrite
  57.         //alphaFunc GE128
  58.         rgbgen static
  59.         }
  60. }
  61.  
  62. static_nazibanner1a
  63. {
  64.     //qer_keyword special
  65.     //surfaceparm nonsolid
  66.     qer_editorimage textures/models/flags/nazibanner.tga
  67.     //surfaceparm alphashadow
  68.     cull none
  69.     //deformvertexes flap t 1 sin 1 1 50 .08 0 2
  70.     deformvertexes flap t 1 sin 0 1 0 .35 0 6
  71.     {
  72.         map textures/models/flags/nazibanner.tga
  73.         //depthWrite
  74.         //alphaFunc GE128
  75.         rgbgen static
  76.         }
  77. }
  78.  
  79.  
  80. static_nazibanner1b
  81. {
  82.     //qer_keyword special
  83.     //surfaceparm nonsolid
  84.     qer_editorimage textures/models/flags/nazibanner.tga
  85.     //surfaceparm alphashadow
  86.     cull none
  87.     //deformvertexes flap t 1 sin 1 1 50 .08 0 2
  88.     deformvertexes flap t 1 sin 0 1 0.75 .36 0 6
  89.     {
  90.         map textures/models/flags/nazibanner.tga
  91.         //depthWrite
  92.         //alphaFunc GE128
  93.         rgbgen static
  94.         }
  95. }
  96. static_nazibanner2
  97. {
  98.     //qer_keyword special
  99.     //surfaceparm nonsolid
  100.     qer_editorimage textures/models/flags/nazibanner2.tga
  101.     //surfaceparm alphashadow
  102.     cull none
  103.     //deformvertexes flap t 1 sin 1 1 50 .08 0 2
  104.     deformvertexes flap t 1 sin 0 1 0 .10 0 2
  105.     {
  106.         map textures/models/flags/nazibanner2.tga
  107.         //depthWrite
  108.         //alphaFunc GE128
  109.         rgbgen static
  110.         }
  111. }
  112.  
  113. static_kriegsflag
  114. {
  115.     //qer_keyword special
  116.     //surfaceparm nonsolid
  117.     qer_editorimage textures/models/flags/kriegsmarine.tga
  118.     //surfaceparm alphashadow
  119.     cull none
  120.     deformVertexes flap s 128 sin .5 6 1   -1 0 2
  121.     deformVertexes flap s 64 sin   1 3 0.5 -1 0 1.5
  122.     {
  123.         map textures/models/flags/kriegsmarine.tga
  124.         //depthWrite
  125.         //alphaFunc GE128
  126.         rgbgen static
  127.         }
  128. }
  129.  
  130. cranebanner
  131. {
  132.     //qer_keyword special
  133.     //surfaceparm nonsolid
  134.     qer_editorimage textures/models/flags/naziflag1.tga
  135.     //surfaceparm alphashadow
  136.     cull none
  137.     deformvertexes flap t 1 sin 0 .5 0 .20 0 1
  138.     {
  139.         map textures/models/flags/naziflag1.tga
  140.         rgbgen lightingSpherical
  141.       }
  142. }
  143.  
  144. static_naziflag2
  145. {
  146.     //qer_keyword special
  147.     //surfaceparm nonsolid
  148.     qer_editorimage textures/models/flags/naziflag2.tga
  149.     //surfaceparm alphashadow
  150.     cull none
  151.     deformVertexes flap s 128 sin .5 6 1   -1 0 2
  152.     deformVertexes flap s 64 sin   1 3 0.5 -1 0 1.5
  153.     {
  154.         map textures/models/flags/naziflag2.tga
  155.         //depthWrite
  156.         //alphaFunc GE128
  157.         rgbgen static
  158.         }
  159. }
  160.