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

UE2:XPlayer (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Controller >> PlayerController >> UnrealPlayer >> XPlayer

Contents

Package: 
XGame
This class in other games:
UT2003

null

Constants

MinComboKeyTime

Value: 0.05

keys pressed faster than this will be considered a double-press

MaxComboKeyTime

Value: 0.35

max time player has between button presses

Properties

attracttarget

Type: Pawn


attracttarget2

Type: Pawn


autozoom

Type: bool


bAutoDemoRec

Type: bool

Modifiers: config


bClassicTrans

Type: bool

Modifiers: globalconfig


bDebuggingVoiceChat

Type: bool

Modifiers: config


bHighBeaconTrajectory

Type: bool


bWaitingForPRI

Type: bool


Default value: True

bWaitingForVRI

Type: bool


Default value: True

camlist

Type: AttractCamera

Array size: 20


camtime

Type: float


ComboList

Type: class<Combo>

Array size: 16


ComboNameList

Type: string

Array size: 16


Default value, index 0: "XGame.ComboSpeed"

Default value, index 1: "XGame.ComboBerserk"

Default value, index 2: "XGame.ComboDefensive"

Default value, index 3: "XGame.ComboInvis"

curcam

Type: int


Default value: -1

focuspoint

Type: Object.Vector


gibwatchtime

Type: float


InputHistory

Type: int

Array size: 4

Modifiers: transient


LastKeyTime

Type: float

Modifiers: transient


LastMapListRequestTime

Type: float


LastRulesRequestTime

Type: float


MinAdrenalineCost

Type: float


Default value: 100.0

numcams

Type: int


OldKey

Type: int

Modifiers: transient


PawnSetupRecord

Type: xUtil.PlayerRecord


targettime

Type: float


Default values

Property Value
bNetNotify True
LinkBeaconTexture Texture'TeamSymbols.LinkBeaconT'
PawnClass Class'XGame.xPawn'
PlayerReplicationInfoClass Class'XGame.xPlayerReplicationInfo'
SpeakingBeaconTexture Texture'TeamSymbols.SoundBeacon_a00'
TeamBeaconTexture Texture'TeamSymbols.TeamBeaconT'

Delegates

ProcessMapName

delegate ProcessMapName (string NewMap)


ProcessRule

delegate ProcessRule (string NewRule)


Functions

Exec functions

AdminMenu

exec function AdminMenu (string CommandLine)


ChangeCharacter

exec function ChangeCharacter (string newCharacter)


check

exec function check ()


CheckPriority

exec function CheckPriority ()


L33TPhrase

exec function L33TPhrase (int phraseNum)


ShowAliases

simulated exec function ShowAliases ()


ShowBindings

simulated exec function ShowBindings ()


SpecViewGoal

exec function SpecViewGoal ()


Events

PlayerTick

event PlayerTick (float DeltaTime)

Overrides: PlayerController.PlayerTick


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: UnrealPlayer.PostBeginPlay


PostNetBeginPlay

simulated event PostNetBeginPlay ()

Overrides: UnrealPlayer.PostNetBeginPlay


PostNetReceive

simulated event PostNetReceive ()

Overrides: UnrealPlayer.PostNetReceive


Other instance functions

CameraTrack

function Object.Rotator CameraTrack (Pawn target, float DeltaTime)


ClientReceiveBan

function ClientReceiveBan (string BanInfo)


ClientReceiveCombo

simulated function ClientReceiveCombo (string NewCombo)


ClientReceiveMapName

function ClientReceiveMapName (string NewMap)


ClientReceiveRule

function ClientReceiveRule (string NewRule)


DebugMessage

simulated function DebugMessage (string DebugString, optional name Type)


DoCombo

function DoCombo (class<ComboComboClass)


FillCameraList

function FillCameraList ()


FindFixedCam

function bool FindFixedCam (Pawn target, out int newcam)


FindFloatingCam

function Object.Vector FindFloatingCam (Pawn target)


GetPhysicsString

simulated function string GetPhysicsString ()


GetRoleString

simulated function string GetRoleString ()


InitializeVoiceChat

simulated function InitializeVoiceChat ()

Overrides: PlayerController.InitializeVoiceChat


LineOfSight

function bool LineOfSight (int c, Pawn target)


NeedNetNotify

simulated function bool NeedNetNotify ()

Overrides: UnrealPlayer.NeedNetNotify


PawnDied

function PawnDied (Pawn P)

Overrides: PlayerController.PawnDied


PickNextBot

function Pawn PickNextBot (Pawn current)


PlayBeepSound

simulated function PlayBeepSound ()

Overrides: PlayerController.PlayBeepSound


Possess

function Possess (Pawn aPawn)

Overrides: UnrealPlayer.Possess


RateWeapon

simulated function float RateWeapon (Weapon w)

Overrides: Controller.RateWeapon


ServerDoCombo

function ServerDoCombo (class<ComboComboClass)


ServerRequestBanInfo

function ServerRequestBanInfo (int PlayerID)

Overrides: PlayerController.ServerRequestBanInfo


ServerRequestMapList

function ServerRequestMapList ()


ServerRequestPlayerInfo

function ServerRequestPlayerInfo ()


ServerRequestRules

function ServerRequestRules ()


ServerSetClassicTrans

function ServerSetClassicTrans (bool B)


ServerSpecViewGoal

function ServerSpecViewGoal ()


SetPawnClass

function SetPawnClass (string inClass, string inCharacter)

Overrides: Controller.SetPawnClass


SetPawnFemale

function SetPawnFemale ()

Overrides: Controller.SetPawnFemale


StopFiring

function StopFiring ()

Overrides: Controller.StopFiring


States

AttractMode

Inherits from: PlayerController.AttractMode

Ignores: ClientRestart, NotifyHeadVolumeChange, NotifyPhysicsVolumeChange, RestartLevel, Say, Suicide, SwitchWeapon, TeamSay, ThrowWeapon

AttractMode.BeginState

event BeginState ()

Overrides: PlayerController.Spectating.BeginState


AttractMode.EndState

event EndState ()

Overrides: PlayerController.Spectating.EndState


AttractMode.Timer

event Timer ()

Overrides: PlayerController.Spectating.Timer


AttractMode.AltFire

exec function AltFire (optional float F)

Overrides: PlayerController.Spectating.AltFire


AttractMode.Fire

exec function Fire (optional float F)

Overrides: PlayerController.Spectating.Fire


AttractMode.IsSpectating

function bool IsSpectating ()

Overrides: PlayerController.BaseSpectating.IsSpectating


AttractMode.NextWeapon

exec function NextWeapon ()

Overrides: PlayerController.NextWeapon (global)


AttractMode.PlayerMove

function PlayerMove (float DeltaTime)

Overrides: PlayerController.BaseSpectating.PlayerMove


AttractMode.PrevWeapon

exec function PrevWeapon ()

Overrides: PlayerController.PrevWeapon (global)


AttractMode.ProcessMove

function ProcessMove (float DeltaTime, Object.Vector NewAccel, Actor.EDoubleClickDir DoubleClickMove, Object.Rotator DeltaRot)

Overrides: PlayerController.BaseSpectating.ProcessMove


ViewPlayer

Extends: UnrealPlayer.PlayerWalking

ViewPlayer.BeginState

event BeginState ()

Overrides: PlayerController.PlayerWalking.BeginState


ViewPlayer.EndState

event EndState ()

Overrides: PlayerController.PlayerWalking.EndState


ViewPlayer.PlayerCalcView

event PlayerCalcView (out Actor ViewActor, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)

Overrides: PlayerController.PlayerCalcView (global)


ViewPlayer.Timer

event Timer ()

Overrides: Actor.Timer (global)


ViewPlayer.PlayerMove

function PlayerMove (float DeltaTime)

Overrides: PlayerController.PlayerWalking.PlayerMove


ViewPlayer.TogglePlayerAttract

exec function TogglePlayerAttract ()