Panel Positioning

From Empires Wiki
(Redirected from HUD pos)
Jump to navigation Jump to search

The position of a Panel is determined by the following two variables:

  1. xpos
  2. ypos

The value of both variables determine the position of the upper left corner of the HUD element relative to the upper left corner of the screen ((0,0) being the upper left corner and (640,480) being the lower right corner in a 640x480 setting).

You may also enter a r before the value to give a position relative to the lower right corner of the HUD. For more options, refer to: https://developer.valvesoftware.com/wiki/VGUI_Position_and_Size_Flags