XML:IGHH

From OniGalore
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.
IGHH : IGUI HUD Help
XML modding tips
  • See HERE to start learning about XML modding.
  • See HERE if you are searching for information on how to handle object coordinates.
  • See HERE for some typical modding errors and their causes.
XML.png
XML

IDXA << Other file types >> IGPA

switch to OBD page

General information

  • The XML on this page is compatible with OniSplit v0.9.61.0.
  • "IGUI" stands for "In-game User Interface". "HUD" stands for "heads-up display".
  • IGHH is global (it can be found in AE/AEInstaller/vanilla/level0_Final.dat).
  • There's only one IGHH in Oni.
  • The HPge and IGHH get displayed at the same time.
  • In the following description, "HUD" refers to the health gauge, weapon display, compass, etc., and "HUD explanation" refers to the guide image with the green lines.

File structure

XML tag Content type description
<IGHH id="..."> integer instance ID, should be 0
<LeftTexture> link TXMPfilename.oni (without file suffix .oni); "TXMPleft_help" in vanilla Oni/AE
<RightTexture> link TXMPfilename.oni (without file suffix .oni); "TXMPright_help" in vanilla Oni/AE
<LeftX> integer Horizontal relative position of left HUD explanation image (left white border) to left HUD image (left red border).
<LeftY> integer Vertical relative position of left HUD explanation image (bottom white border) to left HUD image (bottom red border).
<RightX> integer Horizontal relative position of right HUD explanation image (right white border) to right HUD image (right red border).
<RightY> integer Vertical relative position of right HUD explanation image (bottom white border) to right HUD image (bottom red border).
<LeftCount> integer Number of elements (<IGHHLabels>) attached to left HUD explanation image.
<RightCount> integer Number of elements (<IGHHLabels>) attached to right HUD explanation image.
<Labels> - You can have N <IGHHLabels> where N is an integer (int32).
<IGHHLabels> - Holds <Text>, <X> and <Y> tags.
<Text> char[64] Legend text for a HUD item, for example "BALLISTIC AMMO".
<X> integer
Help page plus IGHH illustration.

For left HUD:

Horizontal relative position of text to left HUD explanation image (right white border).
For example it's 77 px for "BALLISTIC AMMO".

For right HUD:

Horizontal relative position of text to right HUD explanation image (left white border).
For example it's 19 px for "OVERPOWER HEALTH".
<Y> integer Vertical relative position of text to the right/left HUD explanation image (top white border).
For example it's 8 px for "BALLISTIC AMMO" and 26 px for "OVERPOWER HEALTH".