Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTHUDBase

Extends
UDKHUD
Modifiers
dependson ( UTWeapon ) config ( Game )

UT Heads Up Display base functionality share by old HUD and Scaleform HUD Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.HUD
      |   
      +-- GameFramework.MobileHUD
         |   
         +-- UDKBase.UDKHUD
            |   
            +-- UTGame.UTHUDBase

Direct Known Subclasses:

UTGFxHudWrapper, UTHUD

Variables Summary
boolbCrosshairOnFriendly
boolbCrosshairShow
boolbEnableActorOverlays
boolbGreenCrosshair
boolbIsSplitScreen
colorBlackColor
floatConfiguredCrosshairScaling
stringConsoleIconFontClassName
colorGoldColor
Texture2DIconHudTexture
floatLastPickupTime
floatLastTimeTooltipDrawn
GFxUILeaderboardLeaderboardMovie
colorLightGoldColor
colorLightGreenColor
class<UTMusicManager>MusicManagerClass
GFxUI_PauseMenuPauseMenuMovie
floatResolutionScale
floatResolutionScaleX
GFxUIScoreboardScoreboardMovie
TextureCoordinatesToolTipSepCoords
UTGameReplicationInfoUTGRI
UTPlayerControllerUTPlayerOwner
intViewX
intViewY
Inherited Variables from UDKBase.UDKHUD
BindTextFont, ConsoleIconFont, GlowFonts[2], PulseDuration, PulseMultiplier, PulseSplit, TextRenderInfo
Inherited Variables from GameFramework.MobileHUD
bDebugTouches, bDebugZonePresses, bDebugZones, bForceMobileHUD, bShowGameHud, bShowMobileHud, bShowMobileTilt, bShowMotionDebug, ButtonCaptionColor, ButtonFont, ButtonImages[2], ButtonUVs[2], JoystickBackground, JoystickBackgroundUVs, JoystickHat, JoystickHatUVs, KismetRenderEvents, MobileTiltSize, MobileTiltX, MobileTiltY, SliderImages[4], SliderUVs[4], TrackballBackground, TrackballBackgroundUVs, TrackballTouchIndicator, TrackballTouchIndicatorUVs

Functions Summary
functionbool CheckCrosshairOnFriendly ()))
function CloseOtherMenus ()
function CompletePauseMenuClose ()))
function DrawShadowedRotatedTile (texture2D Tex, Rotator Rot, float X, float Y, float XL, float YL, float U, float V, float UL, float VL, Color TileColor, Optional bool bScaleToRes))
function DrawShadowedStretchedTile (texture2D Tex, float X, float Y, float XL, float YL, float U, float V, float UL, float VL, Color TileColor, Optional bool bScaleToRes))
function DrawShadowedTile (texture2D Tex, float X, float Y, float XL, float YL, float U, float V, float UL, float VL, Color TileColor, Optional bool bScaleToRes))
function DrawToolTip (Canvas Cvs, PlayerController PC, string Command, float X, float Y, float U, float V, float UL, float VL, float ResScale, optional Texture2D IconTexture = default.IconHudTexture, optional float Alpha=1.0))
functionint GetLocalPlayerOwnerIndex ()))
function OnCloseAnimComplete ()))
function OnOpenAnimComplete ()))
function PostBeginPlay ()))
event PostRender ()))
function ReleaseShowScores ()))
function RemoveMovies ()))
function ResolutionChanged ()))
function SetShowLeaderboard (bool bEnableLeaderboard))
function SetShowScores (bool bEnableShowScores))
function SetVisible (bool bNewVisible))
function ShowMenu ()))
event Timer ()))
function ToggleLeaderboard ()))
function TogglePauseMenu ()))
Inherited Functions from UDKBase.UDKHUD
DrawGlowText, TranslateBindToFont
Inherited Functions from GameFramework.MobileHUD
AddKismetRenderEvent, DrawInputZoneOverlays, DrawMobileDebugString, DrawMobileTilt, DrawMobileZone_Button, DrawMobileZone_Joystick, DrawMobileZone_Slider, DrawMobileZone_Trackball, PostBeginPlay, PostRender, RefreshKismetLinks, RenderKismetHud, RenderMobileMenu, ShowMobileHud


Variables Detail

bCrosshairOnFriendly Source code

var bool bCrosshairOnFriendly;
If true, we will alter the crosshair when it's over a friendly

bCrosshairShow Source code

var bool bCrosshairShow;
If true, we will allow Weapons to show their crosshairs

bEnableActorOverlays Source code

var bool bEnableActorOverlays;
Whether to let actor overlays get drawn this tick

bGreenCrosshair Source code

