Difference between revisions of "Hud:meter:unit"

From Battlepedia
Jump to navigationJump to search
 
Line 1: Line 1:
 
{{DISPLAYTITLE:hud:meter:unit}}
 
{{DISPLAYTITLE:hud:meter:unit}}
 
==Format==
 
==Format==
The X and Y coordinates of the [[Vector3]]s are measured in screen coordinates (0 to 1). The Z coordinate is distance from the camera which is only useful for Z-buffering (there is no visible size difference).
 
 
 
{| class="wikitable"
 
{| class="wikitable"
 
! Offset !! Type !! Description
 
! Offset !! Type !! Description

Latest revision as of 06:13, 12 August 2019

Format

Offset Type Description
0x4C AssetID (Model) model[0].id - Empty model ID. Needs to be a hash of the model's name WITHOUT THE .dff or else it won't play the animation for some reason
0x50 Vector3 model[0].loc - Offset position of the empty units.
0x5C Vector3 model[0].size - Scale of the empty units. (Multiplied by size in HUD header)
0x68 AssetID (Model) model[1].id - Full model ID. Needs to be a hash of the model's name WITHOUT THE .dff or else it won't play the animation for some reason
0x6C Vector3 model[1].loc - Offset position of the full units.
0x78 Vector3 model[1].size - Scale of the full units. (Multiplied by size in HUD header)
0x84 Vector3 offset - How far away each unit is from each other.
0x90 uint fill_forward - Whether to fill in the meter forwards or backwards.
  • 0 - Right to Left
  • 1 - Left to Right (default)