UE2:U2Pawn internal variables (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
U2XMP Object >> Actor >> Pawn >> LicenseePawn >> U2Pawn (internal variables)
U2Pawn internal variables in other games:
Other member categories for this class:

Internal variables

AdditionalDamageFilters

Type: array<U2Inventory>


AlternateUseManagers

Type: array<U2UseManagerPlayer>


AnimationController

Type: AnimationControllerInterf


bCanKnockDown

Type: bool

Pawn can be knocked down by damage/momentun

bCauseMoveTargetNavError

Type: bool


bCauseScriptedNavError

Type: bool


bDisableErrorColors

Type: bool

Modifiers: globalconfig

if true, colors not changed on NPC pathing error etc.

Default value: True

bDisableErrorMessages

Type: bool

Modifiers: globalconfig

if true, no error messages on NPC pathing error etc.

Default value: True

bHeadTrackingEnabled

Type: bool


bNoFlavorTextTeamCheck

Type: bool

uses flavor text regardless if there is not teammate nearby

bOverridesDamageEffect

Type: bool


bRagdollDeath

Type: bool


bReceivedInitialStatus

Type: bool


bReceivedInitialWeapon

Type: bool

whether or not the client has received it's first variable yet ... see below

bServoEnabled

Type: bool


Default value: True

bShrinkCarcass

Type: bool

if set, carcass will shrink

bSinkCarcass

Type: bool

if set, carcass will sink

bTestAnimHandler

Type: bool


bUseSoundSlotTimers

Type: bool

set to true for NPCs to use SoundSlotTimer list to clamp sounds

bWeaponAimingEnabled

Type: bool


CarcassFadeEffect

Type: ParticleRadiator


CarcassFadeTemplate

Type: ParticleRadiator

special effect to hide carcasses disappearing

Default value: ParticleRadiator'corpse_disappear_FX.ParticleRadiator1'

CarcassShrinkRateX

Type: float


Default value: 5.0

CarcassShrinkRateY

Type: float


Default value: 5.0

CarcassShrinkRateZ

Type: float


Default value: 5.0

CarcassSinkRatePerSec

Type: float

computed speed of sinking

CarcassSinkRatePerSecInc

Type: float

computed speed of sinking (rate of increase)

Default value: 100.0

CarcassSinkRatePerSecMax

Type: float

computed speed of sinking (max)

Default value: 160.0

CarcassSinkRatePerSecMin

Type: float

computed speed of sinking (min)

Default value: 1.0

CollectedMomentumTransfer

Type: array<MomentumTransferT>


CrouchingMoveSpeed

Type: float


Default value: 0.3

CurPanicSound

Type: Sound


CurrentMomentumTransferSlot

Type: int


CurrentStatus

Type: SCurrentStatus


DamageEffectOffsetMultiplier

Type: float


Default value: 0.5

DamageIndicatorAngle

Type: float


DeathWAT

Type: LicenseePawn.EWeaponAnimationType


Default value: AT_NoWeapon

DefaultPackage

Type: string


DodgeJumpZScale

Type: float

Modifiers: globalconfig


Default value: 0.6

DodgeXYVelocityScale

Type: float

Modifiers: globalconfig


Default value: 2.0

DroppedEnergy

Type: DroppedEnergyPickup


DrowningDamageAmount

Type: float


Default value: 20.0

EMPEffect

Type: ParticleRadiator


FallTimer

Type: float


FDamager

Type: FlameDamager


FlameEffect

Type: ParticleRadiator


FriendDeadSoundDelay

Type: float

time to wait before mourning the death of a teammate

Default value: 1.25

GibbedEffect

Type: ParticleRadiator

blood effect when gibbed

HeadTrackActor

Type: Actor


HeadTrackTimer

Type: float


InitialAgentInputs

Type: array<SInitialAgentInput>


InitialAlertness

Type: float


InitialHealth

Type: int


InitialHearingThreshold

Type: float


InitialSightRadius

Type: float


LastKnockDownTime

Type: float


LastMomentumTransferTime

Type: float


LastSoundClass

Type: class<TextureHelperGeneric>


LastTextureType

Type: Material.ETextureType


MaxAliveAddedVelocity

Type: float

cap AddVelocity velocity when alive

Default value: 1024.0

MaxDeadAddedVelocity

Type: float

cap AddVelocity velocity when dead

Default value: 2048.0

MaxHeadTrackDistance

Type: float

max distance within which NPCs look for pawns to look at

Default value: 1024.0

MaxHeadTrackPlayerDistance

Type: float

NPCs won't head track if further away than this from player

Default value: 2048.0

MaxRandomSoundTime

Type: float


Default value: 8.0

MinJumpAnimSpeed

Type: float


Default value: 100.0

MinKnockDownMomentumThreshold

Type: float

momentum >= this will knock NPC down

MinLandAnimSpeed

Type: float


Default value: -100.0

MinPanicTime

Type: float


Default value: 0.5

MinRandomSoundTime

Type: float


Default value: 1.0

MinTimeBetweenKnockDowns

Type: float


Default value: 0.5

MinTimeBetweenRandomSounds

Type: float

usually 0.0, if > 0.0 prevents multiple NPCs from talking over each other

MovementPhysics

Type: Actor.EPhysics


Default value: PHYS_Walking

NumTextureSounds

Type: int


NumWalkingAnims

Type: int


OldStatus

Type: SCurrentStatus


OldWeapon

Type: Weapon


PanicDamageInstigator

Type: Pawn


PanicDamageType

Type: class<DamageType>


PanicSoundPauseSeconds

Type: float


Default value: 1.5

ParticleHitEffect

Type: ParticleGenerator

pawn-specific hit effect (Drakk metal, green blood, etc.)

ProneMoveSpeed

Type: float


Default value: 0.3

RandomAttackSoundSlot

Type: SoundSlotInterf.ESoundTableSlot

usually STS_Attack, but can be, say, STS_Acquire if sounds are the same

Default value: STS_Attack

RandomIdleSoundSlot

Type: SoundSlotInterf.ESoundTableSlot

usually STS_Idle, but can be, say, STS_Misc if sounds are the same

Default value: STS_Idle

RemainingPowerSuitEnergy

Type: float

Tracks how much energy was remaining in the powersuit when this pawn was killed

SetMoveSpeedFudge

Type: float

for fixing existing move speeds if groundspeed changes

Default value: 1.0

SoundSlotTimers

Type: SoundSlotTimerListImpl

actual sound slot timer list

SoundTable

Type: SoundTable


StandingMoveSpeed

Type: float


Default value: 1.0

StatusBelt

Type: Texture


StatusDoll

Type: Texture


StopPanicTime

Type: float


TextureSoundIndices

Type: int

Array size: 4 (4 )


TimeSinceBeginState

Type: float


TotalCarcassSinkDistance

Type: float

cumulative distance the carcass has sunk

TotalRecentMomentumTransfer

Type: float


ToxicEffect

Type: ParticleRadiator


UsableActors

Type: array<Actor>


UseManager

Type: U2UseManager


VoicePackMetaClass

Type: string


VoiceType

Type: string


WalkingAnims

Type: WalkingAnimInfoT

Array size: MaxWalkingAnims

list of walking move speeds and associated animation types

Default value, index 0:

Member Value
WalkingAnimType WAT_WalkFast

Default value, index 1:

Member Value
MinSpeed 0.45
WalkingAnimType WAT_RunFast

WeaponDamageItems

Type: array<U2Inventory>