local f0_local0 = module local f0_local1, f0_local2 = ... f0_local0( f0_local1, package.seeall ) CoD.PrintModuleLoad( _NAME ) f0_local0 = function ( f1_arg0, f1_arg1 ) local f1_local0 = f1_arg0:getChildById( "ac130OverlayWeaponsId" ) local f1_local1 = f1_local0:getChildById( "ac130OverlaysContainerId" ) local f1_local2 = f1_local1:getChildById( "ac130Overlay105mmId" ) local f1_local3 = f1_local1:getChildById( "ac130Overlay40mmId" ) local f1_local4 = f1_local1:getChildById( "ac130Overlay25mmId" ) local f1_local5 = f1_local0:getChildById( "ac130OverlayReloadingTextId" ) local f1_local6 = f1_local0:getChildById( "ac130OverlayWeaponTextListId" ) local f1_local7 = f1_local6:getChildById( "ac130Overlay105mmTextId" ) local f1_local8 = f1_local6:getChildById( "ac130Overlay40mmTextId" ) local f1_local9 = f1_local6:getChildById( "ac130Overlay25mmTextId" ) if f1_arg1.value == 0 then f1_local2:animateToState( "active", 0 ) f1_local3:animateToState( "default", 0 ) f1_local4:animateToState( "default", 0 ) f1_local7:processEvent( { name = "flashing" } ) f1_local8:processEvent( { name = "stop_flashing" } ) f1_local9:processEvent( { name = "stop_flashing" } ) if 0 < Game.GetOmnvar( "ui_ac130_105mm_ammo" ) then f1_local5:processEvent( { name = "stop_flashing" } ) else f1_local5:processEvent( { name = "flashing" } ) end elseif f1_arg1.value == 1 then f1_local2:animateToState( "default", 0 ) f1_local3:animateToState( "active", 0 ) f1_local4:animateToState( "default", 0 ) f1_local7:processEvent( { name = "stop_flashing" } ) f1_local8:processEvent( { name = "flashing" } ) f1_local9:processEvent( { name = "stop_flashing" } ) if 0 < Game.GetOmnvar( "ui_ac130_40mm_ammo" ) then f1_local5:processEvent( { name = "stop_flashing" } ) else f1_local5:processEvent( { name = "flashing" } ) end elseif f1_arg1.value == 2 then f1_local2:animateToState( "default", 0 ) f1_local3:animateToState( "default", 0 ) f1_local4:animateToState( "active", 0 ) f1_local7:processEvent( { name = "stop_flashing" } ) f1_local8:processEvent( { name = "stop_flashing" } ) f1_local9:processEvent( { name = "flashing" } ) if 0 < Game.GetOmnvar( "ui_ac130_25mm_ammo" ) then f1_local5:processEvent( { name = "stop_flashing" } ) else f1_local5:processEvent( { name = "flashing" } ) end end end f0_local1 = function ( f2_arg0, f2_arg1 ) local f2_local0 = f2_arg0:getChildById( "ac130OverlayWeaponsId" ) local f2_local1 = f2_local0:getChildById( "ac130OverlayWeaponTextListId" ) local f2_local2 = f2_local0:getChildById( "ac130OverlayAmmoTextListId" ) local f2_local3 = f2_local2:getChildById( "ac130Overlay105mmAmmoTextId" ) local f2_local4 = f2_local0:getChildById( "ac130OverlayReloadingTextId" ) local f2_local5 = f2_arg1.value f2_local3:setText( f2_local5 .. ":1" ) if f2_local5 > 0 then if f2_local3.current_state ~= "default" then f2_local3.current_state = "default" f2_local3:processEvent( { name = "stop_flashing" } ) f2_local4:processEvent( { name = "stop_flashing" } ) end elseif f2_local3.current_state ~= "flashing" then f2_local3.current_state = "flashing" f2_local3:processEvent( { name = "flashing" } ) f2_local4:processEvent( { name = "flashing" } ) end end f0_local2 = function ( f3_arg0, f3_arg1 ) local f3_local0 = f3_arg0:getChildById( "ac130OverlayWeaponsId" ) local f3_local1 = f3_local0:getChildById( "ac130OverlayWeaponTextListId" ) local f3_local2 = f3_local0:getChildById( "ac130OverlayAmmoTextListId" ) local f3_local3 = f3_local2:getChildById( "ac130Overlay40mmAmmoTextId" ) local f3_local4 = f3_local0:getChildById( "ac130OverlayReloadingTextId" ) local f3_local5 = f3_arg1.value f3_local3:setText( f3_local5 .. ":4" ) if f3_local5 > 0 then if f3_local3.current_state ~= "default" then f3_local3.current_state = "default" f3_local3:processEvent( { name = "stop_flashing" } ) f3_local4:processEvent( { name = "stop_flashing" } ) end elseif f3_local3.current_state ~= "flashing" then f3_local3.current_state = "flashing" f3_local3:processEvent( { name = "flashing" } ) f3_local4:processEvent( { name = "flashing" } ) end end local f0_local3 = function ( f4_arg0, f4_arg1 ) local f4_local0 = f4_arg0:getChildById( "ac130OverlayWeaponsId" ) local f4_local1 = f4_local0:getChildById( "ac130OverlayWeaponTextListId" ) local f4_local2 = f4_local0:getChildById( "ac130OverlayAmmoTextListId" ) local f4_local3 = f4_local2:getChildById( "ac130Overlay25mmAmmoTextId" ) local f4_local4 = f4_local0:getChildById( "ac130OverlayReloadingTextId" ) local f4_local5 = f4_arg1.value f4_local3:setText( f4_local5 .. ":20" ) if f4_local5 > 0 then if f4_local3.current_state ~= "default" then f4_local3.current_state = "default" f4_local3:processEvent( { name = "stop_flashing" } ) f4_local4:processEvent( { name = "stop_flashing" } ) end elseif f4_local3.current_state ~= "flashing" then f4_local3.current_state = "flashing" f4_local3:processEvent( { name = "flashing" } ) f4_local4:processEvent( { name = "flashing" } ) end end local f0_local4 = function ( f5_arg0, f5_arg1 ) local f5_local0 = f5_arg0:getChildById( "ac130OverlayWeaponsId" ) local f5_local1 = f5_local0:getChildById( "ac130OverlayToggleTextListId" ) local f5_local2 = f5_local1:getChildById( "ac130OverlayTimerTextId" ) f5_local2:setEndTime( f5_arg1.value ) end local f0_local5 = function ( f6_arg0, f6_arg1 ) local f6_local0 = f6_arg0:getChildById( "ac130OverlayWeaponsId" ) local f6_local1 = f6_local0:getChildById( "ac130OverlayOpticsTextId" ) local f6_local2 = f6_local0:getChildById( "ac130OverlayFLIRTextId" ) if f6_arg1.value == 0 then f6_local1:animateToState( "active", 250 ) f6_local2:animateToState( "inactive", 250 ) else f6_local1:animateToState( "inactive", 250 ) f6_local2:animateToState( "active", 250 ) end end local f0_local6 = function ( f7_arg0, f7_arg1 ) local f7_local0 = f7_arg0:getChildById( "ac130OverlayWeaponsId" ) local f7_local1 = f7_local0:getChildById( "ac130OverlayPlaneModelCoordsListId" ) local f7_local2 = f7_local1:getChildById( "ac130OverlayPlaneModelCoordsXId" ) local f7_local3 = f7_local1:getChildById( "ac130OverlayPlaneModelCoordsYId" ) local f7_local4 = f7_local1:getChildById( "ac130OverlayPlaneModelCoordsZId" ) local f7_local5 = Game.GetOmnvar( "ui_ac130_coord1_posx" ) local f7_local6 = Game.GetOmnvar( "ui_ac130_coord1_posy" ) local f7_local7 = Game.GetOmnvar( "ui_ac130_coord1_posz" ) f7_local2:setText( f7_local5 ) f7_local3:setText( f7_local6 ) f7_local4:setText( f7_local7 ) end local f0_local7 = function ( f8_arg0, f8_arg1 ) local f8_local0 = f8_arg0:getChildById( "ac130OverlayWeaponsId" ) local f8_local1 = f8_local0:getChildById( "ac130OverlayPlayerPositionCoordsListId" ) local f8_local2 = f8_local1:getChildById( "ac130OverlayPlayerPositionCoordsXId" ) local f8_local3 = f8_local1:getChildById( "ac130OverlayPlayerPositionCoordsYId" ) local f8_local4 = f8_local1:getChildById( "ac130OverlayPlayerPositionCoordsZId" ) local f8_local5 = Game.GetOmnvar( "ui_ac130_coord2_posx" ) local f8_local6 = Game.GetOmnvar( "ui_ac130_coord2_posy" ) local f8_local7 = Game.GetOmnvar( "ui_ac130_coord2_posz" ) f8_local2:setText( f8_local5 ) f8_local3:setText( f8_local6 ) f8_local4:setText( f8_local7 ) end local f0_local8 = function ( f9_arg0, f9_arg1 ) local f9_local0 = f9_arg0:getChildById( "ac130OverlayWeaponsId" ) local f9_local1 = f9_local0:getChildById( "ac130OverlayAimingCoordsListId" ) local f9_local2 = f9_local1:getChildById( "ac130OverlayAimingCoordsXId" ) local f9_local3 = f9_local1:getChildById( "ac130OverlayAimingCoordsYId" ) local f9_local4 = f9_local1:getChildById( "ac130OverlayAimingCoordsZId" ) local f9_local5 = Game.GetOmnvar( "ui_ac130_coord3_posx" ) local f9_local6 = Game.GetOmnvar( "ui_ac130_coord3_posy" ) local f9_local7 = Game.GetOmnvar( "ui_ac130_coord3_posz" ) f9_local2:setText( f9_local5 ) f9_local3:setText( f9_local6 ) f9_local4:setText( f9_local7 ) end local f0_local9 = function ( f10_arg0, f10_arg1 ) if f10_arg1.value then local f10_local0 = f10_arg0:getChildById( "ac130OverlayDarkenImageId" ) f10_local0:processEvent( { name = "darken" } ) end end local f0_local10 = function () return { type = "UIElement", id = "ac130OverlayContainerId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = true, rightAnchor = true, top = 0, left = 0, bottom = 0, right = 0, alpha = 1 } }, handlers = { dvar_update = { ui_ac130_thermal = f0_local5 }, omnvar_update = { ui_ac130_weapon = f0_local0, ui_ac130_105mm_ammo = f0_local1, ui_ac130_40mm_ammo = f0_local2, ui_ac130_25mm_ammo = f0_local3, ui_ac130_use_time = f0_local4, ui_ac130_coord1_posx = f0_local6, ui_ac130_coord2_posx = f0_local7, ui_ac130_coord3_posx = f0_local8, ui_ac130_darken = f0_local9 } }, children = { { type = "ac130OverlayDarkenImageDef" }, { type = "ac130OverlayImageDef" }, { type = "ac130OverlayWeaponsDef" } } } end local f0_local11 = function () return { type = "UIImage", id = "ac130OverlayImageId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = true, rightAnchor = true, top = 0, left = 0, bottom = 0, right = 0, material = RegisterMaterial( "ac130_overlay_grain" ), red = 0.9, green = 1, blue = 1, alpha = 0.3 } } } end local f0_local12 = function () return { type = "UIImage", id = "ac130OverlayDarkenImageId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = true, rightAnchor = true, top = 0, left = 0, bottom = 0, right = 0, material = RegisterMaterial( "black" ), alpha = 0 }, fadein = { alpha = 0.6 } }, handlers = { darken = MBh.AnimateSequence( { { "default", 0 }, { "fadein", 200 }, { "fadein", 400 }, { "default", 800 } } ) } } end local f0_local13 = function () return { type = "UIElement", id = "ac130OverlayWeaponsId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = true, rightAnchor = true, top = 0, left = 0, bottom = 0, right = 0 } }, children = { { type = "ac130OverlaysDef" }, { type = "ac130OverlayWeaponTextListDef" }, { type = "ac130OverlayAmmoTextListDef" }, { type = "ac130OverlayToggleTextListDef" }, { type = "ac130OverlayPlaneModelCoordsListDef" }, { type = "ac130OverlayPlayerPositionCoordsListDef" }, { type = "ac130OverlayAimingCoordsListDef" }, { type = "UIText", id = "ac130OverlayReloadingTextId", properties = { text = Engine.Localize( "@MP_FAVELA_IW6_AC130_RELOADING" ), textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = false, leftAnchor = true, bottomAnchor = true, rightAnchor = true, bottom = -230, height = CoD.TextSettings.HudEuroNormalFont.Height, font = CoD.TextSettings.HudEuroNormalFont.Font, alpha = 0 }, flash1 = { alpha = 1 }, flash2 = { alpha = 0.25 } }, handlers = { flashing = MBh.AnimateLoop( { { "flash1", 250 }, { "flash2", 250 } } ), stop_flashing = MBh.AnimateToState( "default", 0 ) } }, { type = "UIText", id = "ac130OverlayOpticsTextId", properties = { text = Engine.Localize( "@MP_FAVELA_IW6_AC130_HUD_OPTICS" ), textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = false, top = 0, left = 200, height = CoD.TextSettings.HudEuroExtraBigFont.Height, width = 128, font = CoD.TextSettings.HudEuroExtraBigFont.Font, alpha = 1 }, active = { alpha = 1 }, inactive = { alpha = 0.25 } } }, { type = "UIText", id = "ac130OverlayFLIRTextId", properties = { text = Engine.Localize( "@MP_FAVELA_IW6_AC130_HUD_FLIR" ), textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = false, bottomAnchor = false, rightAnchor = true, top = 0, right = -200, height = CoD.TextSettings.HudEuroExtraBigFont.Height, width = 128, font = CoD.TextSettings.HudEuroExtraBigFont.Font, alpha = 0.25 }, active = { alpha = 1 }, inactive = { alpha = 0.25 } } } } } end local f0_local14 = function () return { type = "UIElement", id = "ac130OverlaysContainerId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = true, rightAnchor = true, top = 0, left = 0, bottom = 0, right = 0 } }, children = { { type = "UIImage", id = "ac130Overlay105mmId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = true, rightAnchor = true, top = 0, left = 0, bottom = 0, right = 0, material = RegisterMaterial( "ac130_overlay_105mm" ), alpha = 0 }, active = { alpha = 1 } } }, { type = "UIImage", id = "ac130Overlay40mmId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = true, rightAnchor = true, top = 0, left = 0, bottom = 0, right = 0, material = RegisterMaterial( "ac130_overlay_40mm" ), alpha = 0 }, active = { alpha = 1 } } }, { type = "UIImage", id = "ac130Overlay25mmId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = true, rightAnchor = true, top = 0, left = 0, bottom = 0, right = 0, material = RegisterMaterial( "ac130_overlay_25mm" ), alpha = 0 }, active = { alpha = 1 } } } } } end local f0_local15 = function () return { type = "UIVerticalList", id = "ac130OverlayWeaponTextListId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = false, top = 150, left = 310, height = 128, width = 128, spacing = 0, alignment = LUI.Alignment.Left } }, children = { { type = "UIText", id = "ac130Overlay105mmTextId", properties = { text = Engine.Localize( "@MP_FAVELA_IW6_AC130_HUD_WEAPON_105MM" ), textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left }, flash1 = { alpha = 1 }, flash2 = { alpha = 0.25 } }, handlers = { flashing = MBh.AnimateLoop( { { "flash1", 250 }, { "flash2", 250 } } ), stop_flashing = MBh.AnimateToState( "default", 0 ) } }, { type = "UIText", id = "ac130Overlay40mmTextId", properties = { text = Engine.Localize( "@MP_FAVELA_IW6_AC130_HUD_WEAPON_40MM" ), textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left }, flash1 = { alpha = 1 }, flash2 = { alpha = 0.25 } }, handlers = { flashing = MBh.AnimateLoop( { { "flash1", 250 }, { "flash2", 250 } } ), stop_flashing = MBh.AnimateToState( "default", 0 ) } }, { type = "UIText", id = "ac130Overlay25mmTextId", properties = { text = Engine.Localize( "@MP_FAVELA_IW6_AC130_HUD_WEAPON_25MM" ), textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left }, flash1 = { alpha = 1 }, flash2 = { alpha = 0.25 } }, handlers = { flashing = MBh.AnimateLoop( { { "flash1", 250 }, { "flash2", 250 } } ), stop_flashing = MBh.AnimateToState( "default", 0 ) } } } } end local f0_local16 = function () return { type = "UIVerticalList", id = "ac130OverlayAmmoTextListId", states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = false, top = 150, left = 380, height = 128, width = 128, spacing = 0, alignment = LUI.Alignment.Left } }, children = { { type = "UIText", id = "ac130Overlay105mmAmmoTextId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, red = 1, green = 1, blue = 1, alpha = 1, alignment = LUI.Alignment.Left }, flash1 = { red = 1, green = 0, blue = 0, alpha = 1 }, flash2 = { red = 1, green = 1, blue = 1, alpha = 0.25 } }, handlers = { flashing = MBh.AnimateLoop( { { "flash1", 250 }, { "flash2", 250 } } ), stop_flashing = MBh.AnimateToState( "default", 0 ) } }, { type = "UIText", id = "ac130Overlay40mmAmmoTextId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, red = 1, green = 1, blue = 1, alpha = 1, alignment = LUI.Alignment.Left }, flash1 = { red = 1, green = 0, blue = 0, alpha = 1 }, flash2 = { red = 1, green = 1, blue = 1, alpha = 0.25 } }, handlers = { flashing = MBh.AnimateLoop( { { "flash1", 250 }, { "flash2", 250 } } ), stop_flashing = MBh.AnimateToState( "default", 0 ) } }, { type = "UIText", id = "ac130Overlay25mmAmmoTextId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, red = 1, green = 1, blue = 1, alpha = 1, alignment = LUI.Alignment.Left }, flash1 = { red = 1, green = 0, blue = 0, alpha = 1 }, flash2 = { red = 1, green = 1, blue = 1, alpha = 0.25 } }, handlers = { flashing = MBh.AnimateLoop( { { "flash1", 250 }, { "flash2", 250 } } ), stop_flashing = MBh.AnimateToState( "default", 0 ) } } } } end local f0_local17 = function () return { type = "UIVerticalList", id = "ac130OverlayToggleTextListId", states = { default = { topAnchor = false, leftAnchor = false, bottomAnchor = true, rightAnchor = true, bottom = -60, right = -40, height = 128, width = 256, spacing = 0, alignment = LUI.Alignment.Left } }, children = { { type = "UIText", id = "ac130OverlayChangeWeaponTextId", properties = { text = Engine.Localize( "@LUA_MENU_AC130_CHANGE_WEAPON" ), textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroNormalFont.Height, font = CoD.TextSettings.HudEuroNormalFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } }, { type = "UICountdown", id = "ac130OverlayTimerTextId", properties = { text = "", endTime = Game.GetOmnvar( "ui_ac130_use_time" ), textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroNormalFont.Height, font = CoD.TextSettings.HudEuroNormalFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } } } } end local f0_local18 = function () return { type = "UIHorizontalList", id = "ac130OverlayPlaneModelCoordsListId", states = { default = { topAnchor = false, leftAnchor = true, bottomAnchor = true, rightAnchor = false, bottom = -200, left = 320, height = CoD.TextSettings.HudEuroMedTinyFont.Height, width = 100, spacing = 0, alignment = LUI.Alignment.Left } }, children = { { type = "UIText", id = "ac130OverlayPlaneModelCoordsXId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } }, { type = "UIText", id = "ac130OverlayPlaneModelCoordsYId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } }, { type = "UIText", id = "ac130OverlayPlaneModelCoordsZId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } } } } end local f0_local19 = function () return { type = "UIHorizontalList", id = "ac130OverlayPlayerPositionCoordsListId", states = { default = { topAnchor = false, leftAnchor = false, bottomAnchor = true, rightAnchor = true, bottom = -200, right = -500, height = CoD.TextSettings.HudEuroMedTinyFont.Height, width = 100, spacing = 0, alignment = LUI.Alignment.Left } }, children = { { type = "UIText", id = "ac130OverlayPlayerPositionCoordsXId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } }, { type = "UIText", id = "ac130OverlayPlayerPositionCoordsYId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } }, { type = "UIText", id = "ac130OverlayPlayerPositionCoordsZId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } } } } end local f0_local20 = function () return { type = "UIHorizontalList", id = "ac130OverlayAimingCoordsListId", states = { default = { topAnchor = false, leftAnchor = false, bottomAnchor = true, rightAnchor = true, bottom = -200, right = -500, height = CoD.TextSettings.HudEuroMedTinyFont.Height, width = 100, spacing = 0, alignment = LUI.Alignment.Left } }, children = { { type = "UIText", id = "ac130OverlayAimingCoordsXId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } }, { type = "UIText", id = "ac130OverlayAimingCoordsYId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } }, { type = "UIText", id = "ac130OverlayAimingCoordsZId", properties = { text = "", textStyle = CoD.TextSettings.Shadowed }, states = { default = { topAnchor = true, leftAnchor = true, bottomAnchor = false, rightAnchor = true, top = 0, left = 0, height = CoD.TextSettings.HudEuroMedTinyFont.Height, font = CoD.TextSettings.HudEuroMedTinyFont.Font, alpha = 1, alignment = LUI.Alignment.Left } } } } } end LUI.MenuBuilder.registerDef( "ac130OverlayDef", f0_local10 ) LUI.MenuBuilder.registerDef( "ac130OverlayImageDef", f0_local11 ) LUI.MenuBuilder.registerDef( "ac130OverlayDarkenImageDef", f0_local12 ) LUI.MenuBuilder.registerDef( "ac130OverlayWeaponsDef", f0_local13 ) LUI.MenuBuilder.registerDef( "ac130OverlaysDef", f0_local14 ) LUI.MenuBuilder.registerDef( "ac130OverlayWeaponTextListDef", f0_local15 ) LUI.MenuBuilder.registerDef( "ac130OverlayAmmoTextListDef", f0_local16 ) LUI.MenuBuilder.registerDef( "ac130OverlayToggleTextListDef", f0_local17 ) LUI.MenuBuilder.registerDef( "ac130OverlayPlaneModelCoordsListDef", f0_local18 ) LUI.MenuBuilder.registerDef( "ac130OverlayPlayerPositionCoordsListDef", f0_local19 ) LUI.MenuBuilder.registerDef( "ac130OverlayAimingCoordsListDef", f0_local20 ) LockTable( _M )