7erra/Sandbox – User

From Bohemia Interactive Community
< User:7erra
Revision as of 16:15, 16 March 2020 by 7erra (talk | contribs) (Created page with "{{wip}} =GUI coordinates= Creating dialogs makes understanding the way Arma 3 handles the screen coordinates mandatory. This page is supposed to give an overview and explanati...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:wip

GUI coordinates

Creating dialogs makes understanding the way Arma 3 handles the screen coordinates mandatory. This page is supposed to give an overview and explanation of this topic.

Considerations

There are three important things to keep in mind:

1) Keeping the dialog on screen

For this purpose the safeZone grid was introduced. Here is a quick rundown of all six commands:

Command Explanation
safeZoneX The left edge of the screen on SINGLE monitor settings.
safeZoneXAbs The left edge of the screen on MULTIPLE monitors (Triple Head, three screens).
safeZoneY The top edge of the screen.
safeZoneW The width of of the screen in a SINGLE monitor setup (or the center one in case of triple head).
safeZoneWAbs The width of a triple head setup. In case of a single monitor this is equal to safeZoneW.
safeZoneH The height of the screen

2) Considering different settings

These are the settings that can be changed and will influence your dialog:

  • Screen resolution and aspect ratio: 1920x1080 (16:9), 1366x768 (16:9), 1024x768 (4:3), etc.)
  • UI scale: Ranges from Very Small to Very Large
  • Triple Head setups

For this purpose the GUI_GRID was introduced. It's purpose is to keep a uniform style on all dialogs and is the grid system used across nearly all Arma 3 dialogs.