|
|
| (8 intermediate revisions by 4 users not shown) |
| Line 1: |
Line 1: |
| [[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> IGHH File
| | {{OBD_File_Header | type=IGHH | prev=IDXA | next=IGPA | name=IGUI (In-Game User Interface) HUD (Head-Up Display) | family=Interface | align=center}} |
|
| |
|
|
| |
|
| <CENTER>[[OBD:IDXA|<==]] <FONT SIZE=5>IGHH File</FONT> [[OBD:IGPA|==>]]<BR>
| | [[Image:ighh_a.gif]] |
| <FONT SIZE=2>IGUI (In-Game User Interface) HUD (Head-Up Display) Help - Level 0 File</FONT></CENTER>
| |
|
| |
|
|
| |
|
| http://www.fh-eberswalde.de/user/dkriesch/onistuff/images/ighh_a.gif
| | {{Table}} |
| | {{OBDth}} |
| | {{OBDtr| 0x00 | res_id |FF0000| 01 68 10 00 | 4200 | 04200-hud_help_info.IGHH }} |
| | {{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 00 | 0 | level 0 }} |
| | {{OBDtr| 0x08 | char[28] |00FF00| AD DE | dead | padding }} |
| | {{OBDtr| 0x24 | link |00FFFF| 01 65 10 00 | 4197 | left HUD image (04197-left_help.[[TXMP]]) }} |
| | {{OBDtr| 0x28 | link |00FFFF| 01 66 10 00 | 4198 | right HUD image (04198-right_help.[[TXMP]]) }} |
| | {{OBDtr| 0x2C | int16 |FF00FF| 37 00 | 55 | horizontal offset of left HUD image to left screen border }} |
| | {{OBDtr| 0x2E | int16 |FF00FF| 00 00 | 0 | vertical offset of left HUD image to bottom screen border }} |
| | {{OBDtr| 0x30 | int16 |FF00FF| D5 FF | -42 | horizontal offset of right HUD image to right screen border }} |
| | {{OBDtr| 0x32 | int16 |FF00FF| 00 00 | 0 | vertical offset of right HUD image to bottom screen border }} |
| | {{OBDtr| 0x34 | uint32 |FF8000| 06 00 00 00 | 6 | amount of elements attached to left HUD image }} |
| | {{OBDtr| 0x38 | uint32 |FF8000| 07 00 00 00 | 7 | amount of elements attached to right HUD image }} |
| | {{OBDtr| 0x3C | uint32 |FF8000| 0D 00 00 00 | 13 | array size (elements for both parts of the HUD) }} |
| | {{OBDtrBK}} |
| | {{OBDtr2|0x00 | char[64] |FFC8C8| BALLISTIC AMMO | null-terminated string (legend of a HUD item) }} |
| | {{OBDtr| 0x40 | int16 |FFFFC8| 4D 00 | 77 | the legend starts 77 pixels from the left border of the left HUD image }} |
| | {{OBDtr| 0x42 | int16 |FFFFC8| 08 00 | 8 | the legend starts 8 pixels from the top border of the left HUD image }} |
| | |} |
|
| |
|
| | ;Right HUD |
| | :The offset at 0x30 is a signed integer, and specifies the distance between the right edge of the screen and the left edge of the HUD image. |
| | ;Element placement |
| | :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 (screenshot wanted). |
|
| |
|
| <TABLE BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0>
| |
| <TR ALIGN=CENTER BGCOLOR="#FFDDBB"><TD WIDTH=15%><B>Hex</B></TD><TD WIDTH=15%><B>Translation</B></TD><TD WIDTH=70%><B>Meaning</B></TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF0000">01 68 10 00</TD><TD>4200</TD><TD ALIGN=LEFT>04200-hud_help_info.IGHH</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFF00">01 00 00 00</TD><TD>0</TD><TD ALIGN=LEFT>level 0</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#00FF00">AD DE</TD><TD>dead</TD><TD ALIGN=LEFT>not used</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#00FFFF">01 65 10 00</TD><TD>4197</TD><TD ALIGN=LEFT>link to 04197-left_help.[[OBD:TXMP|TXMP]]</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#00FFFF">01 66 10 00</TD><TD>4198</TD><TD ALIGN=LEFT>link to 04198-right_help.[[OBD:TXMP|TXMP]]</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF00FF">37 00 00 00</TD><TD>55</TD><TD ALIGN=LEFT>the left HUD image starts 55 pixel from the left screen border</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF00FF">D5 FF 00 00</TD><TD>65493</TD><TD ALIGN=LEFT>the left HUD image starts 42 pixel from the right screen border *</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF8000">06 00 00 00</TD><TD>6</TD><TD ALIGN=LEFT>6 words at the left side</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF8000">07 00 00 00</TD><TD>7</TD><TD ALIGN=LEFT>7 words at the right side</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FF8000">0D 00 00 00</TD><TD>13</TD><TD ALIGN=LEFT>13 word-packages togheter (one package is edged in black)</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"><TD COLSPAN=3><FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT></TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFC8C8" COLSPAN=2><TT>BALLISTIC AMMO</TT></TD><TD ALIGN=LEFT>space for words (all entries after the fist 00 are useless)</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFFC8">4D 00</TD><TD>77</TD><TD ALIGN=LEFT>the word(s) starts 77 pixel from the left border of the left HUD image</TD></TR>
| |
| <TR ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"><TD BGCOLOR="#FFFFC8">08 00</TD><TD>8</TD><TD ALIGN=LEFT>the word(s) starts 8 pixel from the top border of the left HUD image</TD></TR>
| |
| </TABLE>
| |
|
| |
|
| | {{OBD_File_Footer | type=IGHH | prev=IDXA | next=IGPA | name=IGUI (In-Game User Interface) HUD (Head-Up Display) | family=Interface}} |
|
| |
|
| <TABLE BORDER=0><TR VALIGN=TOP><TD>*)</TD><TD>65535 - 65493 = 42. This is a little bit special. Every HUD pic is located in an invisible window. And every window has a size (width) of 65535 pixel. That's one way to make sure, that the HUD pics are always at the same place in connection to the different screen resolutions.</TD></TR></TABLE>
| | {{OBD}} |
| | |
| | |
| <HR>
| |
| <CENTER>[[OBD:IDXA|<==]] <B>IGHH File</B> [[OBD:IGPA|==>]]</CENTER>
| |
| <HR>
| |
| | |
| | |
| [[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> IGHH File
| |