I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:PlayerController (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> Actor >> Controller >> PlayerController

Contents

Package: 
Engine
Known classes within PlayerController:
AdminBase, AdminIni, Admin, CheatManager, PlayerInput, XBoxPlayerInput
Direct subclasses:
Camera, MessagingSpectator, UnrealPlayer
This class in other games:
U2, U2XMP, UDK, UE2Runtime, UT2003, UT3

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().

[edit] Properties

[edit] Property group 'ForceFeedback'

[edit] bEnableDamageForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

[edit] bEnableGUIForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

[edit] bEnablePickupForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

[edit] bEnableWeaponForceFeedback

Type: bool

Modifiers: globalconfig


Default value: True

[edit] bForceFeedbackSupported

Type: bool

true if a device is detected

Default value: True

[edit] Property group 'Menu'

[edit] AdminMenuClass

Type: string

Modifiers: config

Menu that is shown when adminmenu command is used

Default value: "GUI2K4.RemoteAdmin"

[edit] ChatPasswordMenuClass

Type: string

Modifiers: config

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

Default value: "GUI2K4.UT2K4ChatPassword"

[edit] DemoMenuClass

Type: string

Modifiers: config

Menu used for demos

[edit] MidGameMenuClass

Type: string

Modifiers: config

Menu that is shown when Escape is pressed

Default value: "GUI2K4.UT2K4DisconnectOptionPage"

[edit] Property group 'TeamBeacon'

[edit] LinkBeaconTexture

Type: Texture


[edit] SpeakingBeaconTexture

Type: Texture


[edit] TeamBeaconCustomColor

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 255
R 255

[edit] TeamBeaconMaxDist

Type: float


Default value: 6000.0

[edit] TeamBeaconPlayerInfoMaxDist

Type: float


Default value: 1800.0

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

[edit] TeamBeaconTexture

Type: Texture


[edit] Property group 'VoiceChat'

[edit] AutoJoinMask

Type: byte

Modifiers: globalconfig


Default value: 5

[edit] bEnableInitialChatRoom

Type: bool

Modifiers: globalconfig

Enables speaking on DefaultActiveChannel upon joining server

Default value: True

[edit] bVoiceChatEnabled

Type: bool

Whether voice chat is enabled on this client

Default value: True

[edit] ChatPassword

Type: string

Modifiers: globalconfig

Password for our personal chat room

[edit] ChatRoomMessageClass

Type: class<ChatRoomMessage>


Default value: Class'Engine.ChatRoomMessage'

[edit] DefaultActiveChannel

Type: string

Modifiers: globalconfig


[edit] LastActiveChannel

Type: string

Modifiers: globalconfig

Stores the currently active channel when switching maps

[edit] StoredChatPasswords

Type: array<StoredChatPassword>

Modifiers: globalconfig


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

[edit] VoiceChatLANCodec

Type: string

Modifiers: globalconfig

Which voice chat codec to request in LAN games

Default value: "CODEC_96WB"

[edit] Internal variables

See PlayerController internal variables.

[edit] Default values

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

[edit] Structs

[edit] ClientAdjustment

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

[edit] PlayerNameInfo

string mInfo 
Object.Color mColor 
float mXPos 
float mYPos 

[edit] StoredChatPassword

string ChatRoomName 
string ChatRoomPassword 

[edit] Functions

[edit] Exec functions

See PlayerController exec functions.

[edit] Native functions

[edit] ClientHearSound

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


[edit] ClientTravel

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


[edit] ClientValidate

private native event ClientValidate (string C)


[edit] ServerValidationResponse

private native event ServerValidationResponse (string R)


[edit] CheckSpeedHack

native final function bool CheckSpeedHack (float DeltaTime)


[edit] ConsoleCommand

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

Overrides: Actor.ConsoleCommand


[edit] CopyToClipboard

native function CopyToClipboard (string Text)


[edit] FindStairRotation

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


[edit] GetDefaultURL

native final function string GetDefaultURL (string Option)


[edit] GetEntryLevel

native final function LevelInfo GetEntryLevel ()


[edit] GetPlayerIDHash

native final function string GetPlayerIDHash ()


[edit] GetPlayerNetworkAddress

native final function string GetPlayerNetworkAddress ()


[edit] GetServerNetworkAddress

native final function string GetServerNetworkAddress ()


[edit] GetURLProtocol

native final function string GetURLProtocol ()


[edit] PasteFromClipboard

native function string PasteFromClipboard ()


[edit] ResetInput

native final private function ResetInput ()


[edit] ResetKeyboard

native(544) final function ResetKeyboard ()


[edit] SetNetSpeed

native final function SetNetSpeed (int NewSpeed)


[edit] SetViewTarget

native final function SetViewTarget (Actor NewViewTarget)


[edit] Events

See PlayerController events.

[edit] Other instance functions

See PlayerController instance functions.

[edit] States

See PlayerController states.

Personal tools