var bool bGreenCrosshair;
Make the crosshair green (found valid friendly

bIsSplitScreen Source code

var bool bIsSplitScreen;
This will be true if the hud is in splitscreen

BlackColor Source code

var const color BlackColor;
Various colors

ConfiguredCrosshairScaling Source code

var float ConfiguredCrosshairScaling;
Configurable crosshair scaling

ConsoleIconFontClassName Source code

var config string ConsoleIconFontClassName;
Holds a reference to the font to use for a given console

GoldColor Source code

var const color GoldColor;
Various colors

IconHudTexture Source code

var const Texture2D IconHudTexture;

LastPickupTime Source code

var float LastPickupTime;
Used to pulse crosshair size

LastTimeTooltipDrawn Source code

var float LastTimeTooltipDrawn;

LeaderboardMovie Source code

var GFxUILeaderboard LeaderboardMovie;
GFx movie used for displaying the leaderboard

LightGoldColor Source code

var const color LightGoldColor;

LightGreenColor Source code

var const color LightGreenColor;

MusicManagerClass Source code

var class<UTMusicManager> MusicManagerClass;
class of dynamic music manager used with this hud/gametype

PauseMenuMovie Source code

var GFxUI_PauseMenu PauseMenuMovie;
GFx movie used for displaying pause menu

ResolutionScale Source code

var float ResolutionScale;
Holds the scaling factor given the current resolution. This is calculated in PostRender()

ResolutionScaleX Source code

var float ResolutionScaleX;
Holds the scaling factor given the current resolution. This is calculated in PostRender()

ScoreboardMovie Source code

var GFxUIScoreboard ScoreboardMovie;
GFx movie used for displaying scores

ToolTipSepCoords Source code

var TextureCoordinates ToolTipSepCoords;

UTGRI Source code

var UTGameReplicationInfo UTGRI;
Cached reference to the GRI

UTPlayerOwner Source code

var UTPlayerController UTPlayerOwner;
Cached a typed Player controller. Unlike PawnOwner we only set this once in PostBeginPlay

ViewX Source code

var int ViewX;
Cache viewport size to determine if it has changed

ViewY Source code

var int ViewY;
Cache viewport size to determine if it has changed


Functions Detail

CheckCrosshairOnFriendly Source code

function bool CheckCrosshairOnFriendly ( ) )

CloseOtherMenus Source code

function CloseOtherMenus ( )
Called when pause menu is opened

CompletePauseMenuClose Source code

function CompletePauseMenuClose ( ) )

DrawShadowedRotatedTile Source code

simulated function DrawShadowedRotatedTile ( texture2D Tex, Rotator Rot, float X, float Y, float XL, float YL, float U, float V, float UL, float VL, Color TileColor, Optional bool bScaleToRes) )

DrawShadowedStretchedTile Source code

simulated function DrawShadowedStretchedTile ( texture2D Tex, float X, float Y, float XL, float YL, float U, float V, float UL, float VL, Color TileColor, Optional bool bScaleToRes) )

DrawShadowedTile Source code

simulated function DrawShadowedTile ( texture2D Tex, float X, float Y, float XL, float YL, float U, float V, float UL, float VL, Color TileColor, Optional bool bScaleToRes) )

DrawToolTip Source code

function DrawToolTip ( Canvas Cvs, PlayerController PC, string Command, float X, float Y, float U, float V, float UL, float VL, float ResScale, optional Texture2D IconTexture = default.IconHudTexture, optional float Alpha=1.0) )

GetLocalPlayerOwnerIndex Source code

function int GetLocalPlayerOwnerIndex ( ) )
Returns the index of the local player that owns this HUD

OnCloseAnimComplete Source code

function OnCloseAnimComplete ( ) )

OnOpenAnimComplete Source code

function OnOpenAnimComplete ( ) )

PostBeginPlay Source code

simulated function PostBeginPlay ( ) )

PostRender Source code

event PostRender ( ) )
PostRender is the main draw loop.

ReleaseShowScores Source code

exec function ReleaseShowScores ( ) )

RemoveMovies Source code

function RemoveMovies ( ) )
Destroy existing Movies

ResolutionChanged Source code

function ResolutionChanged ( ) )
Reset movies since resolution changed

SetShowLeaderboard Source code

exec function SetShowLeaderboard ( bool bEnableLeaderboard) )
Displays/closes the leaderboard

SetShowScores Source code

exec function SetShowScores ( bool bEnableShowScores) )

SetVisible Source code

function SetVisible ( bool bNewVisible) )
Toggles visibility of normal in-game HUD

ShowMenu Source code

exec function ShowMenu ( ) )

Timer Source code

simulated event Timer ( ) )

ToggleLeaderboard Source code

exec function ToggleLeaderboard ( ) )
Toggles display of the leaderboard

TogglePauseMenu Source code

function TogglePauseMenu ( ) )


Defaultproperties

defaultproperties
{
	MusicManagerClass=class'UTGame.UTMusicManager'
	ToolTipSepCoords=(U=260,V=379,UL=29,VL=27)
	IconHudTexture=Texture2D'UI_HUD.HUD.UI_HUD_BaseB'
	BindTextFont=MultiFont'UI_Fonts_Final.HUD.MF_Large'
	ConfiguredCrosshairScaling=1.0

	BlackColor=(R=0,G=0,B=0,A=255)
	GoldColor=(R=255,G=183,B=11,A=255)
	LightGoldColor=(R=255,G=255,B=128,A=255)
	LightGreenColor=(R=128,G=255,B=128,A=255)
}



Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:57:00.266 - Created with UnCodeX