I don't need to test my programs. I have an error-correcting modem.

UE2:HudBase (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 Object >> Actor >> Hud >> HudBase
Package: 
XInterface
Direct subclass:
HudBDeathMatch
This class in other games:
UT2004

null

Properties

Property group 'HudBase'

CroppingAmount

Type: float


Default value: 0.25

CroppingMaterial

Type: Material


DoCropping

Type: bool


InstrDelta

Type: float


InstrRate

Type: float


InstructionFontFont

Type: Font


InstructionFontName

Type: string

Modifiers: localized


Default value: "UT2003Fonts.jFontMono800x600"

InstructionKeyText

Type: string


InstructionText

Type: string


InstructTextBorderX

Type: float


Default value: 10.0

InstructTextBorderY

Type: float


Default value: 10.0

LocalMessages

Type: HudLocalizedMessage

Array size: 8

Modifiers: transient


PassStyle

Type: Actor.ERenderStyle

Modifiers: transient

For debugging.

TeamIndex

Type: int

Modifiers: transient


VoteMenuClass

Type: class<Actor>


Internal variables

bHideWeaponName

Type: bool

Modifiers: globalconfig


bShowTargeting

Type: bool

Modifiers: transient


FontsPrecached

Type: byte


LastWeaponName

Type: string


TargetingLocation

Type: Object.Vector

Modifiers: transient


TargetingSize

Type: float

Modifiers: transient


TargetMaterial

Type: Material


Default value: Material'InterfaceContent.Hud.fbBombFocus'

WeaponDrawColor

Type: Object.Color


WeaponDrawTimer

Type: float


Default values

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

EScaleMode

SM_None 
SM_Up 
SM_Down 
SM_Left 
SM_Right 

Structs

DigitSet

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

HudLocalizedMessage

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

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

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

Native functions

DrawNumericWidget

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


DrawSpriteWidget

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


Other instance functions

ClearMessage

simulated function ClearMessage (out HudLocalizedMessage M)


CreateKeyMenus

simulated function CreateKeyMenus ()

Overrides: Hud.CreateKeyMenus


DisplayLocalMessages

simulated function DisplayLocalMessages (Canvas C)


Draw2DLocationDot

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


DrawHud

simulated function DrawHud (Canvas C)

Overrides: Hud.DrawHud


DrawHudPassA

simulated function DrawHudPassA (Canvas C)


DrawHudPassB

simulated function DrawHudPassB (Canvas C)


DrawHudPassC

simulated function DrawHudPassC (Canvas C)


DrawHudPassD

simulated function DrawHudPassD (Canvas C)


DrawInstructionGfx

simulated function DrawInstructionGfx (Canvas C)

Overrides: Hud.DrawInstructionGfx


DrawInstructionKeyText

simulated function DrawInstructionKeyText (Canvas C)


DrawInstructionText

simulated function DrawInstructionText (Canvas C)


DrawMessage

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


DrawTargeting

simulated function DrawTargeting (Canvas C)

Overrides: Hud.DrawTargeting


DrawWeaponName

simulated function DrawWeaponName (Canvas C)


GetLocalStatsScreen

function GetLocalStatsScreen ()

Overrides: Hud.GetLocalStatsScreen


GetScreenCoords

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


LayoutMessage

simulated function LayoutMessage (out HudLocalizedMessage Message, Canvas C)


LoadInstructionFont

simulated function Font LoadInstructionFont ()


LocalizedMessage

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

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

Overrides: Hud.Message


PrecacheFonts

simulated function PrecacheFonts (Canvas C)


SetCropping

simulated function SetCropping (bool Active)

Overrides: Hud.SetCropping


SetInstructionKeyText

simulated function SetInstructionKeyText (string text)

Overrides: Hud.SetInstructionKeyText


SetInstructionText

simulated function SetInstructionText (string text)

Overrides: Hud.SetInstructionText


SetTargeting

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

Overrides: Hud.SetTargeting


UpdateHud

simulated function UpdateHud ()