HudLayout.res: Difference between revisions
Jump to navigation
Jump to search
(→Keys: explained here http://developer.valvesoftware.com/wiki/VGUI_Panel) |
No edit summary |
||
Line 1: | Line 1: | ||
The <code>HudLayout.res</code> file, located under a Source game's <code>/scripts</code> directory, defines the general look and feel of the in-game [[HUD Elements|HUD]]. From this file, you can change among other things the location, color, font and visibility of HUD elements. | The <code>HudLayout.res</code> file, located under a Source game's <code>/scripts</code> directory, defines the general look and feel of the in-game [[HUD Elements|HUD]]. From this file, you can change among other things the location, color, font and visibility of HUD elements. | ||
;HudHealth | ;HudHealth | ||
:Player health readout | :Player health readout | ||
[[File:HudHealth.png]] | :[[File:HudHealth.png]] | ||
;HudSuit | ;HudSuit | ||
:Player armor readout | :Player armor readout | ||
[[File:HudSuit.png]] | :[[File:HudSuit.png]] | ||
;HudAmmo | ;HudAmmo | ||
:Player primary ammunition readout | :Player primary ammunition readout | ||
[[File:HudAmmo.png]] | :[[File:HudAmmo.png]] | ||
;HudAmmoSecondary | ;HudAmmoSecondary | ||
:Player secondary ammunition readout | :Player secondary ammunition readout | ||
[[File:HudAmmoSecondary.png]] | :[[File:HudAmmoSecondary.png]] | ||
;HudSuitPower | ;HudSuitPower | ||
:Player auxiliary power readout | :Player auxiliary power readout | ||
[[File:HudSuitPower.png]] | :[[File:HudSuitPower.png]] | ||
;HudFlashlight | ;HudFlashlight | ||
:Flashlight power readout | :Flashlight power readout | ||
[[File:HudFlashlight.png]] | :[[File:HudFlashlight.png]] | ||
;HudDamageIndicator | ;HudDamageIndicator | ||
:Damage direction indicator | :Damage direction indicator | ||
[[File:HudDamageIndicator.png]] | :[[File:HudDamageIndicator.png]] | ||
;HudZoom | ;HudZoom | ||
:Dimming and large crosshair | :Dimming and large crosshair | ||
;HudWeaponSelection | ;HudWeaponSelection | ||
:Player weapon selection menu | :Player weapon selection menu | ||
[[File:HudWeaponSelection.png]] | :[[File:HudWeaponSelection.png]] | ||
;HudCrosshair | ;HudCrosshair | ||
:Crosshair | :Crosshair | ||
[[File:HudCrosshair.png]] | :[[File:HudCrosshair.png]] | ||
;HudDeathNotice | ;HudDeathNotice | ||
:Notification of player deaths in multiplayer | :Notification of player deaths in multiplayer | ||
[[File:HudDeathNotice.png]] | :[[File:HudDeathNotice.png]] | ||
;HudVehicle | ;HudVehicle | ||
:{{TODO|??}} | :{{TODO|??}} | ||
;ScorePanel | ;ScorePanel | ||
:Scoreboard | :Scoreboard | ||
[[File:ScorePanel.png]] | :[[File:ScorePanel.png]] | ||
;HudTrain | ;HudTrain | ||
:{{TODO|??}} | :{{TODO|??}} | ||
;HudMOTD | ;HudMOTD | ||
:Message Of The Day panel | :Message Of The Day panel | ||
[[File:HudMOTD.jpg]] | :[[File:HudMOTD.jpg]] | ||
;HudMessage | ;HudMessage | ||
:Textual display typically used by game_text and env_message entities | :Textual display typically used by game_text and env_message entities | ||
[[File:HudMessage.png]] | :[[File:HudMessage.png]] | ||
;HudMenu | ;HudMenu | ||
:Better known as the "Radio Menu" | :Better known as the "Radio Menu" | ||
;HudCloseCaption | ;HudCloseCaption | ||
:Displays close captions and subtitles | :Displays close captions and subtitles | ||
[[File:HudCloseCaption.png]] | :[[File:HudCloseCaption.png]] | ||
;HudChat | ;HudChat | ||
:Chat text entry and display | :Chat text entry and display | ||
;HudHistoryResource | ;HudHistoryResource | ||
:List of items/ammunition the player recently picked up | :List of items/ammunition the player recently picked up | ||
[[File:HudHistoryResource.png]] | :[[File:HudHistoryResource.png]] | ||
;HudGeiger | ;HudGeiger | ||
:Geiger counter (radiation indicator) | :Geiger counter (radiation indicator) | ||
;HudQuickInfo | ;HudQuickInfo | ||
:Health and ammunition indicator (surrounds the crosshair) | :Health and ammunition indicator (surrounds the crosshair) | ||
[[File:HudQuickInfo.png]] | :[[File:HudQuickInfo.png]] | ||
;HudWeapon | ;HudWeapon | ||
:{{TODO|??}} | :{{TODO|??}} | ||
;HudAnimationInfo | ;HudAnimationInfo | ||
:Displays information about HUD elements, activated by the console command <code>cl_animationinfo</code> | :Displays information about HUD elements, activated by the console command <code>cl_animationinfo</code> | ||
[[File:HudAnimationInfo.png]] | :[[File:HudAnimationInfo.png]] | ||
;HudPredictionDump | ;HudPredictionDump | ||
:Displays information about a predicted entity's variables, activated by console variable <code>[[cl_pdump]]</code> | :Displays information about a predicted entity's variables, activated by console variable <code>[[cl_pdump]]</code> | ||
[[File:HudPredictionDump.png]] | :[[File:HudPredictionDump.png]] | ||
;HudHintDisplay | ;HudHintDisplay | ||
:Textual hint display | :Textual hint display | ||
[[File:HudHintDisplay.png]] | :[[File:HudHintDisplay.png]] | ||
;HudHintKeyDisplay | ;HudHintKeyDisplay | ||
:Display designed solely for showing localized key hints. Unlike <code>HudHintDisplay</code>, this display cannot be used to display unlocalized text | :Display designed solely for showing localized key hints. Unlike <code>HudHintDisplay</code>, this display cannot be used to display unlocalized text | ||
[[File:HudHintKeyDisplay.png]] | :[[File:HudHintKeyDisplay.png]] | ||
;HudSquadStatus | ;HudSquadStatus | ||
:Squad status indicator, shows the number and state of squad members | :Squad status indicator, shows the number and state of squad members | ||
[[File:HudSquadStatus.png]] | :[[File:HudSquadStatus.png]] | ||
;HudPoisonDamageIndicator | ;HudPoisonDamageIndicator | ||
[[File:HudPoisonDamageIndicator.png]] | :[[File:HudPoisonDamageIndicator.png]] | ||
;HudCredits | ;HudCredits | ||
:{{TODO|??}} | :{{TODO|??}} | ||
Line 89: | Line 86: | ||
;HudCommentary | ;HudCommentary | ||
:Display showing the duration and progress of the currently active commentary node | :Display showing the duration and progress of the currently active commentary node | ||
[[File:HudCommentary.png]] | :[[File:HudCommentary.png]] | ||
;HudHDRDemo | ;HudHDRDemo | ||
:Lost Coast HDR Demonstration HUD element | :Lost Coast HDR Demonstration HUD element | ||
[[File:HudHDRDemo.jpg]] | :[[File:HudHDRDemo.jpg|950px]] | ||
;TeamDisplay | ;TeamDisplay | ||
:Player team indicator | :Player team indicator | ||
[[File:TeamDisplay.png]] | :[[File:TeamDisplay.png]] | ||
;TargetID | ;TargetID | ||
:Display that shows information about the target the player is looking at | :Display that shows information about the target the player is looking at | ||
[[File:TargetID.png]] | :[[File:TargetID.png]] | ||
;HudVoiceSelfStatus | ;HudVoiceSelfStatus | ||
:Indicates to the player that their microphone is active | :Indicates to the player that their microphone is active | ||
[[File:HudVoiceSelfStatus.png]] | :[[File:HudVoiceSelfStatus.png]] | ||
;HudVoiceStatus | ;HudVoiceStatus | ||
:Indicator for the players who are currently speaking through voice chat | :Indicator for the players who are currently speaking through voice chat | ||
[[File:HudVoiceStatus.png]] | :[[File:HudVoiceStatus.png]] | ||
;HudLocator | ;HudLocator | ||
:Display showing the location of the player's Jalopy (EP2 only) | :Display showing the location of the player's Jalopy (EP2 only) |
Revision as of 07:55, 3 August 2011
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
- Todo: ??
- AchievementNotificationPanel
- Todo: ??