showHUD: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *p([0-9]+) *=([^ ]+) *\{\{Since\|(.+)\|([0-9]\.[0-9][02468])[^ ]+\}\} " to "|p$1= $2 |p$1since= $3 $4 ") |
Lou Montana (talk | contribs) m (Text replacement - " \|([ps][0-9]+) *= " to " |$1= ") |
||
Line 45: | Line 45: | ||
|p28= cursors: [[Boolean]] (Optional, default [[true]]) - Show HUD weapon cursors (connected with scripted HUD) | |p28= cursors: [[Boolean]] (Optional, default [[true]]) - Show HUD weapon cursors (connected with scripted HUD) | ||
|p29= | |p29= panels: [[Boolean]] (Optional, default [[true]]) - Show [[Arma 3: Custom Info]] | ||
|p29since= arma3 1.70 | |p29since= arma3 1.70 | ||
|p30= kills: [[Boolean]] (Optional, default [[true]]) - Show "x killed by y" [[systemChat]] messages | |p30= kills: [[Boolean]] (Optional, default [[true]]) - Show "x killed by y" [[systemChat]] messages | ||
|p31= | |p31= showIcon3D: [[Boolean]] (Optional, default [[false]]) - Show icons drawn with [[drawIcon3D]] even when the HUD is hidden | ||
|p31since= arma3 2.04 | |p31since= arma3 2.04 | ||
Revision as of 23:30, 10 August 2021
Description
- Description:
- Enable / disable showing of HUD. Defines visibility of weapon crosshair and any informational tags that appear when pointing the weapon at an object as well as availability of the default action menu. Unfortunately, it also hides icons drawn with drawIcon3D.
- Groups:
- Interaction
Syntax
Alternative Syntax
- Syntax:
- showHUD [scriptedHUD, info radar, compass, direction, menu, group, cursors, panels, kills, showIcon3D]
- Parameters:
- scriptedHUD: Boolean - Show scripted HUD such as weapon crosshair, action menu and overlays created with cutRsc and titleRsc. Same as showHUD's first syntax
- info: Boolean (Optional, default true) - Show vehicle, soldier and weapon info
- radar: Boolean (Optional, default true) - Show vehicle radar
- compass: Boolean (Optional, default true) - Show vehicle compass
- direction: Boolean (Optional, default true) - Show tank direction indicator. Not present in vanilla Arma 3
- menu: Boolean (Optional, default true) - Show commanding menu (HC related menus)
- group: Boolean (Optional, default true) - Show group info bar (Squad leader info bar)
- cursors: Boolean (Optional, default true) - Show HUD weapon cursors (connected with scripted HUD)
- since 1.70
- panels: Boolean (Optional, default true) - Show Arma 3: Custom Info
- kills: Boolean (Optional, default true) - Show "x killed by y" systemChat messages
- since 2.04
- showIcon3D: Boolean (Optional, default false) - Show icons drawn with drawIcon3D even when the HUD is hidden
- Return Value:
- Nothing
Examples
- Example 1:
showHUD false;
- Example 2:
- Hide vehicle radar and compass:
showHUD [ true, // scriptedHUD true, // info true, // radar true, // compass true, // direction true, // menu true, // group true, // cursors true, // panels true, // kills true // showIcon3D ];
- Example 3:
- Check if HUD visibility is hardcoded in mission config and showHUD command is overriden:
_disabledShowHUD = isArray (missionConfigFile >> "showHUD");
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on August 17, 2015 - 17:08 (UTC)
- Killzone Kid
- The "cursors" parameter controls visibility of the action menu as well as weapon cursors. However if 1st param "hud" hides and disables action menu, param "cursors" only hides it. So you get invisible action menu that is fully operational. inGameUISetEventHandler will still fire on interaction, giving the information about selected item on the action menu even if you cannot see it. Unfortunately it also hides icons drawn with drawIcon3D.
- Posted on March 1, 2020 - 14:33 (UTC)
- POLPOX
-
showHUD false
removes Contact's compass that shown in the top of the screen.