mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 12:26:14 +00:00
1881 lines
51 KiB
JSON
1881 lines
51 KiB
JSON
{
|
|
"namespace": "pause",
|
|
|
|
"achievements_icon": {
|
|
"type": "image",
|
|
"texture": "textures/ui/achievements",
|
|
"layer": 3,
|
|
"size": [ 16, 16 ]
|
|
},
|
|
|
|
"feedback_icon": {
|
|
"type": "image",
|
|
"texture": "textures/ui/Feedback",
|
|
"layer": 3,
|
|
"size": [ 16, 16 ]
|
|
},
|
|
|
|
"change_skin_icon": {
|
|
"type": "image",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"texture": "textures/ui/hangar",
|
|
"layer": 3,
|
|
"size": [ 32, 16 ],
|
|
"color": [ 0.3, 0.3, 0.3 ]
|
|
},
|
|
|
|
"take_screenshot_icon": {
|
|
"type": "image",
|
|
"texture": "textures/ui/camera-yo",
|
|
"layer": 3,
|
|
"size": [ 24, 12 ]
|
|
},
|
|
|
|
"alex_icon": {
|
|
"type": "image",
|
|
"texture": "textures/ui/icon_alex",
|
|
"layer": 1,
|
|
"size": [ 16, 16 ]
|
|
},
|
|
|
|
"profile_gamerpic": {
|
|
"type": "image",
|
|
"size": [ 16, 16 ],
|
|
"layer": 2,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#gamerpic_texture_path",
|
|
"binding_name_override": "#texture"
|
|
},
|
|
{
|
|
"binding_name": "#gamerpic_texture_location_type",
|
|
"binding_name_override": "#texture_file_system"
|
|
},
|
|
{
|
|
"binding_name": "$gamerpic_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"button_x@common.gamepad_helper_x_14": {
|
|
"$gamepad_helper_visible_binding_type": "none",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"layer": -1,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "$button_x_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
//---------------------------------------------------------------------------
|
|
// Skins Panel
|
|
//---------------------------------------------------------------------------
|
|
|
|
"dressing_room_controller_button_content": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"button_x@pause.button_x": {
|
|
"offset": [ 1, -1 ],
|
|
"$button_x_visible": "#can_change_skin"
|
|
}
|
|
},
|
|
{
|
|
"button_label_panel": {
|
|
"type": "panel",
|
|
"offset": [ -1, 0 ],
|
|
"size": [ "100%c", "100%c" ],
|
|
"anchor_from": "right_middle",
|
|
"anchor_to": "right_middle",
|
|
"controls": [
|
|
{
|
|
"button_label_text_left@pause.controller_button_label": {
|
|
"size": [ "default", "default" ],
|
|
"max_size": [ 80, 20 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"controller_button_label@common_buttons.new_ui_binding_button_label": {
|
|
"size": [ "100%", "100%c" ],
|
|
"$anchor": "left_middle",
|
|
"$button_text": "profileScreen.header",
|
|
"$button_text_binding_type": "none",
|
|
"$button_binding_condition": "none",
|
|
"$button_text_grid_collection_name": ""
|
|
},
|
|
|
|
"column_frame": {
|
|
"type": "panel"
|
|
},
|
|
|
|
"dressing_room_button_gamepad@common_buttons.light_content_form_fitting_button": {
|
|
"size": [ "100%c", "100%c" ],
|
|
"$button_content_size_override": [ "100%c - 2px", "100%c - 4px" ],
|
|
"$pressed_button_name": "button.to_profile_or_skins_screen",
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"$button_offset": [ -3, 1 ],
|
|
"$new_ui_label_offset": [ 0, -1 ],
|
|
"$text_alignment": "left",
|
|
"$button_content": "pause.dressing_room_controller_button_content",
|
|
"$pressed_alpha": 0.65,
|
|
"$hide_description": true,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "#dressing_room_controller_button_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"dressing_room_button@common_buttons.light_text_form_fitting_button": {
|
|
"$pressed_button_name": "button.to_profile_or_skins_screen",
|
|
"$form_fitting_min_size": [ "100%c + 2px", 24 ],
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"$button_text": "profileScreen.header",
|
|
"$focus_id": "profile_button",
|
|
"$pressed_alpha": 0.65,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#dressing_room_button_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"profile_button_content": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%c", 24 ],
|
|
"orientation": "horizontal",
|
|
"controls": [
|
|
{
|
|
"button_offset_wrapper": {
|
|
"type": "panel",
|
|
"size": [ "100%c - 12px", "100%c" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#profile_button_x_icon_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"button_x@pause.button_x": {
|
|
"$button_x_visible": "#profile_button_x_icon_visible",
|
|
"offset": [ -6, -4 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"gamerpic_offset_wrapper": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%c" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #profile_button_x_icon_visible)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"gamerpic_with_border": {
|
|
"type": "panel",
|
|
"size": [ 18, 18 ],
|
|
"offset": [ -2, 0 ],
|
|
"controls": [
|
|
{
|
|
"gamerpic@pause.profile_gamerpic": {
|
|
"$gamerpic_visible": "#is_signed_in_xbl"
|
|
}
|
|
},
|
|
{
|
|
"alex_icon@pause.alex_icon": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #is_signed_in_xbl)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"border_black@common.focus_border_black": {
|
|
"layer": 3,
|
|
"size": [ 18, 18 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"padding_middle@common.empty_panel": {
|
|
"size": [ 2, "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"vertically_central_text": {
|
|
"type": "stack_panel",
|
|
"orientation": "vertical",
|
|
"size": [ "100%c", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"top_padding": {
|
|
"type": "panel",
|
|
"size": [ "0px", 4 ]
|
|
}
|
|
},
|
|
{
|
|
"profile_button_label@common_buttons.new_ui_binding_button_label": {
|
|
"layer": 1,
|
|
"$button_text": "menu.profile",
|
|
"$button_text_size": [ "default", "default" ],
|
|
"$button_text_max_size": [ "default", 20 ],
|
|
"$button_text_binding_type": "none",
|
|
"$button_binding_condition": "none",
|
|
"$button_text_grid_collection_name": ""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"padding_right@common.empty_panel": {
|
|
"size": [ 6, "100%" ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"profile_button@common_buttons.light_content_form_fitting_button": {
|
|
"size": [ "100%c", "100%c" ],
|
|
"$button_content_size_override": [ "100%c", "100%c - 4px" ],
|
|
"$button_content": "pause.profile_button_content",
|
|
"$pressed_button_name": "button.menu_profile"
|
|
},
|
|
|
|
"skin_viewer_panel": {
|
|
"type": "input_panel",
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"size": [ "100%", "100px" ],
|
|
"$skin_viewer_panel_offset|default": [ 0, 16 ],
|
|
"offset": "$skin_viewer_panel_offset",
|
|
"gesture_tracking_button": "button.turn_doll",
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "button.turn_doll",
|
|
"mapping_type": "pressed",
|
|
"button_up_right_of_first_refusal": true
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"paper_doll_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100% - 10px" ],
|
|
"$paper_doll_offset|default": [ 0, -22 ],
|
|
"offset": "$paper_doll_offset",
|
|
|
|
"controls": [
|
|
{
|
|
"paper_doll": {
|
|
"type": "custom",
|
|
"renderer": "paper_doll_renderer",
|
|
"camera_tilt_degrees": -10,
|
|
"starting_rotation": 30,
|
|
"layer": 2,
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"rotation": "gesture_x",
|
|
"size": [ "100%", "100%" ],
|
|
"use_selected_skin": false,
|
|
"animation_reset_name": "screen_animation_reset",
|
|
"anims": [
|
|
"@common.screen_exit_size_animation_push",
|
|
"@common.screen_exit_size_animation_pop",
|
|
"@common.screen_entrance_size_animation_push",
|
|
"@common.screen_entrance_size_animation_pop"
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#paper_doll_skin"
|
|
},
|
|
{
|
|
"binding_type": "view",
|
|
"source_control_name": "viewer_panel",
|
|
"source_property_name": "#gesture_delta_source",
|
|
"target_property_name": "#gesture_delta_source"
|
|
},
|
|
{
|
|
"binding_type": "view",
|
|
"source_control_name": "viewer_panel",
|
|
"source_property_name": "#gesture_mouse_delta_x",
|
|
"target_property_name": "#gesture_mouse_delta_x"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"paper_doll_name_tag": {
|
|
"ignored": "($pocket_edition and $pocket_screen)",
|
|
"type": "custom",
|
|
"renderer": "name_tag_renderer",
|
|
"layer": 2,
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"size": [ 8, 8 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#playername"
|
|
},
|
|
{
|
|
"binding_name": "#playername_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"skin_panel": {
|
|
"type": "panel",
|
|
"size": [ "40%", "100%" ],
|
|
"max_size": [ 100, "100%" ],
|
|
"controls": [
|
|
{
|
|
"interior@pause.skin_panel_interior": {}
|
|
}
|
|
]
|
|
},
|
|
|
|
"skin_panel_interior": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"orientation": "vertical",
|
|
"controls": [
|
|
{
|
|
"offset_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"controls": [
|
|
{
|
|
"viewer_panel@pause.skin_viewer_panel": {
|
|
"tts_ignore_count": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"change_profile_panel": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"centering_panel_1": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{ "dressing_room_button@pause.dressing_room_button": {} }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"centering_panel_2": {
|
|
"type": "input_panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.controller_select",
|
|
"to_button_id": "button.to_profile_or_skins_screen",
|
|
"mapping_type": "global",
|
|
"scope": "controller"
|
|
}
|
|
],
|
|
"controls": [
|
|
{ "dressing_room_button_gamepad@pause.dressing_room_button_gamepad": {} }
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#dressing_room_controller_button_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"centering_panel_3": {
|
|
"type": "input_panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.controller_select",
|
|
"to_button_id": "button.menu_profile",
|
|
"mapping_type": "global",
|
|
"scope": "controller"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"profile_button@pause.profile_button": {
|
|
"$focus_id": "profile_button"
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#profile_button_b_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#can_change_skin",
|
|
"binding_name_override": "#enabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
]
|
|
},
|
|
|
|
"pause_button_template@common_buttons.light_text_button": {
|
|
"size": [ "100%", 28 ],
|
|
"focus_identifier": "$pressed_button_name",
|
|
"focus_change_right": "$focus_override_right",
|
|
"focus_change_left": "$pressed_button_name"
|
|
},
|
|
|
|
"grid_button_template@common_buttons.light_text_button": {
|
|
"size": [ "100%", 28 ]
|
|
},
|
|
|
|
"return_to_game_button@pause.pause_button_template": {
|
|
"$pressed_button_name": "button.menu_continue",
|
|
"$button_text": "menu.returnToGame",
|
|
"anchor_to": "top_middle",
|
|
"anchor_from": "top_middle",
|
|
"$button_focus_precedence": 1,
|
|
"$focus_override_up": "icon_panel_main_focus",
|
|
"variables": [
|
|
{
|
|
"requires": "$is_editor_playtest_roundtrip",
|
|
"$button_text": "pauseScreen.editor.returnToTesting"
|
|
},
|
|
{
|
|
"requires": "$is_editor_mode_enabled",
|
|
"$button_text": "pauseScreen.editor.returnToEditing"
|
|
}
|
|
]
|
|
},
|
|
|
|
"realms_stories_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 28 ],
|
|
"controls": [
|
|
{ "realms_stories_button@pause.realms_stories_button": {} },
|
|
{ "unread_story_count_panel@pause.unread_story_count_panel": {} }
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_realm_level",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
},
|
|
|
|
"realms_stories_button@pause.pause_button_template": {
|
|
"$pressed_button_name": "button.menu_feed",
|
|
"$button_text": "pauseScreen.realmsStories",
|
|
"anchor_to": "top_middle",
|
|
"anchor_from": "top_middle"
|
|
},
|
|
|
|
"unread_story_count_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "center",
|
|
"size": [ "100%c", "100%c" ],
|
|
"layer": 3,
|
|
"controls": [
|
|
{
|
|
"text": {
|
|
"type": "label",
|
|
"color": "$tab_secondary_unchecked_text_color",
|
|
"shadow": false,
|
|
"text": "#realms_unread_story_count",
|
|
"layer": 9,
|
|
"controls": [
|
|
{
|
|
"background": {
|
|
"type": "image",
|
|
"texture": "textures/ui/invite_number_background",
|
|
"layer": -1,
|
|
"size": [ "100%+4px", "100%" ],
|
|
"offset": [ -0.5, 0 ]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#realms_unread_story_count",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#realms_unread_story_count_visible",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
},
|
|
|
|
"store_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100%", 28 ],
|
|
"ignored": "$is_secondary_client",
|
|
"controls": [
|
|
{ "store_button@pause.store_button": {} },
|
|
{ "store_error_button@pause.store_error_button": {} }
|
|
]
|
|
},
|
|
|
|
"store_button@pause.pause_button_template": {
|
|
"$pressed_button_name": "button.menu_store",
|
|
"$button_text": "$store_button_text",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#store_button_visible",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
},
|
|
|
|
"store_error_button@common_buttons.dynamic_tooltip_notification_panel": {
|
|
"size": [ "100%", "100%" ],
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "button.menu_store_error",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"to_button_id": "button.is_hovered",
|
|
"mapping_type": "pressed"
|
|
}
|
|
],
|
|
"consume_hover_events": false,
|
|
"focus_enabled": true,
|
|
"$dynamic_tooltip_button_visibility_binding_name": "(not #store_button_visible)",
|
|
"$tooltip_popup_visible_binding": "#store_error_tooltip_visible",
|
|
"$override_tooltip_popup_image": true,
|
|
"$tooltip_popup_override_image_panel": "start.store_error_image",
|
|
"$tooltip_text_binding_name": "#store_error_text",
|
|
"$tool_tip_text_max_size": [ "160px", "default" ],
|
|
"$tooltip_panel_content": "pause.store_error_button_content",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #store_button_visible)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"store_error_button_content": {
|
|
"type": "image",
|
|
"texture": "textures/ui/disabledButton",
|
|
"layer": 9,
|
|
"controls": [
|
|
{
|
|
"marketplace_button_label": {
|
|
"layer": 9,
|
|
"type": "label",
|
|
"text": "$store_button_text",
|
|
"color": "$light_button_locked_text_color"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"settings_button@pause.pause_button_template": {
|
|
"$pressed_button_name": "button.menu_settings",
|
|
"$button_text": "menu.settings",
|
|
"anchor_to": "top_middle",
|
|
"anchor_from": "top_middle"
|
|
},
|
|
|
|
"how_to_play_button@pause.pause_button_template": {
|
|
"$pressed_button_name": "button.menu_how_to_play",
|
|
"$button_text": "menu.howToPlay",
|
|
"anchor_to": "top_middle",
|
|
"anchor_from": "top_middle",
|
|
"ignored": "(not $education_edition)"
|
|
},
|
|
|
|
"invite_players_button@pause.grid_button_template": {
|
|
"$pressed_button_name": "button.menu_invite_players",
|
|
"$button_text": "pauseScreen.invite",
|
|
"focus_change_down": "FOCUS_OVERRIDE_STOP",
|
|
"$focus_override_right": "FOCUS_OVERRIDE_STOP",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#invite_button_visible",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
},
|
|
{
|
|
"binding_name": "#invite_button_enabled",
|
|
"binding_name_override": "#enabled"
|
|
}
|
|
]
|
|
},
|
|
|
|
"buy_button@pause.pause_button_template": {
|
|
"$pressed_button_name": "button.menu_buy_game",
|
|
"$button_text": "$unlock_full_game_button_text",
|
|
"anchor_to": "top_middle",
|
|
"anchor_from": "top_middle",
|
|
"ignored": "(not $trial or $is_secondary_client)",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_trial_version",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
},
|
|
|
|
"quit_button@pause.pause_button_template": {
|
|
"$pressed_button_name": "button.menu_quit",
|
|
"$button_text": "pauseScreen.quit",
|
|
"anchor_to": "top_middle",
|
|
"anchor_from": "top_middle",
|
|
"$focus_override_down": "icon_panel_main_focus",
|
|
"variables": [
|
|
{
|
|
"requires": "($is_secondary_client and not $is_editor_playtest_roundtrip)",
|
|
"$button_text": "pauseScreen.secondaryClientLeave"
|
|
},
|
|
{
|
|
"requires": "$is_editor_playtest_roundtrip",
|
|
"$button_text": "pauseScreen.editor.quit"
|
|
}
|
|
]
|
|
},
|
|
|
|
"feedback_button@common_buttons.light_content_button": {
|
|
"size": [ 24, 24 ],
|
|
"$button_pressed_offset": [ 0, 0 ],
|
|
"$button_content": "pause.feedback_icon",
|
|
"$pressed_button_name": "button.feedback_button_pressed"
|
|
},
|
|
|
|
"feedback_icon_button": {
|
|
"type": "panel",
|
|
"$button_tts_header": "accessibility.start.feedback",
|
|
"$pressed_button_name": "button.feedback",
|
|
"controls": [
|
|
{
|
|
"feedback_button@pause.feedback_button": {
|
|
"ignored": "$education_edition",
|
|
"$focus_override_left": "FOCUS_OVERRIDE_STOP"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"achievements_button@common_buttons.light_content_button": {
|
|
"size": [ 24, 24 ],
|
|
"$button_content": "pause.achievements_icon",
|
|
"$pressed_button_name": "button.menu_achievements"
|
|
},
|
|
|
|
"achievements_icon_button": {
|
|
"ignored": "$achievements_ignored",
|
|
"type": "panel",
|
|
"$button_tts_header": "menu.achievements",
|
|
"controls": [
|
|
{
|
|
"achievements_button@pause.achievements_button": {
|
|
"ignored": "$education_edition",
|
|
"variables": [
|
|
{
|
|
"requires": "$achievements_button_focus",
|
|
"$focus_id": "icon_panel_main_focus"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"take_screenshot_gamepad_button_content": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%cm" ],
|
|
"controls": [
|
|
{
|
|
"button_y@common.gamepad_helper_y_14": {
|
|
"$gamepad_helper_visible_binding_type": "none",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"layer": -1,
|
|
"offset": [ 6, 0 ]
|
|
}
|
|
},
|
|
{
|
|
"take_screenshot_icon@pause.take_screenshot_icon": {
|
|
"anchor_from": "right_middle",
|
|
"anchor_to": "right_middle"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"take_screenshot_gamepad_button@common_buttons.light_content_form_fitting_button": {
|
|
"size": [ "100%c", "100%c" ],
|
|
"$button_image_size_override": [ "100%c", "100%c" ],
|
|
"$button_content_size_override": [ "100%c - 8px", "100%c - 4px" ],
|
|
"$pressed_button_name": "button.screenshot",
|
|
"$focus_id": "icon_panel_main_focus",
|
|
"$button_tts_header": "key.screenshot",
|
|
"$button_offset": [ -4, 0 ],
|
|
"$button_pressed_offset": [ -4, 0 ],
|
|
"$button_content": "pause.take_screenshot_gamepad_button_content",
|
|
"$pressed_alpha": 0.65,
|
|
"$hide_description": true,
|
|
"bindings": [
|
|
{
|
|
"binding_type": "global",
|
|
"binding_name": "#is_using_gamepad",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"take_screenshot_button@common_buttons.light_content_button": {
|
|
"$pressed_button_name": "button.screenshot",
|
|
"$focus_id": "icon_panel_main_focus",
|
|
"$button_tts_header": "key.screenshot",
|
|
"size": [ 24, 24 ],
|
|
"$button_content": "pause.take_screenshot_icon",
|
|
"$pressed_alpha": 0.65,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #is_using_gamepad)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"pause_screen@common.base_screen": {
|
|
"cache_screen": true,
|
|
|
|
"$screen_animations": [
|
|
"@common.screen_exit_animation_push_fade",
|
|
"@common.screen_exit_animation_pop_fade",
|
|
"@common.screen_entrance_animation_push_fade",
|
|
"@common.screen_entrance_animation_pop_fade"
|
|
],
|
|
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_cancel",
|
|
"to_button_id": "button.menu_continue",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.controller_start",
|
|
"to_button_id": "button.menu_continue",
|
|
"mapping_type": "global"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_vr_realign",
|
|
"to_button_id": "button.menu_vr_realign",
|
|
"mapping_type": "global",
|
|
"scope": "controller"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_tab_left",
|
|
"to_button_id": "button.menu_tab_left",
|
|
"mapping_type": "global",
|
|
"scope": "view"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_tab_right",
|
|
"to_button_id": "button.menu_tab_right",
|
|
"mapping_type": "global",
|
|
"scope": "view"
|
|
}
|
|
],
|
|
|
|
"variables": [
|
|
{
|
|
"requires": "$ignore_edu_pause",
|
|
"$screen_content": "pause.pause_screen_content",
|
|
"$screen_bg_content": "common.screen_background"
|
|
},
|
|
{
|
|
"requires": "(not $ignore_edu_pause)",
|
|
"$screen_content": "edu_pause.pause_screen_content"
|
|
}
|
|
]
|
|
},
|
|
|
|
"pause_screen_content": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"layer": 1,
|
|
"variables": [
|
|
{
|
|
"requires": "$education_edition",
|
|
"$achievements_ignored": true
|
|
},
|
|
{
|
|
"requires": "$trial",
|
|
"$achievements_ignored": true
|
|
}
|
|
],
|
|
"controls": [
|
|
{ "pause_screen_main_panels@pause.pause_screen_main_panels": {} },
|
|
{ "gamepad_helpers@pause.gamepad_helpers": {} },
|
|
{ "keyboard_helpers@pause.keyboard_helpers": {} }
|
|
]
|
|
},
|
|
|
|
"pause_screen_main_panels": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"size": [ "100%", "100%" ],
|
|
"$achievements_ignored|default": false,
|
|
"controls": [
|
|
{ "menu@pause.pause_screen_menu": {} },
|
|
{ "info_panel@pause.info_panel": {} }
|
|
]
|
|
},
|
|
|
|
"pause_screen_menu": {
|
|
"type": "stack_panel",
|
|
"size": [ "fill", "100%" ],
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"controls": [
|
|
{
|
|
"filler@pause.filler_panel": {
|
|
"size": [ "100%", 10 ]
|
|
}
|
|
},
|
|
{
|
|
"trialTime": {
|
|
"type": "custom",
|
|
"ignored": "(not $trial)",
|
|
"renderer": "trial_time_renderer",
|
|
"size": [ "default", 10 ],
|
|
"offset": [ -2, -4 ],
|
|
"layer": 3,
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_trial_version",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{ "the_rest_panel@pause.the_rest_panel": {} },
|
|
{ "the_icon_panel@pause.the_icon_panel": {} }
|
|
]
|
|
},
|
|
|
|
"the_rest_panel": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "fill" ],
|
|
"orientation": "horizontal",
|
|
"layer": 1,
|
|
"controls": [
|
|
{
|
|
"fill_1": {
|
|
"type": "panel",
|
|
"layer": 1,
|
|
"size": [ "fill", "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"pause_menu@pause.menu_the_rest_panel": {}
|
|
},
|
|
{
|
|
"fill_2": {
|
|
"type": "panel",
|
|
"layer": 1,
|
|
"size": [ "fill", "100%" ]
|
|
}
|
|
},
|
|
{
|
|
"skin_panel@pause.skin_panel": {
|
|
"layer": 1
|
|
}
|
|
},
|
|
{
|
|
"fill_3": {
|
|
"type": "panel",
|
|
"layer": 1,
|
|
"size": [ "fill", "100%" ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"the_icon_panel": {
|
|
"type": "stack_panel",
|
|
"anchor_to": "bottom_left",
|
|
"anchor_from": "bottom_left",
|
|
"size": [ "50% - 75px", "100%c" ],
|
|
"offset": [ 0, "-10%" ],
|
|
"controls": [
|
|
{
|
|
"stacked_column": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", 32 ],
|
|
"offset": [ "5%", 0 ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"orientation": "horizontal",
|
|
"controls": [
|
|
{
|
|
"side_padding": {
|
|
"type": "panel",
|
|
"size": [ "12%", 0 ]
|
|
}
|
|
},
|
|
{
|
|
"feedback_btn@pause.column_frame": {
|
|
"ignored": "$education_edition",
|
|
"size": [ 28, 32 ],
|
|
"controls": [
|
|
{
|
|
"feedback_icon_button@pause.feedback_icon_button": {
|
|
"variables": [
|
|
{
|
|
"requires": "$feedback_button_focus",
|
|
"$focus_id": "icon_panel_main_focus"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"feedback_padding": {
|
|
"type": "panel",
|
|
"size": [ "2%", 0 ]
|
|
}
|
|
},
|
|
{
|
|
"achievements_btn@pause.column_frame": {
|
|
"ignored": "$achievements_ignored",
|
|
"size": [ 28, 32 ],
|
|
"controls": [
|
|
{ "achievements_icon_button@pause.achievements_icon_button": {} }
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#achievements_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"achievements_padding": {
|
|
"type": "panel",
|
|
"size": [ "2%", 0 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#achievements_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"take_screenshot_btn": {
|
|
"type": "input_panel",
|
|
"size": [ "100%c + 4px", 32 ],
|
|
"controls": [
|
|
{ "take_screenshot_button@pause.take_screenshot_button": {} },
|
|
{ "take_screenshot_gamepad_button@pause.take_screenshot_gamepad_button": {} }
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#screenshot_button_visible",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
],
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.controller_secondary_select",
|
|
"to_button_id": "button.screenshot",
|
|
"mapping_type": "global",
|
|
"scope": "controller"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"screenshot_padding": {
|
|
"type": "panel",
|
|
"size": [ "2%", 0 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#screenshot_button_visible",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"profile_btn_padding_left": {
|
|
"type": "panel",
|
|
"size": [ "2%", 0 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#profile_button_a_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"profile_btn@pause.column_frame": {
|
|
"size": [ "100%c", 32 ],
|
|
"controls": [
|
|
{
|
|
"profile_button@pause.profile_button": {
|
|
"variables": [
|
|
{
|
|
"requires": "$profile_button_focus",
|
|
"$focus_id": "icon_panel_main_focus"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#profile_button_a_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"profile_btn_padding_right": {
|
|
"type": "panel",
|
|
"size": [ "4%", 0 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#profile_button_a_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"transparent_background": {
|
|
"type": "image",
|
|
"texture": "textures/ui/menubackground",
|
|
"layer": 1,
|
|
"alpha": 0.8
|
|
},
|
|
|
|
"menu_the_rest_panel": {
|
|
"type": "panel",
|
|
"size": [ "50% + 10px", "100%" ],
|
|
"focus_container": true,
|
|
"use_last_focus": true,
|
|
"focus_navigation_mode_left": "contained",
|
|
"controls": [
|
|
{ "menu_button_control@pause.menu_button_control": {} }
|
|
]
|
|
},
|
|
|
|
"menu_button_control@pause.pause_screen_border": {
|
|
"size": [ "100%", "100%c + 2px" ],
|
|
"color": [ 0, 0, 0 ],
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"controls": [
|
|
{ "menu_background@pause.menu_background": {} }
|
|
]
|
|
},
|
|
|
|
"menu_background@pause.transparent_background": {
|
|
"size": [ "100% - 2px", "100%c + 8px" ],
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"controls": [
|
|
{
|
|
"button_panel": {
|
|
"type": "stack_panel",
|
|
"size": [ "100% - 8px", "100%c" ],
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"controls": [
|
|
{ "return_to_game_button@pause.return_to_game_button": {} },
|
|
{ "return@pause.vertical_padding": {} },
|
|
{ "realms_stories_button_panel@pause.realms_stories_button_panel": {} },
|
|
{
|
|
"realms_stories@pause.vertical_padding": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_realm_level",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{ "settings_button@pause.settings_button": {} },
|
|
{ "settings@pause.vertical_padding": {} },
|
|
{ "buy_button@pause.buy_button": {} },
|
|
{
|
|
"buy@pause.vertical_padding": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_trial_version",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{ "store_button_panel@pause.store_button_panel": {} },
|
|
{
|
|
"server@pause.vertical_padding": {
|
|
"ignored": "$is_secondary_client",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#store_button_visible",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{ "quit_button@pause.quit_button": {} }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"info_panel_content_list": {
|
|
"type": "stack_panel",
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right",
|
|
"size": [ "100% - 4px", "100%" ],
|
|
"orientation": "vertical",
|
|
"controls": [
|
|
{ "player_list_scrolling_panel@pause.player_list_scrolling_panel": {} },
|
|
{
|
|
"vertical_padding@pause.vertical_padding": {
|
|
"size": [ 0, 8 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"info_panel_background@pause.transparent_background": {
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right"
|
|
},
|
|
|
|
"info_panel@pause.pause_screen_border": {
|
|
"size": [ 150, "100%" ],
|
|
"anchor_from": "right_middle",
|
|
"anchor_to": "right_middle",
|
|
"controls": [
|
|
{ "info_panel_background@pause.info_panel_background": {} },
|
|
{ "info_panel_list@pause.info_panel_content_list": {} }
|
|
]
|
|
},
|
|
|
|
"player_panel_background@pause.transparent_background": {
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"size": [ "100% - 2px", "100% - 2px" ],
|
|
"controls": [
|
|
{ "player_list_scrolling_panel@pause.player_list_scrolling_panel": {} }
|
|
]
|
|
},
|
|
|
|
"player_list": {
|
|
"type": "stack_panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%", "100%c" ],
|
|
"focus_container": true,
|
|
"use_last_focus": true,
|
|
"focus_navigation_mode_right": "contained",
|
|
"controls": [
|
|
{
|
|
"vertical_padding_0@pause.vertical_padding": {
|
|
"size": [ 0, 4 ]
|
|
}
|
|
},
|
|
{
|
|
"players_label@pause.players_label": {
|
|
"ignored": "$education_edition"
|
|
}
|
|
},
|
|
{
|
|
"vertical_padding_2@pause.vertical_padding": {
|
|
"size": [ 0, 3 ],
|
|
"ignored": "$education_edition"
|
|
}
|
|
},
|
|
{ "players_grid_panel@pause.players_grid": {} },
|
|
{
|
|
"vertical_padding_3@pause.vertical_padding": {
|
|
"size": [ 0, 3 ]
|
|
}
|
|
},
|
|
{ "invite_players_button_panel@pause.invite_players_button_panel": {} },
|
|
{
|
|
"vertical_padding_4@pause.vertical_padding": {
|
|
"size": [ 0, 3 ]
|
|
}
|
|
},
|
|
{ "disconnected_from_multiplayer_label_panel@pause.disconnected_from_multiplayer_label_panel": {} },
|
|
{
|
|
"vertical_padding_5@pause.vertical_padding": {
|
|
"size": [ 0, 1 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_lists": {
|
|
"type": "panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"normal_list@pause.player_list": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "(not #list_has_display_objective)",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"scoreboard_list@scoreboard.scoreboard_player_list": {
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#list_has_display_objective",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_list_scrolling_panel@common.scrolling_panel": {
|
|
"size": [ "100% - 4px", "100%" ],
|
|
"offset": [ 2, 0 ],
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right",
|
|
"$show_background": false,
|
|
"$scroll_track_size": [ 5, "100% - 4px" ],
|
|
"$scroll_track_offset|default": [ -4, 2 ],
|
|
"$scrolling_content": "pause.player_lists"
|
|
},
|
|
|
|
"disconnected_label": {
|
|
"type": "label",
|
|
"size": [ "100%", "default" ],
|
|
"color": "$main_header_text_color",
|
|
"layer": 1
|
|
},
|
|
|
|
"disconnected_from_multiplayer_label_panel": {
|
|
"type": "stack_panel",
|
|
"size": [ "100%", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"disconnected_from_xbox_live_label@pause.disconnected_label": {
|
|
"text": "pauseScreen.xboxLiveDisconnect",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#disconnected_from_xbox_live_label_visible",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"disconnected_from_third_party_label@pause.disconnected_label": {
|
|
"text": "pauseScreen.thirdPartyConsoleDisconnect",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#disconnected_from_third_party_label_visible",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"disconnected_from_adhoc_label@pause.disconnected_label": {
|
|
"text": "pauseScreen.thirdPartyConsoleAdhocDisconnect",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#disconnected_from_adhoc_label_visible",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"disconnected_from_crossplatform_multiplayer@pause.disconnected_label": {
|
|
"text": "options.crossPlatformMultiplayerDisabled",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#disconnected_from_crossplatform_multiplayer",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"disconnected_from_multiplayer@pause.disconnected_label": {
|
|
"text": "options.multiplayerDisabled",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#disconnected_from_multiplayer",
|
|
"binding_name_override": "#visible",
|
|
"binding_type": "global"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"invite_players_button_panel": {
|
|
"type": "panel",
|
|
"size": [ "100% - 1px", "100%c" ],
|
|
"controls": [
|
|
{
|
|
"invite_players_button@pause.invite_players_button": {}
|
|
}
|
|
]
|
|
},
|
|
|
|
"ip_label": {
|
|
"type": "label",
|
|
"text": "#ip",
|
|
"size": [ "100%", 10 ],
|
|
"color": "$main_header_text_color",
|
|
"layer": 1,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#ip_address_text",
|
|
"binding_name_override": "#ip",
|
|
"binding_condition": "visibility_changed"
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
"players_label": {
|
|
"type": "label",
|
|
"text": "#worldname",
|
|
"size": [ "100%", 10 ],
|
|
"color": "$main_header_text_color",
|
|
"layer": 2,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#worldname"
|
|
}
|
|
]
|
|
},
|
|
|
|
"players_grid": {
|
|
"type": "grid",
|
|
"size": [ "100%", "default" ],
|
|
"grid_item_template": "pause.player_grid_item",
|
|
"grid_dimension_binding": "#players_grid_dimension",
|
|
"collection_name": "players_collection",
|
|
"anchor_to": "top_left",
|
|
"anchor_from": "top_left",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#players_grid_dimension",
|
|
// Necessary do to a bug with grid item bindings not refreshing when the grid is inside a stack panel
|
|
"binding_condition": "always"
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_grid_item": {
|
|
"type": "panel",
|
|
"size": [ "100%", 27 ],
|
|
"controls": [
|
|
{ "player_grid_item_content@pause.player_grid_item_content": {} }
|
|
]
|
|
},
|
|
|
|
"player_grid_item_content": {
|
|
"type": "panel",
|
|
|
|
"controls": [
|
|
{
|
|
"player_button_panel": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"anchor_from": "top_middle",
|
|
"anchor_to": "top_middle",
|
|
"size": [ "100%", "100% + 1px" ],
|
|
"controls": [
|
|
{
|
|
"player_button_banner": {
|
|
"type": "panel",
|
|
"size": [ "fill", "100%" ],
|
|
"controls": [
|
|
{ "player_button@pause.player_button": {} },
|
|
{ "player_banner@pause.player_banner": {} }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"player_permission_button_padding": {
|
|
"type": "panel",
|
|
"size": [ 27, "100%" ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#permissions_button_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"player_permission_button_panel": {
|
|
"type": "panel",
|
|
"anchor_to": "top_right",
|
|
"anchor_from": "top_right",
|
|
"offset": [ "-1px", 0 ],
|
|
"size": [ "100%c", "100% + 1px" ],
|
|
"controls": [
|
|
{ "player_permission_button@pause.player_permission_button": {} }
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#permissions_button_visible",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_permission_button@common_buttons.dark_content_button": {
|
|
"size": [ 28, "100%" ],
|
|
"$button_content": "pause.player_permission_button_content",
|
|
"$button_tts_header": "accessibility.pause.permissions",
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "button.menu_permission",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_ok",
|
|
"to_button_id": "button.menu_permission",
|
|
"mapping_type": "focused"
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "players_collection"
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_permission_button_content": {
|
|
"type": "panel",
|
|
"size": [ 15, 15 ],
|
|
"controls": [
|
|
{
|
|
"permission_icon_image": {
|
|
"type": "image",
|
|
"texture": "#player_permission_level_icon_texture",
|
|
"size": [ 15, 15 ],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#player_permission_level_icon_texture",
|
|
"binding_name_override": "#texture",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "players_collection"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vertical_padding": {
|
|
"type": "panel",
|
|
"size": [ 0, 2 ]
|
|
},
|
|
|
|
"horizontal_padding": {
|
|
"type": "panel",
|
|
"size": [ 2, 0 ]
|
|
},
|
|
|
|
"player_button_content": {
|
|
"type": "stack_panel",
|
|
"orientation": "horizontal",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"size": [ "100% - 4px", "100% - 4px" ],
|
|
"offset": [ 4, 0 ],
|
|
"layer": 3,
|
|
"controls": [
|
|
{
|
|
"player_pic_panel@pause.player_pic_panel": {
|
|
"layer": 1
|
|
}
|
|
},
|
|
{
|
|
"player_gamertag@pause.gametag_wrapper": {
|
|
"size": [ "fill", "100%" ],
|
|
"layer": 1
|
|
}
|
|
},
|
|
{
|
|
"platform_icon@pause.platform_icon_panel": {
|
|
"layer": 1
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_button@common_buttons.dark_content_button": {
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"$button_content": "pause.player_button_content",
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "button.player_profile_card",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_ok",
|
|
"to_button_id": "button.player_profile_card",
|
|
"mapping_type": "focused"
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#button_enabled",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "players_collection",
|
|
"binding_name_override": "#visible"
|
|
},
|
|
{
|
|
"binding_type": "collection_details",
|
|
"binding_collection_name": "players_collection"
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_banner@pause.player_grid_banner": {
|
|
"size": [ "100%", "100%" ],
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"layer": 1,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#button_disabled",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "players_collection",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_pic_panel": {
|
|
"type": "panel",
|
|
"size": [ 20, "100%" ],
|
|
"offset": [ 1, 0 ],
|
|
"anchor_to": "left_middle",
|
|
"anchor_from": "left_middle",
|
|
"ignored": "$education_edition",
|
|
"controls": [
|
|
{ "player_gamer_pic@pause.player_gamer_pic": {} },
|
|
{ "player_local_icon@pause.player_local_icon": {} }
|
|
]
|
|
},
|
|
|
|
"player_local_icon": {
|
|
"type": "image",
|
|
"texture": "textures/ui/lan_icon",
|
|
"size": [ 13, 13 ],
|
|
"layer": 1,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#local_icon_visible",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "players_collection",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_gamer_pic": {
|
|
"type": "image",
|
|
"texture": "#texture",
|
|
"size": [ 18, 18 ],
|
|
"layer": 1,
|
|
"texture_file_system": "#texture_source",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#texture",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "players_collection"
|
|
},
|
|
{
|
|
"binding_name": "#texture_source",
|
|
"binding_name_override": "#texture_file_system",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "players_collection"
|
|
},
|
|
{
|
|
"binding_name": "#gamerpic_visible",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "players_collection",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"player_panel_black_border@pause.pause_screen_border": {
|
|
"size": [ "100% + 2px", "100% + 2px" ],
|
|
"color": [ 0, 0, 0 ],
|
|
"anchor_from": "center",
|
|
"anchor_to": "center"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"gametag_wrapper": {
|
|
"type": "panel",
|
|
"size": [ "100%c", "100%" ],
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"controls": [
|
|
{
|
|
"gamertag@pause.player_gamertag": {}
|
|
}
|
|
]
|
|
},
|
|
|
|
"platform_icon_panel": {
|
|
"type": "panel",
|
|
"$icon_panel_size|default": [ "100%c + 4px", "100%" ],
|
|
"size": "$icon_panel_size",
|
|
"controls": [
|
|
{
|
|
"platform_icon@pause.platform_icon": {
|
|
"layer": 1,
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"size": [ 15, 15 ]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_gamertag": {
|
|
"type": "label",
|
|
"color": "$main_header_text_color",
|
|
"text": "#gamertag",
|
|
"anchor_from": "left_middle",
|
|
"anchor_to": "left_middle",
|
|
"size": [ "100%", 10 ],
|
|
"layer": 2,
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#gamertag",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "players_collection"
|
|
}
|
|
]
|
|
},
|
|
|
|
"platform_icon": {
|
|
"ignored": "(not $platform_icons_visible)",
|
|
"type": "image",
|
|
"texture": "textures/ui/platform_icon",
|
|
"bindings": [
|
|
{
|
|
"binding_name": "#is_platform_icon_visible",
|
|
"binding_type": "collection",
|
|
"binding_collection_name": "players_collection",
|
|
"binding_name_override": "#visible"
|
|
}
|
|
]
|
|
},
|
|
|
|
"player_grid_banner_no_focus": {
|
|
"type": "image",
|
|
"texture": "textures/ui/MainBannersHover"
|
|
},
|
|
|
|
"player_grid_banner": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{
|
|
"player_grid_banner_no_focus@pause.player_grid_banner_no_focus": {
|
|
"controls": [
|
|
{
|
|
"player_button_content@pause.player_button_content": {
|
|
"offset": [ 7, 0 ],
|
|
"size": [ "92%", "90%" ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"focus_border_button@pause.focus_border_button": {
|
|
"tts_inherit_siblings": true,
|
|
"layer": 5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"focus_border_button@common.button": {
|
|
"size": [ "100%", "100%" ],
|
|
"sound_volume": 0.0,
|
|
"$pressed_button_name": "button.pause_focus_filler",
|
|
"$button_tts_name": "",
|
|
"controls": [
|
|
{ "default@pause.filler_panel": {} },
|
|
{ "hover@pause.focus_border": {} },
|
|
{ "pressed@pause.focus_border": {} }
|
|
]
|
|
},
|
|
|
|
"focus_border": {
|
|
"type": "image",
|
|
"texture": "textures/ui/focus_border_white",
|
|
"color": [ 0.7, 0.7, 0.7 ]
|
|
},
|
|
|
|
"pause_screen_border": {
|
|
"type": "image",
|
|
"layer": 2,
|
|
"texture": "textures/ui/pause_screen_border"
|
|
},
|
|
|
|
"filler_panel": {
|
|
"type": "panel",
|
|
"layer": 1
|
|
},
|
|
|
|
"gamepad_helpers": {
|
|
"type": "panel",
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"offset": [ -66, "-4px" ],
|
|
"size": [ "100%c", 10 ],
|
|
"layer": 10,
|
|
"visible": "($win10_edition and $is_holographic)",
|
|
"controls": [
|
|
{ "gamepad_helper_y@common.gamepad_helper_y": {} }
|
|
]
|
|
},
|
|
|
|
"keyboard_helpers": {
|
|
"type": "panel",
|
|
"anchor_from": "bottom_middle",
|
|
"anchor_to": "bottom_middle",
|
|
"offset": [ -66, "-4px" ],
|
|
"size": [ "100%c", 10 ],
|
|
"layer": 10,
|
|
"visible": "($win10_edition and $is_holographic)",
|
|
"$keyboard_helper_visible_binding": "#edu_keyboard_helper_visible",
|
|
"$ignore_image": true,
|
|
"controls": [
|
|
{ "keyboard_helper_keys@common.keyboard_helper_keys": {} }
|
|
]
|
|
}
|
|
}
|