[ { "name": "WeaponHUDInterfaceStateAttachedTo", "options": [ "total ammo", "loaded ammo", "heat", "age", "secondary weapon total ammo", "secondary weapon loaded ammo", "distance to target", "elevation to target" ], "type": "enum" }, { "name": "WeaponHUDInterfaceViewType", "options": [ "any", "fullscreen", "splitscreen" ], "type": "enum" }, { "name": "WeaponHUDInterfaceCrosshairType", "options": [ "aim", "zoom overlay", "charge", "should reload", "flash heat", "flash total ammo", "flash battery", "reload overheat", "flash when firing and no ammo", "flash when throwing and no grenade", "low ammo and none left to reload", "should reload secondary trigger", "flash secondary total ammo", "flash secondary reload", "flash when firing secondary trigger with no ammo", "low secondary ammo and none left to reload", "primary trigger ready", "secondary trigger ready", "flash when firing with depleted battery" ], "type": "enum" }, { "name": "WeaponHUDInterfaceCrosshairTypeFlags", "fields": [ "aim", "zoom overlay", "charge", "should reload", "flash heat", "flash total ammo", "flash battery", "reload overheat", "flash when firing and no ammo", "flash when throwing and no grenade", "low ammo and none left to reload", "should reload secondary trigger", "flash secondary total ammo", "flash secondary reload", "flash when firing secondary trigger with no ammo", "low secondary ammo and none left to reload", "primary trigger ready", "secondary trigger ready", "flash when firing with depleted battery" ], "type": "bitfield", "width": 32 }, { "name": "WeaponHUDInterfaceNumberWeaponSpecificFlags", "type": "bitfield", "fields": [ "divide number by clip size" ], "width": 16 }, { "name": "WeaponHUDInterfaceCrosshairOverlayFlags", "type": "bitfield", "fields": [ "flashes when active", "not a sprite", "show only when zoomed", "show sniper data", "hide area outside reticle", "one zoom level", "don't show when zoomed" ], "width": 32 }, { "name": "WeaponHUDInterfaceOverlayType", "type": "bitfield", "fields": [ "show on flashing", "show on empty", "show on reload overheating", "show on default", "show always" ], "width": 16 }, { "name": "WeaponHUDInterfaceScreenEffectDefinitionMaskFlags", "type": "bitfield", "fields": [ "only when zoomed" ], "width": 16 }, { "name": "WeaponHUDInterfaceScreenEffectDefinitionNightVisionFlags", "type": "bitfield", "fields": [ "only when zoomed", "connect to flashlight", "masked" ], "width": 16 }, { "name": "WeaponHUDInterfaceScreenEffectDefinitionDesaturationFlags", "type": "bitfield", "fields": [ "only when zoomed", "connect to flashlight", "additive", "masked" ], "width": 16 }, { "name": "WeaponHUDInterfaceFlags", "type": "bitfield", "fields": [ "use parent hud flashing parameters" ], "width": 16 }, { "name": "WeaponHUDInterfaceStaticElement", "fields": [ { "name": "state attached to", "type": "WeaponHUDInterfaceStateAttachedTo" }, { "type": "pad", "size": 2 }, { "name": "allowed view type", "type": "WeaponHUDInterfaceViewType" }, { "name": "anchor", "type": "HUDInterfaceChildAnchor", "engines": [ "mcc" ] }, { "type": "pad", "size": 28 }, { "name": "anchor offset", "type": "Point2DInt" }, { "name": "width scale", "type": "float", "default": 1.0, "default_sign": true }, { "name": "height scale", "type": "float", "default": 1.0, "default_sign": true }, { "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": "multitexture overlays", "type": "Reflexive", "struct": "HUDInterfaceMultitextureOverlay", "maximum": 30 }, { "type": "pad", "size": 4 }, { "type": "pad", "size": 40 } ], "type": "struct", "size": 180, "needs_postprocessed": true }, { "name": "WeaponHUDInterfaceMeter", "fields": [ { "name": "state attached to", "type": "WeaponHUDInterfaceStateAttachedTo" }, { "type": "pad", "size": 2 }, { "name": "allowed view type", "type": "WeaponHUDInterfaceViewType" }, { "name": "anchor", "type": "HUDInterfaceChildAnchor", "engines": [ "mcc" ] }, { "type": "pad", "size": 28 }, { "name": "anchor offset", "type": "Point2DInt" }, { "name": "width scale", "type": "float", "default": 1.0, "default_sign": true }, { "name": "height scale", "type": "float", "default": 1.0, "default_sign": true }, { "name": "scaling flags", "type": "HUDInterfaceScalingFlags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "name": "meter bitmap", "type": "TagReference", "groups": [ "bitmap" ] }, { "name": "color at meter minimum", "type": "ColorARGBInt" }, { "name": "color at meter maximum", "type": "ColorARGBInt" }, { "name": "flash color", "type": "ColorARGBInt" }, { "name": "empty color", "type": "ColorARGBInt" }, { "name": "flags", "type": "HUDInterfaceMeterFlags" }, { "name": "minimum meter value", "type": "int8" }, { "name": "sequence index", "type": "Index" }, { "name": "alpha multiplier", "type": "int8" }, { "name": "alpha bias", "type": "int8" }, { "name": "value scale", "type": "int16" }, { "name": "opacity", "type": "float" }, { "name": "translucency", "type": "float" }, { "name": "disabled color", "type": "ColorARGBInt" }, { "name": "min alpha", "type": "float" }, { "type": "pad", "size": 12 }, { "type": "pad", "size": 40 } ], "type": "struct", "size": 180, "needs_postprocessed": true }, { "name": "WeaponHUDInterfaceNumber", "fields": [ { "name": "state attached to", "type": "WeaponHUDInterfaceStateAttachedTo" }, { "type": "pad", "size": 2 }, { "name": "allowed view type", "type": "WeaponHUDInterfaceViewType" }, { "name": "anchor", "type": "HUDInterfaceChildAnchor", "engines": [ "mcc" ] }, { "type": "pad", "size": 28 }, { "name": "anchor offset", "type": "Point2DInt" }, { "name": "width scale", "type": "float" }, { "name": "height scale", "type": "float" }, { "name": "scaling flags", "type": "HUDInterfaceScalingFlags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "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": "maximum number of digits", "type": "int8" }, { "name": "flags", "type": "HUDInterfaceNumberFlags" }, { "name": "number of fractional digits", "type": "int8" }, { "type": "pad", "size": 1 }, { "type": "pad", "size": 12 }, { "name": "weapon specific flags", "type": "WeaponHUDInterfaceNumberWeaponSpecificFlags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 36 } ], "type": "struct", "size": 160 }, { "name": "WeaponHUDInterfaceCrosshairOverlay", "fields": [ { "name": "anchor offset", "type": "Point2DInt" }, { "name": "width scale", "type": "float", "default": 1.0, "default_sign": true }, { "name": "height scale", "type": "float", "default": 1.0, "default_sign": true }, { "name": "scaling flags", "type": "HUDInterfaceScalingFlags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "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": "frame rate", "type": "int16" }, { "name": "sequence index", "type": "Index" }, { "name": "flags", "type": "WeaponHUDInterfaceCrosshairOverlayFlags" }, { "type": "pad", "size": 32 } ], "type": "struct", "size": 108 }, { "name": "WeaponHUDInterfaceCrosshair", "fields": [ { "name": "crosshair type", "type": "WeaponHUDInterfaceCrosshairType" }, { "type": "pad", "size": 2 }, { "name": "allowed view type", "type": "WeaponHUDInterfaceViewType" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 28 }, { "name": "crosshair bitmap", "type": "TagReference", "groups": [ "bitmap" ] }, { "name": "crosshair overlays", "type": "Reflexive", "struct": "WeaponHUDInterfaceCrosshairOverlay", "maximum": 16 }, { "type": "pad", "size": 40 } ], "type": "struct", "title": "crosshair bitmap", "size": 104, "needs_postprocessed": true }, { "name": "WeaponHUDInterfaceOverlay", "fields": [ { "name": "anchor offset", "type": "Point2DInt" }, { "name": "width scale", "type": "float", "default": 1.0, "default_sign": true }, { "name": "height scale", "type": "float", "default": 1.0, "default_sign": true }, { "name": "scaling flags", "type": "HUDInterfaceScalingFlags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 20 }, { "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": "frame rate", "type": "int16" }, { "type": "pad", "size": 2 }, { "name": "sequence index", "type": "Index" }, { "name": "type", "type": "WeaponHUDInterfaceOverlayType" }, { "name": "flags", "type": "HUDInterfaceOverlayFlashFlags" }, { "type": "pad", "size": 16 }, { "type": "pad", "size": 40 } ], "type": "struct", "size": 136 }, { "name": "WeaponHUDInterfaceOverlayElement", "fields": [ { "name": "state attached to", "type": "WeaponHUDInterfaceStateAttachedTo" }, { "type": "pad", "size": 2 }, { "name": "allowed view type", "type": "WeaponHUDInterfaceViewType" }, { "name": "anchor", "type": "HUDInterfaceChildAnchor", "engines": [ "mcc" ] }, { "type": "pad", "size": 28 }, { "name": "overlay bitmap", "type": "TagReference", "groups": [ "bitmap" ] }, { "name": "overlays", "type": "Reflexive", "struct": "WeaponHUDInterfaceOverlay", "maximum": 16 }, { "type": "pad", "size": 40 } ], "type": "struct", "size": 104, "needs_postprocessed": true }, { "name": "WeaponHUDInterfaceScreenEffect", "fields": [ { "type": "pad", "size": 4 }, { "name": "mask flags", "type": "WeaponHUDInterfaceScreenEffectDefinitionMaskFlags" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 16 }, { "name": "mask fullscreen", "type": "TagReference", "groups": [ "bitmap" ] }, { "name": "mask splitscreen", "type": "TagReference", "groups": [ "bitmap" ] }, { "type": "pad", "size": 8 }, { "name": "convolution flags", "type": "WeaponHUDInterfaceScreenEffectDefinitionMaskFlags" }, { "type": "pad", "size": 2 }, { "name": "convolution fov in bounds", "bounds": true, "type": "Angle" }, { "name": "convolution radius out bounds", "bounds": true, "type": "float", "unit": "pixels" }, { "type": "pad", "size": 24 }, { "name": "even more flags", "type": "WeaponHUDInterfaceScreenEffectDefinitionNightVisionFlags" }, { "name": "night vision script source", "type": "int16" }, { "name": "night vision intensity", "minimum": 0.0, "maximum": 1.0, "type": "Fraction" }, { "type": "pad", "size": 24 }, { "name": "desaturation flags", "type": "WeaponHUDInterfaceScreenEffectDefinitionDesaturationFlags" }, { "name": "desaturation script source", "type": "int16" }, { "name": "desaturation intensity", "minimum": 0.0, "maximum": 1.0, "type": "Fraction" }, { "name": "effect tint", "type": "ColorRGB" }, { "type": "pad", "size": 24 } ], "type": "struct", "size": 184 }, { "name": "WeaponHUDInterface", "fields": [ { "name": "child hud", "type": "TagReference", "groups": [ "weapon_hud_interface" ] }, { "name": "flags", "type": "WeaponHUDInterfaceFlags" }, { "type": "pad", "size": 2 }, { "name": "total ammo cutoff", "type": "int16" }, { "name": "loaded ammo cutoff", "type": "int16" }, { "name": "heat cutoff", "type": "int16" }, { "name": "age cutoff", "type": "int16" }, { "type": "pad", "size": 32 }, { "name": "anchor", "type": "HUDInterfaceAnchor" }, { "type": "pad", "size": 2 }, { "type": "pad", "size": 32 }, { "name": "static elements", "type": "Reflexive", "struct": "WeaponHUDInterfaceStaticElement", "maximum": 16 }, { "name": "meter elements", "type": "Reflexive", "struct": "WeaponHUDInterfaceMeter", "maximum": 16 }, { "name": "number elements", "type": "Reflexive", "struct": "WeaponHUDInterfaceNumber", "maximum": 16 }, { "name": "crosshairs", "type": "Reflexive", "struct": "WeaponHUDInterfaceCrosshair", "maximum": 19 }, { "name": "overlay elements", "type": "Reflexive", "struct": "WeaponHUDInterfaceOverlayElement", "maximum": 16 }, { "name": "crosshair types", "type": "WeaponHUDInterfaceCrosshairTypeFlags", "cache_only": true }, { "type": "pad", "size": 12 }, { "name": "screen effect", "type": "Reflexive", "struct": "WeaponHUDInterfaceScreenEffect", "maximum": 1 }, { "type": "pad", "size": 132 }, { "name": "sequence index", "type": "Index" }, { "name": "width offset", "type": "int16" }, { "name": "offset from reference corner", "type": "Point2DInt" }, { "name": "override icon color", "type": "ColorARGBInt" }, { "name": "frame rate", "type": "int8" }, { "name": "more flags", "type": "HUDInterfaceMessagingFlags" }, { "name": "text index", "type": "Index" }, { "type": "pad", "size": 48 } ], "type": "struct", "size": 380, "group": "weapon_hud_interface", "needs_preprocessed": true } ]