Always snap to grid

UE2:HudBase (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Hud >> HudBase
Package: 
XInterface
Direct subclass:
HudBDeathMatch
This class in other games:
UT2004

null

Properties[edit]

Property group 'HudBase'[edit]

CroppingAmount[edit]

Type: float


Default value: 0.25

CroppingMaterial[edit]

Type: Material


DoCropping[edit]

Type: bool


InstrDelta[edit]

Type: float


InstrRate[edit]

Type: float


InstructionFontFont[edit]

Type: Font


InstructionFontName[edit]

Type: string

Modifiers: localized


Default value: "UT2003Fonts.jFontMono800x600"

InstructionKeyText[edit]

Type: string


InstructionText[edit]

Type: string


InstructTextBorderX[edit]

Type: float


Default value: 10.0

InstructTextBorderY[edit]

Type: float


Default value: 10.0

LocalMessages[edit]

Type: HudLocalizedMessage

Array size: 8

Modifiers: transient


PassStyle[edit]

Type: Actor.ERenderStyle

Modifiers: transient

For debugging.

TeamIndex[edit]

Type: int

Modifiers: transient


VoteMenuClass[edit]

Type: class<Actor>


Internal variables[edit]

bHideWeaponName[edit]

Type: bool

Modifiers: globalconfig


bShowTargeting[edit]

Type: bool

Modifiers: transient


FontsPrecached[edit]

Type: byte


LastWeaponName[edit]

Type: string


TargetingLocation[edit]

Type: Object.Vector

Modifiers: transient


TargetingSize[edit]

Type: float

Modifiers: transient


TargetMaterial[edit]

Type: Material


Default value: Material'InterfaceContent.Hud.fbBombFocus'

WeaponDrawColor[edit]

Type: Object.Color


WeaponDrawTimer[edit]

Type: float


Default values[edit]

Property Value
FontArrayNames[0] "UT2003Fonts.FontEurostile37"
FontArrayNames[1] "UT2003Fonts.FontEurostile29"
FontArrayNames[2] "UT2003Fonts.FontEurostile24"
FontArrayNames[3] "UT2003Fonts.FontEurostile21"
FontArrayNames[4] "UT2003Fonts.jFontMedium800x600"
FontArrayNames[5] "UT2003Fonts.jFontMedium"
FontArrayNames[6] "UT2003Fonts.FontEurostile12"
FontArrayNames[7] "UT2003Fonts.jFontSmallText800x600"
FontArrayNames[8] "UT2003Fonts.FontSmallText"
FontScreenWidthMedium[0] 2048
FontScreenWidthMedium[1] 1600
FontScreenWidthMedium[2] 1280
FontScreenWidthMedium[3] 1024
FontScreenWidthMedium[4] 800
FontScreenWidthMedium[5] 640
FontScreenWidthMedium[6] 512
FontScreenWidthMedium[7] 400
FontScreenWidthMedium[8] 320
FontScreenWidthSmall[0] 4096
FontScreenWidthSmall[1] 3200
FontScreenWidthSmall[2] 2560
FontScreenWidthSmall[3] 2048
FontScreenWidthSmall[4] 1600
FontScreenWidthSmall[5] 1280
FontScreenWidthSmall[6] 1024
FontScreenWidthSmall[7] 800
FontScreenWidthSmall[8] 640
ProgressFontName "UT2003Fonts.FontMedium"

Enums[edit]

EScaleMode[edit]

SM_None 
SM_Up 
SM_Down 
SM_Left 
SM_Right 

Structs[edit]

DigitSet[edit]

Material DigitTexture 
Object.IntBox TextureCoords[11]  
0-9, 11th element is negative sign

HudLocalizedMessage[edit]

class<LocalMessage> Message 
string StringMessage 
int Switch 
PlayerReplicationInfo RelatedPRI 
PlayerReplicationInfo RelatedPRI2 
Object OptionalObject 
float EndOfLife 
float LifeTime 
Font StringFont 
Object.Color DrawColor 
Object.EDrawPivot DrawPivot 
LocalMessage.EStackMode StackMode 
float PosX 
float PosY 
float DX 
float DY 
bool Drawn 

NumericWidget[edit]

Actor.ERenderStyle RenderStyle 
int MinDigitCount 
float TextureScale 
Object.EDrawPivot DrawPivot 
float PosX 
float PosY 
int OffsetX 
int OffsetY 
Object.Color Tints[2]  
int bPadWithZeroes 
int Value 

SpriteWidget[edit]

Material WidgetTexture 
Actor.ERenderStyle RenderStyle 
Object.IntBox TextureCoords 
float TextureScale 
Object.EDrawPivot DrawPivot 
float PosX 
float PosY 
int OffsetX 
int OffsetY 
EScaleMode ScaleMode 
float Scale 
Object.Color Tints[2]  

Functions[edit]

Native functions[edit]

DrawNumericWidget[edit]

native simulated function DrawNumericWidget (Canvas C, out NumericWidget W, out DigitSet D)


DrawSpriteWidget[edit]

native simulated function DrawSpriteWidget (Canvas C, out SpriteWidget W)


Other instance functions[edit]

ClearMessage[edit]

simulated function ClearMessage (out HudLocalizedMessage M)


CreateKeyMenus[edit]

simulated function CreateKeyMenus ()

Overrides: Hud.CreateKeyMenus


DisplayLocalMessages[edit]

simulated function DisplayLocalMessages (Canvas C)


Draw2DLocationDot[edit]

function Draw2DLocationDot (Canvas C, Object.Vector Loc, float OffsetX, float OffsetY, float ScaleX, float ScaleY)


DrawHud[edit]

simulated function DrawHud (Canvas C)

Overrides: Hud.DrawHud


DrawHudPassA[edit]

simulated function DrawHudPassA (Canvas C)


DrawHudPassB[edit]

simulated function DrawHudPassB (Canvas C)


DrawHudPassC[edit]

simulated function DrawHudPassC (Canvas C)


DrawHudPassD[edit]

simulated function DrawHudPassD (Canvas C)


DrawInstructionGfx[edit]

simulated function DrawInstructionGfx (Canvas C)

Overrides: Hud.DrawInstructionGfx


DrawInstructionKeyText[edit]

simulated function DrawInstructionKeyText (Canvas C)


DrawInstructionText[edit]

simulated function DrawInstructionText (Canvas C)


DrawMessage[edit]

simulated function DrawMessage (Canvas C, int i, float PosX, float PosY, out float DX, out float DY)


DrawTargeting[edit]

simulated function DrawTargeting (Canvas C)

Overrides: Hud.DrawTargeting


DrawWeaponName[edit]

simulated function DrawWeaponName (Canvas C)


GetLocalStatsScreen[edit]

function GetLocalStatsScreen ()

Overrides: Hud.GetLocalStatsScreen


GetScreenCoords[edit]

simulated function GetScreenCoords (float PosX, float PosY, out float ScreenX, out float ScreenY, out HudLocalizedMessage Message, Canvas C)


LayoutMessage[edit]

simulated function LayoutMessage (out HudLocalizedMessage Message, Canvas C)


LoadInstructionFont[edit]

simulated function Font LoadInstructionFont ()


LocalizedMessage[edit]

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

Overrides: Hud.LocalizedMessage


Message[edit]

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

Overrides: Hud.Message


PrecacheFonts[edit]

simulated function PrecacheFonts (Canvas C)


SetCropping[edit]

simulated function SetCropping (bool Active)

Overrides: Hud.SetCropping


SetInstructionKeyText[edit]

simulated function SetInstructionKeyText (string text)

Overrides: Hud.SetInstructionKeyText


SetInstructionText[edit]

simulated function SetInstructionText (string text)

Overrides: Hud.SetInstructionText


SetTargeting[edit]

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

Overrides: Hud.SetTargeting


UpdateHud[edit]

simulated function UpdateHud ()