OBD:IGHH: Difference between revisions
Jump to navigation
Jump to search
m (screenshot wanted ^_^) |
No edit summary |
||
Line 12: | Line 12: | ||
{{OBDtr| 0x24 | link |00FFFF| 01 65 10 00 | 4197 | left HUD image (04197-left_help.[[TXMP]]) }} | {{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| 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| 0x2C | int16 |FF00FF| 37 00 | 55 | horizontal offset of left HUD image to left screen border }} | ||
{{OBDtr| 0x2E | int16 |FF00FF| 00 00 | 0 | | {{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| 0x30 | int16 |FF00FF| D5 FF | -42 | horizontal offset of right HUD image to right screen border }} | ||
{{OBDtr| 0x32 | int16 |FF00FF| 00 00 | 0 | | {{OBDtr| 0x32 | int16 |FF00FF| 00 00 | 0 | vertical offset of right HUD image to bottom screen border }} | ||
{{OBDtr| 0x34 | int32 |FF8000| 06 00 00 00 | 6 | amount of elements attached to left HUD image }} | {{OBDtr| 0x34 | int32 |FF8000| 06 00 00 00 | 6 | amount of elements attached to left HUD image }} | ||
{{OBDtr| 0x38 | int32 |FF8000| 07 00 00 00 | 7 | amount of elements attached to right HUD image }} | {{OBDtr| 0x38 | int32 |FF8000| 07 00 00 00 | 7 | amount of elements attached to right HUD image }} |
Revision as of 23:03, 24 May 2008
|
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 | left HUD image (04197-left_help.TXMP) |
0x28 | link | 01 66 10 00 | 4198 | right HUD image (04198-right_help.TXMP) |
0x2C | int16 | 37 00 | 55 | horizontal offset of left HUD image to left screen border |
0x2E | int16 | 00 00 | 0 | vertical offset of left HUD image to bottom screen border |
0x30 | int16 | D5 FF | -42 | horizontal offset of right HUD image to right screen border |
0x32 | int16 | 00 00 | 0 | vertical offset of right HUD image to bottom screen border |
0x34 | int32 | 06 00 00 00 | 6 | amount of elements attached to left HUD image |
0x38 | int32 | 07 00 00 00 | 7 | amount of elements attached to right HUD image |
0x3C | int32 | 0D 00 00 00 | 13 | array size (elements for both parts of the HUD) |
First element (black outline) | ||||
0x00 | char[64] | BALLISTIC AMMO | null-terminated string (legend of a HUD item) | |
0x40 | int16 | 4D 00 | 77 | the legend starts 77 pixels from the left border of the left HUD image |
0x42 | int16 | 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).
ONI BINARY DATA |
---|
IDXA << Other file types >> IGPA |
IGHH : IGUI (In-Game User Interface) HUD (Head-Up Display) |
Global file |