The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:HudMutant (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Hud >> HudBase >> HudCDeathMatch >> HudMutant
Package: 
BonusPack
This class in other games:
UT2003

Class: BonusPack.HudMutant

HUD for Mutant game-type. Adds things like the mutant-detecting radar

Written by James Golding (c) 2002, Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'HudMutant'[edit]

AboveMutantColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 0
R 0

bCenterRadar[edit]

Type: bool


Default value: True

BelowMutantColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 255

BFIMargin[edit]

Type: float


Default value: 0.01

BFIOriginX[edit]

Type: float


Default value: 0.9

BFIOriginY[edit]

Type: float


Default value: 0.64

BFIPulseRate[edit]

Type: float


Default value: 1.0

BFISizeX[edit]

Type: float


Default value: 0.09

BFISizeY[edit]

Type: float


Default value: 0.1

BigDotSize[edit]

Type: float


Default value: 0.01875

BottomFeederBeaconMat[edit]

Type: Texture


Default value: Texture'TeamSymbols.TeamBeaconT'

BottomFeederIcon[edit]

Type: Material


Default value: Material'MutantSkins.BFeeder_icon'

BottomFeederText[edit]

Type: string

Modifiers: localized


Default value: "BOTTOM FEEDER"

BottomFeederTextColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 0

bTestHud[edit]

Type: bool


CenterRadarBG[edit]

Type: HudBase.SpriteWidget


Default value:

Member Value
DrawPivot DP_MiddleMiddle
OffsetX 0
OffsetY 0
PosX 0.5
PosY 0.5
RenderStyle STY_Translucent
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 255
X2 0
Y1 0
Y2 255
TextureScale 0.8
Tints[0]
Member Value
A 255
B 255
G 255
R 255
Tints[1]
Member Value
A 255
B 255
G 255
R 255
WidgetTexture Material'MutantSkins.HUD.big_circle'

CurrentMutantColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 128
G 0
R 255

LevelMutantColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 255
R 255

LevelRampRegion[edit]

Type: float


Default value: 500.0

MaxAngleDelta[edit]

Type: float


Default value: 1.0

MNOriginX[edit]

Type: float


Default value: 0.28

MNOriginY[edit]

Type: float


Default value: 0.0080

MNSizeX[edit]

Type: float


Default value: 0.45

MNSizeY[edit]

Type: float


Default value: 0.06

MutantHudTint[edit]

Type: Object.Color


Default value:

Member Value
A 100
B 128
G 0
R 200

MutantRangeColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 200
G 200
R 200

MutantRangeFontFont[edit]

Type: Font


MutantRangeFontName[edit]

Type: string

Modifiers: localized


Default value: "UT2003Fonts.FontMono"

RangeDotColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 50
G 200
R 200

RangeRampRegion[edit]

Type: float


Default value: 2500.0

SmallDotSize[edit]

Type: float


Default value: 0.01125

TopRadarBG[edit]

Type: HudBase.SpriteWidget


Default value:

Member Value
DrawPivot DP_UpperMiddle
OffsetX 0
OffsetY -15
PosX 0.5
PosY 0.01
RenderStyle STY_Alpha
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 142
X2 0
Y1 880
Y2 1023
TextureScale 0.35
Tints[0]
Member Value
A 255
B 255
G 255
R 255
Tints[1]
Member Value
A 255
B 255
G 255
R 255
WidgetTexture Material'InterfaceContent.Hud.SkinA'

XCen[edit]

Type: float


Default value: 0.5

XRad[edit]

Type: float


Default value: 0.15

YCen[edit]

Type: float


Default value: 0.5

YRad[edit]

Type: float

Center radar tweaking

Default value: 0.2

Internal variables[edit]

bMutantHudColor[edit]

Type: bool

Modifiers: transient


Instance functions[edit]

DisplayEnemyName[edit]

function DisplayEnemyName (Canvas C, PlayerReplicationInfo PRI)

Overrides: HudCDeathMatch.DisplayEnemyName


DrawBottomFeederIndicator[edit]

simulated function DrawBottomFeederIndicator (Canvas C)


DrawCrosshair[edit]

simulated function DrawCrosshair (Canvas C)

Overrides: HudCDeathMatch.DrawCrosshair


DrawCustomBeacon[edit]

function DrawCustomBeacon (Canvas C, Pawn P, float ScreenLocX, float ScreenLocY)

Overrides: Hud.DrawCustomBeacon


DrawHud[edit]

simulated function DrawHud (Canvas C)

Overrides: HudBase.DrawHud


DrawHudPassA[edit]

simulated function DrawHudPassA (Canvas C)

Overrides: HudCDeathMatch.DrawHudPassA


DrawWeaponBar[edit]

simulated function DrawWeaponBar (Canvas C)

Overrides: HudCDeathMatch.DrawWeaponBar


LerpColor[edit]

function Object.Color LerpColor (float Alpha, Object.Color A, Object.Color B)


LoadMutantRangeFont[edit]

simulated function Font LoadMutantRangeFont ()


PawnIsVisible[edit]

simulated function bool PawnIsVisible (Object.Vector vecPawnView, Object.Vector X, Pawn P)


PRIIsBottomFeeder[edit]

simulated function bool PRIIsBottomFeeder (PlayerReplicationInfo PRI)


PRIIsMutant[edit]

simulated function bool PRIIsMutant (PlayerReplicationInfo PRI)


UpdatePrecacheMaterials[edit]

simulated function UpdatePrecacheMaterials ()

Overrides: HudCDeathMatch.UpdatePrecacheMaterials