EvilEngine/UIFT: Difference between revisions

Battlepedia>Seil
No edit summary
Battlepedia>Seil
Line 8:
 
==Format==
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).
Line 14:
* The four asset IDs (0x0C, 0x10, 0x4C, 0x50) are always null. UI Fonts do not use models.
 
FollowingNotes on the headerUI data:
| 0x54 || int || Unknown.* All known possible values for uiFlags: 44, 48, 52, 54, 55, and 60.
 
Following the placeable header and the UI data:
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x54 || int || Unknown. All known possible values: 44, 48, 52, 54, 55, and 60.
|-
| 0x58 || short || '''Width''' in pixels.
|-
| 0x5A || short || '''Height''' in pixels.
|-
| 0x5C || [[AssetID]] ([[RWTX|Texture]]) || '''Texture'''. Usually null (except for one instance in mnu4.hip). Unknown whether this is actually used or not.
|-
| 0x580x80 || short || '''WidthuiFontFlags''' in pixels.||
| 0x60 || [[Vector2]] || Texture Coordinate (Top Left)
|-
| 0x5A0x82 || shortbyte || '''Heightmode''' in pixels.||
| 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)
|-
| 0x800x88 || short[2[Color]] || Unknown.'''bcolor''' ||
|-
| 0x840x8C || [[AssetIDColor]] ([[TEXT|Text]]) || '''Textcolor'''. ||
|-
| 0x880x90 || short[[Color]4] || '''Backdrop colorinset'''. ||
|-
| 0x8C0x98 || short[[Color]2] || '''Colorspace''' of the text.||
|-
| 0x900x9C || short[82] || Unknown.'''cdim''' ||
|-
| 0xA0 || int || null'''max_height''' ||
|-
! colspan="34" | Events
|-
| 0xA4 || Event[numberOfEvents] || '''[[Events]]''' ||
|}
 
Anonymous user