Panel Positioning

From Empires Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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