XML:IGHH

From OniGalore
Revision as of 15:11, 14 November 2012 by Paradox-01 (talk | contribs) (IGHH + cat + temp)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
IGHH : In-game HUD
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

HPge << Other file types >> IPge

switch to OBD page

general information

HPge_tn.jpg
  • The xml code on this page is compatible with onisplit v0.9.61.0
  • IGHH is global. (It can be found in edition/GameDataFolder/level0_... )
  • There's only one IGHH.
  • HPge and IGHH becomes displayed at the same time.
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 offset of left HUD image to left screen border.
<LeftY> integer Vertical offset of left HUD image to bottom screen border.
<RightX> integer Horizontal offset of right HUD image to right screen border.

(The offset specifies the distance between the right edge of the screen and the left edge of the HUD image.)

<RightY> integer vertical offset of right HUD image to bottom screen border.
<LeftCount> integer Amount of elements (<IGHHLabels>) attached to left HUD image.
<RightCount> integer Amount of elements (<IGHHLabels>) attached to right HUD image.
<Labels> - You can have N <IGHHLabels> whereby N is an integer (int32).
<IGHHLabels> -
<Text> char[64] Legend of a HUD item, e.g. BALLISTIC AMMO.
<X> integer The legend starts 77 pixels from the left border of the left HUD image.

The integers at 0x40 are all positive. The interpretation is different depending on the part of the HUD the element is attached to.
For the left/right HUD, this is the horizontal distance between the left/right edge of the HUD image and the left/right edge of the legend.
Thus the legend attached to the left HUD is to its right and the legend attached to the right HUD is to its left.

<Y> integer The legend starts 8 pixels from the top border of the left HUD image.