My program doesn't have bugs. It just develops random features.

UE2:ONSHUDOnslaught (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Hud >> HudBase >> HudCDeathMatch >> HudCTeamDeathMatch >> ONSHUDOnslaught
Package: 
Onslaught


Properties[edit]

Property group 'ONSHUDOnslaught'[edit]

AttackColorA[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 189
R 244

AttackColorB[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 11
G 162
R 234

BorderMat[edit]

Type: Material


Default value: Material'ONSInterface-TX.MapBorderTex'

CoreHealthWidgets[edit]

Type: HudBase.NumericWidget

Array size: 2


Default value, index 0:

Member Value
DrawPivot DP_MiddleMiddle
MinDigitCount 1
OffsetX -149
OffsetY 88
PosX 0.5
PosY 0.0
RenderStyle STY_Alpha
TextureScale 0.24
Tints[0]
Member Value
A 255
B 255
G 255
R 255
Tints[1]
Member Value
A 255
B 255
G 255
R 255

Default value, index 1:

Member Value
DrawPivot DP_MiddleMiddle
MinDigitCount 1
OffsetX 149
OffsetY 88
PosX 0.5
PosY 0.0
RenderStyle STY_Alpha
TextureScale 0.24
Tints[0]
Member Value
A 255
B 255
G 255
R 255
Tints[1]
Member Value
A 255
B 255
G 255
R 255

CoreWidgets[edit]

Type: HudBase.SpriteWidget

Array size: 2


Default value, index 0:

Member Value
DrawPivot DP_UpperRight
OffsetX -110
OffsetY 45
PosX 0.5
PosY 0.0
RenderStyle STY_Alpha
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 365
X2 432
Y1 233
Y2 313
TextureScale 0.25
Tints[0]
Member Value
A 200
B 100
G 100
R 255
Tints[1]
Member Value
A 200
B 32
G 32
R 255
WidgetTexture Material'HudContent.Generic.HUD'

Default value, index 1:

Member Value
DrawPivot DP_UpperLeft
OffsetX 110
OffsetY 45
PosX 0.5
PosY 0.0
RenderStyle STY_Alpha
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 365
X2 432
Y1 233
Y2 313
TextureScale 0.25
Tints[0]
Member Value
A 200
B 255
G 128
Tints[1]
Member Value
A 200
B 255
G 210
R 32
WidgetTexture Material'HudContent.Generic.HUD'

HealthBarBackMat[edit]

Type: Material


Default value: Material'InterfaceContent.BorderBoxD'

HealthBarHeight[edit]

Type: float


Default value: 8.0

HealthBarMat[edit]

Type: Material


Default value: Material'ONSInterface-TX.HealthBar'

HealthBarPosition[edit]

Type: float


Default value: 485.0

HealthBarViewDist[edit]

Type: float


Default value: 4000.0

HealthBarWidth[edit]

Type: float


Default value: 75.0

LinkColor[edit]

Type: Object.Color

Array size: 3


Default value, index 0:

Member Value
A 255
B 0
G 0
R 255

Default value, index 1:

Member Value
A 255
B 255
G 0
R 0

Default value, index 2:

Member Value
A 255
B 255
G 255
R 255

NeutralColor[edit]

Type: Object.Color


NodeLabelWidget[edit]

Type: HudBase.NumericWidget


Default value:

Member Value
DrawPivot DP_MiddleMiddle
MinDigitCount 1
OffsetX 0
OffsetY 0
PosX 0.5
PosY 0.0
RenderStyle STY_Alpha
TextureScale 0.24
Tints[0]
Member Value
A 255
B 255
G 255
R 255
Tints[1]
Member Value
A 255
B 255
G 255
R 255

SeveredColorA[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 192
G 192
R 192

SeveredColorB[edit]

Type: Object.Color


Default value:

Member Value
A 255
B 128
G 128
R 128

SymbolGB[edit]

Type: HudBase.SpriteWidget

Array size: 2


Default value, index 0:

Member Value
DrawPivot DP_UpperRight
OffsetX -32
OffsetY 7
PosX 0.5
PosY 0.0
RenderStyle STY_Alpha
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 119
X2 173
Y1 258
Y2 313
TextureScale 0.6
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 Texture'HudContent.Generic.HUD'

Default value, index 1:

Member Value
DrawPivot DP_UpperLeft
OffsetX 32
OffsetY 7
PosX 0.5
PosY 0.0
RenderStyle STY_Alpha
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 119
X2 173
Y1 258
Y2 313
TextureScale 0.6
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 Texture'HudContent.Generic.HUD'

Internal variables[edit]

bMapDisabled[edit]

Type: bool


bReceivedLinks[edit]

Type: bool


ColorPercent[edit]

Type: float


FinalCore[edit]

Type: ONSPowerCore

Array size: 2


IconScale[edit]

Type: float

Modifiers: config


Default value: 1.0

MapCenter[edit]

Type: Object.Vector


Node[edit]

Type: ONSPowerCore


OwnerPRI[edit]

Type: ONSPlayerReplicationInfo


PowerLinks[edit]

Type: array<PowerLink>

Modifiers: protected


RadarMaxRange[edit]

Type: float


Default value: 500000.0

RadarPosX[edit]

Type: float

Modifiers: config


Default value: 1.0

RadarPosY[edit]

Type: float

Modifiers: config


Default value: 0.1

RadarRange[edit]

Type: float


RadarScale[edit]

Type: float

Modifiers: config


Default value: 0.2

RadarTrans[edit]

Type: float

Modifiers: config


Default value: 255.0

Default values[edit]

Property Value
ScoreTeam[0]
Member Value
DrawPivot DP_MiddleRight
MinDigitCount 2
OffsetX -90
OffsetY 32
PosX 0.442
PosY 0.0
RenderStyle STY_Alpha
TextureScale 0.54
Tints[0]
Member Value
A 255
B 255
G 255
R 255
Tints[1]
Member Value
A 255
B 255
G 255
R 255
ScoreTeam[1]
Member Value
DrawPivot DP_MiddleLeft
MinDigitCount 2
OffsetX 90
OffsetY 32
PosX 0.558
PosY 0.0
RenderStyle STY_Alpha
TextureScale 0.54
Tints[0]
Member Value
A 255
B 255
G 255
R 255
Tints[1]
Member Value
A 255
B 255
G 255
R 255
TeamScoreBackGround[0]
Member Value
DrawPivot DP_UpperRight
OffsetX -50
OffsetY 10
PosX 0.442
PosY 0.0
RenderStyle STY_Alpha
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 168
X2 334
Y1 211
Y2 255
TextureScale 0.53
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 Texture'HudContent.Generic.HUD'
TeamScoreBackGround[1]
Member Value
DrawPivot DP_UpperLeft
OffsetX 50
OffsetY 10
PosX 0.558
PosY 0.0
RenderStyle STY_Alpha
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 168
X2 334
Y1 211
Y2 255
TextureScale 0.53
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 Texture'HudContent.Generic.HUD'
TeamScoreBackGroundDisc[0]
Member Value
DrawPivot DP_UpperRight
OffsetX -35
OffsetY 5
PosX 0.442
PosY 0.0
RenderStyle STY_Alpha
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 119
X2 173
Y1 258
Y2 313
TextureScale 0.53
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 Texture'HudContent.Generic.HUD'
TeamScoreBackGroundDisc[1]
Member Value
DrawPivot DP_UpperLeft
OffsetX 35
OffsetY 5
PosX 0.558
PosY 0.0
RenderStyle STY_Alpha
Scale 1.0
ScaleMode SM_Right
TextureCoords
Member Value
X1 119
X2 173
Y1 258
Y2 313
TextureScale 0.53
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 Texture'HudContent.Generic.HUD'
TeamSymbols[0]
Member Value
DrawPivot DP_UpperRight
OffsetX -200
OffsetY 45
PosX 0.442
PosY 0.0
RenderStyle STY_Alpha
TextureCoords
Member Value
X2 256
Y2 256
TextureScale 0.1
Tints[0]
Member Value
A 200
B 100
G 100
R 255
Tints[1]
Member Value
A 200
B 32
G 32
R 255
TeamSymbols[1]
Member Value
OffsetX 200
OffsetY 45
PosX 0.558
PosY 0.0
RenderStyle STY_Alpha
TextureCoords
Member Value
X2 256
Y2 256
TextureScale 0.1
Tints[0]
Member Value
A 200
B 255
G 128
Tints[1]
Member Value
A 200
B 255
G 210
R 32

Functions[edit]

Static functions[edit]

CoreWorldToScreen[edit]

simulated static function bool CoreWorldToScreen (ONSPowerCore Core, out Object.Vector ScreenPos, float ScreenX, float ScreenY, float RadarWidth, float Range, Object.Vector Center, optional bool bIgnoreRange)


DrawAttackIcon[edit]

simulated static function DrawAttackIcon (Canvas C, ONSPowerCore CurCore, Object.Vector HUDLocation, float IconScaling, float HUDScaling, float ColorPercentage)


DrawCoreIcon[edit]

simulated static function DrawCoreIcon (Canvas C, Object.Vector HUDLocation, bool bAttackable, float IconScaling, float HUDScaling, float ColorPercentage)


DrawMapImage[edit]

simulated static function DrawMapImage (Canvas C, Material Image, float MapX, float MapY, float PlayerX, float PlayerY, Object.Vector Dimensions)


DrawNodeIcon[edit]

simulated static function DrawNodeIcon (Canvas C, Object.Vector HUDLocation, bool bAttackable, byte Stage, float IconScaling, float HUDScaling, float ColorPercentage)


DrawSelectionIcon[edit]

simulated static function DrawSelectionIcon (Canvas C, Object.Vector HUDLocation, Object.Color IconColor, float IconScaling, float HUDScaling)


DrawSpawnIcon[edit]

simulated static function DrawSpawnIcon (Canvas C, Object.Vector HUDLocation, bool bFinalCore, float IconScaling, float HUDScaling)


Exec functions[edit]

CopyLinkSetup[edit]

exec function CopyLinkSetup ()


LinkDesigner[edit]

exec function LinkDesigner ()


ToggleRadarMap[edit]

exec function ToggleRadarMap ()


Events[edit]

PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: HudCDeathMatch.PostBeginPlay


Tick[edit]

simulated event Tick (float deltaTime)

Overrides: HudCTeamDeathMatch.Tick


Timer[edit]

simulated event Timer ()

Overrides: Actor.Timer


Other instance functions[edit]

AddLink[edit]

simulated function AddLink (ONSPowerCore A, ONSPowerCore B)


ClearLinks[edit]

simulated function ClearLinks ()


DrawHealthBar[edit]

simulated function DrawHealthBar (Canvas C, Actor A, int Health, int MaxHealth, float Height)


DrawNodeLabel[edit]

simulated function DrawNodeLabel (Canvas C, Object.Vector HUDLocation, float IconScaling, float HUDScaling, Object.Color LabelColor, int Num)


DrawRadarMap[edit]

simulated function DrawRadarMap (Canvas C, float CenterPosX, float CenterPosY, float RadarWidth, bool bShowDisabledNodes)


HasLink[edit]

simulated function bool HasLink (ONSPowerCore A, ONSPowerCore B)


LocatePowerCore[edit]

simulated function ONSPowerCore LocatePowerCore (float PosX, float PosY, float RadarWidth)


PowerCoreAttackable[edit]

function bool PowerCoreAttackable (ONSPowerCore PC)


ReceiveLink[edit]

simulated function ReceiveLink (ONSPowerCore A, ONSPowerCore B)


RemoveLink[edit]

simulated function RemoveLink (ONSPowerCore A, ONSPowerCore B)


RequestPowerLinks[edit]

simulated function RequestPowerLinks ()


ResetLinks[edit]

simulated function ResetLinks ()


SetupLinks[edit]

simulated function SetupLinks ()


ShowTeamScorePassA[edit]

simulated function ShowTeamScorePassA (Canvas C)

Overrides: HudCTeamDeathMatch.ShowTeamScorePassA


ShowTeamScorePassC[edit]

simulated function ShowTeamScorePassC (Canvas C)

Overrides: HudCTeamDeathMatch.ShowTeamScorePassC


UpdatePrecacheMaterials[edit]

simulated function UpdatePrecacheMaterials ()

Overrides: HudCDeathMatch.UpdatePrecacheMaterials