Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

U2Pawns.U2AraknidLight


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
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
//=============================================================================
// U2AraknidLight.uc
//=============================================================================

class U2AraknidLight extends U2AraknidBase;

//-----------------------------------------------------------------------------

event PreBeginPlay()
{
	Super.PreBeginPlay();
	AmbientSound = None; // turned on/off through notify
}

//-----------------------------------------------------------------------------

event Destroyed()
{
	AmbientSound = None;
	RemoveAllTimers();	
	Super.Destroyed();
}

//-----------------------------------------------------------------------------

function Died( Controller Killer, class<DamageType> DamageType, vector HitLocation, vector Momentum )
{
	Super.Died( Killer, DamageType, HitLocation, Momentum );
	AmbientSound = None;
}

//-----------------------------------------------------------------------------

function PlayMovementSound(); // uses ambient sound

//-----------------------------------------------------------------------------

function WentDormant( bool bVal )
{
	if( bVal )
		AmbientSound = None;
	else
		AmbientSound = default.AmbientSound;
}

//-----------------------------------------------------------------------------

defaultproperties
{
     AttackActiveBehaviors(0)=(StateName=AttackClose,TimeMin=1.000000,TimeMax=5.000000)
     AttackActiveBehaviors(1)=(StateName=AttackStationary,TimeMin=0.250000,TimeMax=0.500000)
     AttackActiveCantReachBehaviors(0)=(StateName=AttackStationary,Odds=1.000000,TimeMin=3.000000,TimeMax=3.000000)
     AttackActiveCantReachBehaviors(1)=(StateName=AttackTacticalMove,StateLabel=DontClose,Odds=1.000000,TimeMin=2.000000,TimeMax=2.000000)
     AttackActiveEnemyNotVisibleBehaviors(0)=(StateName=AttackHunt,Odds=1.000000,TimeMin=20.000000,TimeMax=20.000000)
     AttackActiveMeleeBehaviors(0)=(StateName=AttackMelee,TimeMin=3.000000,TimeMax=3.000000)
     AttackPassiveBehaviors(0)=(StateName=AttackMoveToCoverCombat,Odds=0.400000,TimeMin=7.000000,TimeMax=7.000000)
     AttackPassiveBehaviors(1)=(StateName=AttackStationary,Odds=0.060000,TimeMin=1.000000,TimeMax=3.000000)
     AttackPassiveBehaviors(2)=(StateName=AttackFallback,Odds=0.240000,TimeMin=2.500000,TimeMax=7.000000)
     AttackPassiveCantReachBehaviors(0)=(StateName=AttackStationary,Odds=0.500000,TimeMin=1.000000)
     AttackPassiveCantReachBehaviors(1)=(StateName=AttackFallback,Odds=1.000000,TimeMin=2.000000,TimeMax=7.000000)
     AttackPassiveEnemyNotVisibleBehaviors(0)=(StateName=AttackFallback,Odds=1.000000,TimeMin=20.000000,TimeMax=20.000000)
     AttackPassiveUseCoverBehaviors(0)=(StateName=AttackStakeOutCover,TimeMin=2.000000,TimeMax=5.000000)
     AttackPassiveUseCoverBehaviors(1)=(StateName=AttackRecoverEnemy,TimeMin=2.000000,TimeMax=4.000000)
     AttackPassiveUseCoverBehaviors(2)=(StateName=AttackStationary,TimeMin=1.000000,TimeMax=4.000000)
     AttackPassiveUseCoverBehaviors(3)=(StateName=AttackFallback,TimeMin=10.000000,TimeMax=20.000000)
     AttackPassiveUseCoverBehaviors(4)=(StateName=AttackMoveToCoverCombat,TimeMin=7.000000,TimeMax=7.000000)
     AttackPassiveMeleeBehaviors(0)=(StateName=AttackMelee,TimeMin=1.000000,TimeMax=2.000000)
     AttackPassiveMeleeBehaviors(1)=(StateName=AttackFallback,TimeMin=2.000000,TimeMax=5.000000)
	bPredictChargeLocation=false
	Melee01MaxDamage=5
	Melee01MomentumPerUnitDamage=500
	WanderDistMax=256.000000
	WanderDistMin=128.000000
	WanderMaxZComponent=0.000000
	WanderPauseMin=0.500000
	WanderPauseMax=2.000000
	WanderSpeedMin=1.000000
	WanderSpeedMax=1.000000
	WanderViewBlockedTurnOdds=0.000000
	VoicePackage="U2AraknidLightA"
	WalkingAnims(0)=(WalkingAnimType=WAT_RunFast)
	WalkingAnims(1)=(MinSpeed=0.000000,WalkingAnimType=WAT_None)
	bCanKnockDown=false
	GibSetClass=Class'U2Pawns.GibSetAraknidLight'
	WalkingSlowPct=1.000000
	bCrawler=true
	MeleeOdds=1.000000
	MeleeRange=30.000000
	TacticalMoveType=TMT_Basic
	GroundSpeed=280.000000
	WalkingPct=1.000000
	Health=5
	bActorShadows=false
	AmbientSound=Sound'U2AraknidLightA.Move.MovementSkitterWalkLoud'
	Mesh=LegendMesh'GlmCharactersG.AraknidLight_Medium'
	SoundRadius=256.000000
	SoundVolume=128
	CollisionRadius=16.000000
	CollisionHeight=18.000000
     CanEncroachList(0)=Class'U2Pawns.U2AraknidMedium'
     CanEncroachList(1)=Class'U2Pawns.U2AraknidHeavy'
	Mass=9.000000
     UseReticleOnEvents(0)="UseReticleText"
     UseReticleOnEvents(1)="UseReticleCorners"
     UseReticleOnEvents(2)="UseReticleSideBars"
     ProximityReticleOnEvents(0)="ProximityReticleCorners"
     ProximityReticleOnEvents(1)="ProximityReticleSideBars"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: sk 3-1-2016 10:38:44.000 - Creation time: sk 3-1-2016 10:48:42.478 - Created with UnCodeX