SFCharacter.SFMonsterMiteProjectile

00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
//=============================================================================
// Spatial Fear
// Class: SFMonsterMiteProjectile
// Descripton: Projectile class, emitted by the monster mite in  ranged attack mode.
//				Should mimic an  acid spit.
//
// Author: Markus Nuebel
//=============================================================================
class SFMonsterMiteProjectile extends SFMiteProjectile;

#exec OBJ LOAD FILE=SPF-Content.uax  PACKAGE=SPF-Content GROUP=Creatures


auto state Flying
{
	
	simulated function Explode(vector HitLocation, vector HitNormal)
	{
		local GreenSmokePuff s;
		PlaySound(ImpactSound);
		MakeNoise(1.0);
		HurtRadius(15, 80, 'Spiced', 10000, HitLocation);
		s = spawn(class'GreenSmokePuff',,,HitLocation+HitNormal*5,rotator(HitNormal*2+VRand()));
		s.RemoteRole = ROLE_None;
		destroy();
	}
}

defaultproperties
{
     speed=850.000000
     MaxSpeed=850.000000
     Damage=30.000000
     MomentumTransfer=400000
     SpawnSound=Sound'UnrealShare.Nali.thumpn'
     ImpactSound=Sound'UnrealShare.Razorfish.tear1fs'
     DrawScale=2.500000
}

class file time: 12/7/2003 3:58:26 PM - creation time: 12/7/2003 4:03:45 PM
Created with UnCodeX