OBD:IGHH: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
m (design)
Line 1: Line 1:
{{OBD_File_Header|align=center|type=IGHH|prev=IDXA|next=IGPA|name=IGUI (In-Game User Interface) HUD (Head-Up Display) Help|family=Global}}
{{OBD_File_Header | type=IGHH | prev=IDXA | next=IGPA | name=IGUI (In-Game User Interface) HUD (Head-Up Display) | family=Global | align=center}}




----
[[image:ighh_a.gif]]
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/ighh_a.gif




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtr| 0x00 | res_id  |FF0000| 01 68 10 00 | 4200 | 04200-hud_help_info.IGHH }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0     | level 0 }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x08 | char[28] |00FF00| AD DE       | dead | unused }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x24 | link    |00FFFF| 01 65 10 00 | 4197 | link to 04197-left_help.[[OBD:TXMP|TXMP]] }}
| BGCOLOR="#FF0000" | 01 68 10 00
{{OBDtr| 0x28 | link    |00FFFF| 01 66 10 00 | 4198 | link to 04198-right_help.[[OBD:TXMP|TXMP]] }}
| 4200
{{OBDtr| 0x2C | int32    |FF00FF| 37 00 00 00 | 55   | the left HUD image starts 55 pixel from the left screen border }}
| ALIGN=LEFT | 04200-hud_help_info.IGHH
{{OBDtr| 0x30 | int32    |FF00FF| D5 FF 00 00 | -42   | the left HUD image starts 42 pixel from the right screen border * }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x34 | int32    |FF8000| 06 00 00 00 | 6     | amount of elements at the left side }}
| BGCOLOR="#FFFF00" | 01 00 00 00
{{OBDtr| 0x38 | int32    |FF8000| 07 00 00 00 | 7     | amount of elements at the right side }}
| 0
{{OBDtr| 0x3C | int32    |FF8000| 0D 00 00 00 | 13   | array size (sum of all elements) }}
| ALIGN=LEFT | level 0
{{OBDtrBK}}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr2|0x00 | char[64] |FFC8C8| BALLISTIC AMMO     | space for words (the fist 00 is the stop byte) }}
| BGCOLOR="#00FF00" | AD DE
{{OBDtr| 0x40 | int16    |FFFFC8| 4D 00       | 77   | the word starts 77 pixel from the left border of the left HUD image }}
| dead
{{OBDtr| 0x42 | int16    |FFFFC8| 08 00       | 8     | the word starts 8 pixel from the top border of the left HUD image }}
| ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | 01 65 10 00
| 4197
| ALIGN=LEFT | link to 04197-left_help.[[OBD:TXMP|TXMP]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | 01 66 10 00
| 4198
| ALIGN=LEFT | link to 04198-right_help.[[OBD:TXMP|TXMP]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF00FF" | 37 00 00 00
| 55
| ALIGN=LEFT | the left HUD image starts 55 pixel from the left screen border
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF00FF" | D5 FF 00 00
| -42
| ALIGN=LEFT | the left HUD image starts 42 pixel from the right screen border
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF8000" | 06 00 00 00
| 6
| ALIGN=LEFT | 6 words at the left side
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF8000" | 07 00 00 00
| 7
| ALIGN=LEFT | 7 words at the right side
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF8000" | 0D 00 00 00
| 13
| ALIGN=LEFT | 13 word-packages togheter (one package is edged in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" COLSPAN=2 | <TT>BALLISTIC AMMO</TT>
| ALIGN=LEFT | space for words (all entries after the fist 00 are useless)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 4D 00
| 77
| ALIGN=LEFT | the word(s) starts 77 pixel from the left border of the left HUD image
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 08 00
| 8
| ALIGN=LEFT | the word(s) starts 8 pixel from the top border of the left HUD image
|}
|}




----
*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.
{{OBD_File_Footer|align=right|type=IGHH|prev=IDXA|next=IGPA|name=IGUI (In-Game User Interface) HUD (Head-Up Display) Help|family=Global}}
 
 
{{OBD_File_Footer | type=IGHH | prev=IDXA | next=IGPA | name=IGUI (In-Game User Interface) HUD (Head-Up Display) | family=Global}}

Revision as of 12:08, 14 September 2007

ONI BINARY DATA
IDXA << Other file types >> IGPA
IGHH : IGUI (In-Game User Interface) HUD (Head-Up Display)
switch to XML:IGHH page
Overview @ Oni Stuff
OBD.png


Ighh a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 68 10 00 4200 04200-hud_help_info.IGHH
0x04 lev_id 01 00 00 00 0 level 0
0x08 char[28] AD DE dead unused
0x24 link 01 65 10 00 4197 link to 04197-left_help.TXMP
0x28 link 01 66 10 00 4198 link to 04198-right_help.TXMP
0x2C int32 37 00 00 00 55 the left HUD image starts 55 pixel from the left screen border
0x30 int32 D5 FF 00 00 -42 the left HUD image starts 42 pixel from the right screen border *
0x34 int32 06 00 00 00 6 amount of elements at the left side
0x38 int32 07 00 00 00 7 amount of elements at the right side
0x3C int32 0D 00 00 00 13 array size (sum of all elements)
First element (black outline)
0x00 char[64] BALLISTIC AMMO space for words (the fist 00 is the stop byte)
0x40 int16 4D 00 77 the word starts 77 pixel from the left border of the left HUD image
0x42 int16 08 00 8 the word starts 8 pixel from the top border of the left HUD image


  • 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.


ONI BINARY DATA
IDXA << Other file types >> IGPA
IGHH : IGUI (In-Game User Interface) HUD (Head-Up Display)
Global file