hud_globals

🚧 This article is a stub. You can help expand it by submitting content in pull requests or issues in this wiki's source repo.

...

Structure and fields #

Field Type Comments
anchor enum
Option Value Comments
top left 0x0
top right 0x1
bottom left 0x2
bottom right 0x3
center 0x4
pad(2)
pad(32)
anchor offset
Point2DInt
  • x: i16
  • y: i16
width scale f32
height scale f32
scaling flags bitfield(16)
Flag Mask Comments
don't scale offset 0x1
don't scale size 0x2
use high res scale 0x4
pad(2)
pad(20)
up time f32
fade time f32
icon color
ColorARGB
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
text color
ColorARGB
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
text spacing f32
button icons Block?
Field Type Comments
sequence index Index: u16
width offset i16
offset from reference corner
Point2DInt
  • x: i16
  • y: i16
override icon color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
frame rate i8
flags bitfield(8)
Flag Mask Comments
use text from string list instead 0x1
override default color 0x2
width offset is absolute icon width 0x4
text index Index: u16
hud help default color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
hud help flashing color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
hud help flash period f32
hud help flash delay f32
hud help number of flashes u16
hud help flash flags bitfield(16)
Flag Mask Comments
reverse default flashing colors 0x1
hud help flash length f32
hud help disabled color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
pad(4)
objective default color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
objective flashing color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
objective flash period f32
objective flash delay f32
objective number of flashes u16
objective flash flags bitfield(16)
Flag Mask Comments
reverse default flashing colors 0x1
objective flash length f32
objective disabled color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
objective uptime ticks u16
objective fade ticks u16
top offset f32
bottom offset f32
left offset f32
right offset f32
pad(32)
waypoint arrows Block?
Field Type Comments
name char[32]
pad(8)
color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
opacity f32
translucency f32
on screen sequence index Index: u16
off screen sequence index Index: u16
occluded sequence index Index: u16
pad(2)
pad(16)
flags bitfield(32)
Flag Mask Comments
dont rotate when pointing offscreen 0x1
pad(24)
pad(80)
hud scale in multiplayer f32
pad(256)
motion sensor range f32
motion sensor velocity sensitivity f32
motion sensor scale f32
default chapter title bounds
Rectangle2D
  • top: i16
  • left: i16
  • bottom: i16
  • right: i16
pad(44)
hud damage top offset i16
hud damage bottom offset i16
hud damage left offset i16
hud damage right offset i16
pad(32)
hud damage sequence index Index: u16
hud damage multiplayer sequence index Index: u16
hud damage color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
pad(16)
not much time left default color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
not much time left flashing color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
not much time left flash period f32
not much time left flash delay f32
not much time left number of flashes u16
not much time left flash flags bitfield(16)
Flag Mask Comments
reverse default flashing colors 0x1
not much time left flash length f32
not much time left disabled color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
pad(4)
time out flash default color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
time out flash flashing color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
time out flash flash period f32
time out flash flash delay f32
time out flash number of flashes u16
time out flash flash flags bitfield(16)
Flag Mask Comments
reverse default flashing colors 0x1
time out flash flash length f32
time out flash disabled color
ColorARGBInt
  • alpha: u8
  • red: u8
  • green: u8
  • blue: u8
pad(4)
pad(40)
loading begin text Index: u16
loading end text Index: u16
checkpoint begin text Index: u16
checkpoint end text Index: u16
pad(96)

This information was partially generated using Invader tag definitions.

Acknowledgements

Thanks to the following individuals for their research or contributions to this topic:

  • Kavawuvi (Invader tag definitions)
  • MosesOfEgypt (Tag structure research)