home *** CD-ROM | disk | FTP | other *** search
- setup
- {
- scale 1.0 // Needs to be unnaturally large so it is visible
- lod_scale 30
- path models/projectiles/mills_grenade
- skelmodel mills_grenade_air.skd
- surface mills_grenade shader mills_grenade
- }
-
-
- init
- {
- server
- {
- classname Projectile
- anim idle
- setsize "-2 -2 -2" "2 2 2"
- life 4.0
- dmlife 3.0
- hitdamage 10
- health 50
- takedamage
- meansofdeath grenade
- minlife 0.25
- fuse 1
- // impactmarkshader blastmark
- // impactmarkradius 50
- // impactmarkorientation random
- explosionmodel models/fx/MillsGrenadeExplosion.tik
- bouncetouch
- bouncesound grenade_bounce_soft
- bouncesound_metal grenade_bounce_metal
- bouncesound_hard grenade_bounce_hard
- bouncesound_water grenade_bounce_water
- // notouchdamage
- smashthroughglass 64
- gravity 0.7
- avelocity random 90 random 90 60
-
- cache blastmark.spr
- cache models/fx/millsGrenadeExplosion.tik
- }
- }
-
- animations
- {
- idle mills_grenade_ping.skc
- {
- server
- {
- first ai_event grenade 384 // explosion radius is 256
- last anim idle // HACK! for some reason, server events don't get reposted after looping
- }
- }
- }
-