home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / tankexp_stone.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  2.2 KB  |  120 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.     client
  12.     {
  13.         cache BridgeCharge.spr
  14.         cache concreteDebris_01.spr
  15.         cache puffyStuff_light.spr
  16.  
  17.         sfx sound arty_exp_sand
  18.  
  19.     //fire burst    
  20.         sfx originspawn
  21.         (
  22.             model BridgeCharge.spr
  23.             count 13
  24.             scale .2
  25.             life 0.35
  26.             scalerate 9
  27.             randvel crandom 40 crandom 45 range 40 50
  28.             accel 0 0 -50
  29.             angles 0 0 range -90 1800
  30.             avelocity 0 0 crandom 90
  31.             scalemin 0.1
  32.             scalemax 0.15
  33.             fade
  34.         )
  35.  
  36.     //trailing material            
  37.         sfx originspawn
  38.         (
  39.             count 17
  40.             model models/fx/fx_smokeTrail_concrete.tik
  41.             randvel crandom 300 crandom 300 range 250 350
  42.             friction 3
  43.             accel 0 0 -150
  44.             scalerate -1
  45.         )
  46.         
  47.     //center trailing material            
  48.         sfx originspawn
  49.         (
  50.             count 3
  51.             model models/fx/fx_smokeTrail_concrete_big.tik
  52.             randvel crandom 100 crandom 100 range 655 700
  53.             friction 3
  54.             accel 0 0 -150
  55.             scalerate -1
  56.         )
  57.  
  58.     //In your face stuff
  59.         sfx originspawn
  60.         (
  61.             model thrownStone2.spr
  62.             count 40
  63.             life 2
  64.             randvel crandom 700 crandom 700 range 200 300
  65.             accel 0 0 -1450
  66.             friction 1.5
  67.             angles 0 0 crandom 180
  68.             avelocity 0 0 crandom 200
  69.             scalemin 0.02
  70.             scalemax 0.1
  71.         )
  72.  
  73.     //A Column of smoke... center (middle)
  74.         sfx originspawn
  75.         (
  76.             count 12
  77.             model puffyStuff_light.spr
  78.             alpha .25
  79.             offset crandom 8 crandom 8 range -50 100
  80.             angles crandom 45 crandom 45 crandom 180
  81.             randvel crandom 50 crandom 50 range 100 200
  82.             clampvel -50 50 -50 50 -300 99999
  83.             avelocity 0 0 crandom 90
  84.             accel 0 0 -200
  85.             friction 3
  86.             life 2 .5
  87.             scalemin .15
  88.             scalemax .38
  89.             scalerate 3
  90.             fade
  91.         )
  92.  
  93.     // Extra cloudy material if the player is near the blast            
  94.         delayedsfx 0.5 originspawn
  95.         (
  96.             spawnrange 30
  97.             spawnrate 0
  98.             model puffyStuff_light.spr
  99.             color .18 .13 .1
  100.             alpha 0.65
  101.             life 4
  102.             fadein 1
  103.             scalerate 2
  104.             randvel crandom 100 crandom 100 random 100
  105.             accel 0 0 -50
  106.             offset 0 0 150
  107.             avelocity range -360 360 range -360 360 range -360 360
  108.             scalemin 1
  109.             scalemax 1.5
  110.             fadedelay 1
  111.         )
  112.     }
  113. }
  114.  
  115. // This section is just needed to be a valid tiki file
  116. animations
  117. {
  118.     idle dummy2.skc 
  119. }
  120.