home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / fs_dirt.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.1 KB  |  66 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_dirt.spr // cache the bullet hole shader
  18.         cache bh_dirt_piece.spr
  19.  
  20.         // chunky chunks of chunky stuff
  21.         sfx originspawn
  22.         (
  23.             model bh_dirt_piece.spr
  24.             spawnrange 1536
  25.             spritegridlighting
  26.             alpha 0.75
  27.             angles 0 0 random 360
  28.             offsetalongaxis random 4 crandom 3 crandom 3
  29.             count 4
  30.             velocity 30
  31.             randvelaxis random 125 crandom 24 crandom 24
  32.             accel 0 0 -800
  33.             life 0.6 0.7
  34.             scalemin 0.2
  35.             scalemax 0.3
  36.             fadedelay 0.5
  37. //            collision
  38. //            dietouch
  39. //            bouncefactor 0.1
  40.         )
  41.  
  42.         sfx originspawn
  43.         (
  44.             model dustdrop.spr
  45.             angles 0 0 crandom 180
  46.             avelocity 0 0 crandom 180
  47.             count 10
  48.             scalemin 0.1
  49.             scalemax 0.2
  50.             cone 4 3
  51.             radialvelocity 24 8 0
  52.             friction .5
  53.             accel 0 0 -300
  54. //            color .4 .375 .3125
  55.             color .7 .7 .7
  56.             fade
  57.             life 1
  58.         )
  59.     }
  60. }
  61.  
  62. // This section is just needed to be a valid tiki file
  63. animations
  64. {
  65.     idle dummy2.skc 
  66. }