Difference between revisions of "Hud:meter:font"

From Battlepedia
Jump to navigationJump to search
m (Dark moved page Font (HUD) to Hud:meter:font over redirect: revert)
 
Line 4: Line 4:
 
! Offset !! Type !! Description
 
! Offset !! Type !! Description
 
|-
 
|-
| 0x10 || float || '''X Position''' (0 to 1)
+
| 0x4C || uint || '''font.id'''
 +
* 0 - Default (SpongeBob font)
 +
* 1 - Arial (Copyright screen)
 +
* 2 - System (Debug screen)
 +
* 3 - Numbers (HUD)
 
|-
 
|-
| 0x14 || float || '''Y Position''' (0 to 1)
+
| 0x50 || int || '''font.justify'''
 
|-
 
|-
| 0x18 || float || '''Unknown''' - Z position maybe, although it doesn't seem to affect Z-buffering
+
| 0x54 || float || '''font.w'''
 
|-
 
|-
| 0x1C || float || '''Text Width''' (0 to 1)
+
| 0x58 || float || '''font.h'''
 
|-
 
|-
| 0x20 || float || '''Text Height''' (0 to 1)
+
| 0x5C || float || '''font.space'''
 
|-
 
|-
| 0x24 || float[6] || '''Unknown'''
+
| 0x60 || float || '''font.drop_x''' - Shadow X offset
|-
 
| 0x3C || [[AssetID]] ([[Sound Format|Sound]]) || '''Sound 1'''
 
|-
 
| 0x40 || [[AssetID]] ([[Sound Format|Sound]]) || '''Sound 2'''
 
|-
 
| 0x44 || [[AssetID]] ([[Sound Format|Sound]]) || '''Sound 3'''
 
|-
 
| 0x48 || [[AssetID]] ([[Sound Format|Sound]]) || '''Sound 4'''
 
|-
 
| 0x4C || int || '''Font'''
 
* 0 - Default (SpongeBob font)
 
* 1 - Arial (Copyright screen)
 
* 2 - System (Debug screen)
 
* 3 - Numbers (HUD)
 
 
|-
 
|-
| 0x50 || int || '''Unknown'''
+
| 0x64 || float || '''font.drop_y''' - Shadow Y offset
 
|-
 
|-
| 0x54 || float[5] || '''Unknown'''
+
| 0x68 || [[Color]] || '''font.c''' - Color
 
|-
 
|-
| 0x60 || float || '''Shadow X Offset'''
+
| 0x6C || [[Color]] || '''font.drop_c''' - Shadow color
 
|-
 
|-
| 0x64 || float || '''Shadow Y Offset'''
+
| 0x70 || char || '''counter_mode'''
 
|-
 
|-
| 0x68 || [[Color]] || '''Color'''
+
| 0x71 || char || '''pad1''' - null
 
|-
 
|-
| 0x6C || [[Color]] || '''Shadow Color'''
+
| 0x72 || char || '''pad2''' - null
 
|-
 
|-
| 0x70 || byte[4] || '''Flags'''
+
| 0x73 || char || '''pad3''' - null
 
|}
 
|}
  
 
[[Category:Dynamic Asset]]
 
[[Category:Dynamic Asset]]

Latest revision as of 06:01, 12 August 2019

Format

Offset Type Description
0x4C uint font.id
  • 0 - Default (SpongeBob font)
  • 1 - Arial (Copyright screen)
  • 2 - System (Debug screen)
  • 3 - Numbers (HUD)
0x50 int font.justify
0x54 float font.w
0x58 float font.h
0x5C float font.space
0x60 float font.drop_x - Shadow X offset
0x64 float font.drop_y - Shadow Y offset
0x68 Color font.c - Color
0x6C Color font.drop_c - Shadow color
0x70 char counter_mode
0x71 char pad1 - null
0x72 char pad2 - null
0x73 char pad3 - null