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

  1. setup
  2. {
  3.     scale 0.6    // Needs to be unnaturally large so it is visible
  4.     path models/projectiles/nebelhandgranate
  5.     skelmodel nebelhandgranate.skd
  6.     surface all shader germ_smoke_gren
  7. }
  8.  
  9. init
  10. {
  11.     server
  12.     {
  13.         classname Projectile
  14.         anim idle
  15.         setsize       "-2 -2 -2" "2 2 2"
  16.         speed         700
  17.         minspeed      300
  18.         life            4.0
  19.         dmlife            3.0
  20.         hitdamage     10
  21.         health        50
  22.         takedamage
  23.         meansofdeath        grenade
  24.  
  25.         explosionmodel models/fx/NebelhandgranateExplosion.tik
  26.         bouncetouch
  27.         bouncesound        smokegrenade_bounce_soft
  28.         bouncesound_metal    smokegrenade_bounce_metal
  29.         bouncesound_hard    smokegrenade_bounce_hard
  30.         bouncesound_water    smokegrenade_bounce_water
  31.         smashthroughglass 64
  32.         gravity 0.8
  33.         avelocity random 90 random 90 60
  34.     }
  35.  
  36.     client
  37.     {
  38.         originemitter smoke
  39.         (
  40.             spawnrate 30
  41.             model smokegrenade_german.spr
  42.             color 1 1 1
  43.             spritegridlighting
  44.             alpha .85
  45.             bouncefactor 0.8
  46.             life 2.25 3.5
  47.             scalerate .8
  48.             velocity 24
  49.             randvelaxis crandom 4 crandom 4 4
  50.             spin 0.133
  51.             angles 0 0 random 360
  52.             avelocity 0 0 crandom 20
  53.             scalemin 0.1
  54.             scalemax 0.25
  55.             fadedelay 2
  56.             fadein 0.25
  57.         )
  58.  
  59.         cache models/fx/NebelhandgranateExplosion.tik
  60.     }
  61. }
  62.  
  63. animations
  64. {
  65.     idle    nebelhandgranate.skc
  66.     {
  67.         client
  68.         {
  69.             entry loopsound smokegrenade_air_loop
  70.         }
  71.     }
  72.  
  73. }
  74.