There is no spoon

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

DefensiveModeTimerName

Value: 'DefensiveModeTimer'


DefendingSpecialParamName

Value: 'defending'


DefendLeftNotify

Value: 'defendleft'


DefendRightNotify

Value: 'defendright'


Properties

Property group 'SkaarjController'

bCanDefend

Type: bool


Default value: True

CosMinDefensiveModeAngle

Type: float


DefensiveEffect

Type: ParticleGenerator


Default value: ParticleSalamander'Impact_Metal_AR.ParticleSalamander0'

DefensiveRicochetSounds

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

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

Type: float


Default value: 0.25

PreSpawnEffect

Type: ParticleGenerator


Default value: ParticleSalamander'skaarj_fx.ParticleSalamander8'

Internal variables

bDefensiveMode

Type: bool


LastDefensiveHitTime

Type: float


LastTauntTime

Type: float


Default values

Property Value
CosMinFacingTargetAngle 0.0

Functions

Events

Destroyed

event Destroyed ()

Overrides: U2NPCControllerBasic.Destroyed


Other instance functions

CanDefend

function bool CanDefend ()


CanDoRagdollHit

function bool CanDoRagdollHit ()

Overrides: U2NPCController.CanDoRagdollHit


CanFire

function bool CanFire (bool bTest)

Overrides: U2NPCControllerBasic.CanFire


DefensiveModeBegin

function DefensiveModeBegin ()


DefensiveModeDamage

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


DefensiveModeEnd

function DefensiveModeEnd (bool bCanTaunt)


DefensiveModeTimer

function DefensiveModeTimer ()


eventTakeDamage

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

Overrides: U2NPCControllerBasic.eventTakeDamage


GetGloveLocation

function Object.Vector GetGloveLocation (bool bLeft)


GetMoveSpeed

function float GetMoveSpeed (optional Object.Vector TargetLocation)

Overrides: U2NPCControllerShared.GetMoveSpeed


GetTacticalMoveType

function Actor.ETacticalMoveType GetTacticalMoveType ()

Overrides: U2NPCControllerBase.GetTacticalMoveType


HandleDeflection

function HandleDeflection (bool bLeft)


HandleRandomSoundTimer

function HandleRandomSoundTimer ()

Overrides: U2NPCControllerBase.HandleRandomSoundTimer


ReflectNotify

function ReflectNotify (name NotifyName)

Overrides: U2NPCController.ReflectNotify


ShotFiredNotification

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

Overrides: U2NPCControllerShared.ShotFiredNotification


TauntTimer

function TauntTimer ()


States

@AttackLeapState

Inherits from: U2NPCControllerBasic.@AttackLeapState

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

@AttackLeapState.BeginState

event BeginState ()

Overrides: U2NPCControllerBasic.@AttackLeapState.BeginState


@AttackLeapState.CanDefend

function bool CanDefend ()

Overrides: CanDefend (global)


@AttackLeapState.FinishedLeap

function FinishedLeap ()

Overrides: U2NPCControllerBasic.@AttackLeapState.FinishedLeap


@AttackMeleeState

Inherits from: U2NPCControllerBasic.@AttackMeleeState

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

@AttackMeleeState.CanDefend

function bool CanDefend ()

Overrides: CanDefend (global)


@DodgingState

Inherits from: U2NPCControllerBasic.@DodgingState

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

@DodgingState.CanDefend

function bool CanDefend ()

Overrides: CanDefend (global)


@FindAirState

Inherits from: U2NPCControllerBasic.@FindAirState

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

@FindAirState.CanDefend

function bool CanDefend ()

Overrides: CanDefend (global)


@HandleInvalidLandingState

Inherits from: U2NPCControllerBasic.@HandleInvalidLandingState

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

@HandleInvalidLandingState.CanDefend

function bool CanDefend ()

Overrides: CanDefend (global)


@ImpalingState

Inherits from: U2NPCControllerBasic.@ImpalingState

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

@ImpalingState.CanDefend

function bool CanDefend ()

Overrides: CanDefend (global)


@KnockDownState

Inherits from: U2NPCControllerBasic.@KnockDownState

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

@KnockdownState.CanDefend

function bool CanDefend ()

Overrides: CanDefend (global)


@LandedHardState

Inherits from: U2NPCControllerBase.@LandedHardState

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

@LandedHardState.CanDefend

function bool CanDefend ()

Overrides: CanDefend (global)


@WanderingPanicState

Inherits from: U2NPCControllerBasic.@WanderingPanicState

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

@WanderingPanicState.CanDefend

function bool CanDefend ()

Overrides: CanDefend (global)


@WanderingState

Inherits from: U2NPCControllerBasic.@WanderingState

Ignores: EnemyNotVisible

@WanderingState.BeginState

event BeginState ()

Overrides: U2NPCControllerBase.@WanderingState.BeginState


@WanderingState.EndState

event EndState ()

Overrides: U2NPCControllerBase.@WanderingState.EndState