Mostly Harmless

UE2:SkaarjController (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Contents

Package: 
U2Pawns
Direct subclass:
SkaarjHeavyController

SkaarjController.uc Created By: Mike Fox Created On: 8/01/00 $Author: Mfox $ $Date: 12/14/02 10:53p $ $Revision: 40 $

Constants[edit]

DefensiveModeTimerName[edit]

Value: 'DefensiveModeTimer'


DefendingSpecialParamName[edit]

Value: 'defending'


DefendLeftNotify[edit]

Value: 'defendleft'


DefendRightNotify[edit]

Value: 'defendright'


Properties[edit]

Property group 'SkaarjController'[edit]

bCanDefend[edit]

Type: bool


Default value: True

CosMinDefensiveModeAngle[edit]

Type: float


DefensiveEffect[edit]

Type: ParticleGenerator


Default value: ParticleSalamander'Impact_Metal_AR.ParticleSalamander0'

DefensiveRicochetSounds[edit]

Type: array<string>


Default value, index 0: "U2WeaponsA.BulletImpacts.RicMetal01"

Default value, index 1: "U2WeaponsA.BulletImpacts.RicMetal09"

Default value, index 2: "U2WeaponsA.BulletImpacts.RicMetal13"

DefensiveSounds[edit]

Type: array<string>


Default value, index 0: "U2WeaponsA.BulletImpacts.BulletMetal01"

Default value, index 1: "U2WeaponsA.BulletImpacts.BulletMetal02"

Default value, index 2: "U2WeaponsA.BulletImpacts.BulletMetal04"

Default value, index 3: "U2WeaponsA.BulletImpacts.RicMetal01"

Default value, index 4: "U2WeaponsA.BulletImpacts.RicMetal09"

MinDefensiveModeDuration[edit]

Type: float


Default value: 0.25

PreSpawnEffect[edit]

Type: ParticleGenerator


Default value: ParticleSalamander'skaarj_fx.ParticleSalamander8'

Internal variables[edit]

bDefensiveMode[edit]

Type: bool


LastDefensiveHitTime[edit]

Type: float


LastTauntTime[edit]

Type: float


Default values[edit]

Property Value
CosMinFacingTargetAngle 0.0

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: U2NPCControllerBasic.Destroyed


Other instance functions[edit]

CanDefend[edit]

function bool CanDefend ()


CanDoRagdollHit[edit]

function bool CanDoRagdollHit ()

Overrides: U2NPCController.CanDoRagdollHit


CanFire[edit]

function bool CanFire (bool bTest)

Overrides: U2NPCControllerBasic.CanFire


DefensiveModeBegin[edit]

function DefensiveModeBegin ()


DefensiveModeDamage[edit]

function bool DefensiveModeDamage (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


DefensiveModeEnd[edit]

function DefensiveModeEnd (bool bCanTaunt)


DefensiveModeTimer[edit]

function DefensiveModeTimer ()


eventTakeDamage[edit]

function eventTakeDamage (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: U2NPCControllerBasic.eventTakeDamage


GetGloveLocation[edit]

function Object.Vector GetGloveLocation (bool bLeft)


GetMoveSpeed[edit]

function float GetMoveSpeed (optional Object.Vector TargetLocation)

Overrides: U2NPCControllerShared.GetMoveSpeed


GetTacticalMoveType[edit]

function Actor.ETacticalMoveType GetTacticalMoveType ()

Overrides: U2NPCControllerBase.GetTacticalMoveType


HandleDeflection[edit]

function HandleDeflection (bool bLeft)


HandleRandomSoundTimer[edit]

function HandleRandomSoundTimer ()

Overrides: U2NPCControllerBase.HandleRandomSoundTimer


ReflectNotify[edit]

function ReflectNotify (name NotifyName)

Overrides: U2NPCController.ReflectNotify


ShotFiredNotification[edit]

function ShotFiredNotification (Pawn Shooter, Object.Vector FireDir, class<ProjectileProjectileClass, float ProjSpeed)

Overrides: U2NPCControllerShared.ShotFiredNotification


TauntTimer[edit]

function TauntTimer ()


States[edit]

@AttackLeapState[edit]

Inherits from: U2NPCControllerBasic.@AttackLeapState

Ignores: EnemyInLeapRange, EnemyInMeleeRange, HearNoise, SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther

@AttackLeapState.BeginState[edit]

event BeginState ()

Overrides: U2NPCControllerBasic.@AttackLeapState.BeginState


@AttackLeapState.CanDefend[edit]

function bool CanDefend ()

Overrides: CanDefend (global)


@AttackLeapState.FinishedLeap[edit]

function FinishedLeap ()

Overrides: U2NPCControllerBasic.@AttackLeapState.FinishedLeap


@AttackMeleeState[edit]

Inherits from: U2NPCControllerBasic.@AttackMeleeState

Ignores: EnemyInLeapRange, EnemyInMeleeRange, HearNoise, NotifyBump, SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther

@AttackMeleeState.CanDefend[edit]

function bool CanDefend ()

Overrides: CanDefend (global)


@DodgingState[edit]

Inherits from: U2NPCControllerBasic.@DodgingState

Ignores: BeginFalling, DamageAttitudeTo, EnemyInLeapRange, EnemyInMeleeRange, EnemyNotVisible, HearNoise, NotifyBump, NotifyHitWall, NotifyLanded, SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther

@DodgingState.CanDefend[edit]

function bool CanDefend ()

Overrides: CanDefend (global)


@FindAirState[edit]

Inherits from: U2NPCControllerBasic.@FindAirState

Ignores: HearNoise, NotifyBump, SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther

@FindAirState.CanDefend[edit]

function bool CanDefend ()

Overrides: CanDefend (global)


@HandleInvalidLandingState[edit]

Inherits from: U2NPCControllerBasic.@HandleInvalidLandingState

Ignores: BeginFalling, DamageAttitudeTo, EnemyInLeapRange, EnemyInMeleeRange, EnemyNotVisible, HearNoise, NotifyBump, NotifyHeadVolumeChange, NotifyHitWall, NotifyLanded, NotifyPhysicsVolumeChange, SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther, ShotFiredNotification

@HandleInvalidLandingState.CanDefend[edit]

function bool CanDefend ()

Overrides: CanDefend (global)


@ImpalingState[edit]

Inherits from: U2NPCControllerBasic.@ImpalingState

Ignores: BeginFalling, DamageAttitudeTo, EnemyInMeleeRange, EnemyNotVisible, HearNoise, NotifyBump, NotifyHitWall, NotifyLanded, SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther

@ImpalingState.CanDefend[edit]

function bool CanDefend ()

Overrides: CanDefend (global)


@KnockDownState[edit]

Inherits from: U2NPCControllerBasic.@KnockDownState

Ignores: BeginFalling, DamageAttitudeTo, EnemyInLeapRange, EnemyInMeleeRange, EnemyNotVisible, HearNoise, NotifyBump, NotifyHitWall, NotifyLanded, SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther

@KnockdownState.CanDefend[edit]

function bool CanDefend ()

Overrides: CanDefend (global)


@LandedHardState[edit]

Inherits from: U2NPCControllerBase.@LandedHardState

Ignores: BeginFalling, EnemyNotVisible, HearNoise, NotifyBump, NotifyHeadVolumeChange, NotifyHitWall, NotifyLanded, NotifyPhysicsVolumeChange, SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther, ShotFiredNotification

@LandedHardState.CanDefend[edit]

function bool CanDefend ()

Overrides: CanDefend (global)


@WanderingPanicState[edit]

Inherits from: U2NPCControllerBasic.@WanderingPanicState

Ignores: BeginFalling, EnemyInLeapRange, EnemyInMeleeRange, EnemyNotVisible, HearNoise, NotifyBump, NotifyHitWall, NotifyLanded, @WanderingState.SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther

@WanderingPanicState.CanDefend[edit]

function bool CanDefend ()

Overrides: CanDefend (global)


@WanderingState[edit]

Inherits from: U2NPCControllerBasic.@WanderingState

Ignores: EnemyNotVisible

@WanderingState.BeginState[edit]

event BeginState ()

Overrides: U2NPCControllerBase.@WanderingState.BeginState


@WanderingState.EndState[edit]

event EndState ()

Overrides: U2NPCControllerBase.@WanderingState.EndState