# SFCharacter.SFBabyMite

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 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 |
    //=============================================================================
    // Spatial Fear
    // Class: SFBabyMite
    // Description:  The baby version of the SFMite. Smaller and weaker.
    //
    // Created by: Markus Nuebel
    //=============================================================================
    class SFBabyMite expands SFMite;

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

    //#exec AUDIO IMPORT FILE="Sounds\Mite\BabyMiteAquisition.wav"	NAME=Aquisition PACKAGE=SFCharacter GROUP=BabyMite
    //#exec AUDIO IMPORT FILE="Sounds\Mite\BabyMiteFear.wav"			NAME=Fear PACKAGE=SFCharacter GROUP=BabyMite
    //#exec AUDIO IMPORT FILE="Sounds\Mite\BabyMiteRoaming.wav"		NAME=Roam PACKAGE=SFCharacter GROUP=BabyMite
    //#exec AUDIO IMPORT FILE="Sounds\Mite\BabyMiteRoar.wav"			NAME=Roar PACKAGE=SFCharacter GROUP=BabyMite
    //#exec AUDIO IMPORT FILE="Sounds\Mite\BabyMiteSpit.wav"			NAME=Spit PACKAGE=SFCharacter GROUP=BabyMite

    // Overwritten to increase the momentum, mite is a light enemy
    function TakeDamage( int Damage, Pawn instigatedBy, Vector hitlocation,
    						Vector momentum, name damageType)
    {
    	// Call to base class
    	Super.TakeDamage(Damage, instigatedBy, hitlocation, momentum*1.2, damageType);
    }

    defaultproperties
    {
         fMeleeDamage=3.000000
         fStunnedTime=7.000000
         TimeBetweenAttacks=2.000000
         Aggressiveness=0.800000
         RefireRate=0.300000
         RangedProjectile=Class'SFCharacter.SFBabyMiteProjectile'
         Acquire=Sound'SPF-Content.Creatures.BabyMiteAquisition'
         Fear=Sound'SPF-Content.Creatures.BabyMiteFear'
         Threaten=Sound'SPF-Content.Creatures.BabyMiteRoar'
         MeleeRange=30.000000
         GroundSpeed=140.000000
         WaterSpeed=50.000000
         AirSpeed=100.000000
         AccelRate=100.000000
         JumpZ=220.000000
         SightRadius=800.000000
         Health=21
         Intelligence=BRAINS_REPTILE
         CombatStyle=0.500000
         DrawScale=0.500000
         MultiSkins(1)=None
         CollisionRadius=11.000000
         CollisionHeight=7.000000
         Mass=40.000000
         RotationRate=(Pitch=2072,Yaw=55000)
    }

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