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

  1. TIKI
  2. setup
  3. {
  4.     scale 1.0    // Needs to be unnaturally large so it is visible
  5.     lod_scale 30
  6.     path models/ammo/bazooka_shell
  7.     skelmodel projectile_bazooka.skd
  8.     surface bazookashell shader bazookashell
  9. }
  10.  
  11.  
  12. init
  13. {
  14.     server
  15.     {
  16.         classname            Projectile
  17.         anim idle
  18.         setsize                "-1 -1 -1" "1 1 1"
  19.         speed                2000 // full realistic speed is 2800 (175ft/sec)
  20.         addownervelocity    0
  21.         hitdamage            200
  22.         life                20.0
  23.         health                50
  24.         takedamage
  25.         meansofdeath        rocket
  26.         explosionmodel        models/fx/bazookaexplosion.tik
  27.         explodeontouch
  28.         smashthroughglass 64
  29.         knockback            300
  30.         dlight 0.4 0.2 0.1 256 // red green blue radius
  31.  
  32.         commanddelay 0.2 drunk 0.12 0.12
  33.  
  34.         cache blastmark.spr
  35.         cache models/fx/bazookaexplosion.tik
  36.     }
  37.     client
  38.     {
  39.         originemitter bazookatrail
  40.         (
  41.                 model vsssource.spr
  42.                 velocity 150
  43.                 friction 0.85
  44.                 randvel crandom 10 crandom 10 crandom 10
  45.                 accel 0 0 20
  46.                 spawnrate 50
  47.                 color .4 .4 .4
  48.                 spritegridlighting
  49.                 alpha 0.4
  50.                 fadein 0.1
  51.                 fadedelay 1.0
  52.                 scalemin 0.8
  53.                 scalemax 1.0
  54.                 scalerate 0.5
  55.                 life 2.0 2.5
  56.         )
  57.     }
  58. }
  59.  
  60. animations
  61. {
  62.     idle projectile_bazooka.skc
  63.     {
  64.         client
  65.         {
  66.             entry loopsound bazooka_fly
  67.             exit stoploopsound bazooka_fly
  68.         }
  69.     }
  70. }
  71.