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

  1. setup
  2. {
  3.     scale 1.0    // Needs to be unnaturally large so it is visible
  4.     lod_scale 30
  5.     path models/projectiles/mills_grenade
  6.     skelmodel mills_grenade_air.skd
  7.     surface mills_grenade shader mills_grenade
  8. }
  9.  
  10.  
  11. init
  12. {
  13.     server
  14.     {
  15.         classname Projectile
  16.         anim idle
  17.         setsize            "-2 -2 -2" "2 2 2"
  18.         life            4.0
  19.         dmlife            3.0
  20.         hitdamage        10
  21.         health            50
  22.         takedamage
  23.         meansofdeath        grenade
  24.         minlife            0.25
  25.         fuse            1
  26. //        impactmarkshader      blastmark
  27. //        impactmarkradius      50
  28. //        impactmarkorientation random
  29.         explosionmodel    models/fx/MillsGrenadeExplosion.tik
  30.         bouncetouch
  31.         bouncesound            grenade_bounce_soft
  32.         bouncesound_metal    grenade_bounce_metal
  33.         bouncesound_hard    grenade_bounce_hard
  34.         bouncesound_water    grenade_bounce_water
  35. //        notouchdamage
  36.         smashthroughglass 64
  37.         gravity            0.7
  38.         avelocity        random 90 random 90 60
  39.  
  40.         cache blastmark.spr
  41.         cache models/fx/millsGrenadeExplosion.tik
  42.     }
  43. }
  44.  
  45. animations
  46. {
  47.     idle    mills_grenade_ping.skc
  48.     {
  49.         server
  50.         {
  51.             first ai_event grenade 384    // explosion radius is 256
  52.             last anim idle            // HACK! for some reason, server events don't get reposted after looping
  53.         }
  54.     }
  55. }
  56.