home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / bh_carpet_lite.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.3 KB  |  75 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 1.0
  5.     path models/fx/dummy
  6.     skelmodel dummy2.skd
  7. }
  8.  
  9. init
  10. {
  11.     server
  12.     {
  13.     }
  14.     client
  15.     {
  16.         //cache some stuff used in this effect
  17.         cache bhole_carpet.spr // cache the bullet hole shader
  18.         
  19.         cache models/fx/bh_wood_piece.tik
  20.         cache models/fx/bh_wood_puff.tik
  21.  
  22.         // concentrated puff of wood debris
  23.         sfx originspawn
  24.         (
  25.             model models/fx/bh_wood_puff.tik
  26.             spawnrange 1536
  27.             alpha 1.0
  28.             count 1
  29.             life 0.35
  30.             scale 4
  31.         )
  32.  
  33.         // wood chunks
  34.         sfx originspawn
  35.         (
  36.             model models/fx/bh_wood_piece.tik
  37.             spawnrange 1536
  38.             alpha 1.0
  39.             count 2
  40.             angles random 360 random 360 0
  41.             avelocity crandom 180 crandom 180 0
  42.             velocity 50
  43.             randvelaxis random 125 crandom 60 crandom 60
  44.             accel 0 0 -800
  45.             life 0.6 0.7
  46.             scalemin 0.6
  47.             scalemax 1.4
  48.             fadedelay 0.5
  49.         )
  50.  
  51.         // slightly delayed, wood chunks
  52.         delayedsfx 0.1 originspawn
  53.         (
  54.             model models/fx/bh_wood_piece.tik
  55.             spawnrange 1536
  56.             alpha 1.0
  57.             count 1
  58.             angles random 360 random 360 0
  59.             avelocity crandom 180 crandom 180 0
  60.             velocity 50
  61.             randvelaxis random 125 crandom 60 crandom 60
  62.             accel 0 0 -800
  63.             life 0.6 0.7
  64.             scalemin 0.6
  65.             scalemax 1.4
  66.             fadedelay 0.5
  67.         )
  68.     }
  69. }
  70.  
  71. // This section is just needed to be a valid tiki file
  72. animations
  73. {
  74.     idle dummy2.skc
  75. }