mirror of
https://git.stillkill.net/MinecraftLeak/Narration-NoGeneratedLevel-20170216.git
synced 2026-10-22 13:12:19 +01:00
608 lines
15 KiB
JSON
608 lines
15 KiB
JSON
{
|
|
"namespace": "vrscheme",
|
|
|
|
"win10_default_button": {
|
|
"type": "image",
|
|
"nineslice_size": 2.0,
|
|
"texture": "gui/newgui/ButtonWithBorder.png",
|
|
"layer": 1,
|
|
"uv": [ 0, 0 ],
|
|
"uv_size": [ 6, 6 ]
|
|
},
|
|
|
|
"win10_hover_button@vrscheme.win10_default_button": {
|
|
"texture": "gui/newgui/ButtonWithBorderHover.png"
|
|
},
|
|
|
|
"win10_pressed_button@vrscheme.win10_default_button": {
|
|
"texture": "gui/newgui/ButtonWithBorderPressed.png"
|
|
},
|
|
|
|
"gamepad_helpers": {
|
|
"type": "panel",
|
|
"size": [ 100, 10 ],
|
|
"offset": [ 0, "45%" ],
|
|
"controls": [
|
|
{
|
|
"@common.gamepad_helper_a": {
|
|
"size": [ "50%", "100%" ],
|
|
"offset": [ 0, "2%" ],
|
|
"anchor_from": "center",
|
|
"anchor_to": "center"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"rift_options_bg": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{
|
|
"bg_image@common.dialog_background_hollow_2": {
|
|
"layer": 1
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"rift_button_text": {
|
|
"type": "label",
|
|
"layer": 4,
|
|
"color": [ 0.2, 0.2, 0.2, 1.0 ],
|
|
"text": "$rift_button_display_text",
|
|
"alignment": "center"
|
|
},
|
|
|
|
"rift_control_button@common.button": {
|
|
"size": [ "50%-2px", "100%" ],
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "$pressed_button_name",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_ok",
|
|
"to_button_id": "$pressed_button_name",
|
|
"mapping_type": "focused"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"default@vrscheme.win10_default_button": {
|
|
"controls": [
|
|
{ "@$rift_button": { } }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"hover@vrscheme.win10_hover_button": {
|
|
"controls": [
|
|
{
|
|
"@$rift_button": {
|
|
"color": [ 1.0, 1.0, 0.0, 1.0 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pressed@vrscheme.win10_pressed_button": {
|
|
"controls": [
|
|
{
|
|
"@$rift_button": {
|
|
"color": [ 1.0, 1.0, 0.0, 1.0 ],
|
|
"alpha": 0.65
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"property_bag": {
|
|
"experimental_radio_button_state": false,
|
|
"classic_radio_button_state": false
|
|
},
|
|
"bindings": [
|
|
{
|
|
"binding_type": "view",
|
|
"source_control_name": "vr_classic_scheme_panel_button",
|
|
"source_property_name": "#toggle_state",
|
|
"target_property_name": "classic_radio_button_state"
|
|
}
|
|
]
|
|
},
|
|
|
|
"play_button@vrscheme.rift_control_button": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "50%-2px", "100%" ],
|
|
"$pressed_button_name": "button.menu_exit",
|
|
"$rift_button": "rift_button_text",
|
|
"$rift_button_display_text": "gui.ok"
|
|
},
|
|
|
|
"more_information_button@vrscheme.rift_control_button": {
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right",
|
|
"size": [ "50%-2px", "100%" ],
|
|
"$pressed_button_name": "button.menu_vr_more_information",
|
|
"$rift_button": "rift_button_text",
|
|
"$rift_button_display_text": "vr.moreInformation"
|
|
},
|
|
|
|
"button_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "bottom_left",
|
|
"anchor_to": "bottom_left",
|
|
"size": [ "100%-10px", 25 ],
|
|
"offset": [ 5, -5 ],
|
|
"controls": [
|
|
{ "@vrscheme.more_information_button": { } },
|
|
{ "@vrscheme.play_button": { } }
|
|
]
|
|
},
|
|
|
|
"rift_control_title": {
|
|
"type": "label",
|
|
"layer": 4,
|
|
"size": [ "90%", "100%" ],
|
|
"offset": [ 0, 8 ],
|
|
"text": "vr.controls.title",
|
|
"alignment": "top_middle",
|
|
"color": [ 0.2, 0.2, 0.2, 1.0 ]
|
|
},
|
|
|
|
"plain_text": {
|
|
"type": "label",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"layer": 4,
|
|
"text": "vr.controls.title",
|
|
"wrap": true,
|
|
"shadow": false,
|
|
"alignment": "top_left",
|
|
"color": [ 0.0, 0.0, 0.0, 1.0 ]
|
|
},
|
|
|
|
"vr_scheme_classic_title@vrscheme.plain_text": {
|
|
"text": "vr.controls.title.classic",
|
|
"color": [ 1.0, 1.0, 1.0, 1.0 ],
|
|
"offset": [ 15, 4 ],
|
|
"size": [ "100%-15px", "100%-4px" ]
|
|
},
|
|
|
|
"vr_scheme_classic_description@vrscheme.plain_text": {
|
|
"text": "vr.controls.classicDescription",
|
|
"color": [ 0.72, 0.72, 0.72, 1.0 ],
|
|
"offset": [ 15, 15 ],
|
|
"size": [ "100%-15px", "100%-15px" ]
|
|
},
|
|
|
|
"vr_scheme_experimental_title@vrscheme.plain_text": {
|
|
"text": "vr.controls.title.experimental",
|
|
"color": [ 1.0, 1.0, 1.0, 1.0 ],
|
|
"offset": [ 15, 4 ],
|
|
"size": [ "100%-15px", "100%-4px" ]
|
|
},
|
|
|
|
"vr_scheme_experimental_description@vrscheme.plain_text": {
|
|
"text": "vr.controls.experimentalDescription",
|
|
"color": [ 0.72, 0.72, 0.72, 1.0 ],
|
|
"offset": [ 15, 15 ],
|
|
"size": [ "100%-15px", "100%-15px" ]
|
|
},
|
|
|
|
"vr_scheme_shared_more_info@vrscheme.plain_text": {
|
|
"text": "vr.controls.sharedDescription",
|
|
"color": [ 1.0, 1.0, 1.0, 1.0 ]
|
|
},
|
|
|
|
"vr_experimental_scheme_panel@common.toggle": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%", "45%" ],
|
|
"$unchecked_control": "vrscheme.vr_experimental_scheme_panel_unchecked",
|
|
"$checked_control": "vrscheme.vr_experimental_scheme_panel_checked",
|
|
"$unchecked_hover_control": "vrscheme.vr_experimental_scheme_panel_unchecked_hover",
|
|
"$checked_hover_control": "vrscheme.vr_experimental_scheme_panel_checked_hover",
|
|
"$unchecked_locked_control": "vrscheme.vr_experimental_scheme_panel_unchecked",
|
|
"$checked_locked_control": "vrscheme.vr_experimental_scheme_panel_checked",
|
|
"$radio_toggle_group": true,
|
|
"$toggle_name": "radio_button_group",
|
|
"$toggle_group_default_selected": 0,
|
|
"$toggle_group_forced_index": 0,
|
|
"$toggle_state_binding_name": "#enhanced_radio_state"
|
|
},
|
|
|
|
"vr_experimental_scheme_panel_unchecked": {
|
|
"type": "panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_experimental_title": { }
|
|
},
|
|
{
|
|
"@vrscheme.vr_scheme_experimental_description": { }
|
|
},
|
|
{
|
|
"@common.radio_toggle_unchecked_state": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_experimental_scheme_panel_unchecked_hover@vr_experimental_scheme_panel_unchecked": {
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_experimental_title": { }
|
|
},
|
|
{
|
|
"@vrscheme.vr_scheme_experimental_description": { }
|
|
},
|
|
{
|
|
"@common.radio_toggle_unchecked_hover_state": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_experimental_scheme_panel_checked": {
|
|
"type": "panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_experimental_title": { }
|
|
},
|
|
{
|
|
"@vrscheme.vr_scheme_experimental_description": { }
|
|
},
|
|
{
|
|
"@common.radio_toggle_checked_state": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_experimental_scheme_panel_checked_hover@vr_experimental_scheme_panel_checked": {
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_experimental_title": { }
|
|
},
|
|
{
|
|
"@vrscheme.vr_scheme_experimental_description": { }
|
|
},
|
|
{
|
|
"@common.radio_toggle_checked_hover_state": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_classic_scheme_panel@common.toggle": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%", "35%" ],
|
|
"offset": [ 0, "45%" ],
|
|
"$unchecked_control": "vrscheme.vr_classic_scheme_panel_unchecked",
|
|
"$checked_control": "vrscheme.vr_classic_scheme_panel_checked",
|
|
"$unchecked_hover_control": "vrscheme.vr_classic_scheme_panel_unchecked_hover",
|
|
"$checked_hover_control": "vrscheme.vr_classic_scheme_panel_checked_hover",
|
|
"$unchecked_locked_control": "vrscheme.vr_classic_scheme_panel_unchecked",
|
|
"$checked_locked_control": "vrscheme.vr_classic_scheme_panel_checked",
|
|
"$radio_toggle_group": true,
|
|
"$toggle_name": "radio_button_group",
|
|
"$toggle_group_default_selected": 0,
|
|
"$toggle_group_forced_index": 1,
|
|
"$toggle_state_binding_name": "#classic_radio_state"
|
|
},
|
|
|
|
"vr_classic_scheme_panel_unchecked": {
|
|
"type": "panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_classic_title": { }
|
|
},
|
|
{
|
|
"@vrscheme.vr_scheme_classic_description": { }
|
|
},
|
|
{
|
|
"@common.radio_toggle_unchecked_state": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_classic_scheme_panel_unchecked_hover@vr_classic_scheme_panel_unchecked": {
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_classic_title": { }
|
|
},
|
|
{
|
|
"@vrscheme.vr_scheme_classic_description": { }
|
|
},
|
|
{
|
|
"@common.radio_toggle_unchecked_hover_state": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_classic_scheme_panel_checked": {
|
|
"type": "panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_classic_title": { }
|
|
},
|
|
{
|
|
"@vrscheme.vr_scheme_classic_description": { }
|
|
},
|
|
{
|
|
"@common.radio_toggle_checked_state": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_classic_scheme_panel_checked_hover@vr_classic_scheme_panel_checked": {
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_classic_title": { }
|
|
},
|
|
{
|
|
"@vrscheme.vr_scheme_classic_description": { }
|
|
},
|
|
{
|
|
"@common.radio_toggle_checked_hover_state": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_shared_info_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "bottom_left",
|
|
"anchor_to": "bottom_left",
|
|
"size": [ "100%", "20%" ],
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_shared_more_info": { }
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_schemes_content_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%-24px", "100%-60px" ],
|
|
"offset": [ 12, 26 ],
|
|
"controls": [
|
|
{ "@vrscheme.vr_experimental_scheme_panel": { } },
|
|
{ "vr_classic_scheme_panel_button@vrscheme.vr_classic_scheme_panel": { } },
|
|
{ "@vrscheme.vr_shared_info_panel": { } }
|
|
]
|
|
},
|
|
|
|
"rift_options_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"size": [ "80%", "80%" ],
|
|
"controls": [
|
|
{ "@vrscheme.rift_options_bg": { } },
|
|
{ "@vrscheme.rift_control_title": { } },
|
|
{ "@vrscheme.vr_schemes_content_panel": { } },
|
|
{ "@vrscheme.button_panel": { } }
|
|
]
|
|
},
|
|
|
|
//---------------------------------------------------------------------------
|
|
// More Information
|
|
//---------------------------------------------------------------------------
|
|
|
|
"rift_information_button@common.button": {
|
|
"size": [ "50%-2px", "100%" ],
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_select",
|
|
"to_button_id": "$pressed_button_name",
|
|
"mapping_type": "pressed"
|
|
},
|
|
{
|
|
"from_button_id": "button.menu_ok",
|
|
"to_button_id": "$pressed_button_name",
|
|
"mapping_type": "focused"
|
|
}
|
|
],
|
|
"controls": [
|
|
{
|
|
"default@vrscheme.win10_default_button": {
|
|
"controls": [
|
|
{ "@$rift_button": { } }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"hover@vrscheme.win10_hover_button": {
|
|
"controls": [
|
|
{
|
|
"@$rift_button": {
|
|
"color": [ 1.0, 1.0, 0.0, 1.0 ]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pressed@vrscheme.win10_pressed_button": {
|
|
"controls": [
|
|
{
|
|
"@$rift_button": {
|
|
"color": [ 1.0, 1.0, 0.0, 1.0 ],
|
|
"alpha": 0.65
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"back_button@vrscheme.rift_information_button": {
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "50%-2px", "100%" ],
|
|
"$pressed_button_name": "button.menu_vr_back",
|
|
"$rift_button": "rift_button_text",
|
|
"$rift_button_display_text": "gui.back"
|
|
},
|
|
|
|
"more_options_button@vrscheme.rift_information_button": {
|
|
"anchor_from": "top_right",
|
|
"anchor_to": "top_right",
|
|
"size": [ "50%-2px", "100%" ],
|
|
"$pressed_button_name": "button.menu_vr_more_options",
|
|
"$rift_button": "rift_button_text",
|
|
"$rift_button_display_text": "vr.moreOptions"
|
|
},
|
|
|
|
"information_button_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "bottom_left",
|
|
"anchor_to": "bottom_left",
|
|
"size": [ "100%-10px", 25 ],
|
|
"offset": [ 5, -5 ],
|
|
"controls": [
|
|
{ "@vrscheme.more_options_button": { } },
|
|
{ "@vrscheme.back_button": { } }
|
|
]
|
|
},
|
|
|
|
"vr_scheme_information_label@vrscheme.plain_text": {
|
|
"text": "vr.detailedInformation",
|
|
"color": [ 1.0, 1.0, 1.0, 1.0 ]
|
|
},
|
|
|
|
"vr_scheme_go_to_vr_label@vrscheme.plain_text": {
|
|
"text": "vr.detailedInformationLink",
|
|
"color": [ 1.0, 1.0, 1.0, 1.0 ]
|
|
},
|
|
|
|
"vr_information_text_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%", "70%" ],
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_information_label": { }
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_go_to_vr_text_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%", "30%" ],
|
|
"offset": [ 0, "70%" ],
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_scheme_go_to_vr_label": { }
|
|
}
|
|
]
|
|
},
|
|
|
|
"vr_information_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "top_left",
|
|
"anchor_to": "top_left",
|
|
"size": [ "100%-24px", "100%-60px" ],
|
|
"offset": [ 12, 26 ],
|
|
"controls": [
|
|
{
|
|
"@vrscheme.vr_information_text_panel": { }
|
|
},
|
|
{
|
|
"@vrscheme.vr_go_to_vr_text_panel": { }
|
|
}
|
|
]
|
|
},
|
|
|
|
"rift_information_panel": {
|
|
"type": "panel",
|
|
"anchor_from": "center",
|
|
"anchor_to": "center",
|
|
"size": [ "65%", "80%" ],
|
|
"controls": [
|
|
{ "@vrscheme.rift_options_bg": { } },
|
|
{ "@vrscheme.rift_control_title": { } },
|
|
{ "@vrscheme.vr_information_panel": { } },
|
|
{ "@vrscheme.information_button_panel": { } }
|
|
]
|
|
},
|
|
|
|
//---------------------------------------------------------------------------
|
|
// Screens
|
|
//---------------------------------------------------------------------------
|
|
|
|
"scheme_screen@common.base_screen": {
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_cancel",
|
|
"to_button_id": "button.menu_cancel",
|
|
"mapping_type": "global"
|
|
}
|
|
],
|
|
"$screen_content": "vrscheme.scheme_screen_content"
|
|
},
|
|
|
|
"scheme_screen_content": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{ "@vrscheme.rift_options_panel": { } }
|
|
]
|
|
},
|
|
|
|
"vr_information_screen@common.base_screen": {
|
|
"button_mappings": [
|
|
{
|
|
"from_button_id": "button.menu_cancel",
|
|
"to_button_id": "button.menu_vr_back",
|
|
"mapping_type": "global"
|
|
}
|
|
],
|
|
"$screen_content": "vrscheme.vr_information_screen_content"
|
|
},
|
|
|
|
"vr_information_screen_content": {
|
|
"type": "panel",
|
|
"controls": [
|
|
{ "@vrscheme.rift_information_panel": { } }
|
|
]
|
|
}
|
|
}
|