UE2:LicenseePawn (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (talk | contribs) (Auto-generated page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
U2XMP Object >> Actor >> Pawn >> LicenseePawn
Package:
Engine
Direct subclass:
U2Pawn

NEW: licensee extensions support LicenseePawn.uc

Constants

AF_None

Value: 0x00


AF_Alert

Value: 0x01


AF_Hurt

Value: 0x02


Properties

Property group 'Pawn'

AnimateHurtRatio

Type: float


Default value: 0.35

CosMinMoveBackAngle

Type: float

cos angle between X-axis of rotation and velocity below which back animations used

Default value: 0.8

CosMinMoveForwardAngle

Type: float

cos angle between X-axis of rotation and velocity below which forward animations used

Default value: 0.8

MantleDebugLevel

Type: int

Modifiers: globalconfig

debugging control (set to 0: none, 1: show traces, 2: add begin/end 3: add other log info)

MantleHandsForwardReachMax

Type: float

Modifiers: globalconfig

max horizontal reach of hands in front of CC

Default value: 24.0

MantleHandsForwardReachMin

Type: float

Modifiers: globalconfig

min horizontal reach of hands in front of CC

Default value: 8.0

MantleHandsUpwardReach

Type: float

Modifiers: globalconfig

vertical reach of hands above CC

Default value: 16.0

MantleMaxStandingMantleHeight

Type: float

Modifiers: globalconfig

max height which can be mantled while standing

Default value: 125.0

MantleMinHitNormalDeltaZ

Type: float

Modifiers: globalconfig

abort mantle if ledge normal Z component is less than this (.707 ~= 45 degrees)

Default value: 0.707

MantleSpeed

Type: float

Modifiers: globalconfig

speed at which pawn mantles up (replaces AirSpeed during mantling)

Default value: 300.0

ProneAlignMeshTraceOffset1

Type: Object.Vector


Default value:

Member Value
X 20.0
Y -20.0
Z -12.0

ProneAlignMeshTraceOffset2

Type: Object.Vector


Default value:

Member Value
X 20.0
Y 20.0
Z -12.0

ProneAlignMeshTraceOffset3

Type: Object.Vector


Default value:

Member Value
X -5.0
Z -12.0

ProneMeshAlignTraceLenFudgeFactor

Type: float


Default value: 64.0

Internal variables

bLargeAnims

Type: bool


bMantling

Type: bool


bSpecialHardLandings

Type: bool

NPC does special animations on hard landings

CrouchingPct

Type: float


Default value: 0.3

LandCompressVelocityCrouching

Type: float

Modifiers: private


Default value: -800.0

LandCompressVelocityProne

Type: float

Modifiers: private


Default value: -600.0

LandCompressVelocityStanding

Type: float

Modifiers: private


Default value: -1200.0

LandDamageVelocityCrouching

Type: float

Modifiers: private


Default value: -900.0

LandDamageVelocityProne

Type: float

Modifiers: private


Default value: -700.0

LandDamageVelocityStanding

Type: float

Modifiers: private


Default value: -1300.0

LandFatalVelocityCrouching

Type: float

Modifiers: private


Default value: -2000.0

LandFatalVelocityProne

Type: float

Modifiers: private


Default value: -1500.0

LandFatalVelocityStanding

Type: float

Modifiers: private


Default value: -3000.0

LandMakeNoiseVelocityCrouching

Type: float

Modifiers: private


Default value: -700.0

LandMakeNoiseVelocityProne

Type: float

Modifiers: private


Default value: -500.0

LandMakeNoiseVelocityStanding

Type: float

Modifiers: private


Default value: -700.0

LController

Type: LicenseeController


MantleDestination

Type: Object.Vector

set when mantling begins to approx mantle destination for Pawn

MantleHeight

Type: float

set to height of ledge relative to player when mantling begins (for syncing animation)

NextCheckMantleTime

Type: float

Modifiers: protected

can be set to LevelTime + X to prevent re-mantling for a while

PronePct

Type: float


Default value: 0.2

RunningSlowPct

Type: float


Default value: 0.7

WalkingSlowPct

Type: float


Default value: 0.3

Default values

Property Value
AccelRate 8192.0
AirSpeed 280.0
bActorShadows True
BaseEyeHeight 46.0
bCanStrafe True
Buoyancy 99.0
CollisionHeight 54.0
CollisionRadius 28.0
CrouchHeight 32.0
CrouchRadius 28.0
GroundSpeed 263.0
JumpZ 470.0
LadderSpeed 140.0
RotationRate
Member Value
Pitch 3072
Roll 2048
Yaw 65000
UnderWaterTime 20.0
WalkingPct 0.3
WaterSpeed 140.0

Enums

EMoveDir

MD_None
MD_Back
MD_Forward
MD_Left
MD_Right

EWeaponAnimationType

AT_None
not set
AT_NoWeapon
no weapon
AT_Small
small weapon/object
AT_SmallSwing
1-handed swinging weapon/object
AT_Large
large weapon/object
AT_LargeSwing
2-handed swinging weapon/object (!!cdh-tbr?)
AT_Shoulder
shoulder-held weapon/object
AT_Flamethrower
flamethrower type weapon/object
AT_Gauntlet
gauntlet (glove) type weapon/object (!!cdh-tbr?)
AT_Last
last

Functions

Events

LandedEx

event LandedEx (Actor.CheckResult Hit)

Overrides: Pawn.LandedEx


NotifyStanceChange

event NotifyStanceChange (byte NewStance, float HeightAdjust)

Overrides: Pawn.NotifyStanceChange


PreBeginPlay

event PreBeginPlay ()

Overrides: Pawn.PreBeginPlay


Other instance functions

See LicenseePawn instance functions.