UE2:PlayerController (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 16:11, 17 May 2008 by imported>Wormbo (Auto-generated page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
UT2004 Object >> Actor >> Controller >> PlayerController
Package: 
Engine

PlayerController

PlayerControllers are used by human players to control pawns.

This is a built-in Unreal class and it shouldn't be modified. for the change in Possess().

Properties

Property group 'ForceFeedback'

bEnableDamageForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

bEnableGUIForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

bEnablePickupForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

bEnableWeaponForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

bForceFeedbackSupported

Type: bool

true if a device is detected

Default value: True

Property group 'Menu'

AdminMenuClass

Type: string

Modifiers: config

Menu that is shown when adminmenu command is used

Default value: "GUI2K4.RemoteAdmin"

ChatPasswordMenuClass

Type: string

Modifiers: config

Menu that appears when attempting to join a chatroom that has a password

Default value: "GUI2K4.UT2K4ChatPassword"

DemoMenuClass

Type: string

Modifiers: config

Menu used for demos

MidGameMenuClass

Type: string

Modifiers: config

Menu that is shown when Escape is pressed

Default value: "GUI2K4.UT2K4DisconnectOptionPage"

Property group 'TeamBeacon'

LinkBeaconTexture

Type: Texture


SpeakingBeaconTexture

Type: Texture


TeamBeaconCustomColor

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 255
R 255

TeamBeaconMaxDist

Type: float


Default value: 6000.0

TeamBeaconPlayerInfoMaxDist

Type: float


Default value: 1800.0

TeamBeaconTeamColors

Type: Object.Color

Array size: 2


Default value, index 0:

Member Value
A 255
B 0
G 0
R 180

Default value, index 1:

Member Value
A 255
B 200
G 80
R 80

TeamBeaconTexture

Type: Texture


Property group 'VoiceChat'

AutoJoinMask

Type: byte

Modifiers: globalconfig


Default value: 5

bEnableInitialChatRoom

Type: bool

Modifiers: globalconfig

Enables speaking on DefaultActiveChannel upon joining server

Default value: True

bVoiceChatEnabled

Type: bool

Whether voice chat is enabled on this client

Default value: True

ChatPassword

Type: string

Modifiers: globalconfig

Password for our personal chat room

ChatRoomMessageClass

Type: class<ChatRoomMessage>


Default value: Class'Engine.ChatRoomMessage'

DefaultActiveChannel

Type: string

Modifiers: globalconfig


LastActiveChannel

Type: string

Modifiers: globalconfig

Stores the currently active channel when switching maps

StoredChatPasswords

Type: array<StoredChatPassword>

Modifiers: globalconfig


VoiceChatCodec

Type: string

Modifiers: globalconfig

Which voice chat codec to request in internet games (will only be used if it exists on server)

Default value: "CODEC_48NB"

VoiceChatLANCodec

Type: string

Modifiers: globalconfig

Which voice chat codec to request in LAN games

Default value: "CODEC_96WB"

Internal variables

See PlayerController internal variables.

Default values

Property Value
bCanDoSpecial True
bCanOpenDoors True
bIsPlayer True
bTravel True
Handedness 1.0
NetPriority 3.0

Structs

ClientAdjustment

float TimeStamp 
name newState 
Actor.EPhysics newPhysics 
Object.Vector NewLoc 
Object.Vector NewVel 
Actor NewBase 
Object.Vector NewFloor 

PlayerNameInfo

string mInfo 
Object.Color mColor 
float mXPos 
float mYPos 

StoredChatPassword

string ChatRoomName 
string ChatRoomPassword 

Functions

Exec functions

See PlayerController exec functions.

Native functions

ClientHearSound

native event ClientHearSound (Actor Actor, int Id, Sound S, Object.Vector SoundLocation, Object.Vector Parameters, bool Attenuate)


ClientTravel

native event ClientTravel (string URL, Actor.ETravelType TravelType, bool bItems)


ClientValidate

private native event ClientValidate (string C)


ServerValidationResponse

private native event ServerValidationResponse (string R)


CheckSpeedHack

native final function bool CheckSpeedHack (float DeltaTime)


ConsoleCommand

native function string ConsoleCommand (string Command, optional bool bWriteToLog)

Overrides: Actor.ConsoleCommand


CopyToClipboard

native function CopyToClipboard (string Text)


FindStairRotation

native(524) final function int FindStairRotation (float DeltaTime)


GetDefaultURL

native final function string GetDefaultURL (string Option)


GetEntryLevel

native final function LevelInfo GetEntryLevel ()


GetPlayerIDHash

native final function string GetPlayerIDHash ()


GetPlayerNetworkAddress

native final function string GetPlayerNetworkAddress ()


GetServerNetworkAddress

native final function string GetServerNetworkAddress ()


GetURLProtocol

native final function string GetURLProtocol ()


PasteFromClipboard

native function string PasteFromClipboard ()


ResetInput

native final private function ResetInput ()


ResetKeyboard

native(544) final function ResetKeyboard ()


SetNetSpeed

native final function SetNetSpeed (int NewSpeed)


SetViewTarget

native final function SetViewTarget (Actor NewViewTarget)


Events

See PlayerController events.

Other instance functions

See PlayerController instance functions.

States

See PlayerController states.