I'm a doctor, not a mechanic
UE3:Pawn internal variables (UDK)
Contents
- 1 Internal variables
- 1.1 AccelRate
- 1.2 AIMaxFallSpeedFactor
- 1.3 AirControl
- 1.4 AirSpeed
- 1.5 AllowedYawError
- 1.6 AlwaysRelevantDistanceSquared
- 1.7 Anchor
- 1.8 AnchorItem
- 1.9 AvgPhysicsTime
- 1.10 bAllowLedgeOverhang
- 1.11 bAmbientCreature
- 1.12 bAutoFire
- 1.13 bAvoidLedges
- 1.14 bCachedRelevant
- 1.15 bCanBeBaseForPawns
- 1.16 bCanClimbCeilings
- 1.17 bCanClimbLadders
- 1.18 bCanClimbUp
- 1.19 bCanCoverSlip
- 1.20 bCanFly
- 1.21 bCanJump
- 1.22 bCanLeap
- 1.23 bCanMantle
- 1.24 bCanPickupInventory
- 1.25 bCanStrafe
- 1.26 bCanSwatTurn
- 1.27 bCanSwim
- 1.28 bCanUse
- 1.29 bCanWalk
- 1.30 bCanWalkOffLedges
- 1.31 bCrawler
- 1.32 bDesiredRotationSet
- 1.33 bDirectHitWall
- 1.34 bDisplayPathErrors
- 1.35 bForceFloorCheck
- 1.36 bForceKeepAnchor
- 1.37 bForceMaxAccel
- 1.38 bForceRegularVelocity
- 1.39 bForceRMVelocity
- 1.40 bIgnoreForces
- 1.41 bIsCrouched
- 1.42 bIsFemale
- 1.43 bIsWalking
- 1.44 bJumpCapable
- 1.45 bLimitFallAccel
- 1.46 bLockDesiredRotation
- 1.47 bModifyNavPointDest
- 1.48 bModifyReachSpecCost
- 1.49 bNeedsBaseTickedFirst
- 1.50 bNoWeaponFiring
- 1.51 bPathfindsAsVehicle
- 1.52 bPlayedDeath
- 1.53 bPushesRigidBodies
- 1.54 BreathTime
- 1.55 bReducedSpeed
- 1.56 bReplicateHealthToAll
- 1.57 bRollToDesired
- 1.58 bRootMotionFromInterpCurve
- 1.59 bRunPhysicsWithNoController
- 1.60 bSimGravityDisabled
- 1.61 bSimulateGravity
- 1.62 bSpecialHUD
- 1.63 bStationary
- 1.64 bStopAtLedges
- 1.65 bTryToUncrouch
- 1.66 bUnlockWhenReached
- 1.67 Buoyancy
- 1.68 bUpAndOut
- 1.69 bWantsToCrouch
- 1.70 Controller
- 1.71 ControllerClass
- 1.72 CrouchedPct
- 1.73 CrouchHeight
- 1.74 CrouchRadius
- 1.75 CylinderComponent
- 1.76 DamageScaling
- 1.77 DesiredSpeed
- 1.78 DestinationOffset
- 1.79 DrivenVehicle
- 1.80 FacialAudioComp
- 1.81 FailedLandingCount
- 1.82 FindAnchorFailedTime
- 1.83 FiringMode
- 1.84 FlashCount
- 1.85 FlashLocation
- 1.86 Floor
- 1.87 FullHeight
- 1.88 GroundSpeed
- 1.89 HeadVolume
- 1.90 HitDamageType
- 1.91 InterpGroupList
- 1.92 InventoryManagerClass
- 1.93 InvManager
- 1.94 JumpZ
- 1.95 LadderSpeed
- 1.96 LandMovementState
- 1.97 LastAnchor
- 1.98 LastFiringFlashLocation
- 1.99 LastHitBy
- 1.100 LastPainTime
- 1.101 LastRealViewer
- 1.102 LastStartSpot
- 1.103 LastStartTime
- 1.104 LastValidAnchorTime
- 1.105 LastViewer
- 1.106 LedgeCheckThreshold
- 1.107 Mass
- 1.108 MaxDesiredSpeed
- 1.109 MaxFallSpeed
- 1.110 MaxJumpHeight
- 1.111 MaxOutOfWaterStepHeight
- 1.112 MaxPitchLimit
- 1.113 MaxStepHeight
- 1.114 MeleeRange
- 1.115 MenuName
- 1.116 MIC_PawnHair
- 1.117 MIC_PawnMat
- 1.118 NetRelevancyTime
- 1.119 NextPathRadius
- 1.120 NextPawn
- 1.121 noise1loudness
- 1.122 noise1other
- 1.123 noise1spot
- 1.124 noise1time
- 1.125 noise2loudness
- 1.126 noise2other
- 1.127 noise2spot
- 1.128 noise2time
- 1.129 NonPreferredVehiclePathMultiplier
- 1.130 OldZ
- 1.131 OnLadder
- 1.132 OutofWaterZ
- 1.133 PathConstraintList
- 1.134 PathGoalList
- 1.135 PathSearchType
- 1.136 PhysicsPushBody
- 1.137 PlayerReplicationInfo
- 1.138 PreRagdollCollisionComponent
- 1.139 RemoteViewPitch
- 1.140 RMVelocity
- 1.141 RootMotionInterpCurrentTime
- 1.142 RootMotionInterpCurve
- 1.143 RootMotionInterpCurveLastValue
- 1.144 RootMotionInterpRate
- 1.145 SerpentineDir
- 1.146 SerpentineDist
- 1.147 SerpentineTime
- 1.148 ShotCount
- 1.149 SlotNodes
- 1.150 SoundDampening
- 1.151 SpawnTime
- 1.152 SplashTime
- 1.153 TakeHitLocation
- 1.154 TearOffMomentum
- 1.155 UncrouchTime
- 1.156 UnderWaterTime
- 1.157 WalkableFloorZ
- 1.158 WalkingPct
- 1.159 WaterMovementState
- 1.160 WaterSpeed
- Pawn internal variables in other games:
- RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2003, UT2004, UT3
- Other member categories for this class:
- events, instance functions, native functions
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Internal variables[edit]
AccelRate[edit]
Type: float
max acceleration rate
Default value: 2048.0
AIMaxFallSpeedFactor[edit]
Type: float
AI will take paths that require a landing velocity less than (MaxFallSpeed * AIMaxFallSpeedFactor)
Default value: 1.0
AirControl[edit]
Type: float
amount of AirControl available to the pawn
Default value: 0.05
AirSpeed[edit]
Type: float
The maximum flying speed.
Default value: 600.0
AllowedYawError[edit]
Type: int
Max difference between pawn's Rotation.Yaw and DesiredRotation.Yaw for pawn to be considered as having reached its desired rotation
Default value: 2000
AlwaysRelevantDistanceSquared[edit]
Type: float
always relevant to other clients if closer than this distance to viewer, and have controller
Anchor[edit]
Type: NavigationPoint
Modifiers: const
current nearest path;
AnchorItem[edit]
Type: int
Modifiers: const
Used to index into nav mesh polys
AvgPhysicsTime[edit]
Type: float
Modifiers: const
Physics updating time monitoring (for AI monitoring reaching destinations)
Default value: 0.1
bAllowLedgeOverhang[edit]
Type: bool
if TRUE then allow the pawn to hang off ledges based on the cylinder extent
Default value: True
bAmbientCreature[edit]
Type: bool
AIs will ignore me
bAutoFire[edit]
Type: bool
used for third person weapon anims/effects
bAvoidLedges[edit]
Type: bool
don't get too close to ledges
bCachedRelevant[edit]
Type: bool
network relevancy caching flag
bCanBeBaseForPawns[edit]
Type: bool
all your 'base', are belong to us
bCanClimbCeilings[edit]
Type: bool
can this pawn climb ceiling nodes
bCanClimbLadders[edit]
Type: bool
bCanClimbUp[edit]
Type: bool
Modifiers: config
can this pawn climb up cover wall
bCanCoverSlip[edit]
Type: bool
Modifiers: config
can this pawn coverslip
bCanFly[edit]
Type: bool
bCanJump[edit]
Type: bool
movement capabilities - used by AI
Default value: True
bCanLeap[edit]
Type: bool
Modifiers: config
can this pawn use LeapReachSpec
bCanMantle[edit]
Type: bool
Modifiers: config
can this pawn mantle over cover
bCanPickupInventory[edit]
Type: bool
if true, will pickup inventory when touching pickup actors
bCanStrafe[edit]
Type: bool
bCanSwatTurn[edit]
Type: bool
Modifiers: config
can this pawn swat turn between cover
bCanSwim[edit]
Type: bool
bCanUse[edit]
Type: bool
can this pawn use things?
Default value: True
bCanWalk[edit]
Type: bool
Default value: True
bCanWalkOffLedges[edit]
Type: bool
Can still fall off ledges, even when walking (for Player Controlled pawns)
bCrawler[edit]
Type: bool
crawling - pitch and roll based on surface pawn is on
bDesiredRotationSet[edit]
Type: bool
Modifiers: const, private
DesiredRotation is set by somebody - Pawn's default behavior (using direction for desiredrotation) does not work *
bDirectHitWall[edit]
Type: bool
always call pawn hitwall directly (no controller notifyhitwall)
bDisplayPathErrors[edit]
Type: bool
Modifiers: globalconfig
if set, display "MAP HAS PATHING ERRORS" and message in the log when a Pawn fails a full path search
bForceFloorCheck[edit]
Type: bool
force the pawn in PHYS_Walking to do a check for a valid floor even if he hasn't moved. Cleared after next floor check.
bForceKeepAnchor[edit]
Type: bool
bForceMaxAccel[edit]
Type: bool
ignores Acceleration component, and forces max AccelRate to drive Pawn at full velocity.
bForceRegularVelocity[edit]
Type: bool
this flag forces APawn::CalcVelocity() to never use root motion derived velocity
bForceRMVelocity[edit]
Type: bool
this flag forces APawn::CalcVelocity() to just use RMVelocity directly
bIgnoreForces[edit]
Type: bool
if true, not affected by external forces
bIsCrouched[edit]
Type: bool
Modifiers: const
set by physics to specify that pawn is currently crouched
bIsFemale[edit]
Type: bool
bIsWalking[edit]
Type: bool
bJumpCapable[edit]
Type: bool
Default value: True
bLimitFallAccel[edit]
Type: bool
Maximum step height for getting out of water
Default value: True
bLockDesiredRotation[edit]
Type: bool
Modifiers: const, private
Do not overwrite current DesiredRotation *
[edit]
Type: bool
pawn should call virtual function to modify destination location when moving to nav point
bModifyReachSpecCost[edit]
Type: bool
pawn should call virtual function to modify reach spec costs
bNeedsBaseTickedFirst[edit]
Type: bool
Controls whether the pawn needs the base ticked before this one can be ticked
bNoWeaponFiring[edit]
Type: bool
TRUE indicates that weapon firing is disabled for this pawn
bPathfindsAsVehicle[edit]
Type: bool
set if Pawn counts as a vehicle for pathfinding checks (so don't use bBlockedForVehicles nodes, etc)
bPlayedDeath[edit]
Type: bool
set when death animation has been played (used in network games)
bPushesRigidBodies[edit]
Type: bool
Modifiers: const
Will do a check to find nearby PHYS_RigidBody actors and will give them a 'soft' push.
BreathTime[edit]
Type: float
if true, replicate this Pawn's health to all clients; otherwise, only if owned by or ViewTarget of a client
bReducedSpeed[edit]
Type: bool
Modifiers: const
Used by movement natives to slow pawn as it reaches its destination to prevent overshooting
bReplicateHealthToAll[edit]
Type: bool
normal maximum health of Pawn - defaults to default.Health unless explicitly set otherwise
Default value: True
bRollToDesired[edit]
Type: bool
Update roll when turning to desired rotation (normally false)
bRootMotionFromInterpCurve[edit]
Type: bool
NOTE: Currently assumes blending isn't altering the root bone
bRunPhysicsWithNoController[edit]
Type: bool
When there is no Controller, Walking Physics abort and force a velocity and acceleration of 0. Set this to TRUE to override.
bSimGravityDisabled[edit]
Type: bool
Modifiers: const
used on network clients
bSimulateGravity[edit]
Type: bool
Modifiers: const
simulate gravity for this pawn on network clients when predicting position (true if pawn is walking or falling)
Default value: True
bSpecialHUD[edit]
Type: bool
bStationary[edit]
Type: bool
pawn can't move
bStopAtLedges[edit]
Type: bool
if bAvoidLedges and bStopAtLedges, Pawn doesn't try to walk along the edge at all
bTryToUncrouch[edit]
Type: bool
Modifiers: const
when auto-crouch during movement, continually try to uncrouch
bUnlockWhenReached[edit]
Type: bool
Modifiers: const, private
Unlock DesiredRotation when Reached to the destination This is used when bLockDesiredRotation=TRUE This will set bLockDesiredRotation = FALSE when reached to DesiredRotation
Buoyancy[edit]
Type: float
Water buoyancy. A ratio (1.0 = neutral buoyancy, 0.0 = no buoyancy)
bUpAndOut[edit]
Type: bool
used by swimming
bWantsToCrouch[edit]
Type: bool
if true crouched (physics will automatically reduce collision height to CrouchHeight)
Controller[edit]
Type: Controller
Modifiers: editinline, repnotify
Controller currently possessing this Pawn
ControllerClass[edit]
Type: class<AIController>
default class to use when pawn is controlled by AI
Default value: Class'Engine.AIController'
CrouchedPct[edit]
Type: float
pct. of running speed that crouched walking speed is
Default value: 0.5
CrouchHeight[edit]
Type: float
CollisionHeight when crouching
Default value: 40.0
CrouchRadius[edit]
Type: float
CollisionRadius when crouching
Default value: 34.0
CylinderComponent[edit]
Type: CylinderComponent
Default value: CylinderComponent'CollisionCylinder'
DamageScaling[edit]
Type: float
Default value: 1.0
DesiredSpeed[edit]
Type: float
Default value: 1.0
DestinationOffset[edit]
Type: float
used to vary destination over NavigationPoints
DrivenVehicle[edit]
Type: Vehicle
Modifiers: repnotify
FacialAudioComp[edit]
Type: AudioComponent
Modifiers: transient, protected
AudioComponent used by FaceFX
FailedLandingCount[edit]
Type: int
HACK: count of times processLanded() was called but it failed without changing physics for some reason so we can detect and avoid a rare case where Pawns get stuck in that state
FindAnchorFailedTime[edit]
Type: float
last time a FindPath() attempt failed to find an anchor.
FiringMode[edit]
Type: byte
Modifiers: repnotify
firing mode used when firing
FlashCount[edit]
Type: byte
Modifiers: repnotify
increased when weapon fires. 0 = not firing. 1 - 255 = firing
FlashLocation[edit]
Type: Object.Vector
Modifiers: repnotify
Hit Location of instant hit weapons. vect(0,0,0) = not firing.
Floor[edit]
Type: Object.Vector
Normal of floor pawn is standing on (only used by PHYS_Spider and PHYS_Walking)
FullHeight[edit]
Type: int
Modifiers: const
cached for pathfinding
GroundSpeed[edit]
Type: float
The maximum ground speed.
Default value: 600.0
HeadVolume[edit]
Type: PhysicsVolume
Modifiers: transient
physics volume of head
HitDamageType[edit]
Type: class<DamageType>
damage type of last hit (for playing hit/death anims)
InterpGroupList[edit]
Type: array<InterpGroup>
Modifiers: transient
List of Matinee InterpGroup controlling this actor.
InventoryManagerClass[edit]
Type: class<InventoryManager>
Inventory Manager
Default value: Class'Engine.InventoryManager'
InvManager[edit]
Type: InventoryManager
Modifiers: repnotify
JumpZ[edit]
Type: float
vertical acceleration w/ jump
Default value: 420.0
LadderSpeed[edit]
Type: float
Ladder climbing speed
Default value: 200.0
LandMovementState[edit]
Type: name
PlayerControllerState to use when moving on land or air
Default value: 'PlayerWalking'
LastAnchor[edit]
Type: NavigationPoint
Modifiers: const
recent nearest path
LastFiringFlashLocation[edit]
Type: Object.Vector
last FlashLocation that was an actual shot, i.e. not counting clears to (0,0,0) this is used to make sure we set unique values to FlashLocation for consecutive shots even when there was a clear in between, so that if a client missed the clear due to low net update rate, it still gets the new firing location
LastHitBy[edit]
Type: Controller
give kill credit to this guy if hit momentum causes pawn to fall to his death
LastPainTime[edit]
Type: float
last time pawn played a takehit animation (updated in PlayHit())
LastRealViewer[edit]
Type: PlayerController
LastStartSpot[edit]
Type: PlayerStart
used to avoid spawn camping
LastStartTime[edit]
Type: float
LastValidAnchorTime[edit]
Type: float
last time a valid anchor was found
LastViewer[edit]
Type: Actor
LedgeCheckThreshold[edit]
Type: float
Modifiers: const
Used in determining if pawn is going off ledge. If the ledge is "shorter" than this value then the pawn will be able to walk off it. *
Default value: 4.0
Mass[edit]
Type: float
Mass of this pawn.
Default value: 100.0
MaxDesiredSpeed[edit]
Type: float
Default value: 1.0
MaxFallSpeed[edit]
Type: float
max speed pawn can land without taking damage
Default value: 1200.0
MaxJumpHeight[edit]
Type: float
Modifiers: const
Default value: 96.0
MaxOutOfWaterStepHeight[edit]
Type: float
z velocity applied when pawn tries to get out of water
Default value: 40.0
MaxPitchLimit[edit]
Type: int
Default value: 3072
MaxStepHeight[edit]
Type: float
Modifiers: const
Default value: 35.0
MeleeRange[edit]
Type: float
Max range for melee attack (not including collision radii)
MenuName[edit]
Type: string
Modifiers: localized
Name used for this pawn type in menus (e.g. player selection)
MIC_PawnHair[edit]
Type: MaterialInstanceConstant
Modifiers: protected, transient
MIC_PawnMat[edit]
Type: MaterialInstanceConstant
Modifiers: protected, transient
General material used to control common pawn material parameters (e.g. burning)
NetRelevancyTime[edit]
Type: float
Used for cacheing net relevancy test
NextPathRadius[edit]
Type: float
radius of next path in route
NextPawn[edit]
Type: Pawn
Modifiers: const
Chained pawn list
noise1loudness[edit]
Type: float
Modifiers: const
noise1other[edit]
Type: Pawn
Modifiers: const
noise1spot[edit]
Type: Object.Vector
Modifiers: const
noise1time[edit]
Type: float
Modifiers: const
Default value: -10.0
noise2loudness[edit]
Type: float
Modifiers: const
noise2other[edit]
Type: Pawn
Modifiers: const
noise2spot[edit]
Type: Object.Vector
Modifiers: const
noise2time[edit]
Type: float
Modifiers: const
Default value: -10.0
NonPreferredVehiclePathMultiplier[edit]
Type: float
Pawn multiplies cost of NavigationPoints that don't have bPreferredVehiclePath set by this number
Default value: 1.0
OldZ[edit]
Type: float
Old Z Location - used for eyeheight smoothing
OnLadder[edit]
Type: LadderVolume
ladder currently being climbed
OutofWaterZ[edit]
Type: float
Default value: 420.0
PathConstraintList[edit]
Type: PathConstraint
List of search constraints for pathing
PathGoalList[edit]
Type: PathGoalEvaluator
PathSearchType[edit]
Type: EPathSearchType
PhysicsPushBody[edit]
Type: RB_BodyInstance
Physics object created to create contacts with physics objects, used to push them around.
PlayerReplicationInfo[edit]
Type: PlayerReplicationInfo
Modifiers: repnotify
PreRagdollCollisionComponent[edit]
Type: PrimitiveComponent
set in InitRagdoll() to old CollisionComponent (since it must be Mesh for ragdolls) so that TermRagdoll() can restore it
RemoteViewPitch[edit]
Type: byte
Modifiers: const
replicated to we can see where remote clients are looking
RMVelocity[edit]
Type: Object.Vector
RootMotion derived velocity calculated by APawn::CalcVelocity() (used when replaying client moves in net games (since can't rely on animation when replaying moves))
RootMotionInterpCurrentTime[edit]
Type: float
RootMotionInterpCurve[edit]
Type: EngineTypes.RootMotionCurve
RootMotionInterpCurveLastValue[edit]
Type: Object.Vector
RootMotionInterpRate[edit]
Type: float
Default value: 1.0
SerpentineDir[edit]
Type: Object.Vector
serpentine direction
SerpentineDist[edit]
Type: float
SerpentineTime[edit]
Type: float
how long to stay straight before strafing again
ShotCount[edit]
Type: int
tracks the number of consecutive shots. Note that this is not replicated, so it's not correct on remote clients. It's only updated when the pawn is relevant.
SlotNodes[edit]
Type: array<AnimNodeSlot>
Modifiers: transient
Array of Slots
SoundDampening[edit]
Type: float
Default value: 1.0
SpawnTime[edit]
Type: float
SplashTime[edit]
Type: float
time of last splash
TakeHitLocation[edit]
Type: Object.Vector
location of last hit (for playing hit/death anims)
TearOffMomentum[edit]
Type: Object.Vector
momentum to apply when torn off (bTearOff == true)
UncrouchTime[edit]
Type: float
Modifiers: const
when auto-crouch during movement, continually try to uncrouch once this decrements to zero
UnderWaterTime[edit]
Type: float
how much time pawn can go without air (in seconds)
WalkableFloorZ[edit]
Type: float
Modifiers: const
Default value: 0.7
WalkingPct[edit]
Type: float
pct. of running speed that walking speed is
Default value: 0.5
WaterMovementState[edit]
Type: name
PlayerControllerState to use when moving in water
Default value: 'PlayerSwimming'
WaterSpeed[edit]
Type: float
The maximum swimming speed.
Default value: 300.0