I'm a doctor, not a mechanic
UE3:UTHUD instance functions (UT3)
Contents
- 1 Instance functions
- 1.1 AddPostRenderedActor
- 1.2 CheckCrosshairOnFriendly
- 1.3 DisplayAmmo
- 1.4 DisplayClock
- 1.5 DisplayConsoleMessages
- 1.6 DisplayDamage
- 1.7 DisplayFragCount
- 1.8 DisplayHeroMeter
- 1.9 DisplayHit
- 1.10 DisplayHUDMessage
- 1.11 DisplayLeaderBoard
- 1.12 DisplayLocalMessages
- 1.13 DisplayMap
- 1.14 DisplayMOTD
- 1.15 DisplayPawnDoll
- 1.16 DisplayPortrait
- 1.17 DisplayPowerups
- 1.18 DisplayQuickPickCell
- 1.19 DisplayQuickPickMenu
- 1.20 DisplayScoring
- 1.21 DrawAIOverlays
- 1.22 DrawEngineHUD
- 1.23 DrawGameHud
- 1.24 DrawHUD
- 1.25 DrawLivingHud
- 1.26 DrawMessageText
- 1.27 DrawMicIcon
- 1.28 DrawNameplateBackground
- 1.29 DrawPlayerBeacon
- 1.30 DrawPostGameHud
- 1.31 DrawShadowedRotatedTile
- 1.32 DrawShadowedStretchedTile
- 1.33 DrawShadowedTile
- 1.34 DrawTileCentered
- 1.35 DrawToolTip
- 1.36 DrawVehicleBeacon
- 1.37 FlashDamage
- 1.38 GetScreenCoords
- 1.39 GetUIController
- 1.40 HidePortrait
- 1.41 Message
- 1.42 NotifyLocalPlayerTeamReceived
- 1.43 OpenScene
- 1.44 QuickPick
- 1.45 RemovePostRenderedActor
- 1.46 ResetHeroTooltipTimeStamp
- 1.47 ResolveHUDPosition
- 1.48 SetDisplayedOrders
- 1.49 ShowPortrait
- 1.50 SpawnScoreBoard
- 1.51 UpdateCTFFlagVisibility
- 1.52 UpdateDamage
- UTHUD instance functions in other games:
- UDK
- Other member categories for this class:
- properties
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Instance functions[edit]
AddPostRenderedActor[edit]
AddPostRenderedActor() add an actor to the PostRenderedActors array
CheckCrosshairOnFriendly[edit]
DisplayAmmo[edit]
DisplayClock[edit]
DisplayConsoleMessages[edit]
Overrides: HUD.DisplayConsoleMessages
Display current messages
DisplayDamage[edit]
DisplayFragCount[edit]
DisplayHeroMeter[edit]
DisplayHit[edit]
Called from various functions. It allows the hud to track when a hit is scored and display any indicators.
Parameters:
- HitDir - The vector to which the hit came at
- Damage - How much damage was done
- DamageType - Type of damage
DisplayHUDMessage[edit]
Displays a HUD message
DisplayLeaderBoard[edit]
DisplayLocalMessages[edit]
Overrides: HUD.DisplayLocalMessages
DisplayMap[edit]
Draw the Map
DisplayMOTD[edit]
Displays the MOTD Scene
DisplayPawnDoll[edit]
DisplayPortrait[edit]
Render the character portrait on the screen.
Parameters:
- RenderDelta - How long since the last render
DisplayPowerups[edit]
DisplayQuickPickCell[edit]
DisplayQuickPickMenu[edit]
DisplayScoring[edit]
DrawAIOverlays[edit]
draws AI goal overlays over each AI pawn
DrawEngineHUD[edit]
Overrides: HUD.DrawEngineHUD
We override this here so we do not have the copyright screen show up in envyentry or when you skip past a movie *
DrawGameHud[edit]
This function is called to draw the hud while the game is still in progress. You should only draw items here that are always displayed. If you want to draw something that is displayed only when the player is alive use DrawLivingHud().
DrawHUD[edit]
Overrides: HUD.DrawHUD
This is the main drawing pump. It will determine which hud we need to draw (Game or PostGame). Any drawing that should occur regardless of the game state should go here.
DrawLivingHud[edit]
Anything drawn in this function will be displayed ONLY when the player is living.
DrawMessageText[edit]
Overrides: HUD.DrawMessageText
DrawMicIcon[edit]
DrawNameplateBackground[edit]
DrawPlayerBeacon[edit]
Draw postrenderfor team beacon for an on-foot player
DrawPostGameHud[edit]
This function is called when we are drawing the hud but the match is over.
DrawShadowedRotatedTile[edit]
DrawShadowedStretchedTile[edit]
DrawShadowedTile[edit]
DrawTileCentered[edit]
Draws a textured centered around the current position
DrawToolTip[edit]
DrawVehicleBeacon[edit]
Draw postrenderfor team beacon for a vehicle
FlashDamage[edit]
Configures a damage directional indicator and makes it appear
Parameters:
- FlashPosition - Where it should appear
GetScreenCoords[edit]
Overrides: HUD.GetScreenCoords
GetUIController[edit]
Accessors for the UI system for opening scenes (scoreboard/menus/etc)
HidePortrait[edit]
If the portrait is visible, this will immediately try and hide it
Message[edit]
Overrides: HUD.Message
NotifyLocalPlayerTeamReceived[edit]
Overrides: Actor.NotifyLocalPlayerTeamReceived
OpenScene[edit]
OpenScene - Opens a UIScene
Parameters:
- Template - The scene template to open
QuickPick[edit]
Change the selection in a given QuickPick group
RemovePostRenderedActor[edit]
RemovePostRenderedActor() remove an actor from the PostRenderedActors array
ResetHeroTooltipTimeStamp[edit]
ResolveHUDPosition[edit]
Given a default screen position (at 1024x768) this will return the hud position at the current resolution. NOTE: If the default position value is < 0.0f then it will attempt to place the right/bottom face of the "widget" at that offset from the ClipX/Y.
Parameters:
- Position - The default position (in 1024x768 space)
- Width - How wide is this "widget" at 1024x768
- Height - How tall is this "widget" at 1024x768
Returns:
- the hud position
SetDisplayedOrders[edit]
ShowPortrait[edit]
Given a PRI, show the Character portrait on the screen.
Parameters:
- ShowPRI - The PRI to show
- bOverrideCurrentSpeaker - If true, we will quickly slide off the current speaker and then bring on this guy
SpawnScoreBoard[edit]
Overrides: HUD.SpawnScoreBoard
UpdateCTFFlagVisibility[edit]
UpdateDamage[edit]
Update Damage always needs to be called