Gah - a solution with more questions. – EntropicLqd
UE2:HudBase (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- XInterface
- Direct subclasses:
- HudBDeathMatch, HudCDeathMatch
- This class in other games:
- UT2003
Abstract base class for all UT2004 HUDs.
[edit] Properties
[edit] Property group 'HudBase'
[edit] CroppingAmount
Type: float
Default value: 0.25
[edit] CroppingMaterial
Type: Material
[edit] Crosshairs
Type: array<SpriteWidget>
Default value, index 0:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.75 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Cross1' |
Default value, index 1:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.75 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Cross2' |
Default value, index 10:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.6 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Bracket1' |
Default value, index 11:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.6 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Bracket2' |
Default value, index 12:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.4 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Circle1' |
Default value, index 13:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.4 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Circle2' |
Default value, index 14:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.75 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Cross3' |
Default value, index 15:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.75 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Cross4' |
Default value, index 16:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.75 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Cross5' |
Default value, index 17:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.75 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Dot' |
Default value, index 18:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.6 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Pointer' |
Default value, index 19:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.7 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Triad1' |
Default value, index 20:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.7 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Triad2' |
Default value, index 21:
| Member | Value | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DrawPivot | DP_MiddleMiddle | ||||||||||
| PosX | 0.5 | ||||||||||
| PosY | 0.5 | ||||||||||
| RenderStyle | STY_Alpha | ||||||||||
| Scale | 1.0 | ||||||||||
| TextureCoords |
|
||||||||||
| TextureScale | 0.7 | ||||||||||
| Tints[0] |
|
||||||||||
| Tints[1] |
|
||||||||||
| WidgetTexture | Texture'Crosshairs.HUD.Crosshair_Triad3' |
[edit] DoCropping
Type: bool
[edit] Emphasized
Type: byte
Array size: 4
[edit] InstrDelta
Type: float
[edit] InstrRate
Type: float
[edit] InstructionFontFont
Type: Font
[edit] InstructionFontName
Type: string
Modifiers: localized
Default value: "UT2003Fonts.jFontMono800x600"
[edit] InstructionKeyText
Type: string
[edit] InstructionText
Type: string
[edit] InstructTextBorderX
Type: float
Default value: 10.0
[edit] InstructTextBorderY
Type: float
Default value: 10.0
[edit] LevelActionFontName
Type: string
Modifiers: localized
Default value: "UT2003Fonts.FontMedium"
[edit] LevelActionLoading
Type: string
Modifiers: localized
Default value: "LOADING..."
[edit] LevelActionPaused
Type: string
Modifiers: localized
Default value: "PAUSED"
[edit] LocalMessages
Type: HudLocalizedMessage
Array size: 8
Modifiers: transient
[edit] PassStyle
Type: Actor.ERenderStyle
Modifiers: transient
For debugging.
[edit] TeamIndex
Type: int
Modifiers: transient
[edit] text
Type: string
Modifiers: localized
[edit] VoteMenuClass
[edit] Internal variables
[edit] AtMenus
Type: string
Modifiers: localized
Default value: "Press [ESC] to close menu"
[edit] bHideWeaponName
Type: bool
Modifiers: globalconfig
[edit] bIsCinematic
Type: bool
[edit] bShowTargeting
Type: bool
Modifiers: transient
[edit] bUseCustomWeaponCrosshairs
Type: bool
Modifiers: globalconfig
Default value: True
[edit] bUsingCustomHUDColor
Type: bool
[edit] CustomHUDColor
Type: Object.Color
Modifiers: globalconfig
[edit] DamageFlash
Type: Object.Color
Array size: 4
[edit] DamageTime
Type: float
Array size: 4
[edit] FontsPrecached
Type: byte
[edit] InitialViewingString
Type: string
Modifiers: localized
Default value: "Press Fire to View a different Player"
[edit] LastWeaponName
Type: string
[edit] LocationDot
Type: Material
Default value: Material'HudContent.Generic.HUD'
[edit] NowViewing
Type: string
Modifiers: localized
Default value: "Now viewing"
[edit] ScoreText
Type: string
Modifiers: localized
Default value: "Score"
[edit] TargetingLocation
Type: Object.Vector
Modifiers: transient
[edit] TargetingSize
Type: float
Modifiers: transient
[edit] TargetMaterial
Type: Material
Default value: Material'InterfaceContent.Hud.fbBombFocus'
[edit] WaitingToSpawn
Type: string
Modifiers: localized
Default value: "Press [Fire] to join the match!"
[edit] WeaponDrawColor
Type: Object.Color
[edit] WeaponDrawTimer
Type: float
[edit] WonMatchPostFix
Type: string
Modifiers: localized
Default value: " won the match!"
[edit] WonMatchPrefix
Type: string
Modifiers: localized
[edit] YouveLostTheMatch
Type: string
Modifiers: localized
Default value: "You've lost the match."
[edit] YouveWonTheMatch
Type: string
Modifiers: localized
Default value: "You've won the match!"
[edit] G15 variables
These variables were added in the UT2004 v3372 "G15" patch to control output to the keyboard's LCD screen.
[edit] LastLCDUpdateTime
Type: float
[edit] LCDUpdateFreq
Type: float
Default value: 1.0
[edit] LCDDisplayMode
Type: int
Modifiers: config
Default value: 2
[edit] LCDClassStr
Type: string
Array size: 8
Modifiers: config
Default value, index 0: "Rocket Launcher"
Default value, index 1: "Flak Cannon"
Default value, index 2: "Shock Rifle"
Default value, index 3: "Link Gun"
Default value, index 4: "Minigun"
Default value, index 5: "BIO-Rifle"
Default value, index 6: "Lightning Gun"
Default value, index 7: "Sniper Rifle"
[edit] LCDDescStr
Type: string
Array size: 8
Modifiers: config
Default value, index 0: "Rockets:"
Default value, index 1: "Flak:"
Default value, index 2: "Shock:"
Default value, index 3: "Link:"
Default value, index 4: "Mini:"
Default value, index 5: "BIO:"
Default value, index 6: "LG:"
Default value, index 7: "Sniper:"
[edit] Default values
[edit] Enums
[edit] EScaleMode
- SM_None
- SM_Up
- SM_Down
- SM_Left
- SM_Right
[edit] Structs
[edit] DigitSet
Modifiers: native
- Material DigitTexture
- Object.IntBox TextureCoords[11]
- 0-9, 11th element is negative sign
[edit] HudLocalizedMessage
Modifiers: native
- 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
[edit] NumericWidget
Modifiers: native
- 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
[edit] SpriteWidget
Modifiers: native
- 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]
[edit] Functions
[edit] Static functions
[edit] GetTeamColor
[edit] Native functions
[edit] DrawNumericWidget
[edit] DrawSpriteWidget
[edit] Events
[edit] PostBeginPlay
Overrides: Hud.PostBeginPlay
[edit] PostRender
Overrides: Hud.PostRender
Only in UT2004 v3372 "G15" patch. Periodically updates the keyboard LCD display as specified by LCDUpdateFreq.
[edit] Tick
Overrides: Actor.Tick
[edit] G15 exec functions
These are only available in the UT2004 v3372 "G15" patch.
