UE2:U2PlayerController (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
U2 Object >> Actor >> Controller >> PlayerController >> U2PlayerController
Package:
U2
This class in other games:

U2PlayerController.uc

Properties

AmmoFlashTime

Type: float


ConsumerClassColorHigh

Type: Object.Color


Default value:

Member Value
A 255
R 250

ConsumerClassColorLow

Type: Object.Color


Default value:

Member Value
A 255
G 128

ConsumerClassColorMed

Type: Object.Color


Default value:

Member Value
A 255
G 250
R 250

DeployLockedInSound

Type: Sound

sound when player has locked into a deploy point

Default value: Sound'U2A.Messages.DeployLocked'

GameOverCameraDist

Type: float


Default value: 12.0

GameOverRotationPitch

Type: float


Default value: 64000.0

GameOverRotationRate

Type: Object.Rotator


Default value:

Member Value
Yaw 3000

GameOverSound

Type: Sound


Default value: Sound'U2XMPA.GameNotify.GameOver'

HackEffect

Type: class<Actor>


Default value: Class'U2.HackSquib'

HackFX

Type: HackEffect


LastGestureTime

Type: float


LastPlayerFragTime

Type: float


MaxDeployPitch

Type: float


Default value: 55000.0

MinDeployPitch

Type: float


Default value: 5000.0

MonsterKills

Type: int


NextDeployTime

Type: float

time the new players will be redeployed

RadarZoomIncr

Type: float


Default value: 0.1

RadarZoomMax

Type: float


Default value: 2.0

RadarZoomMin

Type: float


Default value: 0.3

RadarZoomPct

Type: float


Default value: 1.0

RespawnPoint

Type: DeploymentPoint

point from which player will respawn

SaySound

Type: Sound


Default value: Sound'U2A.Messages.Say'

TeamSaySound

Type: Sound


Default value: Sound'U2A.Messages.TeamSay'

TimeRemainingCautionColor

Type: Object.Color


Default value:

Member Value
A 255
G 255
R 255

TimeRemainingCautionTime

Type: float


Default value: 300.0

TimeRemainingDangerColor

Type: Object.Color


Default value:

Member Value
A 255
R 255

TimeRemainingDangerTime

Type: float


Default value: 120.0

TimeRemainingNeutralColor

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

UseHighlightMaterial

Type: Material


Default value: Combiner'SpecialFX.Use.use_Reticle_002'

UseProjectorMaterial

Type: Material


Default value: Combiner'SpecialFX.Use.Use_Reticle_001'

WeaponOrder1

Type: array<WeaponInfo>


WeaponOrder2

Type: array<WeaponInfo>


WeaponOrder3

Type: array<WeaponInfo>


WeaponOrder4

Type: array<WeaponInfo>


WeaponOrder5

Type: array<WeaponInfo>


WoundedDelaySeconds

Type: float

time before player is given the option to return to deployment area

Default value: 2.0

WoundedTime

Type: float

time at which player died

Default values

Property Value
bNetNotify True
CheatClass Class'U2.U2CheatManager'
RocketLockSound Sound'WeaponsA.RocketLauncher.RL_Alert'
ServerOnlyStates[0] 'FallingOutOfWorld'
ServerOnlyStates[1] 'GutBlowed'
SpectateSpeed 1000.0

Structs

WeaponInfo

Modifiers: native

string WeaponName
User readable name of the weapon.
byte Priority
Order within the tray (lower numbers = higher priority) - essentially group offset.
Weapon Weapon
Pointer to the associated weapon - if the player has it currently.

Functions

Exec functions

DP

exec function DP ()


DumpAmmoPct

exec function DumpAmmoPct ()


DumpArtifacts

exec function DumpArtifacts ()


DumpConsumers

exec function DumpConsumers ()


DumpReplicants

exec function DumpReplicants ()


Gesture

exec function Gesture (optional int Index)


NextWeapon

exec function NextWeapon ()

Overrides: PlayerController.NextWeapon


PrevWeapon

exec function PrevWeapon ()

Overrides: PlayerController.PrevWeapon


RadarZoomIn

exec function RadarZoomIn ()


RadarZoomOut

exec function RadarZoomOut ()


ServerDP

exec function ServerDP ()


SwitchToBestWeapon

exec function SwitchToBestWeapon ()

Overrides: Controller.SwitchToBestWeapon


SwitchWeapon

exec function SwitchWeapon (byte F)

Overrides: PlayerController.SwitchWeapon


Taunt

exec function Taunt (optional int Index)


Events

Destroyed

simulated event Destroyed ()

Overrides: PlayerController.Destroyed


FellOutOfWorld

event FellOutOfWorld (Actor.eKillZType KillType)

Overrides: Actor.FellOutOfWorld


GetRadarZoomPct

event float GetRadarZoomPct ()

Overrides: PlayerController.GetRadarZoomPct


InitPlayer

simulated event InitPlayer ()

Overrides: PlayerController.InitPlayer


MantleBegin

event MantleBegin ()


MantleEnd

event MantleEnd ()


PlayerTick

event PlayerTick (float DeltaTime)

Overrides: PlayerController.PlayerTick


PostBeginPlay

event PostBeginPlay ()

Overrides: PlayerController.PostBeginPlay


PreBeginPlay

simulated event PreBeginPlay ()

Overrides: Controller.PreBeginPlay


TeamMessage

event TeamMessage (PlayerReplicationInfo PRI, coerce string Msg, name Type, optional Sound MessageSound)

Overrides: PlayerController.TeamMessage


Other instance functions

See U2PlayerController instance functions.

States

See U2PlayerController states.