UE2:PlayerController (UT2004)
Object >> Actor >> Controller >> PlayerController |
- Package:
- Engine
- Known classes within PlayerController:
- Admin, AdminBase, CheatManager, PlayerInput, XBoxPlayerInput, AdminIni
- Direct subclasses:
- Camera, UnrealPlayer, MessagingSpectator
- This class in other games:
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. |
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
Functions
Exec functions
See PlayerController exec functions.
Native functions
ClientHearSound
ClientTravel
ClientValidate
ServerValidationResponse
CheckSpeedHack
ConsoleCommand
Overrides: Actor.ConsoleCommand
CopyToClipboard
FindStairRotation
GetDefaultURL
GetEntryLevel
GetPlayerIDHash
GetPlayerNetworkAddress
GetServerNetworkAddress
GetURLProtocol
PasteFromClipboard
ResetInput
ResetKeyboard
SetNetSpeed
SetViewTarget
Events
Other instance functions
See PlayerController instance functions.