Difference between revisions of "Hud:model"

From Battlepedia
Jump to navigationJump to search
m (Dark moved page Model (HUD) to Hud:model over redirect: revert)
 
Line 1: Line 1:
 
{{DISPLAYTITLE:hud:model}}
 
{{DISPLAYTITLE:hud:model}}
 
==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
 
|-
 
|-
| 0x10 || [[Vector3]] || '''Position'''
+
| 0x28 || [[AssetID]] ([[MODL|Model]]) || '''model''' - It needs to be a hash of the model's name WITHOUT THE .dff or else it won't play the spinning animation for some reason
|-
 
| 0x1C || [[Vector3]] || '''Size''' - Only the X is used...?
 
|-
 
| 0x28 || [[AssetID]] ([[MODL|Model]]) || '''Model ID''' - It needs to be a hash of the model's name WITHOUT THE .dff or else it won't play the spinning animation for some reason
 
 
|}
 
|}
  
 
[[Category:Dynamic Asset]]
 
[[Category:Dynamic Asset]]

Latest revision as of 06:13, 12 August 2019

Format

Offset Type Description
0x28 AssetID (Model) model - It needs to be a hash of the model's name WITHOUT THE .dff or else it won't play the spinning animation for some reason