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

UE2:Hud (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Hud

Contents

Package: 
Engine
Direct subclasses:
CinematicHud, HudBase
This class in other games:
UT2004

null

Properties[edit]

Property group 'Hud'[edit]

bCrosshairShow[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bHideHUD[edit]

Type: bool

Modifiers: globalconfig


bMessageBeep[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bShowBadConnectionAlert[edit]

Type: bool

Display indication of bad connection

bShowDebugInfo[edit]

Type: bool

if true, show properties of current ViewTarget

bShowPersonalInfo[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bShowPoints[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bShowPortrait[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bShowScoreBoard[edit]

Type: bool

Display current score-board instead of Hud elements

bShowVoteMenu[edit]

Type: bool


bShowWeaponBar[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bShowWeaponInfo[edit]

Type: bool

Modifiers: globalconfig


Default value: True

ConsoleColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 253
G 216
R 153

ConsoleMessagePosX[edit]

Type: float


ConsoleMessagePosY[edit]

Type: float

DP_LowerLeft

Default value: 1.0

CrossHairColor[edit]

Type: Object.Color

Modifiers: globalconfig


Default value:

Member Value
A 255
B 255
G 255
R 255

CrosshairOpacity[edit]

Type: float

Modifiers: globalconfig


Default value: 1.0

CrosshairScale[edit]

Type: float

Modifiers: globalconfig


Default value: 1.0

CrosshairStyle[edit]

Type: int

Modifiers: globalconfig


HudCanvasScale[edit]

Type: float

Modifiers: globalconfig

Specifies amount of screen-space to use (for TV's).

Default value: 0.95

HudOpacity[edit]

Type: float

Modifiers: globalconfig

make everything transparent

Default value: 255.0

HudScale[edit]

Type: float

Modifiers: globalconfig

Global Scale for all widgets

Default value: 1.0

LocalStatsScreen[edit]

Type: ScoreBoard


MOTDColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

OverrideConsoleFont[edit]

Type: Font


OverrideConsoleFontName[edit]

Type: string

Modifiers: localized


PawnOwner[edit]

Type: Pawn


PawnOwnerPRI[edit]

Type: PlayerReplicationInfo


PlayerConsole[edit]

Type: Console


PlayerOwner[edit]

Type: PlayerController


ProgressFadeTime[edit]

Type: float


Default value: 1.0

ProgressFontFont[edit]

Type: Font


ProgressFontName[edit]

Type: string

Modifiers: localized


Default value: "UT2003Fonts.FontEurostile12"

ScoreBoard[edit]

Type: ScoreBoard


VoteMenu[edit]

Type: Actor

hook for mod authors

Internal variables[edit]

bBuiltMOTD[edit]

Type: bool

Set to true when the MOTD has been set

BlueColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 0
R 0

bNoEnemyNames[edit]

Type: bool

Modifiers: globalconfig


bShowLocalStats[edit]

Type: bool


ConsoleFontSize[edit]

Type: int

Modifiers: globalconfig


Default value: 5

ConsoleMessageCount[edit]

Type: int

Modifiers: globalconfig


Default value: 4

CyanColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 0

FontArrayFonts[edit]

Type: Font

Array size: 9


FontArrayNames[edit]

Type: string

Array size: 9

Modifiers: localized


Default value, index 0: "Engine.DefaultFont"

Default value, index 1: "Engine.DefaultFont"

Default value, index 2: "Engine.DefaultFont"

Default value, index 3: "Engine.DefaultFont"

Default value, index 4: "Engine.DefaultFont"

Default value, index 5: "Engine.DefaultFont"

Default value, index 6: "Engine.DefaultFont"

Default value, index 7: "Engine.DefaultFont"

Default value, index 8: "Engine.DefaultFont"

FontScreenWidthMedium[edit]

Type: int

Array size: 9


FontScreenWidthSmall[edit]

Type: int

Array size: 9


GoldColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 255
R 255

GrayColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 200
G 200
R 200

GreenColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 255
R 0

MessageFontOffset[edit]

Type: int

Modifiers: globalconfig


MOTD[edit]

Type: string

Array size: 4

Holds the expanded MOTD Lines

MOTDState[edit]

Type: int


PurpleColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 0
R 255

RedColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 255

ResScaleX[edit]

Type: float

Modifiers: transient


ResScaleY[edit]

Type: float

Modifiers: transient


TextMessages[edit]

Type: ConsoleMessage

Array size: 8


TurqColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 128
R 0

WhiteColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

Default values[edit]

Property Value
bHidden True
RemoteRole ROLE_None

Structs[edit]

ConsoleMessage[edit]

string Text 
Object.Color TextColor 
float MessageLife 
PlayerReplicationInfo PRI 

Functions[edit]

Static functions[edit]

GetConsoleFont[edit]

static function Font GetConsoleFont (Canvas C)


GetMediumFontFor[edit]

static function Font GetMediumFontFor (Canvas Canvas)


LargerFontThan[edit]

static function Font LargerFontThan (Font aFont)


LoadFontStatic[edit]

static function Font LoadFontStatic (int i)


Exec functions[edit]

GrowHUD[edit]

exec function GrowHUD ()


NextStats[edit]

exec function NextStats ()


ShowDebug[edit]

exec function ShowDebug ()


ShowHud[edit]

exec function ShowHud ()


ShowScores[edit]

exec function ShowScores ()


ShowStats[edit]

exec function ShowStats ()


ShrinkHUD[edit]

exec function ShrinkHUD ()


Native functions[edit]

Draw3DLine[edit]

native final function Draw3DLine (Object.Vector Start, Object.Vector End, Object.Color LineColor)


Events[edit]

ConnectFailure[edit]

event ConnectFailure (string FailCode, string URL)


Destroyed[edit]

simulated event Destroyed ()

Overrides: Actor.Destroyed


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostRender[edit]

simulated event PostRender (Canvas Canvas)


WorldSpaceOverlays[edit]

simulated event WorldSpaceOverlays ()


Other instance functions[edit]

AddTextMessage[edit]

function AddTextMessage (string M, class<LocalMessageMessageClass, PlayerReplicationInfo PRI)


BuildMOTD[edit]

simulated function BuildMOTD ()


CheckCountdown[edit]

function CheckCountdown (GameReplicationInfo GRI)


CreateKeyMenus[edit]

simulated function CreateKeyMenus ()


DisplayBadConnectionAlert[edit]

function DisplayBadConnectionAlert (Canvas C)


DisplayMessages[edit]

function DisplayMessages (Canvas C)


DisplayPortrait[edit]

function DisplayPortrait (PlayerReplicationInfo PRI)


DisplayProgressMessages[edit]

simulated function DisplayProgressMessages (Canvas C)


DrawCrosshair[edit]

simulated function DrawCrosshair (Canvas C)


DrawHud[edit]

function DrawHud (Canvas C)


DrawInstructionGfx[edit]

simulated function DrawInstructionGfx (Canvas C)


DrawLevelAction[edit]

function bool DrawLevelAction (Canvas C)


DrawRoute[edit]

simulated function DrawRoute ()


DrawSpectatingHud[edit]

function DrawSpectatingHud (Canvas C)


DrawTargeting[edit]

simulated function DrawTargeting (Canvas C)


DrawTypingPrompt[edit]

simulated function DrawTypingPrompt (Canvas C, string Text)


GetFontSizeIndex[edit]

function Font GetFontSizeIndex (Canvas C, int FontSize)


GetLocalStatsScreen[edit]

function GetLocalStatsScreen ()


LinkActors[edit]

simulated function LinkActors ()


LoadFont[edit]

simulated function Font LoadFont (int i)


LoadProgressFont[edit]

simulated function Font LoadProgressFont ()


LocalizedMessage[edit]

simulated function LocalizedMessage (class<LocalMessageMessage, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject, optional string CriticalString)


Message[edit]

simulated function Message (PlayerReplicationInfo PRI, coerce string Msg, name MsgType)


Reset[edit]

function Reset ()

Overrides: Actor.Reset


SetCropping[edit]

simulated function SetCropping (bool Active)


SetInstructionKeyText[edit]

simulated function SetInstructionKeyText (string text)


SetInstructionText[edit]

simulated function SetInstructionText (string text)


SetScoreBoardClass[edit]

simulated function SetScoreBoardClass (class<ScoreBoardScoreBoardClass)


SetTargeting[edit]

simulated function SetTargeting (bool bShow, optional Object.Vector TargetLocation, optional float Size)