{
    "type": "HelpPanel", "name": "HelpPanel",
    "fields": {
        "priority": 300,
        "fitToParent": true,
        "childFormats": [
            { "name": "HelpRun", "rect": { "x": -865, "y": 175 }, "command": "run", "text": "@StrHDHelp1" },
            { "name": "HelpHighItems", "rect": { "x": -865, "y": 305 }, "command": "showitems", "text": "@StrHDHelp2" },
            { "name": "HelpStandAttack", "rect": { "x": -865, "y": 240 }, "command": "standstill", "text": "@StrHDHelp3" },
            { "name": "HelpAutoMap", "rect": { "x": -865, "y": 570 }, "command": "automap", "text": "@StrHDHelp4" },
            { "name": "HelpGameMenu", "rect": { "x": -865, "y": 505 },"command": "exitmenu", "text": "@StrHDHelp5" },
            { "name": "HelpchatMode", "rect": { "x": -865, "y": 635 }, "command": "chat", "text": "@StrHDHelp6" },
            { "name": "Helpskillbind", "rect": { "x": -865, "y": 960 }, "command": [ "skill1", "skill8" ], "text": "@StrHDHelp7" },
            { "name": "HelpRenderToggle", "rect": { "x": -865, "y": 700 }, "command": "toggle_renderer", "text": "@StrHDHelp8" },
            { "name": "HelpZoom", "rect": { "x": -865, "y": 765 }, "command": "zoom", "text": "@StrHDHelpZoomDescription" },
            { "name": "HelpMercenaryScreen", "rect": { "x": -865, "y": 830 }, "command": "hirelingscreen", "text": "@StrHDHelp9" },
            { "name": "HelpMercenaryPotion", "rect": { "x": -865, "y": 895 }, "command": [ "standstill", "belt1", "belt2", "belt3", "belt4" ], "text": "@StrHDHelp10" },
        ],
    },
    "children": [
        {
            "type": "RectangleWidget", "name": "TransparentBG",
            "fields": {
                "fitToScreen": true,
                "color": [ 0.0, 0.0, 0.0, 0.0 ]
            },
            "children": [
                {
                    "type": "ClickCatcherWidget", "name": "catcher",
                    "fields": {
                        "fitToParent": true
                    }
                },  
            ]
        },
        {
            "type": "Widget", "name": "CenterSection",
            "fields": {
                "anchor": { "x": 0.5, "y": 0.5 },
                "rect": { "x": -45, "y": -785 },
            },
            "children": [

                // Text
                {
                    "type": "TextBoxWidget", "name": "Title",
                    "fields": {
                        "rect": { "x": 0, "y": -150 },
                        "text": "@Strhelp1",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$ExtraLargeFontSize",
                            "alignment": { "v": "center", "h": "center" }
                        }
                    }
                },
                // All widgets below should use FONT_FORMAL_12PT
                // Gameplay
                {
                    "type": "TextBoxWidget", "name": "GameplayLabel",
                    "fields": {
                        "rect": { "x": -920, "y": 75 },
                        "text": "@StrHDHelp12",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$LargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpRun",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpHighItems",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpStandAttack",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                // User Interface
                {
                    "type": "TextBoxWidget", "name": "UILabel",
                    "fields": {
                        "rect": { "x": -920, "y": 405 },
                        "text": "@StrHDHelp11",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$LargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpAutoMap",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpGameMenu",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpchatMode",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "Helpskillbind",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpRenderToggle",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpZoom",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpMercenaryScreen",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpMercenaryPotion",
                    "fields": {
                        "fontType": "12ptF",
                        "style": {
                            "options": { "pipeCharacterBehavior" : "handle" },
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
                // White text
                {
                    "type": "TextBoxWidget", "name": "HelpHealth",
                    "fields": {
                        "rect": { "x": -940, "y": 1295 },
                        "text": "@StrHelp9",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "center" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpMSkillLeftMouseButton",
                    "fields": {
                        "rect": { "x": -55, "y": 1240 },
                        "text": "@StrHDHelpLeftMouse",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "right" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpMSkillLeftMouseChange",
                    "fields": {
                        "rect": { "x": -55, "y": 1295 },
                        "text": "@StrHelp12",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "right" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpRunToggle",
                    "fields": {
                        "rect": { "x": -670, "y": 1365 },
                        "text": "@StrHDHelpRunWalkToggle",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "center" },
                        },
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpStaminaBar",
                    "fields": {
                        "rect": { "x": -500, "y": 1465 },
                        "text": "@StrHelp15",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "center" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpExperienceBar",
                    "fields": {
                        "rect": { "x": 420, "y": 1570 },
                        "text": "@StrHDHelpExperienceBar",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "center" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpMenuPanel",
                    "fields": {
                        "rect": { "x": -345, "y": 1560 },
                        "text": "@StrHDHelpMenuPanel",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "center" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpBelt",
                    "fields": {
                        "rect": { "x": 695, "y": 1515 },
                        "text": "@StrHelp21",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "center" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpMSkillRightMouseButton",
                    "fields": {
                        "rect": { "x": 145, "y": 1240 },
                        "text": "@StrHDHelpRightMouse",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HelpMSkillRightMouseChange",
                    "fields": {
                        "rect": { "x": 145, "y": 1295 },
                        "text": "@StrHelp12",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "left" }
                        }
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "Helpmana",
                    "fields": {
                        "rect": { "x": 1045, "y": 1295 },
                        "text": "@StrHelp22",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "h": "center" }
                        }
                    }
                },
                // Indicator lines
                {
                    "type": "IndicatorLineWidget", "name": "LifeLine",
                    "fields": {
                        "rect": { "x": -940, "y": 1360, "width": 6, "height": 150 },
                        "color": [ 1, 1, 1, 1 ]
                    }
                },
                {
                    "type": "IndicatorLineWidget", "name": "LeftMouseLine",
                    "fields": {
                        "rect": { "x": -115, "y": 1360, "width": 6, "height": 360 },
                        "color": [ 1, 1, 1, 1 ]
                    }
                },
                {
                    "type": "IndicatorLineWidget", "name": "RunWalkLine",
                    "fields": {
                        "rect": { "x": -670, "y": 1430, "width": 6, "height": 305 },
                        "color": [ 1, 1, 1, 1 ]
                    }
                },
                {
                    "type": "IndicatorLineWidget", "name": "StaminaBarLine",
                    "fields": {
                        "rect": { "x": -500, "y": 1525, "width": 6, "height": 220 },
                        "color": [ 1, 1, 1, 1 ]
                    }
                },
                {
                    "type": "IndicatorLineWidget", "name": "ExperienceBarLine",
                    "fields": {
                        "rect": { "x": 420, "y": 1630, "width": 6, "height": 60 },
                        "color": [ 1, 1, 1, 1 ]
                    }
                },
                {
                    "type": "IndicatorLineWidget", "name": "MenuPanelLine",
                    "fields": {
                        "rect": { "x": -345, "y": 1620, "width": 6, "height": 165 },
                        "color": [ 1, 1, 1, 1 ]
                    }
                },
                {
                    "type": "IndicatorLineWidget", "name": "BeltLine",
                    "fields": {
                        "rect": { "x": 695, "y": 1580, "width": 6, "height": 150 },
                        "color": [ 1, 1, 1, 1 ]
                    }
                },
                {
                    "type": "IndicatorLineWidget", "name": "RightMouseLine",
                    "fields": {
                        "rect": { "x": 205, "y": 1360, "width": 6, "height": 360 },
                        "color": [ 1, 1, 1, 1 ]
                    }
                },
                {
                    "type": "IndicatorLineWidget", "name": "ManaLine",
                    "fields": {
                        "rect": { "x": 1045, "y": 1360, "width": 6, "height": 150 },
                        "color": [ 1, 1, 1, 1 ]
                    }
                },
            ]
        },
        // Right Anchored Panel
        {
            "type": "Widget", "name": "RightSection",
            "fields": {
                "anchor": { "x": 1.0, "y": 1.0 },
                "rect": { "x": -230, "y": -2000 },
            },
            "children": [
                {
                    "type": "ButtonWidget", "name": "Close",
                    "fields": {
                        "rect": { "x": 95, "y": -100 },
                        "tooltipString": "@strClose",
                        "sound": "cursor_close_window_hd",
                        "onClickMessage": "PanelManager:ClosePanel:HelpPanel",
                        "filename": "PANEL/closebtn_4x",
                    }
                },
                // Warnings
                {
                    "type": "ImageWidget", "name": "HostileWarning",
                    "fields": {
                        "rect": { "x": -75, "y": 0, "scale": 1.5 },
                        "filename": "PANEL/hostilepic",
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "HostileLabel",
                    "fields": {
                        "rect": { "x": 0, "y": 190 },
                        "text": "@StrHDHelpHostileStatus",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "center" }
                        }
                    }
                },
                {
                    "type": "DurabilityWidget", "name": "DurabilityWarning",
                    "fields": {
                        "rect": { "x": -130, "y": 260 },
                        "requiredDamageLevel": "none",
                        "lowDamageFraction": 0.5,
                        "mediumDamageFraction": 0.8,
                        "highDamageFraction": 1.0,
                        "damagedAlpha": 1.0,
                        "undamagedAlpha": 1.0,
                        "unwornAlpha": 1.0,
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "DurabilityLabel",
                    "fields": {
                        "rect": { "x": 0, "y": 565 },
                        "text": "@StrHDHelpDurabilityStatus",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "center" }
                        }
                    }
                },
                {
                    "type": "ImageWidget", "name": "AmmoWarning",
                    "fields": {
                        "rect": { "x": -75, "y": 625 },
                        "filename": "PANEL/invwarn",
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "AmmoLabel",
                    "fields": {
                        "rect": { "x": 0, "y": 820 },
                        "text": "@StrHDHelpAmmoStatus",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "center" }
                        }
                    }
                },
            ]
        },
        // Left Anchored Panel
        {
            "type": "Widget", "name": "LeftSection",
            "fields": {
                "anchor": { "x": 0, "y": 0 },
                "rect": { "x": 250, "y": 250 },
            },
            "children": [
                // Ally Display
                {
                    "type": "ImageWidget", "name": "AllyPortait1",
                    "fields": {
                        "rect": { "x": -200, "y": -190, "scale": 1 },
                        "filename": "PANEL/PortraitFrame",
                    }
                },
                {
                    "type": "ImageWidget", "name": "AllyPortait2",
                    "fields": {
                        "rect": { "x": -200, "y": 14, "scale": 1 },
                        "filename": "PANEL/PortraitFrame",
                    }
                },
                {
                    "type": "ImageWidget", "name": "AllyPortait3",
                    "fields": {
                        "rect": { "x": -200, "y": 218, "scale": 1 },
                        "filename": "PANEL/PortraitFrame",
                    }
                },
                {
                    "type": "TextBoxWidget", "name": "AllyLabel",
                    "fields": {
                        "rect": { "x": -200, "y": 395 },
                        "text": "@StrHDHelpAllyDisplay",
                        "fontType": "12ptF",
                        "style": {
                            "fontColor": "$FontColorGoldYellow",
                            "pointSize": "$MediumLargeFontSize",
                            "alignment": { "v": "center", "h": "left" }
                        }
                    }
                },
            ]
        },
    ]
}
