XML:IGHH: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
* There's only one IGHH.  
* There's only one IGHH.  
* HPge and IGHH becomes displayed at the same time.
* HPge and IGHH becomes 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 image holding the green lines.
* In the following description '''"HUD"''' refers to the health gauge, weapon display, compass, etc., and '''"HUD explanation"''' refers to the image holding the green lines.


{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
Line 43: Line 43:
| <LeftCount>
| <LeftCount>
| integer
| integer
| Amount of elements (<IGHHLabels>) attached to left HUD image.
| Amount of elements (<IGHHLabels>) attached to left HUD explanation image.
|-
|-
| <RightCount>
| <RightCount>
| integer
| integer
| Amount of elements (<IGHHLabels>) attached to right HUD image.
| Amount of elements (<IGHHLabels>) attached to right HUD explanation image.
|-
|-
| <Labels>
| <Labels>
Line 55: Line 55:
| <IGHHLabels>
| <IGHHLabels>
| -
| -
| Holds text, x and y tag.
| Holds <Text>, <X> and <Y> tag.
|-
|-
| <Text>
| <Text>

Revision as of 11:37, 16 November 2012

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

  • 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.
  • In the following description "HUD" refers to the health gauge, weapon display, compass, etc., and "HUD explanation" refers to the image holding the green lines.
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 boarder) to left HUD image (left red boarder).
<LeftY> integer Vertical relative position of left HUD explanation image (bottom white boarder) to left HUD image (bottom red border).
<RightX> integer Horizontal relative position of right HUD explanation image (right white boarder) to right HUD image (right red border).
<RightY> integer Vertical relative position of right HUD explanation image (bottom white boarder) to right HUD image (bottom red border).
<LeftCount> integer Amount of elements (<IGHHLabels>) attached to left HUD explanation image.
<RightCount> integer Amount of elements (<IGHHLabels>) attached to right HUD explanation image.
<Labels> - You can have N <IGHHLabels> whereby N is an integer (int32).
<IGHHLabels> - Holds <Text>, <X> and <Y> tag.
<Text> char[64] Legend of a HUD item, for example "BALLISTIC AMMO".
<X> integer
HPge_tn.png

For left HUD:

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

For right HUD:

Horizontal relative position of text to right HUD explanation image (left white boarder).
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 boarder).
For example it's 8 px for "BALLISTIC AMMO" and 26 px for "OVERPOWER HEALTH".