Env hudhint: Difference between revisions
Jump to navigation
Jump to search
MrDarkness (talk | contribs) No edit summary |
Dr. Orange (talk | contribs) m (→Keyvalues: Remove ALL CAPS) |
||
Line 4: | Line 4: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Hint Text (localized)|string|This should be match a HUD hint entry in <code>hl2\resource\[[valve_english.txt]]</code> or its localized equivalent. Example: entering "< | {{KV|Hint Text (localized)|string|This should be match a HUD hint entry in <code>hl2\resource\[[valve_english.txt]]</code> or its localized equivalent. Example: entering "<code>#Valve_Hint_Zoom</code>" (without the quotation marks) will display the following hint text: "%+zoom% ZOOM VIEW", with %+zoom% being the key currently bound to the zoom function. {{warning|Entering an unlocalized text as a hint will work, though when used in a mod you cannot make it language-specific unless you make localized text for the specified name!}}}} | ||
{{KV Targetname}} | {{KV Targetname}} | ||
Revision as of 11:31, 17 August 2018
Template:Base point It is used to control the display of HUD hints, which show the player what key is bound to a particular command.
Keyvalues
- Hint Text (localized) ([todo internal name (i)]) <string>
- This should be match a HUD hint entry in
hl2\resource\valve_english.txt
or its localized equivalent. Example: entering "#Valve_Hint_Zoom
" (without the quotation marks) will display the following hint text: "%+zoom% ZOOM VIEW", with %+zoom% being the key currently bound to the zoom function.Warning:Entering an unlocalized text as a hint will work, though when used in a mod you cannot make it language-specific unless you make localized text for the specified name!
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- ShowHudHint
- Shows the hint message.
- HideHudHint
- Hides the hint message.
Outputs
See also
- env_message - A similar entity that displays other predefined messages on the screen.
Tutorials about Env_HudHint (Russian)
Lessons created by Project-S