XML:IGHH: Difference between revisions
Jump to navigation
Jump to search
Paradox-01 (talk | contribs) mNo edit summary |
m (oops, forgot this disambig page existed) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{XML_File_Header | type=IGHH | {{XML_File_Header | prev=IDXA | type=IGHH | next=IGPA | name=IGUI HUD Help}} | ||
== | ==General information== | ||
* The | * The XML on this page is compatible with OniSplit '''v0.9.61.0'''. | ||
* IGHH is '''global''' | *"IGUI" stands for "In-game User Interface". "HUD" stands for "heads-up display". | ||
* There's only one IGHH. | * IGHH is '''global''' (it can be found in AE/AEInstaller/vanilla/level0_Final.dat). | ||
* HPge and IGHH | * There's only one IGHH in Oni. | ||
* In the following description "HUD" refers to the health gauge, weapon display, compass, etc., and "HUD explanation" refers to the image | * The [[XML:HPge|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== | |||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width=100px | XML tag | !width=100px | XML tag | ||
!width=100px| | !width=100px | Content type | ||
! description | ! description | ||
|- | |- | ||
| <IGHH id="..."> | | <IGHH id="..."> | ||
| integer | | integer | ||
| instance | | instance ID, should be 0 | ||
|- | |- | ||
| <LeftTexture> | | <LeftTexture> | ||
Line 27: | Line 29: | ||
| <LeftX> | | <LeftX> | ||
| integer | | integer | ||
| Horizontal relative position of left HUD explanation image (left white | | Horizontal relative position of left HUD explanation image (left white border) to left HUD image (left red border). | ||
|- | |- | ||
| <LeftY> | | <LeftY> | ||
| integer | | integer | ||
| Vertical relative position of left HUD explanation image (bottom white | | Vertical relative position of left HUD explanation image (bottom white border) to left HUD image (bottom red border). | ||
|- | |- | ||
| <RightX> | | <RightX> | ||
| integer | | integer | ||
| Horizontal relative position of right HUD explanation image (right white | | Horizontal relative position of right HUD explanation image (right white border) to right HUD image (right red border). | ||
|- | |- | ||
| <RightY> | | <RightY> | ||
| integer | | integer | ||
| Vertical relative position of right HUD explanation image (bottom white | | Vertical relative position of right HUD explanation image (bottom white border) to right HUD image (bottom red border). | ||
|- | |- | ||
| <LeftCount> | | <LeftCount> | ||
| integer | | integer | ||
| | | Number of elements (<IGHHLabels>) attached to left HUD explanation image. | ||
|- | |- | ||
| <RightCount> | | <RightCount> | ||
| integer | | integer | ||
| | | Number of elements (<IGHHLabels>) attached to right HUD explanation image. | ||
|- | |- | ||
| <Labels> | | <Labels> | ||
| - | | - | ||
| You can have N <IGHHLabels> | | You can have N <IGHHLabels> where N is an integer (int32). | ||
|- | |- | ||
| <IGHHLabels> | | <IGHHLabels> | ||
| - | | - | ||
| Holds | | Holds <Text>, <X> and <Y> tags. | ||
|- | |- | ||
| <Text> | | <Text> | ||
| char[64] | | char[64] | ||
| Legend | | Legend text for a HUD item, for example "BALLISTIC AMMO". | ||
|- | |- | ||
|valign=top| <X> | |valign=top| <X> | ||
|valign=top| integer | |valign=top| integer | ||
| | | | ||
[[Image:HPge.png|thumb|200px|right|Help page plus IGHH illustration.]] | |||
'''For left HUD:''' | '''For left HUD:''' | ||
: Horizontal relative position of text to left HUD explanation image (right white | : Horizontal relative position of text to left HUD explanation image (right white border). | ||
: For example it's 77 px for "BALLISTIC AMMO". | : For example it's 77 px for "BALLISTIC AMMO". | ||
'''For right HUD:''' | '''For right HUD:''' | ||
: Horizontal relative position of text to right HUD explanation image (left white | : Horizontal relative position of text to right HUD explanation image (left white border). | ||
: For example it's 19 px for "OVERPOWER HEALTH". | : For example it's 19 px for "OVERPOWER HEALTH". | ||
|- | |- | ||
|valign="top"| <Y> | |valign="top"| <Y> | ||
|valign="top"| integer | |valign="top"| integer | ||
| Vertical relative position of text to the right/left HUD explanation image (top white | | 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". | : For example it's 8 px for "BALLISTIC AMMO" and 26 px for "OVERPOWER HEALTH". | ||
|} | |} | ||
{{XML}} | {{XML}} |
Latest revision as of 19:06, 27 March 2021
IGHH : IGUI HUD Help | ||
---|---|---|
XML
IDXA << Other file types >> IGPA |
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 |
For left HUD:
For right HUD:
|
<Y> | integer | Vertical relative position of text to the right/left HUD explanation image (top white border).
|