[ { "name": "UnitHUDInterfacePanelType", "options": [ "integrated light" ], "type": "enum" }, { "name": "UnitHUDInterfaceAuxiliaryOverlayFlags", "type": "bitfield", "fields": [ "use team color" ], "width": 16 }, { "name": "UnitHUDInterfaceHUDSoundLatchedTo", "type": "bitfield", "fields": [ "shield recharging", "shield damaged", "shield low", "shield empty", "health low", "health empty", "health minor damage", "health major damage" ], "width": 32 }, { "name": "UnitHUDInterfaceAuxiliaryPanelMeterMoreFlags", "type": "bitfield", "fields": [ "show only when active", "flash once if activated while disabled" ], "width": 32 }, { "name": "UnitHUDInterfaceAuxiliaryOverlay", "fields": [ { "name": "anchor offset", "type": "Point2DInt" }, { "name": "width scale", "type": "float", "default": 1.0 }, { "name": "height scale", "type": "float", "default": 1.0 }, { "name": "scaling flags", "type": "HUDInterfaceScalingFlags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "interface bitmap", "type": "TagReference", "groups": [ "bitmap" ] }, { "name": "default color", "type": "ColorARGBInt" }, { "name": "flashing color", "type": "ColorARGBInt" }, { "name": "flash period", "type": "float" }, { "name": "flash delay", "type": "float" }, { "name": "number of flashes", "type": "int16" }, { "name": "flash flags", "type": "HUDInterfaceFlashFlags" }, { "name": "flash length", "type": "float" }, { "name": "disabled color", "type": "ColorARGBInt" }, { "type": "pad", "size": 4 }, { "name": "sequence index", "type": "Index" }, { "type": "pad", "size": 2 }, { "name": "multitex overlay", "type": "Reflexive", "struct": "HUDInterfaceMultitextureOverlay", "maximum": 30 }, { "type": "pad", "size": 4 }, { "name": "type", "type": "UnitHUDInterfacePanelType" }, { "name": "flags", "type": "UnitHUDInterfaceAuxiliaryOverlayFlags" }, { "type": "pad", "size": 24 } ], "type": "struct", "size": 132 }, { "name": "UnitHUDInterfaceHUDSound", "fields": [ { "name": "sound", "type": "TagReference", "groups": [ "sound", "sound_looping" ] }, { "name": "latched to", "type": "UnitHUDInterfaceHUDSoundLatchedTo" }, { "name": "scale", "type": "float" }, { "type": "pad", "size": 32 } ], "type": "struct", "title": "sound", "size": 56 }, { "name": "UnitHUDInterfaceAuxiliaryPanel", "groups": [ { "name": "background", "description": "", "first": "background anchor offset" }, { "name": "meter", "description": "", "first": "meter anchor offset" } ], "fields": [ { "name": "type", "type": "UnitHUDInterfacePanelType" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 16 }, { "name": "background anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "background width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "background height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "background scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "background interface bitmap", "type": "TagReference", "display_name": "interface bitmap", "groups": [ "bitmap" ] }, { "name": "background default color", "type": "ColorARGBInt", "display_name": "default color" }, { "name": "background flashing color", "type": "ColorARGBInt", "display_name": "flashing color" }, { "name": "background flash period", "type": "float", "display_name": "flash period" }, { "name": "background flash delay", "type": "float", "display_name": "flash delay" }, { "name": "background number of flashes", "type": "int16", "display_name": "number of flashes" }, { "name": "background flash flags", "type": "HUDInterfaceFlashFlags", "display_name": "flash flags" }, { "name": "background flash length", "type": "float", "display_name": "flash length" }, { "name": "background disabled color", "type": "ColorARGBInt", "display_name": "disabled color" }, { "type": "pad", "size": 4 }, { "name": "background sequence index", "type": "Index", "display_name": "sequence index" }, { "type": "pad", "size": 2 }, { "name": "background multitex overlay", "type": "Reflexive", "struct": "HUDInterfaceMultitextureOverlay", "display_name": "multitex overlay", "maximum": 30 }, { "type": "pad", "size": 4 }, { "name": "meter anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "meter width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "meter height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "meter scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "meter meter bitmap", "type": "TagReference", "display_name": "meter bitmap", "groups": [ "bitmap" ] }, { "name": "meter color at meter minimum", "type": "ColorARGBInt", "display_name": "color at meter minimum" }, { "name": "meter color at meter maximum", "type": "ColorARGBInt", "display_name": "color at meter maximum" }, { "name": "meter flash color", "type": "ColorARGBInt", "display_name": "flash color" }, { "name": "meter empty color", "type": "ColorARGBInt", "display_name": "empty color" }, { "name": "meter flags", "type": "HUDInterfaceMeterFlags" }, { "name": "meter minimum meter value", "type": "int8", "display_name": "minimum meter value" }, { "name": "meter sequence index", "type": "Index", "display_name": "sequence index" }, { "name": "meter alpha multiplier", "type": "int8", "display_name": "alpha multiplier" }, { "name": "meter alpha bias", "type": "int8", "display_name": "alpha bias" }, { "name": "meter value scale", "type": "int16", "display_name": "value scale" }, { "name": "meter opacity", "type": "float", "display_name": "opacity" }, { "name": "meter translucency", "type": "float", "display_name": "translucency" }, { "name": "meter disabled color", "type": "ColorARGBInt", "display_name": "disabled color" }, { "name": "meter min alpha", "type": "float", "display_name": "min alpha" }, { "type": "pad", "size": 12 }, { "name": "meter minimum fraction cutoff", "type": "float", "display_name": "minimum fraction cutoff" }, { "name": "meter more flags", "type": "UnitHUDInterfaceAuxiliaryPanelMeterMoreFlags", "display_name": "more flags" }, { "type": "pad", "size": 24 }, { "type": "pad", "size": 64 } ], "type": "struct", "size": 324 }, { "name": "UnitHUDInterface", "groups": [ { "name": "hud background", "description": "This defines a static element present in the background of the HUD.", "first": "hud background anchor offset" }, { "name": "shield panel background", "description": "This defines a static element present behind the shield panel.", "first": "shield panel background anchor offset" }, { "name": "shield panel meter", "description": "This defines a meter element for the shield panel.", "first": "shield panel meter anchor offset" }, { "name": "health panel background", "description": "This defines a static element present behind the health panel.", "first": "health panel background anchor offset" }, { "name": "health panel meter", "description": "This defines a meter element for the health panel.", "first": "health panel meter anchor offset" }, { "name": "motion sensor background", "description": "This defines a static element present behind the motion sensor.", "first": "motion sensor background anchor offset" }, { "name": "motion sensor foreground", "description": "This defines parameters the motion sensor foreground such as placement for the blip.", "first": "motion sensor foreground anchor offset" }, { "name": "additional elements", "description": "This adds additional elements and meters such as flashlight meters.", "first": "auxiliary overlay anchor" } ], "fields": [ { "name": "anchor", "type": "HUDInterfaceAnchor" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 32 }, { "name": "hud background anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "hud background width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "hud background height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "hud background scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "hud background interface bitmap", "type": "TagReference", "display_name": "interface bitmap", "groups": [ "bitmap" ] }, { "name": "hud background default color", "type": "ColorARGBInt", "display_name": "default color" }, { "name": "hud background flashing color", "type": "ColorARGBInt", "display_name": "flashing color" }, { "name": "hud background flash period", "type": "float", "display_name": "flash period" }, { "name": "hud background flash delay", "type": "float", "display_name": "flash delay" }, { "name": "hud background number of flashes", "type": "int16", "display_name": "number of flashes" }, { "name": "hud background flash flags", "type": "HUDInterfaceFlashFlags", "display_name": "flash flags" }, { "name": "hud background flash length", "type": "float", "display_name": "flash length" }, { "name": "hud background disabled color", "type": "ColorARGBInt", "display_name": "disabled color" }, { "type": "pad", "size": 4 }, { "name": "hud background sequence index", "type": "Index", "display_name": "sequence index" }, { "type": "pad", "size": 2 }, { "name": "hud background multitex overlay", "type": "Reflexive", "struct": "HUDInterfaceMultitextureOverlay", "display_name": "multitex overlay", "maximum": 30 }, { "type": "pad", "size": 4 }, { "name": "shield panel background anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "shield panel background width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "shield panel background height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "shield panel background scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "shield panel background interface bitmap", "type": "TagReference", "display_name": "interface bitmap", "groups": [ "bitmap" ] }, { "name": "shield panel background default color", "type": "ColorARGBInt", "display_name": "default color" }, { "name": "shield panel background flashing color", "type": "ColorARGBInt", "display_name": "flashing color" }, { "name": "shield panel background flash period", "type": "float", "display_name": "flash period" }, { "name": "shield panel background flash delay", "type": "float", "display_name": "flash delay" }, { "name": "shield panel background number of flashes", "type": "int16", "display_name": "number of flashes" }, { "name": "shield panel background flash flags", "type": "HUDInterfaceFlashFlags", "display_name": "flash flags" }, { "name": "shield panel background flash length", "type": "float", "display_name": "flash length" }, { "name": "shield panel background disabled color", "type": "ColorARGBInt", "display_name": "disabled color" }, { "type": "pad", "size": 4 }, { "name": "shield panel background sequence index", "type": "Index", "display_name": "sequence index" }, { "type": "pad", "size": 2 }, { "name": "shield panel background multitex overlay", "type": "Reflexive", "struct": "HUDInterfaceMultitextureOverlay", "display_name": "multitex overlay", "maximum": 30 }, { "type": "pad", "size": 4 }, { "name": "shield panel meter anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "shield panel meter width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "shield panel meter height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "shield panel meter scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "shield panel meter meter bitmap", "type": "TagReference", "display_name": "meter bitmap", "groups": [ "bitmap" ] }, { "name": "shield panel meter color at meter minimum", "type": "ColorARGBInt", "display_name": "color at meter minimum" }, { "name": "shield panel meter color at meter maximum", "type": "ColorARGBInt", "display_name": "color at meter maximum" }, { "name": "shield panel meter flash color", "type": "ColorARGBInt", "display_name": "flash color" }, { "name": "shield panel meter empty color", "type": "ColorARGBInt", "display_name": "empty color" }, { "name": "shield panel meter flags", "type": "HUDInterfaceMeterFlags", "display_name": "meter flags" }, { "name": "shield panel meter minimum meter value", "type": "int8", "display_name": "minimum meter value" }, { "name": "shield panel meter sequence index", "type": "Index", "display_name": "sequence index" }, { "name": "shield panel meter alpha multiplier", "type": "int8", "display_name": "alpha multiplier" }, { "name": "shield panel meter alpha bias", "type": "int8", "display_name": "alpha bias" }, { "name": "shield panel meter value scale", "type": "int16", "display_name": "value scale" }, { "name": "shield panel meter opacity", "type": "float", "display_name": "opacity" }, { "name": "shield panel meter translucency", "type": "float", "display_name": "translucency" }, { "name": "shield panel meter disabled color", "type": "ColorARGBInt", "display_name": "disabled color" }, { "name": "shield panel meter min alpha", "type": "float", "display_name": "min alpha" }, { "type": "pad", "size": 12 }, { "name": "shield panel meter overcharge minimum color", "type": "ColorARGBInt", "display_name": "overcharge minimum color" }, { "name": "shield panel meter overcharge maximum color", "type": "ColorARGBInt", "display_name": "overcharge maximum color" }, { "name": "shield panel meter overcharge flash color", "type": "ColorARGBInt", "display_name": "overcharge flash color" }, { "name": "shield panel meter overcharge empty color", "type": "ColorARGBInt", "display_name": "overcharge empty color" }, { "type": "pad", "size": 16 }, { "name": "health panel background anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "health panel background width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "health panel background height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "health panel background scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "health panel background interface bitmap", "type": "TagReference", "display_name": "interface bitmap", "groups": [ "bitmap" ] }, { "name": "health panel background default color", "type": "ColorARGBInt", "display_name": "default color" }, { "name": "health panel background flashing color", "type": "ColorARGBInt", "display_name": "flashing color" }, { "name": "health panel background flash period", "type": "float", "display_name": "flash period" }, { "name": "health panel background flash delay", "type": "float", "display_name": "flash delay" }, { "name": "health panel background number of flashes", "type": "int16", "display_name": "number of flashes" }, { "name": "health panel background flash flags", "type": "HUDInterfaceFlashFlags", "display_name": "flash flags" }, { "name": "health panel background flash length", "type": "float", "display_name": "flash length" }, { "name": "health panel background disabled color", "type": "ColorARGBInt", "display_name": "disabled color" }, { "type": "pad", "size": 4 }, { "name": "health panel background sequence index", "type": "Index", "display_name": "sequence index" }, { "type": "pad", "size": 2 }, { "name": "health panel background multitex overlay", "type": "Reflexive", "struct": "HUDInterfaceMultitextureOverlay", "display_name": "multitex overlay", "maximum": 30 }, { "type": "pad", "size": 4 }, { "name": "health panel meter anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "health panel meter width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "health panel meter height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "health panel meter scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "health panel meter meter bitmap", "type": "TagReference", "display_name": "meter bitmap", "groups": [ "bitmap" ] }, { "name": "health panel meter color at meter minimum", "type": "ColorARGBInt", "display_name": "color at meter minimum" }, { "name": "health panel meter color at meter maximum", "type": "ColorARGBInt", "display_name": "color at meter maximum" }, { "name": "health panel meter flash color", "type": "ColorARGBInt", "display_name": "flash color" }, { "name": "health panel meter empty color", "type": "ColorARGBInt", "display_name": "empty color" }, { "name": "health panel meter flags", "type": "HUDInterfaceMeterFlags", "display_name": "meter flags" }, { "name": "health panel meter minimum meter value", "type": "int8", "display_name": "minimum meter value" }, { "name": "health panel meter sequence index", "type": "Index", "display_name": "sequence index" }, { "name": "health panel meter alpha multiplier", "type": "int8", "display_name": "alpha multiplier" }, { "name": "health panel meter alpha bias", "type": "int8", "display_name": "alpha bias" }, { "name": "health panel meter value scale", "type": "int16", "display_name": "value scale" }, { "name": "health panel meter opacity", "type": "float", "display_name": "opacity" }, { "name": "health panel meter translucency", "type": "float", "display_name": "translucency" }, { "name": "health panel meter disabled color", "type": "ColorARGBInt", "display_name": "disabled color" }, { "name": "health panel meter min alpha", "type": "float", "display_name": "min alpha" }, { "type": "pad", "size": 12 }, { "name": "health panel meter medium health left color", "type": "ColorARGBInt" }, { "name": "health panel meter max color health fraction cutoff", "type": "float" }, { "name": "health panel meter min color health fraction cutoff", "type": "float" }, { "type": "pad", "size": 20 }, { "name": "motion sensor background anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "motion sensor background width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "motion sensor background height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "motion sensor background scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "motion sensor background interface bitmap", "type": "TagReference", "display_name": "interface bitmap", "groups": [ "bitmap" ] }, { "name": "motion sensor background default color", "type": "ColorARGBInt", "display_name": "default color" }, { "name": "motion sensor background flashing color", "type": "ColorARGBInt", "display_name": "flashing color" }, { "name": "motion sensor background flash period", "type": "float", "display_name": "flash period" }, { "name": "motion sensor background flash delay", "type": "float", "display_name": "flash delay" }, { "name": "motion sensor background number of flashes", "type": "int16", "display_name": "number of flashes" }, { "name": "motion sensor background flash flags", "type": "HUDInterfaceFlashFlags", "display_name": "flash flags" }, { "name": "motion sensor background flash length", "type": "float", "display_name": "flash length" }, { "name": "motion sensor background disabled color", "type": "ColorARGBInt", "display_name": "disabled color" }, { "type": "pad", "size": 4 }, { "name": "motion sensor background sequence index", "type": "Index", "display_name": "sequence index" }, { "type": "pad", "size": 2 }, { "name": "motion sensor background multitex overlays", "type": "Reflexive", "struct": "HUDInterfaceMultitextureOverlay", "maximum": 30 }, { "type": "pad", "size": 4 }, { "name": "motion sensor foreground anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "motion sensor foreground width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "motion sensor foreground height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "motion sensor foreground scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "motion sensor foreground interface bitmap", "type": "TagReference", "display_name": "interface bitmap", "groups": [ "bitmap" ] }, { "name": "motion sensor foreground default color", "type": "ColorARGBInt", "display_name": "default color" }, { "name": "motion sensor foreground flashing color", "type": "ColorARGBInt", "display_name": "flashing color" }, { "name": "motion sensor foreground flash period", "type": "float", "display_name": "flash period" }, { "name": "motion sensor foreground flash delay", "type": "float", "display_name": "flash delay" }, { "name": "motion sensor foreground number of flashes", "type": "int16", "display_name": "number of flashes" }, { "name": "motion sensor foreground flash flags", "type": "HUDInterfaceFlashFlags", "display_name": "flash flags" }, { "name": "motion sensor foreground flash length", "type": "float", "display_name": "flash length" }, { "name": "motion sensor foreground disabled color", "type": "ColorARGBInt", "display_name": "disabled color" }, { "type": "pad", "size": 4 }, { "name": "motion sensor foreground sequence index", "type": "Index", "display_name": "sequence index" }, { "type": "pad", "size": 2 }, { "name": "motion sensor foreground multitex overlays", "type": "Reflexive", "struct": "HUDInterfaceMultitextureOverlay", "maximum": 30 }, { "type": "pad", "size": 4 }, { "type": "pad", "size": 32 }, { "name": "motion sensor center anchor offset", "type": "Point2DInt", "display_name": "anchor offset" }, { "name": "motion sensor center width scale", "type": "float", "default": 1.0, "display_name": "width scale" }, { "name": "motion sensor center height scale", "type": "float", "default": 1.0, "display_name": "height scale" }, { "name": "motion sensor center scaling flags", "type": "HUDInterfaceScalingFlags", "display_name": "scaling flags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "auxiliary overlay anchor", "type": "HUDInterfaceAnchor" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 32 }, { "name": "overlays", "type": "Reflexive", "struct": "UnitHUDInterfaceAuxiliaryOverlay", "maximum": 16 }, { "type": "pad", "size": 16 }, { "name": "sounds", "type": "Reflexive", "struct": "UnitHUDInterfaceHUDSound", "maximum": 12 }, { "name": "meters", "type": "Reflexive", "struct": "UnitHUDInterfaceAuxiliaryPanel", "maximum": 16 }, { "type": "pad", "size": 356 }, { "type": "pad", "size": 48 } ], "type": "struct", "size": 1388, "group": "unit_hud_interface", "needs_postprocessed": true } ]