Legacy:ScoreBoardDeathMatch

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT2003 :: Actor >> Info >> ScoreBoard >> ScoreBoardDeathMatch (Package: XInterface)

This is the scoreboard that appears in a DeathMatch game when you press F1. It shows game related information to the user from GameReplicationInfo and PlayerReplicationInfo.

Constants

MAXPLAYERS = 32 
The maximum number of players the scoreboard can display.

Properties

string AdminText (localized) 
"ADMIN"
Material BoxMaterial 
Material used for the background boxes. 'InterfaceContent.ScoreBoxA'
string Continue (localized) 
" Press [Fire] to continue!"
string DeathsText (localized) 
"DEATHS"
string Ended (localized) 
"The match has ended."
string FooterText (localized) 
"Elapsed Time:"
string FPH (localized) 
"FPH"
float FPHTime 
Time used to calculate the Frags Per Hour (FPH) for each player.
string FragLimit (localized) 
"FRAG LIMIT:"
string GameType (localized) 
"GAME"
string MapName (localized) 
" in "
string MatchIDText (localized) 
"UT2003 Stats Match ID"
string MaxLives (localized) 
"MAX LIVES:"
string NetText (localized) 
"NET"
string NotReadyText (localized) 
"NOT RDY"
string OutFireText (localized) 
" You are OUT. Fire to view other players."
string OutText (localized) 
"OUT"
string PingText (localized) 
"PING:"
string PlayerText (localized) 
"PLAYER"
string PointsText (localized) 
"SCORE"
PlayerReplicationInfo PRIArray[MAXPLAYERS] 
Stores a copy of the GameReplicationInfo GRI.PRIArray.
string RankText (localized) 
"RANK"
string ReadyText (localized) 
"READY"
string Restart (localized) 
" You were killed. Press Fire to respawn!"
string SkillLevel[8] (localized) 
An array of strings that contains these default difficulty levels { "NOVICE" , "AVERAGE" , "EXPERIENCED", "SKILLED", "ADEPT", "MASTERFUL", "INHUMAN", "GODLIKE" }
string Spacer (localized) 
" "
string TimeLimit (localized) 
"REMAINING TIME:"
string TimeText (localized) 
"TIME:"

Methods

Inherited From Actor

UpdatePrecacheMaterials ( ) 
Calls UpdatePrecacheFonts.

Inherited From ScoreBoard

UpdateScoreBoard (Canvas Canvas) 
Configures the size of the menu and text to the correct size for the number of players that are currently in game and then proceeds to draw the names for each player. It draws the scores, deaths, and then finishes by calling DrawNetInfo and DrawnetInfo.

New Methods

DrawMatchID (Canvas Canvas, int FontReduction) 
Draws the MatchIDText and the GameReplicationInfo MatchID at a reduced size font specified by FontReduction.
DrawNetInfo (Canvas Canvas, int FontReduction, int HeaderOffsetY, int PlayerBoxSizeY, int BoxSpaceY, int BoxTextOffsetY, int OwnerOffset, int PlayerCount, int NetXPos) 
First determines if the match is ready, if it is, it draws AdminText by all players that are admins. Then it tests to see whether the game is ready again, this time drawing a box stating ReadyText or NotReadyText. Then for each non-admin player that still has a lives in the game it draws their ping and time in game.
DrawTitle (Canvas Canvas, float HeaderOffsetY, float PlayerAreaY) 
If the game is a standalone game then it displays the SkillLevel. Then it displays the map name, the level title, max lives, goal score, time limit. If the game is over, then it gives the appropriate them the appropriate end game string from HudBDeathMatch (Win or Lose). If the player is dead and out of lives then it displays OutFireText. If they have lives it Restart.
UpdatePrecacheFonts ( ) 
No Code.

Known Subclasses