Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:U2PlayerController (U2)

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

U2PlayerController.uc

Properties[edit]

AmmoFlashTime[edit]

Type: float


ConsumerClassColorHigh[edit]

Type: Object.Color


Default value:

Member Value
A 255
R 250

ConsumerClassColorLow[edit]

Type: Object.Color


Default value:

Member Value
A 255
G 128

ConsumerClassColorMed[edit]

Type: Object.Color


Default value:

Member Value
A 255
G 250
R 250

DeployLockedInSound[edit]

Type: Sound

sound when player has locked into a deploy point

Default value: Sound'U2A.Messages.DeployLocked'

GameOverCameraDist[edit]

Type: float


Default value: 12.0

GameOverRotationPitch[edit]

Type: float


Default value: 64000.0

GameOverRotationRate[edit]

Type: Object.Rotator


Default value:

Member Value
Yaw 3000

GameOverSound[edit]

Type: Sound


Default value: Sound'U2XMPA.GameNotify.GameOver'

HackEffect[edit]

Type: class<Actor>


Default value: Class'U2.HackSquib'

HackFX[edit]

Type: HackEffect


LastGestureTime[edit]

Type: float


LastPlayerFragTime[edit]

Type: float


MaxDeployPitch[edit]

Type: float


Default value: 55000.0

MinDeployPitch[edit]

Type: float


Default value: 5000.0

MonsterKills[edit]

Type: int


NextDeployTime[edit]

Type: float

time the new players will be redeployed

RadarZoomIncr[edit]

Type: float


Default value: 0.1

RadarZoomMax[edit]

Type: float


Default value: 2.0

RadarZoomMin[edit]

Type: float


Default value: 0.3

RadarZoomPct[edit]

Type: float


Default value: 1.0

RespawnPoint[edit]

Type: DeploymentPoint

point from which player will respawn

SaySound[edit]

Type: Sound


Default value: Sound'U2A.Messages.Say'

TeamSaySound[edit]

Type: Sound


Default value: Sound'U2A.Messages.TeamSay'

TimeRemainingCautionColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
G 255
R 255

TimeRemainingCautionTime[edit]

Type: float


Default value: 300.0

TimeRemainingDangerColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
R 255

TimeRemainingDangerTime[edit]

Type: float


Default value: 120.0

TimeRemainingNeutralColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

UseHighlightMaterial[edit]

Type: Material


Default value: Combiner'SpecialFX.Use.use_Reticle_002'

UseProjectorMaterial[edit]

Type: Material


Default value: Combiner'SpecialFX.Use.Use_Reticle_001'

WeaponOrder1[edit]

Type: array<WeaponInfo>


WeaponOrder2[edit]

Type: array<WeaponInfo>


WeaponOrder3[edit]

Type: array<WeaponInfo>


WeaponOrder4[edit]

Type: array<WeaponInfo>


WeaponOrder5[edit]

Type: array<WeaponInfo>


WoundedDelaySeconds[edit]

Type: float

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

Default value: 2.0

WoundedTime[edit]

Type: float

time at which player died

Default values[edit]

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

Structs[edit]

WeaponInfo[edit]

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[edit]

Exec functions[edit]

DP[edit]

exec function DP ()


DumpAmmoPct[edit]

exec function DumpAmmoPct ()


DumpArtifacts[edit]

exec function DumpArtifacts ()


DumpConsumers[edit]

exec function DumpConsumers ()


DumpReplicants[edit]

exec function DumpReplicants ()


Gesture[edit]

exec function Gesture (optional int Index)


NextWeapon[edit]

exec function NextWeapon ()

Overrides: PlayerController.NextWeapon


PrevWeapon[edit]

exec function PrevWeapon ()

Overrides: PlayerController.PrevWeapon


RadarZoomIn[edit]

exec function RadarZoomIn ()


RadarZoomOut[edit]

exec function RadarZoomOut ()


ServerDP[edit]

exec function ServerDP ()


SwitchToBestWeapon[edit]

exec function SwitchToBestWeapon ()

Overrides: Controller.SwitchToBestWeapon


SwitchWeapon[edit]

exec function SwitchWeapon (byte F)

Overrides: PlayerController.SwitchWeapon


Taunt[edit]

exec function Taunt (optional int Index)


Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: PlayerController.Destroyed


FellOutOfWorld[edit]

event FellOutOfWorld (Actor.eKillZType KillType)

Overrides: Actor.FellOutOfWorld


GetRadarZoomPct[edit]

event float GetRadarZoomPct ()

Overrides: PlayerController.GetRadarZoomPct


InitPlayer[edit]

simulated event InitPlayer ()

Overrides: PlayerController.InitPlayer


MantleBegin[edit]

event MantleBegin ()


MantleEnd[edit]

event MantleEnd ()


PlayerTick[edit]

event PlayerTick (float DeltaTime)

Overrides: PlayerController.PlayerTick


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: PlayerController.PostBeginPlay


PreBeginPlay[edit]

simulated event PreBeginPlay ()

Overrides: Controller.PreBeginPlay


TeamMessage[edit]

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

Overrides: PlayerController.TeamMessage


Other instance functions[edit]

See U2PlayerController instance functions.

States[edit]

See U2PlayerController states.