HudLayout.res: Difference between revisions
Jump to navigation
Jump to search
m (Added summary for HudPosture based on behavior noted in The Orange Box for Xbox 360) |
Spectraomg2 (talk | contribs) mNo edit summary |
||
| Line 114: | Line 114: | ||
[[Category:VGUI]] | [[Category:VGUI]] | ||
[[Category:Glossary]] | [[Category:Glossary]] | ||
"OmpCrosshairCircle" | |||
{ | |||
"controlName" "CExLabel" | |||
"fieldName" "OmpCrosshairCircle" | |||
"font" "Crosshairs40" | |||
"fgcolor" "225 225 225 30" | |||
"labelText" "9" | |||
"xpos" "c-100" | |||
"ypos" "c-96" | |||
"wide" "201" | |||
"tall" "200" | |||
"visible" "1" | |||
"enabled" "1" | |||
"textAlignment" "center" | |||
} | |||
Revision as of 01:03, 18 March 2018
The HudLayout.res file, located under a Source game's /scripts directory, defines the general look and feel of the in-game HUD. From this file, you can change among other things the location, color, font and visibility of HUD elements.
- HudHealth
- Player health readout

- HudSuit
- Player armor readout

- HudAmmo
- Player primary ammunition readout

- HudAmmoSecondary
- Player secondary ammunition readout

- HudSuitPower
- Player auxiliary power readout

- HudFlashlight
- Flashlight power readout

- HudDamageIndicator
- Damage direction indicator

- HudZoom
- Dimming and large crosshair
- HudWeaponSelection
- Player weapon selection menu

- HudCrosshair
- Crosshair

- HudDeathNotice
- Notification of player deaths in multiplayer

- HudVehicle
- Todo: ??
- ScorePanel
- Scoreboard

- HudTrain
- Todo: ??
- HudMOTD
- Message Of The Day panel

- HudMessage
- Textual display typically used by game_text and env_message entities

- HudMenu
- Better known as the "Radio Menu"
- HudCloseCaption
- Displays close captions and subtitles

- HudChat
- Chat text entry and display
- HudHistoryResource
- List of items/ammunition the player recently picked up

- HudGeiger
- Geiger counter (radiation indicator)
- HudQuickInfo
- Health and ammunition indicator (surrounds the crosshair)

- HudWeapon
- Todo: ??
- HudAnimationInfo
- Displays information about HUD elements, activated by the console command
cl_animationinfo 
- HudPredictionDump
- Displays information about a predicted entity's variables, activated by console variable
cl_pdump 
- HudHintDisplay
- Textual hint display

- HudHintKeyDisplay
- Display designed solely for showing localized key hints. Unlike
HudHintDisplay, this display cannot be used to display unlocalized text 
- HudSquadStatus
- Squad status indicator, shows the number and state of squad members

- HudPoisonDamageIndicator

- HudCredits
- Todo: ??
- HUDAutoAim
- Todo: ??
- HudCommentary
- Display showing the duration and progress of the currently active commentary node

- HudHDRDemo
- Lost Coast HDR Demonstration HUD element

- TeamDisplay
- Player team indicator

- TargetID
- Display that shows information about the target the player is looking at

- HudVoiceSelfStatus
- Indicates to the player that their microphone is active

- HudVoiceStatus
- Indicator for the players who are currently speaking through voice chat

- HudLocator
- Display showing the location of the player's Jalopy (EP2 only)
- HudPosture
- Display whether the player is crouching or not (Console only)

- AchievementNotificationPanel
- Notification panel indicating achievement progress (Non-PC)

"OmpCrosshairCircle" {
"controlName" "CExLabel" "fieldName" "OmpCrosshairCircle" "font" "Crosshairs40" "fgcolor" "225 225 225 30" "labelText" "9" "xpos" "c-100" "ypos" "c-96" "wide" "201" "tall" "200" "visible" "1" "enabled" "1" "textAlignment" "center"
}