home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / bh_paper_lite.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.5 KB  |  65 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 some stuff used in this effect
  14.         cache bhole_paper.spr // cache the bullet hole shader
  15.         
  16. //        cache bh_stone_piece.spr
  17. //        cache models/fx/bh_stone_puff.tik
  18.  
  19.         // puffy puff
  20. //        sfx originspawn
  21. //        (
  22. //            model models/fx/bh_stone_puff.tik
  23. //            alpha 1.0
  24. //            count 1
  25. //            life 0.35
  26. //            scale 5
  27. //        )
  28.  
  29.         // first bit of lingering smoke
  30. //        sfx originspawn
  31. //        (
  32. //            volumetric
  33. //            model bulletimpact    // sets the type of smoke
  34. //            life 10        // amount of smoke
  35. //            scale 1.5    // radius
  36. //            alpha 0.3    // density
  37. //            color 0.7 0.7 0.7    // RBG color of the smoke
  38. //            velocity 10    // base velocity away from the surface
  39. //            randvelaxis random 4 0 0    // velocity offset
  40. //            offsetalongaxis 4 crandom 4 crandom 4    // positional offset
  41. ////            collision // turn on collision detection
  42. //        )
  43. //        
  44. //        // second bit of lingering smoke
  45. ////        delayedsfx 0.15 originspawn
  46. ////        (
  47. ////            volumetric
  48. ////            model bulletimpact    // sets the type of smoke
  49. ////            life 10        // amount of smoke
  50. ////            scale 1.0    // radius
  51. ////            alpha 0.3    // density
  52. ////            color 0.7 0.7 0.7    // RBG color of the smoke
  53. ////            velocity 8    // base velocity away from the surface
  54. ////            randvelaxis random 4 0 0    // velocity offset
  55. ////            offsetalongaxis 4 crandom 2 crandom 2    // positional offset
  56. ////            collision // turn on collision detection
  57. ////        )
  58.     }
  59. }
  60.  
  61. // This section is just needed to be a valid tiki file
  62. animations
  63. {
  64.     idle dummy2.skc 
  65. }