I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
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
AddPostRenderedActor
AddPostRenderedActor() add an actor to the PostRenderedActors array
CheckCrosshairOnFriendly
DisplayAmmo
DisplayClock
DisplayConsoleMessages
Overrides: HUD.DisplayConsoleMessages
Display current messages
DisplayDamage
DisplayFragCount
DisplayHeroMeter
DisplayHit
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
Displays a HUD message
DisplayLeaderBoard
DisplayLocalMessages
Overrides: HUD.DisplayLocalMessages
DisplayMap
Draw the Map
DisplayMOTD
Displays the MOTD Scene
DisplayPawnDoll
DisplayPortrait
Render the character portrait on the screen.
Parameters:
- RenderDelta - How long since the last render
DisplayPowerups
DisplayQuickPickCell
DisplayQuickPickMenu
DisplayScoring
DrawAIOverlays
draws AI goal overlays over each AI pawn
DrawEngineHUD
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
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
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
Anything drawn in this function will be displayed ONLY when the player is living.
DrawMessageText
Overrides: HUD.DrawMessageText
DrawMicIcon
DrawNameplateBackground
DrawPlayerBeacon
Draw postrenderfor team beacon for an on-foot player
DrawPostGameHud
This function is called when we are drawing the hud but the match is over.
DrawShadowedRotatedTile
DrawShadowedStretchedTile
DrawShadowedTile
DrawTileCentered
Draws a textured centered around the current position
DrawToolTip
DrawVehicleBeacon
Draw postrenderfor team beacon for a vehicle
FlashDamage
Configures a damage directional indicator and makes it appear
Parameters:
- FlashPosition - Where it should appear
GetScreenCoords
Overrides: HUD.GetScreenCoords
GetUIController
Accessors for the UI system for opening scenes (scoreboard/menus/etc)
HidePortrait
If the portrait is visible, this will immediately try and hide it
Message
Overrides: HUD.Message
NotifyLocalPlayerTeamReceived
Overrides: Actor.NotifyLocalPlayerTeamReceived
OpenScene
OpenScene - Opens a UIScene
Parameters:
- Template - The scene template to open
QuickPick
Change the selection in a given QuickPick group
RemovePostRenderedActor
RemovePostRenderedActor() remove an actor from the PostRenderedActors array
ResetHeroTooltipTimeStamp
ResolveHUDPosition
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
ShowPortrait
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
Overrides: HUD.SpawnScoreBoard
UpdateCTFFlagVisibility
UpdateDamage
Update Damage always needs to be called