EvilEngine/UIFT: Difference between revisions
Content added Content deleted
Battlepedia>Seil No edit summary |
Battlepedia>Seil (→Format) |
||
Line 8: | Line 8: | ||
==Format== |
==Format== |
||
UI Fonts are [[Placeable Asset|placeable assets]]. Some notes on the 0x54 byte header: |
UI Fonts are based on [[UI]] assets, which are based on [[Placeable Asset|placeable assets]]. Some notes on the 0x54 byte header: |
||
* The rotation, scale, and color are all ignored. By default, the rotation is (0,0,0), scale is (1,1,1), and color is (1,1,1,1). |
* The rotation, scale, and color are all ignored. By default, the rotation is (0,0,0), scale is (1,1,1), and color is (1,1,1,1). |
||
Line 14: | Line 14: | ||
* The four asset IDs (0x0C, 0x10, 0x4C, 0x50) are always null. UI Fonts do not use models. |
* The four asset IDs (0x0C, 0x10, 0x4C, 0x50) are always null. UI Fonts do not use models. |
||
Notes on the UI data: |
|||
⚫ | |||
Following the placeable header and the UI data: |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! Offset !! Type !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
| 0x5C || [[AssetID]] ([[RWTX|Texture]]) || '''Texture'''. Usually null (except for one instance in mnu4.hip). Unknown whether this is actually used or not. |
|||
|- |
|- |
||
⚫ | |||
| 0x60 || [[Vector2]] || Texture Coordinate (Top Left) |
|||
|- |
|- |
||
⚫ | |||
| 0x68 || [[Vector2]] || Texture Coordinate (Top Right) |
|||
|- |
|- |
||
| 0x83 || byte || '''fontID''' || maybe the same as '''Font''' in [[game_object:text_box]]? |
|||
| 0x70 || [[Vector2]] || Texture Coordinate (Bottom Right) |
|||
|- |
|- |
||
| 0x84 || [[AssetID]] ([[TEXT|Text]]) || '''textAssetID''' || |
|||
| 0x78 || [[Vector2]] || Texture Coordinate (Bottom Left) |
|||
|- |
|- |
||
| |
| 0x88 || [[Color]] || '''bcolor''' || |
||
|- |
|- |
||
| |
| 0x8C || [[Color]] || '''color''' || |
||
|- |
|- |
||
| |
| 0x90 || short[4] || '''inset''' || |
||
|- |
|- |
||
| |
| 0x98 || short[2] || '''space''' || |
||
|- |
|- |
||
| |
| 0x9C || short[2] || '''cdim''' || |
||
|- |
|- |
||
| 0xA0 || int || |
| 0xA0 || int || '''max_height''' || |
||
|- |
|- |
||
! colspan=" |
! colspan="4" | Events |
||
|- |
|- |
||
| 0xA4 || Event[numberOfEvents] || '''[[Events]]''' |
| 0xA4 || Event[numberOfEvents] || '''[[Events]]''' || |
||
|} |
|} |
||