Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 |
// Zombie Monster for KF Invasion gametype class ZombieClotBase extends KFMonster abstract; #exec OBJ LOAD FILE=PlayerSounds.uax #exec OBJ LOAD FILE=KF_Freaks_Trip.ukx #exec OBJ LOAD FILE=KF_Specimens_Trip_T.utx var KFPawn DisabledPawn; // The pawn that has been disabled by this zombie's grapple var bool bGrappling; // This zombie is grappling someone var float GrappleEndTime; // When the current grapple should be over var() float GrappleDuration; // How long a grapple by this zombie should last var float ClotGrabMessageDelay; // Amount of time between a player saying "I've been grabbed" message replication { reliable if(bNetDirty && Role == ROLE_Authority) bGrappling; } function BreakGrapple() { if( DisabledPawn != none ) { DisabledPawn.bMovementDisabled = false; DisabledPawn = none; } } //------------------------------------------------------------------------------- // NOTE: All Code resides in the child class(this class was only created to // eliminate hitching caused by loading default properties during play) //------------------------------------------------------------------------------- defaultproperties { GrappleDuration=1.500000 ClotGrabMessageDelay=12.000000 MeleeAnims(0)="ClotGrapple" MeleeAnims(1)="ClotGrappleTwo" MeleeAnims(2)="ClotGrappleThree" bCannibal=True MeleeDamage=6 damageForce=5000 KFRagdollName="Clot_Trip" CrispUpThreshhold=9 PuntAnim="ClotPunt" AdditionalWalkAnims(0)="ClotWalk2" Intelligence=BRAINS_Mammal bUseExtendedCollision=True ColOffset=(Z=48.000000) ColRadius=25.000000 ColHeight=5.000000 ExtCollAttachBoneName="Collision_Attach" SeveredArmAttachScale=0.800000 SeveredLegAttachScale=0.800000 SeveredHeadAttachScale=0.800000 OnlineHeadshotOffset=(X=20.000000,Z=37.000000) OnlineHeadshotScale=1.300000 MotionDetectorThreat=0.340000 ScoringValue=7 MeleeRange=20.000000 GroundSpeed=105.000000 WaterSpeed=105.000000 JumpZ=340.000000 HealthMax=130.000000 Health=130 MenuName="Clot" MovementAnims(0)="ClotWalk" WalkAnims(0)="ClotWalk" WalkAnims(1)="ClotWalk" WalkAnims(2)="ClotWalk" WalkAnims(3)="ClotWalk" DrawScale=1.100000 PrePivot=(Z=5.000000) RotationRate=(Yaw=45000,Roll=0) } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |