﻿<windows>
	<popupMenu name="popupMenu" />
	
	<window name="toolTip" width="100" height="25" depth="25001" controller="ToolTip" >
		<rect>
			<sprite depth="0" name="sprBackgroundBorder" sprite="ui_game_header_fill" type="sliced" color="[black]" />
			<sprite depth="1" name="sprBackground" sprite="ui_game_header_fill" type="sliced" pos="3,-3" color="[lightGrey]"/>
			<label depth="3" name="lblText" text="" pos="10,-6" font_size="25" overflow="resizefreely" />
		</rect>
	</window>

	<window name="saveIndicator" width="50" height="50" depth="301" anchor="LeftTop" pos="0,0" controller="SaveIndicator" >
		<rect>
			<sprite depth="0" name="sprSaveIndicator" sprite="ui_game_symbol_save_indicator" />
		</rect>
	</window>
	
	<window name="exitingGame" anchor="LeftTop" pos="-10,10" width="1940" height="1100" visible="false" depth="50000" controller="ExitingGame">
		<panel name="noclick" depth="0" createuipanel="true" on_press="true" pos="-4000,4000" width="8000" height="8000" disableautobackground="true" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,255" type="sliced" fillcenter="true" globalopacity="false" />
		</panel>

		<panel name="content" pos="-10,10" height="1100" depth="1" backgroundcolor="0,0,0,0" borderthickness="0" pivot="center" >
			<label depth="3"  pos="10,-550" width="1920" text_key="xuiExitingGameDescription" font_size="32" overflow="resizeheight" upper_case="false" justify="center"/>
		</panel>
	</window>
	
	<window name="windowCharacterPreview" controller="CustomCharacterWindow" anchor="CenterCenter" pos="-720,475" width="1440" height="780" cursor_area="true" locked_sprite="ui_game_symbol_lock" unlocked_sprite="ui_game_symbol_unlock" locked_color="[selectedColor]" unlocked_color="[disabledLabelColor]">
		<panel name="header" pos="0,0" height="43" width="1440" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3">
			<label style="header.name" text="Character Profile" text_key="xuiCharacter" />
		</panel>
		<panel name="content" depth="1" pos="0,-50" height="750" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3">
			<rect pos="10,-0">
				
				<rect pos="0,-15">
					<combobox name="cbxGender" type="ComboBoxList`1[XUiC_CustomCharacterWindowGroup+NameData]" pos="0,-30" width="340" height="32" />
					<button name="btnLockGender" depth="101" pos="360,-43" style="icon32px, press, hover" pivot="center" sprite="ui_game_symbol_unlock" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				</rect>
				
				<rect pos="0,-95">
					<combobox name="cbxRace" type="ComboBoxList`1[XUiC_CustomCharacterWindowGroup+NameData]" pos="0,-30" width="340" height="32" />
					<button name="btnLockRace" depth="101" pos="360,-43" style="icon32px, press, hover" pivot="center" sprite="ui_game_symbol_unlock" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				</rect>
				
				<rect pos="0,-175">
					<combobox name="cbxFace" type="ComboBoxList`1[XUiC_CustomCharacterWindowGroup+NameData]" pos="0,-30" width="340" height="32" />
					<button name="btnLockFace" depth="101" pos="360,-43" style="icon32px, press, hover" pivot="center" sprite="ui_game_symbol_unlock" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				</rect>
				
				<rect pos="0,-255">
					<combobox name="cbxEyeColor" type="ComboBoxList`1[XUiC_CustomCharacterWindowGroup+NameData]" pos="0,-30" width="340" height="32" />
					<button name="btnLockEyeColor" depth="101" pos="360,-43" style="icon32px, press, hover" pivot="center" sprite="ui_game_symbol_unlock" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				</rect>
				
				<rect pos="0,-335">
					<combobox name="cbxHairStyle" type="ComboBoxList`1[XUiC_CustomCharacterWindowGroup+NameData]" pos="0,-30" width="340" height="32" />
					<button name="btnLockHairStyle" depth="101" pos="360,-43" style="icon32px, press, hover" pivot="center" sprite="ui_game_symbol_unlock" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				</rect>
				
				<rect pos="0,-415">
					<combobox name="cbxHairColor" type="ComboBoxList`1[XUiC_CustomCharacterWindowGroup+NameData]" pos="0,-30" width="340" height="32" />
					<button name="btnLockHairColor" depth="101" pos="360,-43" style="icon32px, press, hover" pivot="center" sprite="ui_game_symbol_unlock" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				</rect>
				
				<rect pos="0,-495" visible="{isMale}">
					<combobox name="cbxMustaches" type="ComboBoxList`1[XUiC_CustomCharacterWindowGroup+NameData]" pos="0,-30" width="340" height="32" />
					<button name="btnLockMustaches" depth="101" pos="360,-43" style="icon32px, press, hover" pivot="center" sprite="ui_game_symbol_unlock" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				</rect>
				
				<rect pos="0,-575" visible="{isMale}">
					<combobox name="cbxChops" type="ComboBoxList`1[XUiC_CustomCharacterWindowGroup+NameData]" pos="0,-30" width="340" height="32" />
					<button name="btnLockChops" depth="101" pos="360,-43" style="icon32px, press, hover" pivot="center" sprite="ui_game_symbol_unlock" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				</rect>
				
				<rect pos="0,-655" visible="{isMale}">
					<combobox name="cbxBeards" type="ComboBoxList`1[XUiC_CustomCharacterWindowGroup+NameData]" pos="0,-30" width="340" height="32" />
					<button name="btnLockBeards" depth="101" pos="360,-43" style="icon32px, press, hover" pivot="center" sprite="ui_game_symbol_unlock" tooltip="Toggle Active" tooltip_key="lblToggleActive" sound="[paging_click]" />
				</rect>
			</rect>
			
		</panel>
				
		<panel pos="0,-50" size="1440,750" depth="2" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" style="hover, press, scroll, drag" controller="SDCSPreviewWindow" gamepad_selectable="false" snap="false">
			<texture pos="400,3" depth="100" name="playerPreview" material="Materials/Transparent Colored" size="1040,750" globalopacity="false"/>
			<button name="zoomButton" depth="101" pos="1400,-8" sprite="ui_game_symbol_player" style="icon32px,press,hover" tooltip="Toggle Head Zoom" tooltip_key="lblChangeView" gamepad_selectable="false" />
			<!--<button name="reloadData" depth="101" pos="400,-6" sprite="server_refresh" style="icon32px,press,hover" tooltip="Reload Archetype XML Data" tooltip_key="lblReloadArchetypeXML" visible="{isArchetype}" />-->
			<!--<sprite name="resetCamera" depth="101" pos="41,-6" sprite="ui_game_symbol_shirt" style="icon32px,press"/>-->
		</panel>
	</window>
	
	<window name="windowCharacterButtons" anchor="CenterCenter" pos="-720,387" width="1440" height="880" cursor_area="true">
		<rect pos="0, -720">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
			<simplebutton name="btnRandomize" depth="3" pos="600, 0" width="200" height="48" font_size="32" caption_key="xuiRandomize" upper_case="true" />
			<simplebutton name="btnApply" depth="3" pos="1440, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiApply" parse_actions="true" />
		</rect>
	</window>
	
	<window name="GamepadCallouts" width="500" height="65" pos="0,0" anchor="LeftTop" controller="XUiC_GamepadCalloutWindow" />
	
	<window name="worldGeneration" anchor="CenterCenter" pos="-650,400" width="1300" height="780" controller="WorldGenerationWindowGroup" cursor_area="true">
		<panel name="header" pos="-100,0" height="43" depth="1" width="1500" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label name="windowheader" style="header.name" pos="9,-6" width="500" text_key="xuiGenerateWorld" />
			<label name="countyName" depth="108" pos="650,-6" style="header.name" justify="center" pivot="topleft" />
		</panel>
		
		<rect pos="-100,-50" width="820" height="650" cursor_area="true">
			<rect name="generationControls">
				<sprite name="border" depth="10" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="false" />
				<sprite name="backgroundMain" depth="0" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />
				<label text="warning" text_key="xuiRWGWarning" color="[red]" depth="1" pos="10,-615" style="hover" justify="left" pivot="topleft" />

				<rect pos="30,-40">
					<grid rows="14" cols="2" cell_width="380" cell_height="40" repeat_content="false" arrangement="vertical">
						<rect>
							<label text="Seed" depth="4" width="150" height="30" style="hover" tooltip_key="xuiWorldSeed" text_key="xuiWorldSeed" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<textfield name="seedInput" depth="5" pos="189,0" width="132" height="32" pivot="topLeft" character_limit="20"/>
						</rect>
						<rect>
							<label text="World Size" depth="4" width="150" height="30" style="hover" tooltip_key="xuiWorldSize" text_key="xuiWorldSize" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="WorldSize" depth="108" pos="155,0" width="200" height="32" type="ComboBoxList`1[System.Int32]" values="2048,3072,4096,5120,6144,7168,8192,9216,10240" value_wrap="false" />
						</rect>
						
						<rect>
							<sprite name="backgroundMain" depth="0" width="350" height="4" pos="6,-10" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="true" />
						</rect>
						
						<rect>
							<label text="Towns" depth="4" width="150" height="30" style="hover" tooltip_key="xuiGenTownsDesc" text_key="xuiGenTowns" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="Towns" depth="108" pos="155,0" width="200" height="32" localization_prefix="xuiWorldGeneration" type="ComboBoxEnum`1[WorldGenerationEngineFinal.WorldBuilder+GenerationSelections]" value_wrap="false" />
						</rect>
						
						<rect>
							<label text="Wilderness" depth="4" width="150" height="30" style="hover" tooltip_key="xuiGenWildernessDesc" text_key="xuiGenWilderness" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="Wilderness" depth="108" pos="155,0" width="200" height="32" localization_prefix="xuiWorldGeneration" type="ComboBoxEnum`1[WorldGenerationEngineFinal.WorldBuilder+GenerationSelections]" value_wrap="false" />
						</rect>
						
						<rect>
							<label text="Rivers" depth="4" width="150" height="30" style="hover" tooltip_key="xuiRiversDesc" text_key="xuiRivers" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="Rivers" depth="108" pos="155,0" width="200" height="32" localization_prefix="xuiWorldGeneration" type="ComboBoxEnum`1[WorldGenerationEngineFinal.WorldBuilder+GenerationSelections]" value_wrap="false" />
						</rect>
						
						<rect>
							<label text="Craters" depth="4" width="150" height="30" style="hover" tooltip_key="xuiCratersDesc" text_key="xuiCraters" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="Craters" depth="108" pos="155,0" width="200" height="32" localization_prefix="xuiWorldGeneration" type="ComboBoxEnum`1[WorldGenerationEngineFinal.WorldBuilder+GenerationSelections]" value_wrap="false" />
						</rect>
						
						<rect>
							<label text="Cracks" depth="4" width="150" height="30" style="hover" tooltip_key="xuiCracksDesc" text_key="xuiCracks" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="Cracks" depth="108" pos="155,0" width="200" height="32" localization_prefix="xuiWorldGeneration" type="ComboBoxEnum`1[WorldGenerationEngineFinal.WorldBuilder+GenerationSelections]" value_wrap="false" />
						</rect>
						
						<rect>
							<label text="Lakes" depth="4" width="150" height="30" style="hover" tooltip_key="xuiLakesDesc" text_key="xuiLakes" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="Lakes" depth="108" pos="155,0" width="200" height="32" localization_prefix="xuiWorldGeneration" type="ComboBoxEnum`1[WorldGenerationEngineFinal.WorldBuilder+GenerationSelections]" value_wrap="false" />
						</rect>
						
						<rect/>
						<rect/>
						<rect/>
						<rect/>
						<rect/>
						
						<rect>
							<label text="Preview Quality" depth="4" width="150" height="30" style="hover" tooltip_key="xuiPreviewQuality" text_key="xuiPreviewQuality" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="PreviewQuality" depth="108" pos="155,0" width="200" height="32" type="ComboBoxEnum`1[XUiC_WorldGenerationWindowGroup+PreviewQuality]" localization_prefix="xuiAdvancedGenerationQuality" value_min="0" value_max="5" value="3" value_increment="1" value_wrap="false" />
						</rect>
						<rect/>
						<rect>
							<sprite name="backgroundMain" depth="0" width="350" height="4" pos="6,-10" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="true" />
						</rect>

						<rect>
							<label text="Plains Weight" depth="4" width="150" height="30" style="hover" tooltip_key="xuiPlainsWeightDesc" text_key="xuiPlainsWeight" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="PlainsWeight" depth="108" pos="155,0" width="200" height="32" type="ComboBoxInt" value_min="0" value_max="10" value="5" value_increment="1" value_wrap="false" />
						</rect>

						<rect>
							<label text="Hills Weight" depth="4" width="150" height="30" style="hover" tooltip_key="xuiHillsWeightDesc" text_key="xuiHillsWeight" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="HillsWeight" depth="108" pos="155,0" width="200" height="32" type="ComboBoxInt" value_min="0" value_max="10" value="5" value_wrap="false" />
						</rect>

						<rect>
							<label text="Mountains Weight" depth="4" width="150" height="30" style="hover" tooltip_key="xuiMountainsWeightDesc" text_key="xuiMountainsWeight" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="MountainsWeight" depth="108" pos="155,0" width="200" height="32" type="ComboBoxInt" value_min="0" value_max="10" value="5" value_wrap="false" />
						</rect>

						<rect>
							<sprite name="backgroundMain" depth="0" width="320" height="4" pos="50,-10" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="true" />
						</rect>

						<rect>
							<label text="Biome Layout" depth="4" width="150" height="30" style="hover" tooltip_key="xuiBiomeLayoutDesc" text_key="xuiBiomeLayout" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="BiomeLayout" depth="108" pos="155,0" width="200" height="32" type="ComboBoxEnum`1[WorldGenerationEngineFinal.WorldBuilder+BiomeLayout]" localization_prefix="xuiRWG" value_wrap="false" />
						</rect>

						<grid name="biomes" rows="5" cols="1" pos="0,0" width="200" cell_width="200" cell_height="40" repeat_content="true" arrangement="vertical" >
							<rwg_biome depth="4"/>
						</grid>

					</grid>
				</rect>

			</rect>
		</rect>
		
		<rect pos="750,-50" height="650" width="650">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="false" />
			<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
			<texture depth="100" name="worldPreviewTex" material="Materials/Transparent Colored" pos="3,-3" size="647,647" globalopacity="false" on_press="true" on_drag="true" controller="WorldGenerationPreview"/>
		</rect>
		
		<rect pos="-100, -720">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
		</rect>

		<rect pos="390,-720">
			<simplebutton name="generate"  width="230" height="48" font_size="32" text="Generate World" text_key="xuiGenerateWorld" caption_key="xuiGenerateWorld" upper_case="true"/>
		</rect>

		<rect pos="810, -720">
			<simplebutton name="btnDataManagement" depth="3" pos="0, 0" width="230" height="48" font_size="32" caption_key="xuiDmManageSaves" upper_case="true" />
		</rect>

		<rect pos="1080,-720">
			<simplebutton name="btnNewGame" enabled="{canNewGame}" width="230" height="48" font_size="32" text="New Gamee" text_key="xuiNewGame" caption_key="xuiNewGame" upper_case="true"/>
		</rect>

		<rect name="dm_bar_enabled" visible="{showbar}">
			<dm_data_bar pos="0, -800" width="1185" />
		</rect>
	</window>
	
	<window name="messageBox" anchor="CenterCenter" pos="-400,190" width="800" height="450" cursor_area="true" depth="1001">
		<panel name="noclick" depth="0" createuipanel="true" on_press="true" pos="-4000,4000" width="8000" height="8000" disableautobackground="true" visible="{# !is_modal}" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,200" type="sliced" fillcenter="true" />
		</panel>

		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="8,-6" width="550" text="{msgTitle}" />
		</panel>

		<panel name="content" pos="0,-46" height="350" depth="1" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center" padding="6">
			<label depth="3" name="descriptionText" text="{msgText}" font_size="28" overflow="shrinkcontent" upper_case="false" support_urls="HTTP" />
		</panel>
		
		<rect name="buttons" pos="0,-400">
			<rect name="btnLeft" depth="3" pos="0,0" width="200" height="36" disableautobackground="true" visible="{showleftbutton}">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
				<rect depth="3" pos="0,-3" height="31">
					<button name="clickable2" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0"/>
					<!-- <sprite depth="2" name="windowIcon" width="24" height="24" pos="45,-2" color="[iconColor]" sprite="ui_game_symbol_check"/> -->
					<label depth="2" name="btnLabel" pos="0,-2" justify="center" text_key="{leftbuttontext}" effect="outline" upper_case="true" />
				</rect>
			</rect>

			<rect name="btnRight" depth="3" pos="600,0" width="200" height="36" disableautobackground="true">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
				<rect depth="3" pos="0,-3" height="31">
					<button name="clickable" sprite="menu_empty" defaultcolor="[mediumGrey]" hoversprite="ui_game_select_row" hovercolor="[white]" type="sliced" hoverscale="1.0"/>
					<!-- <sprite depth="2" name="windowIcon" width="24" height="24" pos="45,-2" color="[iconColor]" sprite="ui_game_symbol_check"/> -->
					<label depth="2" name="btnLabel" pos="0,-2" justify="center" text_key="{rightbuttontext}" effect="outline" upper_case="true" />
				</rect>
			</rect>		
		</rect>
	</window>
	
	<window name="editingTools" anchor="CenterCenter" pos="0,0" width="600" height="600" controller="EditingTools" cursor_area="true">
		<grid name="buttons" pos="0,80" rows="13" cell_width="400" cell_height="70" repeat_content="false" arrangement="vertical" >
			<mainmenubutton name="btnRwgPreviewer" pivot="center" width="400" height="50" caption_key="xuiRwgPreviewer" visible="false"/>
			<mainmenubutton name="btnPrefabEditor" pivot="center" width="400" height="50" caption_key="xuiPrefabEditor" platform="!CONSOLE" />
			<mainmenubutton name="btnWorldEditor" pivot="center" width="400" height="50" caption_key="xuiWorldEditor" />
		</grid>
		
		<widget anchor_left="#bottomleft,0,40" anchor_bottom="#bottomleft,0,80" anchor_right="#bottomleft,0,50" anchor_top="#bottomleft,0,90" pivot="bottomleft">
			<mainmenubutton name="btnBack" pivot="left" width="200" height="50" caption_key="xuiBack" />
		</widget>
	</window>

	<window name="createWorld" anchor="CenterCenter" pos="-700,400" width="1400" height="840" controller="CreateWorld" cursor_area="true" default_font_color="[labelColor]" invalid_font_color="[red]">
		<panel name="createHeader" pos="0,0" height="43" depth="1" width="850" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="850" text_key="xuiCreateWorld" />
		</panel>
		<panel name="saveHeader" pos="850,0" height="43" depth="1" width="550" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3">
			<label style="header.name" pos="6,-6" width="550" text_key="xuiWorldSaves" />
		</panel>		
		<panel name="content" pos="0,-46" height="725" width="850" depth="1" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	

			<togglebutton name="toggleSelectWorld" caption_key="xuiCreateWorldLoadWorld" width="225" height="32" pos="10, -10" depth="3" />
			<rect name="worlds" pos="240,-10" height="434" width="600" controller="WorldList" clear_searchtext_on_open="true" matching_version_color="[white]" compatible_version_color="255,216,0" incompatible_version_color="[red]">
				<sprite depth="8" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-7" width="250" height="30" search_field="true" />
				
					<panel pos="498,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="worlds"/>
					</panel>
				</rect>
				
				<grid name="list" depth="2" rows="13" cols="1" pos="0,-44" height="390" cell_width="600" cell_height="30" repeat_content="true" arrangement="vertical" >
					<world_list_entry width="600" height="30" />
				</grid>
			</rect>
			
			<panel name="worldInfo" pos="240, -470" height="300" width="530" color="[white]" backgroundcolor="[transparent]">
				<grid rows="5" cell_width="525" cell_height="50" repeat_content="false" arrangement="vertical">
					<rect>
						<label depth="4" width="190" height="30" style="hover" text_key="xuiLastPlayedTime" font_size="28" color="[white]" justify="right" pivot="topleft" />
						<sprite depth="3" name="backgroundMain"  pos="229,0" width="282" height="32" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
						<label name="worldLastPlayedLabel" depth="4" pos="229,-2" width="282" height="32" style="hover" font_size="28" color="[white]" justify="center" pivot="topleft" />
					</rect>
					<rect>
						<label depth="4" width="190" height="30" style="hover" text_key="xuiWorldVersion" font_size="28" color="[white]" justify="right" pivot="topleft" />
						<sprite depth="3" name="backgroundMain"  pos="229,0" width="282" height="32" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
						<label name="worldVersionLabel" depth="4" pos="229,-2" width="282" height="32" style="hover" font_size="28" color="{worldversioncolor}" justify="center" pivot="topleft"/>
					</rect>		
					<rect>
						<label depth="4" width="190" height="30" style="hover" text_key="xuiWorldSize" font_size="28" color="[white]" justify="right" pivot="topleft" />
						<sprite depth="3" name="backgroundMain"  pos="229,0" width="282" height="32" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
						<label name="worldMemoryLabel" depth="4" pos="229,-2" width="282" height="32" style="hover" font_size="28" color="[white]" justify="center" pivot="topleft" />
					</rect>								
				</grid>
			</panel>

			<togglebutton name="toggleNewWorld" caption_key="xuiCreateWorldNewWorld" width="225" height="32" pos="10, -635" depth="3" />
			<rect depth="2" width="600" height="32" pos="240,-635">
				<label width="90" text_key="xuiCreateWorldName" justify="right" />
				<textfield name="nameInput" depth="5" pos="95,-0" width="200" height="32" active_text_color="{customnamecolor}" tooltip_key="{customnamewarning}" character_limit="30"/>
				<label width="120" pos="305,0" text_key="xuiCreateWorldSize" justify="right" />

				<rect pos="430,0">
					<combobox name="cmbSize" type="ComboBoxList`1[System.Int32]" value_wrap="false" values="-1,1024,2048,3072,4096,5120,6144,7168,8192,9216,10240" pos="0,0" width="150" height="32" />
					<panel createuipanel="true" disableautobackground="true" depth="10" visible="{iscustomsize}">
						<sprite depth="3" name="background" pos="34,0" width="82" height="32" color="[black]" type="sliced" pivot="topleft" globalopacity="false" />
						<textfield name="txtSize" depth="5" pos="34,0" width="82" height="32" pivot="topLeft" validation="integer" on_scroll="true" on_hover="true" active_text_color="{customsizecolor}" tooltip_key="{customsizewarning}" />
					</panel>
				</rect>
			</rect>

			<simplebutton name="btnDeleteWorld" depth="3" pos="10, -670" width="200" height="48" font_size="32" caption_key="btnDeleteWorld" upper_case="true" enabled="{worlddeletable}" />
			<simplebutton name="btnStart" depth="3" pos="640, -670" width="200" height="48" font_size="32" caption_key="xuiStart" upper_case="true" enabled="{startable}" />
		</panel>
		<panel name="saveDetails" pos="850,-46" depth="1" height="725" width="550" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			
			<rect name="saves" pos="10,-10" height="434" width="530" controller="SavegamesList" clear_searchtext_on_open="true" matching_version_color="[white]" compatible_version_color="[gold]" incompatible_version_color="[red]">
				<sprite depth="8" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<rect depth="4" name="searchControls" height="44" pos="0,-0">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-7" width="250" height="30" search_field="true" />
				
					<panel pos="426,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="saves"/>
					</panel>
				</rect>
				
				<grid name="list" depth="2" rows="13" cols="1" pos="0,-44" height="390" cell_width="530" cell_height="30" repeat_content="true" arrangement="vertical" >
					<savegames_list_entry width="530" height="30" simplified="true"/>
				</grid>
			</rect>
			
			<panel name="saveInfo" pos="10, -470" height="300" width="530" color="[white]" backgroundcolor="[transparent]">
				<grid rows="5" cell_width="525" cell_height="50" repeat_content="false" arrangement="vertical">
					<rect>
						<label depth="4" width="190" height="30" style="hover" text_key="xuiLastPlayedTime" font_size="28" color="[white]" justify="right" pivot="topleft" />
						<sprite depth="3" name="backgroundMain"  pos="229,0" width="282" height="32" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
						<label name="saveLastPlayedLabel" depth="4" pos="229,-2" width="282" height="32" style="hover" font_size="28" color="[white]" justify="center" pivot="topleft" />
					</rect>
					<rect>
						<label depth="4" width="190" height="30" style="hover" text_key="xuiSaveVersion" font_size="28" color="[white]" justify="right" pivot="topleft" />
						<sprite depth="3" name="backgroundMain"  pos="229,0" width="282" height="32" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
						<label name="saveVersionLabel" depth="4" pos="229,-2" width="282" height="32" style="hover" font_size="28" color="{saveversioncolor}" justify="center" pivot="topleft"/>
					</rect>
					<rect>
						<label depth="4" width="190" height="30" style="hover" text_key="xuiSaveSize" font_size="28" color="[white]" justify="right" pivot="topleft" />
						<sprite depth="3" name="backgroundMain"  pos="229,0" width="282" height="32" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
						<label name="saveMemoryLabel" depth="4" pos="229,-2" width="282" height="32" style="hover" font_size="28" color="[white]" justify="center" pivot="topleft" />
					</rect>							
				</grid>
			</panel>
			
			<simplebutton name="btnDeleteSave" depth="3" pos="340, -680" width="200" height="36" font_size="32" caption_key="btnDelete" upper_case="true" enabled="{savedeletable}" />			
		</panel>
		
		<simplebutton name="btnBack" depth="3" pos="0, -780" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
		
		<panel name="deleteSavePanel" depth="20" createuipanel="true" on_hover="true" disableautobackground="true">
			<rect pos="500,-250" width="400" height="200">
				<panel pos="-20,20" width="440" height="240" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
					<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,100" type="sliced" fillcenter="true" />
				</panel>
			
				<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3">
					<label style="header.name" name="headerText" pos="6,-6" width="550" text_key="xuiWorldDelete" />
				</panel>
				
				<rect pos="0,-50" height="106">
					<sprite depth="10" name="border" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
					<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacitymod="2" />
					
					<label name="deleteText" pos="10,-8" width="380" height="100" pivot="topleft" justify="left" depth="2" />
				</rect>
				<rect pos="0, -164">
					<simplebutton name="btnCancel" depth="3" pos="0, 0" width="180" height="48" font_size="32" caption_key="xuiCancel" upper_case="true" />
					<simplebutton name="btnConfirm" depth="3" pos="400, 0" pivot="right" width="180" height="48" font_size="32" caption_key="btnConfirm" upper_case="true" />
				</rect>
			</rect>
		</panel>
	</window>
	
	<window name="dataManagement" depth="250" anchor="CenterCenter" pos="-802,400" width="1605" height="840" controller="DataManagement" cursor_area="true" default_font_color="[labelColor]" invalid_font_color="[red]">

		<panel name="outclick" pos="-2000,2000" width="8000" height="8000" depth="1" createuipanel="true" on_press="true" disableautobackground="true" gamepad_selectable="false">
		</panel>
		
		<panel name="header" pos="0,0" height="43" depth="1" width="1605" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="1633" text_key="xuiDmTitle" />
		</panel>
		
		<panel name="worldDetails" pos="0,-46" height="666" width="575" depth="1" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	
			
			<rect name="worlds" pos="0,0" height="666" controller="DMWorldList" clear_searchtext_on_open="true" matching_version_color="60,255,60,128" compatible_version_color="255,216,0" incompatible_version_color="[red]" >
				<sprite depth="8" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<label style="header.name" pos="6,-6" text_key="xuiDmWorlds"/>

				<rect depth="4" name="searchControls" height="44" pos="0,-44">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-7" width="250" height="30" search_field="true" />
				
					<panel pos="451,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="worlds"/>
					</panel>
				</rect>

				<rect pos="0,-88" width="575" height="30">		
					<label pos="8,-4"	width="212" depth="4" font_size="24" justify="left"	 pivot="topleft" color="255,255,255,128" name="WorldNameType" text_key="xuiDmName"	/>
					<label pos="220,-4" width="125" depth="4" font_size="24" justify="left"	 pivot="topleft" color="255,255,255,128" name="WorldMB"       text_key="xuiDmWorldData" />
					<label pos="345,-4" width="125" depth="4" font_size="24" justify="left"	 pivot="topleft" color="255,255,255,128" name="SavesMB"       text_key="xuiDmSavesData" />
					<label pos="470,-4" width="105" depth="4" font_size="24" justify="left"  pivot="topleft" color="255,255,255,128" name="TotalMB"       text_key="xuiDmTotalSize" upper_case="true" />
				</rect>
				
				<grid name="list" depth="2" rows="8" cols="1" pos="0,-118" height="480" cell_height="60" repeat_content="true" arrangement="vertical" >
					<dm_world_list_entry width="575" height="60" />
				</grid>
			</rect>			
			
			<simplebutton name="btnDeleteWorld" depth="3" pos="10, -608" width="200" height="48" font_size="32" caption_key="btnDeleteWorld" upper_case="true" enabled="{worlddeletable}" />
		</panel>
		
		<panel name="saveDetails" pos="580,-46" depth="1" height="666" width="500" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			
			<rect name="saves" pos="0,0" height="666" width="500" controller="DMSavegamesList" clear_searchtext_on_open="true" matching_version_color="60,255,60,128" compatible_version_color="255,216,0" incompatible_version_color="[red]" >
				<sprite depth="8" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<label style="header.name" pos="6,-6" text_key="xuiDmSaves" />
				
				<rect depth="4" name="searchControls" height="44" pos="0,-44">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-7" width="250" height="30" search_field="true" />
				
					<panel pos="376,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="saves"/>
					</panel>
				</rect>

				<rect pos="0,-88" width="500" height="30">
					<label pos="8,-4"	width="204" depth="4" font_size="24" justify="left"	 pivot="topleft" color="255,255,255,128" name="SaveNameLabel"	text_key="xuiDmName" />
					<label pos="220,-4" width="125" depth="4" font_size="24" justify="left"	 pivot="topleft" color="255,255,255,128" name="LastPlayedLabel" text_key="xuiDmLastPlayed" />
					<label pos="400,-4" width="125" depth="4" font_size="24" justify="left"  pivot="topleft" color="255,255,255,128" name="SizeLabel"		text_key="xuiDmSize" upper_case="true" />
				</rect>
				
				<grid name="list" depth="2" rows="8" cols="1" pos="0,-118" height="480" cell_width="100" cell_height="60" repeat_content="true" arrangement="vertical" >
					<dm_savegames_list_entry width="500" height="60"/>
				</grid>
			</rect>
						
			<simplebutton name="btnDeleteSave" depth="3" pos="10, -608" width="200" height="48" font_size="32" caption_key="btnDelete" upper_case="true" enabled="{savedeletable}" />			
			<simplebutton name="btnArchiveSave" depth="3" pos="230, -608" width="260" height="48" font_size="32" caption="{archivelabel}" tooltip_key="xuiDmArchiveTooltip" upper_case="true" visible="{savearchivable}" />
		</panel>

		<panel name="playerDetails" pos="1085,-46" depth="1" height="666" width="520" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

			<rect name="players" pos="0,0" height="666" width="520" controller="XUiC_DMPlayersList" clear_searchtext_on_open="true" >
				<sprite depth="8" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />

				<label style="header.name" pos="6,-6" text_key="xuiDmPlayers" />
				<label name="lblPlayerLimit" pos="510,-6" width="200" height="30" pivot="topright" justify="right" font_size="24" color="255,255,255,128" platform="CONSOLE"/>

				<rect depth="4" name="searchControls" height="44" pos="0,-44">
					<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-7" width="250" height="30" search_field="true" />

					<panel pos="396,0" width="98" height="43" disableautobackground="true">
						<pager name="pager" pos="1,-6" contents_parent="players"/>
					</panel>
				</rect>

				<rect pos="0,-88" width="520" height="30">
					<label pos="8,-4"	width="184" depth="4" font_size="24" justify="left"	 pivot="topleft" color="255,255,255,128" name="PlayerNameLabel"	text_key="xuiDmName" />
					<label pos="200,-4" width="180" depth="4" font_size="24" justify="left"	 pivot="topleft" color="255,255,255,128" name="LastPlayedLabel" text_key="xuiDmLastPlayed" />
					<label pos="380,-4" width="140" depth="4" font_size="24" justify="left"	 pivot="topleft" color="255,255,255,128" name="LastPlayedLabel" text_key="xuiDmInfo" />
				</rect>

				<grid name="list" depth="2" rows="8" cols="1" pos="0,-118" height="480" cell_width="200" cell_height="60" repeat_content="true" arrangement="vertical" >
					<dm_players_list_entry width="520" height="60"/>
				</grid>
				
				<rect name="loadingOverlay" pos="0,-118" height="480" width="520">
					<label name="lblLoadingText" pos="240,-260" justify="center" pivot="center" text="..." />
				</rect>
			</rect>
			
			<simplebutton name="btnDeletePlayer" depth="3" pos="10, -608" width="200" height="48" font_size="32" caption_key="xuiDmDeletePlayer" caption="Delete Player" upper_case="true" enabled="{playerdeletable}" />
			<simplebutton name="btnDeleteBlockedPlayers" depth="3" pos="230, -608" width="280" height="48" font_size="32" caption="{blockedplayers}" upper_case="true" visible="{hasblockedplayers}" />
		</panel>
		
		<confirmation_prompt pos="602,-250" width="400" height="220" />
		
		<rect name="dm_bar_enabled" visible="{showbar}">
			<dm_data_bar pos="210, -800" width="1185" />
		</rect>

		<simplebutton name="btnBack" depth="3" pos="0, -720" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
	</window>

	<window name="saveSpaceNeeded" depth="250" pos="0,0" width="0" height="0" anchor="CenterCenter" controller="SaveSpaceNeeded" cursor_area="true">
		<rect pos="-445,150" width="890" height="200" depth="1" >
			<panel name="noclick" depth="0" createuipanel="true" pos="-20,20" width="930" height="240" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,190" type="sliced" fillcenter="true" />
			</panel>

			<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3">
				<label style="header.name" name="titleText" text_key="{langKeyTitle}" pos="6,-6" width="878" />
			</panel>

			<rect pos="0,-50" height="106" depth="1">
				<sprite depth="10" name="border" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
				<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacitymod="2" />

				<label name="bodyText" text_key="{langKeyBody}" pos="10,-8" width="870" height="100" pivot="topleft" justify="left" depth="2" />
			</rect>

			<rect pos="0, -164" depth="1">
				<simplebutton name="btnCancel"  caption_key="{langKeyCancel}" visible="{canCancel}"           depth="3" pos="0, 0"  pivot="left"  width="200"  height="48" font_size="32" upper_case="true" />
				<simplebutton name="btnDiscard" caption_key="{langKeyDiscard}" visible="{canDiscard}"         depth="3" pos="230, 0" pivot="left" width="200"  height="48" font_size="32" upper_case="true" />
				<simplebutton name="btnManage"  caption_key="{langKeyManage}"                                 depth="3" pos="660, 0" pivot="right" width="200" height="48" font_size="32" upper_case="true" />
				<simplebutton name="btnConfirm" caption_key="{langKeyConfirm}" enabled="{hasSufficientSpace}" depth="3" pos="890, 0" pivot="right" width="200" height="48" font_size="32" upper_case="true" />
			</rect>
		</rect>

		<panel name="noclick" visible="{shouldShowDataBar}" depth="0" createuipanel="true" pos="-622,-100" width="1244" height="134" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,220" type="sliced" fillcenter="true" globalopacity="false" />
		</panel>

		<rect name="dm_bar_enabled" visible="{shouldShowDataBar}">
			<dm_data_bar pos="-592, -130" width="1185" />
		</rect>
	</window>
	
	<window name="loginProgress" anchor="CenterCenter" pos="-350,50" width="700" height="200" controller="LoginProgress" >
		<panel name="content" pos="0,-50" height="100" depth="1" backgroundcolor="[mediumGrey]" bordercolor="[black]" borderthickness="3" pivot="topleft">
			<label name="lblText" depth="1" pos="350,-50" font_size="30" justify="center" pivot="center" text="Signing in..." />
		</panel>
	</window>
	
	<!-- Login window for Standalone Platforms -->
	<window name="loginWindow" anchor="CenterCenter" pos="-350,50" width="700" height="200" controller="LoginStandalone" cursor_area="true" platform="STANDALONE">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text="{title}" />
		</panel>
		
		<panel name="content" pos="0,-50" height="100" depth="1" backgroundcolor="[mediumGrey]" bordercolor="[black]" borderthickness="3" pivot="topleft">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	

			<label depth="2" pos="20,-30" width="650" height="30" font_size="30" pivot="Left" text="{caption}" justify="left" />
			<label name="lblReason" depth="2" pos="20,-65" width="680" height="30" font_size="30" pivot="Left" text="{reason}" justify="left" />
		</panel>

		<rect pos="0, -160">
			<simplebutton name="btnRetry" depth="3" pos="0, 0" width="200" height="36" font_size="32" caption_key="xuiSteamRetryLogin" upper_case="true" />
			<simplebutton name="btnOffline" depth="3" pos="230, 0" width="200" height="36" font_size="32" caption_key="xuiSteamPlayOffline" upper_case="true" />
			<simplebutton name="btnExit" depth="3" pos="700, 0" pivot="right" width="200" height="36" font_size="32" caption_key="xuiSteamExit" upper_case="true" />
		</rect>
	</window>
	
	<!-- Login window for XBL-GDK Platform -->
	<window name="loginWindow" anchor="CenterCenter" pos="-350,50" width="700" height="200" controller="LoginXBOX" cursor_area="true" platform="XBOX">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text="{title}" />
		</panel>
		
		<panel name="content" pos="0,-50" height="100" depth="1" backgroundcolor="[mediumGrey]" bordercolor="[black]" borderthickness="3" pivot="topleft">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	

			<label depth="2" pos="20,-30" width="650" height="30" font_size="30" pivot="Left" text="{caption}" justify="left" />
			<label name="lblReason" depth="2" pos="20,-65" width="680" height="30" font_size="30" pivot="Left" text="{reason}" justify="left" />
		</panel>

		<rect pos="0, -160">
			<simplebutton name="btnRetry" depth="3" pos="0, 0" width="200" height="36" font_size="32" caption_key="xuiSteamRetryLogin" upper_case="true" />
			<simplebutton name="btnOffline" depth="3" pos="700, 0" pivot="right" width="200" height="36" font_size="32" caption_key="xuiSteamPlayOffline" upper_case="true" />
		</rect>
	</window>
	
	<!-- Login window for PS5 Platform -->
	<window name="loginWindow" anchor="CenterCenter" pos="-350,50" width="700" height="200" controller="LoginPS5" cursor_area="true" platform="PS5">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label pos="6,-6" width="550" text="{title}" />
		</panel>
		
		<panel name="content" pos="0,-50" height="100" depth="1" backgroundcolor="[mediumGrey]" bordercolor="[black]" borderthickness="3" pivot="topleft">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	

			<label depth="2" pos="20,-30" width="650" height="30" font_size="30" pivot="Left" text="{caption}" justify="left" />
			<label name="lblReason" depth="2" pos="20,-65" width="680" height="30" font_size="30" pivot="Left" text="{reason}" justify="left" />
		</panel>

		<rect pos="0, -160">
			<simplebutton name="btnRetry" depth="3" pos="0, 0" width="200" height="36" font_size="32" caption_key="xuiSteamRetryLogin" upper_case="true" />
			<simplebutton name="btnOffline" depth="3" pos="700, 0" pivot="right" width="200" height="36" font_size="32" caption_key="xuiSteamPlayOffline" upper_case="true" />
		</rect>
	</window>

	<window name="newsScreen" anchor="CenterCenter" pos="0,0" width="1050" height="780" depth="5" controller="NewsScreen">
		<texture depth="1" color="[white]" texture="@:Textures/UI/news_background.jpg" name="bgTexture" anchor_left="#cam,0,-5" anchor_right="#cam,1,5" anchor_bottom="#cam,0,-5" anchor_top="#cam,1,5" />

		<rect depth="3" name="logo" createuiwidget="true" anchor_left="#cam,0.5,0" anchor_right="#cam,0.5,0" anchor_bottom="#cam,0.5,0" anchor_top="#cam,0.5,0">
			<texture pos="20,-60" height="1010" color="[white]" texture="@:Textures/UI/news_logo.png" name="gameLogo" pivot="center" keep_aspect_ratio="BasedOnHeight" aspect_ratio="0.608" />
		</rect>
		
		<rect depth="4" name="continue" createuiwidget="true" anchor_left="#cam,0.5,0" anchor_right="#cam,0.5,0" anchor_bottom="#cam,0.5,-350" anchor_top="#cam,0.5,-350">
			<sprite depth="0" name="background" sprite="menu_empty" type="sliced" color="[black]" globalopacity="false" pivot="center" anchor_left="continueButtonLabelController,0,-50" anchor_right="continueButtonLabelController,1,50" anchor_bottom="continueButtonLabelController,0,-10" anchor_top="continueButtonLabelController,1,10" />
			<label depth="1" name="continueButtonLabelController" spacing_x="5" font_size="28" overflow="resizefreely" text_key="xuiNewsContinueController" color="[white]" pivot="center" parse_actions="true" visible="{is_controller_input}" />
			<label depth="1" name="continueButtonLabelKeyboard" spacing_x="5" font_size="28" overflow="resizefreely" text_key="xuiNewsContinueKeyboard" color="[white]" upper_case="true" pivot="center" parse_actions="true" visible="{# !is_controller_input}" />
			<button depth="10" name="btnContinue" style="hover,press" sprite="menu_empty" hoverscale="1" defaultcolor="0,0,0,1" hovercolor="100,100,100,100" type="sliced" anchor_left="background,0,0" anchor_right="background,1,0" anchor_bottom="background,0,0" anchor_top="background,1,0" />
		</rect>

		<label depth="4" name="copyrightNotice" spacing_x="4" font_size="14" text_key="xuiNewsCopyrightNotice" color="255,255,255,150" upper_case="true" pivot="bottom" justify="center" anchor_left="#cam,0,300" anchor_right="#cam,1,-300" anchor_bottom="#cam,0,20" anchor_top="#cam,0,100" />
		
		<news_box pos="-800,363" depth="5" name="featured" header_key="xuiNewsHeaderFeatured" sources="rfs://NewsFeatured.xml" auto_cycle_time_per_entry="3" max_entries="7" gamepad_decrease="GUI Page Down" gamepad_increase="GUI Page Up" />
		<news_box pos="350,363" depth="5" name="game" header_key="xuiNewsHeaderGame" sources="rfs://News.xml" auto_cycle_time_per_entry="0" max_entries="7" gamepad_decrease="GUI Window Paging Up" gamepad_increase="GUI Window Paging Down" />
	</window>
	
	<window name="menuBackground" anchor="CenterCenter" pos="0,0" width="1050" height="780" depth="-3">
		<texture depth="1" color="[white]" texture="@:Textures/UI/background.jpg" name="bgTexture" anchor_left="#cam,0,-5" anchor_bottom="#cam,0,-5" anchor_right="#cam,1,5" anchor_top="#cam,1,5" />
	</window>
	
	<window name="mainMenuLogo" anchor="CenterCenter" pos="0,0" width="1050" height="780" depth="-2">
		<texture depth="3" color="[white]" texture="@:Textures/UI/7DTD_logo.tga" name="gameLogo" anchor_left="#cam,0.5,-20" anchor_bottom="#cam,0.5,20" anchor_right="#cam,0.5,-20" anchor_top="#cam,0.5,490" pivot="center" keep_aspect_ratio="BasedOnHeight" aspect_ratio="2.3" />
	</window>
	
	<window name="mainMenu" anchor="CenterCenter" pos="0,0" width="1050" height="780" controller="MainMenu" cursor_area="true" windows_to_open_globally="menuBackground,mainMenuDiscordButton,-discordInteractions">
		<grid pos="50,110" rows="13" cell_width="400" cell_height="70" repeat_content="false" arrangement="vertical" controller="MainMenuButtons">

			<mainmenubutton name="btnNewGame" pivot="center" width="400" height="50" caption_key="xuiNewGame" nav_up="btnQuit" platform="!CONSOLE" />
			<mainmenubutton name="btnNewGame" pivot="center" width="400" height="50" caption_key="xuiNewGame" platform="CONSOLE" />

			<mainmenubutton name="btnContinueGame" pivot="center" width="400" height="50" caption_key="xuiContinueGame" enabled="{has_saved_game}"/>
			<mainmenubutton name="btnConnectToServer" pivot="center" width="400" height="50" caption_key="xuiConnectToServer" enabled="{online_mode}" />
			<mainmenubutton name="btnEditingTools" pivot="center" width="400" height="50" caption_key="xuiEditingTools" platform="!CONSOLE" />
			<mainmenubutton name="btnOptions" pivot="center" width="400" height="50" caption_key="xuiOptions" />
			<mainmenubutton name="btnCredits" pivot="center" width="400" height="50" caption_key="xuiCredits" />
			<mainmenubutton name="btnNews" pivot="center" width="400" height="50" caption_key="xuiMMNews" />

			<mainmenubutton name="btnDlc" pivot="center" width="400" height="50" caption_key="xuiMMDlc" sprite_color_default="110,0,0,180" sprite_color_hover="110,0,0,255" nav_down="btnQuit" platform="!CONSOLE"/>
			<mainmenubutton name="btnDlc" pivot="center" width="400" height="50" caption_key="xuiMMDlc" sprite_color_default="110,0,0,180" sprite_color_hover="110,0,0,255" platform="CONSOLE" />
		</grid>
	</window>
	
	<window name="mainMenuPlayerName" pos="50,75" width="210" height="100" depth="301" anchor="LeftBottom" controller="MainMenuPlayerName">
		<rect>
			<label depth="2" name="mainMenuPlayerNameLabel" text="{name}" font_size="34" pos="0,-25" width="210" height="50" justify="left" pivot="left" effect="outline" upper_case="true" support_bb_code="false" />
		</rect>
	</window>

	<window name="mainMenuQuit" pos="-240,75" width="210" height="100" anchor="RightBottom" controller="MainMenuButtons">
		<mainmenubutton name="btnQuit" pivot="center" width="400" height="50" caption_key="xuiQuit" platform="!CONSOLE" align_right="true" nav_up="btnDlc" nav_down="btnNewGame"/>
	</window>

	<window name="newsWindow" anchor="RightCenter" pos="-650,120" width="500" height="600" controller="NewsWindow" cursor_area="true" browse_sound="@:Sounds/Crafting/craft_click_recipe.wav" on_scroll="true" sources="rfs://News.xml" button_younger="GUI Window Paging Up" button_older="GUI Window Paging Down">
		<panel name="header" pos="0,0" height="110" depth="1" backgroundcolor="96,96,96,180" bordercolor="[black]" borderthickness="3" pivot="topleft" visible="{has_news_provider}">
			<rect visible="{has_news}">
				<label name="lblLeft" depth="1" pos="-8,-40" width="55" height="35" font_size="30" color="[white]" pivot="right" justify="right" parse_actions="true" max_line_count="1" text=" [action:gui:GUI Window Paging Up]" />
				<button name="btnYounger" depth="6" pos="20,-40" width="30" height="44" style="press, hover" sprite="ui_game_symbol_arrow_menu" pivot="center" sound="[paging_click]" enabled="{has_younger}" disabledcolor="[mediumGrey]" gamepad_selectable="false"/>

				<button name="btnOlder" depth="6" pos="480,-40" width="30" height="44" style="press, hover" sprite="ui_game_symbol_arrow_menu" pivot="center" flip="horizontally" sound="[paging_click]" enabled="{has_older}" disabledcolor="[mediumGrey]" gamepad_selectable="false"/>
				<label name="lblRight" depth="1" pos="508,-40" width="55" height="35" font_size="30" color="[white]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text="[action:gui:GUI Window Paging Down] " />
				
				<label depth="3" name="headline" pos="40,-6" width="420" height="42" font_size="36" text="{headline}" />
				<label depth="3" name="date" pos="40,-48" width="490" height="30" font_size="26" text="{date} - {age}" />
				<label depth="3" name="source" pos="40,-78" width="490" height="30" font_size="26" text="{# localization('From Mod')}{# length(source) > 0 ? ': ' + source : ''}" color="[tan]" visible="{is_custom}" />
			</rect>
		</panel>

		<panel name="content" pos="0,-108" height="470" depth="1" backgroundcolor="96,96,96,160" bordercolor="[black]" borderthickness="3" pivot="topleft" visible="{has_news_provider}">
			<rect visible="{has_news}">
				<label depth="3" name="contentText" pos="8,-8" width="484" height="426" spacing_y="4" text="{text}" />
				
				<rect name="btnLink" depth="3" pos="8,-450" width="484" height="26" enabled_font_color="[labelColor]" hovered_font_color="[hoverColor]" disabled_font_color="[disabledLabelColor]" controller="SimpleButton" button_enabled="true" font_size_default="24" font_size_hover="24" visible="{has_link}">
					<button name="clickable" sprite="ui_game_popup" defaultcolor="0,0,0,10" hovercolor="0,0,0,10" type="sliced" hoverscale="1.0" pivot="left" sound="[default_click]" tooltip="{link}" />
					<label depth="2" name="btnLabel" justify="right" text_key="xuiNewsReadMore" effect="outline" pivot="left" font_size="24" upper_case="true" />
				</rect>
			</rect>
			
			<rect visible="{# !has_news}">
				<label depth="3" text_key="xuiLoadingNews" pos="250,-235" font_size="36" justify="center" pivot="center" />
			</rect>
		</panel>
	</window>
	
	<window name="newContinueGame" anchor="CenterCenter" pos="-592,400" width="1185" height="780" controller="NewContinueGame" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" name="windowheader" pos="6,-6" width="550" text_key="xuiNewContinueGame" />
		</panel>
		
		<rect pos="0,-50" height="680" width="590" name="leftPanel">
			<rect name="newContent" visible="{isnewgame}">
				<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />

				<rect pos="8,-40">
					<grid rows="13" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
						<rect>
							<label depth="4" width="250" height="30" style="hover" tooltip_key="goGameNameDesc" text_key="goGameName" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<textfield name="txtGameName" depth="5" pos="289,0" width="232" height="32" pivot="topLeft" on_hover="true" character_limit="50"/>
						</rect>
						<rect visible="{false}">
							<label depth="4" width="250" height="30" style="hover" tooltip_key="goGameModeDesc" text_key="goGameMode" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="cbxGameMode" type="ComboBoxList`1[GameMode]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
						<rect>
							<label depth="4" width="250" height="30" style="hover" tooltip_key="goGameWorldDesc" text_key="goGameWorld" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="cbxWorldName" type="ComboBoxList`1[XUiC_NewContinueGame+LevelInfo]" value_wrap="false" pos="255,0" width="300" height="32" />  <!-- localization_prefix="xuiWorldName" -->
						</rect>
						<rect visible="{isnotgenerateworld}">
							<label depth="4" width="250" height="30" style="hover" text_key="xuiMapSize" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<sprite depth="3" name="backgroundMain"  pos="289,0" width="232" height="32" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
							<label name="countyName" depth="4" pos="289,-2" width="232" height="32" style="hover" font_size="28" color="[white]" justify="center" pivot="topleft" text="{mapsize}" />
						</rect>
						<rect visible="{isnotgenerateworld}">
							<label depth="4" width="250" height="30" style="hover" tooltip_key="xuiSaveDataLimitDesc" text_key="xuiSaveDataLimit" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox depth="108" pos="255,0" width="300" height="32" name="cbxSaveDataLimit" type="ComboBoxEnum`1[SaveDataLimitType]" localization_prefix="xuiSaveDataLimitOptions" value_wrap="true" />
						</rect>
						<rect visible="{differentworldversion}">
							<label depth="4" width="250" height="30" style="hover" text_key="xuiWorldDifferentGameVersion" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<sprite depth="3" name="backgroundMain"  pos="289,0" width="232" height="32" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
							<label depth="4" pos="289,-2" width="232" height="32" style="hover" font_size="28" justify="center" pivot="topleft" text="{worldgameversion}" tooltip_key="xuiWorldDifferentVersionTooltip" color="[red]" />
						</rect>
					</grid>
				</rect>
				
				<rect pos="8,-155" visible="{isgenerateworld}" controller="WorldGenerationWindowGroup">
					<grid rows="13" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical">
						<rect>
							<label depth="4" width="250" height="30" style="hover" tooltip_key="xuiRwgCountyNameDesc" text="Seed" text_key="xuiRwgCountyName" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<sprite depth="3" name="backgroundMain"  pos="289,0" width="232" height="32" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
							<label name="countyName" depth="4" pos="289,-2" width="232" height="32" style="hover" font_size="28" color="[white]" justify="center" pivot="topleft" />
						</rect>
						<rect>
							<label depth="4" width="250" height="30" style="hover" tooltip_key="xuiRwgWorldSeedDesc" text="Seed" text_key="xuiRwgWorldSeed" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<textfield name="seedInput" depth="5" pos="289,0" width="232" height="32" pivot="topLeft" />
						</rect>
						<rect>
							<label depth="4" width="250" height="30" style="hover" tooltip_key="xuiRwgWorldSizeDesc" text="World Size" text_key="xuiRwgWorldSize" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox depth="108" pos="255,0" width="300" height="32" name="WorldSize" type="ComboBoxList`1[System.Int32]" values="6144,8192,10240" value_wrap="false" />
						</rect>
						<rect>
							<label depth="4" width="250" height="30" style="hover" tooltip_key="xuiSaveDataLimitDesc" text_key="xuiSaveDataLimit" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox depth="108" pos="255,0" width="300" height="32" name="SaveDataLimitComboBox" type="ComboBoxEnum`1[SaveDataLimitType]" localization_prefix="xuiSaveDataLimitOptions" value_wrap="true" />
						</rect>
						<rect/>
						<rect>
							<simplebutton name="btnGenerateWorld" pos="289,0" width="232" height="32" font_size="26" text="Advanced Generation" caption_key="btnAdvancedGeneration" upper_case="true"/>
						</rect>
					</grid>
				</rect>
				
			</rect>
	
			<rect name="continueContent" visible="{iscontinuegame}">
				<rect name="saves" pos="0,0" height="680" width="590" controller="SavegamesList" matching_version_color="60,255,60,128" compatible_version_color="255,216,0" incompatible_version_color="[red]" clear_selection_on_open="false" clear_searchtext_on_open="true">
					<sprite depth="8" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
					<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />

					<rect depth="4" name="searchControls" height="44" pos="0,-0">
						<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

						<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
						<textfield name="searchInput" depth="5" pos="40,-7" width="250" height="30" search_field="true" />
						
						<panel pos="478,0" width="98" height="43" disableautobackground="true">
							<pager name="pager" pos="1,-6" contents_parent="saves"/>
						</panel>
					</rect>
					
					<grid name="list" depth="2" rows="9" cols="1" pos="0,-44" height="490" cell_width="610" cell_height="61" repeat_content="true" arrangement="vertical" >
						<savegames_list_entry width="590" height="61" />
					</grid>

					<simplebutton name="btnDeleteSave" pos="290,-620" width="200" height="32" font_size="26" caption_key="btnDelete" pivot="center" upper_case="true" />
				</rect>
			</rect>
		</rect>
		
		<rect name="rightPanel" pos="595,-50" width="590" height="680">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />

			<rect name="tabs" controller="TabSelector" select_tab_contents_on_open="false">			
				<rect name="tabsHeader" height="39" depth="0">
					<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="4" cell_width="144" cell_height="36" repeat_content="true" arrangement="horizontal">
						<rect controller="TabSelectorButton">
							<simplebutton name="tabButton" depth="2" pos="-1,0" width="143" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
							<sprite depth="8" sprite="menu_empty2px" pos="141,0" width="2" height="36" color="[black]" />
						</rect>
					</grid>
				</rect>
				
				<rect name="tabsContents" depth="2">
					<rect controller="TabSelectorTab" tab_key="xuiGameSettingsGeneral">
						<grid pos="6,-51" rows="14" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
							<gameoption name="ServerEnabled" title="goServerEnabled" value_wrap="false" value_type="bool" values="" display_names="goServerEnabledOff,goServerEnabledOn" value_localization_prefix="" />
							<gameoption name="Region" title="goRegion" value_wrap="true" value_type="string" values="NorthAmericaEast,NorthAmericaWest,CentralAmerica,SouthAmerica,Europe,Russia,Asia,MiddleEast,Africa,Oceania" display_names="" value_localization_prefix="goRegionName" has_default="false" always_show="true" />
							<gameoption name="ServerVisibility" title="goServerVisibility" value_wrap="false" value_type="int" values="" display_names="goServerVisibility0,goServerVisibility1,goServerVisibility2" value_localization_prefix="" />
							<gameoption name="ServerEACPeerToPeer" title="goEacEnabled" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" has_default="true" enabled="{servereacpeertopeer}"/>
							<gameoption name="ServerAllowCrossplay" title="goServerAllowCrossplay" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix=""  tooltip_key="{crossplayTooltip}"/>
							<gameoption name="ServerPassword" title="goPassword" value_wrap="false" value_type="string" values="" display_names="" value_localization_prefix="" is_textinput="true" password_field="true" character_limit="30" />
							
							<!--ServerMaxPlayerCount gameoptions, some are for console platforms.-->
							<gameoption name="ServerMaxPlayerCount" title="goMaxPlayers" value_wrap="false" value_type="int" values="2, 4, 6, 8, 16" display_names="" value_localization_prefix="goPlayer" platform="!PS5,!XBOX_S,!XBOX_X"/>
							<gameoption name="ServerMaxPlayerCount" title="goMaxPlayers" value_wrap="false" value_type="int" values="2, 3, 4" values_enforced="true" display_names="" value_localization_prefix="goPlayer" platform="PS5,XBOX_X"/>
							<gameoption name="ServerMaxPlayerCount" title="goMaxPlayers" value_wrap="false" value_type="int" values="2" values_enforced="true" display_names="" value_localization_prefix="goPlayer" platform="XBOX_S"/>
							<rect/>
							
							<gameoption name="GameDifficulty" title="goDifficulty" value_wrap="false" value_type="int" values="" display_names="goDifficulty1,goDifficulty2,goDifficulty3,goDifficulty4,goDifficulty5,goDifficulty6" value_localization_prefix="" />
							<gameoption name="PersistentPlayerProfiles" title="goPersistentCharacters" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" />
							<gameoption name="XPMultiplier" title="goXPMultiplier" value_wrap="false" value_type="int" values="25, 50, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goXPMultiplierValue" />
							<gameoption name="DayNightLength" title="goDayLength" value_wrap="false" value_type="int" values="10, 20, 30, 40, 50, 60, 90, 120" display_names="" value_localization_prefix="goMinute" />
							<gameoption name="DayLightLength" title="goDayLightLength" value_wrap="false" value_type="int" values="12, 14, 16, 18" display_names="" value_localization_prefix="goDayLightLengthValue" />
						</grid>
					</rect>

					<rect controller="TabSelectorTab" tab_key="xuiGameSettingsBasic">
						<grid pos="6,-51" rows="14" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
							<gameoption name="BloodMoonFrequency" title="goBloodMoonFrequency" value_wrap="false" value_type="int" values="0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 20, 30" display_names="goDisabled" value_localization_prefix="goDay" />
							<gameoption name="BloodMoonRange" title="goBloodMoonRange" value_wrap="false" value_type="int" values="0, 1, 2, 3, 4, 7, 10, 14, 20" display_names="" value_localization_prefix="goDay" />
							<gameoption name="BloodMoonWarning" title="goBloodMoonWarning" value_wrap="false" value_type="int" values="-1, 8, 18" display_names="goDisabled,goMorning,goEvening" value_localization_prefix="" />
							<gameoption name="BloodMoonEnemyCount" title="goBloodMoonEnemyCount" value_wrap="false" value_type="int" values="4, 6, 8, 10, 12, 16, 24, 32, 64" display_names="" value_localization_prefix="goEnemie" />
							<gameoption name="ZombieMove" title="goZombieMove" value_wrap="false" value_type="int" values="" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" value_localization_prefix="" />
							<gameoption name="ZombieMoveNight" title="goZombieMoveNight" value_wrap="false" value_type="int" values="" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" value_localization_prefix="" />
							<gameoption name="ZombieFeralMove" title="goZombieFeralMove" value_wrap="false" value_type="int" values="" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" value_localization_prefix="" />
							<gameoption name="ZombieBMMove" title="goZombieBMMove" value_wrap="false" value_type="int" values="" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" value_localization_prefix="" />
							<gameoption name="ZombieFeralSense" title="goZombieFeralSense" value_wrap="false" value_type="int" values="" display_names="goOff,goZMDay,goZMNight,goZMAll" value_localization_prefix="" />
							<gameoption name="AISmellMode" title="goAISmellMode" value_wrap="false" value_type="int" values="" display_names="goOff,goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" value_localization_prefix="" />
							<!--
							<gameoption name="MaxSpawnedZombies" title="goMaxSpawnedZombies" value_wrap="false" value_type="int" values="0, 10, 30, 60" display_names="" value_localization_prefix="" />
							<gameoption name="MaxSpawnedAnimals" title="goMaxSpawnedAnimals" value_wrap="false" value_type="int" values="0, 10, 30, 50" display_names="" value_localization_prefix="" />
							-->
							<gameoption name="AirDropFrequency" title="goAirDropFrequency" value_wrap="false" value_type="int" values="0, 24, 72, 168" display_names="goDisabled" value_localization_prefix="goAirDropValue" />
							<gameoption name="AirDropMarker" title="goMarkAirDrops" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" />
							<gameoption name="BiomeProgression" title="goBiomeProgression" value_wrap="false" value_type="bool" values_from_gameserverconfig="true" values="" display_names="" value_localization_prefix="" />
							<gameoption name="StormFreq" title="goStormFreq" value_wrap="false" value_type="int" values="0, 50, 100, 150, 200, 300, 400, 500" display_names="" value_localization_prefix="goBlockDamageValue" />
						</grid>
					</rect>

					<rect controller="TabSelectorTab" tab_key="xuiGameSettingsAdvanced">
						<grid pos="6,-51" rows="14" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
							<!--<gameoption name="BlockDurabilityModifier" title="goBlockDurability" value_wrap="false" value_type="int" values="25, 50, 100, 200" display_names="" value_localization_prefix="goBlockDurabilityValue" />-->
							<gameoption name="BlockDamagePlayer" title="goBlockDamagePlayer" value_wrap="false" value_type="int" values="25, 50, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goBlockDamageValue" />
							<gameoption name="BlockDamageAI" title="goBlockDamageAI" value_wrap="false" value_type="int" values="25, 33, 50, 67, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goBlockDamageValue" />
							<gameoption name="BlockDamageAIBM" title="goBlockDamageAIBM" value_wrap="false" value_type="int" values="25, 33, 50, 67, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goBlockDamageValue" />
							<gameoption name="LootAbundance" title="goLootAbundance" value_wrap="false" value_type="int" values="25, 33, 50, 67, 75, 100, 150, 200" display_names="" value_localization_prefix="goLootAbundanceValue" />
							<gameoption name="LootRespawnDays" title="goLootRespawnDays" value_wrap="false" value_type="int" values="-1, 5, 7, 10, 15, 20, 30, 40, 50" display_names="goDisabled" value_localization_prefix="goLootRespawnDaysValue" />
							<gameoption name="MaxChunkAge" title="goMaxChunkAge" value_wrap="false" value_type="int" values="-1, 10, 20, 30, 40, 50, 75, 100" display_names="goDisabled" value_localization_prefix="goDay" />
							<gameoption name="DeathPenalty" title="goDeathPenalty" value_wrap="false" value_type="int" values="" display_names="goNone,goXPOnly,goInjured,goPermaDeath" value_localization_prefix="" />
							<gameoption name="DropOnDeath" title="goDropOnDeath" value_wrap="false" value_type="int" values="" display_names="goNone,goAll,goToolbelt,goBackpack,goDeleteAll" value_localization_prefix="" />
							<gameoption name="DropOnQuit" title="goDropOnQuit" value_wrap="false" value_type="int" values="" display_names="goNone,goAll,goToolbelt,goBackpack" value_localization_prefix="" />
							<gameoption name="EnemySpawnMode" title="goEnemySpawn" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" />
							<!--BuildCreate gameoptions, some are for console platforms.-->
							<gameoption name="BuildCreate" title="goBuildCreate" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" platform="!PS5,!XBOX"/>
							<gameoption name="BuildCreate" title="goBuildCreate" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" tooltip_key="goBuildCreateDescPS5" platform="PS5" />
							<gameoption name="BuildCreate" title="goBuildCreate" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" tooltip_key="goBuildCreateDescXBOX" platform="XBOX" />
							<gameoption name="QuestProgressionDailyLimit" title="goQuestProgressionDailyLimit" value_wrap="false" value_type="int" values="-1,1,2,3,4,5,6,7,8" display_names="goUnlimited"/>
							<gameoption name="CameraRestrictionMode" title="goCameraRestrictionMode" value_wrap="false" value_type="int" values="" display_names="goDisabled,goFP,goTP" value_localization_prefix="" tooltip_key="goCameraRestrictionModeDesc" always_show="true"/>
							<gameoption name="JarRefund" title="goJarRefund" value_wrap="false" value_type="int" values="0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100" display_names="" value_localization_prefix="goLootAbundanceValue" />
						</grid>
					</rect>
					
					<rect controller="TabSelectorTab" tab_key="xuiGameSettingsMultiplayer">
						<grid pos="6,-51" rows="14" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
							<gameoption name="PlayerKillingMode" title="goPlayerKillingMode" value_wrap="false" value_type="int" values="" display_names="goPlayerKillingModeNoKilling,goPlayerKillingModeKillAlliesOnly,goPlayerKillingModeKillStrangersOnly,goPlayerKillingModeKillEveryone" value_localization_prefix="" />
							<gameoption name="LandClaimSize" title="goLandClaimSize" value_wrap="false" value_type="int" values="21, 31, 41, 51, 71" display_names="" value_localization_prefix="goLandClaimSizeValue" />
							<gameoption name="LandClaimDeadZone" title="goLandClaimDeadZone" value_wrap="false" value_type="int" values="0, 5, 10, 15, 20, 30, 40, 50" display_names="goLandClaimNoDeadzone" value_localization_prefix="goLandClaimDeadZoneValue" />
							<gameoption name="LandClaimExpiryTime" title="goLandClaimExpiryTime" value_wrap="false" value_type="int" values="1, 2, 3, 4, 5, 7, 10, 30" display_names="" value_localization_prefix="goLandClaimExpiryTimeValue" />
							<gameoption name="LandClaimDecayMode" title="goLandClaimDecayMode" value_wrap="false" value_type="int" values="" display_names="goLandClaimDecayModeSlow,goLandClaimDecayModeFast,goLandClaimDecayModeNone" value_localization_prefix="" />
							<gameoption name="LandClaimOnlineDurabilityModifier" title="goLandClaimOnlineDurabilityModifier" value_wrap="false" value_type="int" values="0, 1, 2, 4, 8, 16, 32, 64, 128, 256" display_names="goInfinite" value_localization_prefix="goLandClaimOnlineDurabilityModifierValue" />
							<gameoption name="LandClaimOfflineDurabilityModifier" title="goLandClaimOfflineDurabilityModifier" value_wrap="false" value_type="int" values="0, 1, 2, 4, 8, 16, 32, 64, 128, 256" display_names="goInfinite" value_localization_prefix="goLandClaimOfflineDurabilityModifierValue" />
							<gameoption name="LandClaimOfflineDelay" title="goLandClaimOfflineDelay" value_wrap="false" value_type="int" values="0, 1, 5, 10, 20, 30, 60" display_names="" value_localization_prefix="goMinute" />
							<gameoption name="BedrollDeadZoneSize" title="goBedrollDeadZoneSize" value_wrap="false" value_type="int" values="0, 5, 15, 30" display_names="goLandClaimNoDeadzone" value_localization_prefix="goLandClaimDeadZoneValue" />
							<gameoption name="BedrollExpiryTime" title="goBedrollExpiryTime" value_wrap="false" value_type="int" values="3, 7, 15, 30, 45, 60" display_names="" value_localization_prefix="goLandClaimExpiryTimeValue" />
							<gameoption name="PartySharedKillRange" title="goPartySharedKillRange" value_wrap="false" value_type="int" values="0, 100, 500, 1000, 5000, 10000" display_names="goDisabled" value_localization_prefix="goPartySharedKillRangeValue" />
							<gameoption name="ServerPort" title="goPort" value_wrap="false" value_type="int" values="" display_names="" value_localization_prefix="" is_textinput="true" character_limit="5"/>						
							<gameoption name="DayCount" title="goDayCount" value_wrap="false" value_type="int" values="0, 1, 3, 5, 7, 9" display_names="goUnlimited" value_localization_prefix="goDay" />
							<gameoption name="FragLimit" title="goFragLimit" value_wrap="false" value_type="int" values="0, 1, 5, 10, 15, 20, 25, 50" display_names="goUnlimited" value_localization_prefix="goFrag" />
							<gameoption name="MatchLength" title="goMatchLength" value_wrap="false" value_type="int" values="0, 5, 10, 15, 20, 30, 60" display_names="goUnlimited" value_localization_prefix="goMinute" />
							<gameoption name="RebuildMap" title="goRebuildMap" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" />
							<gameoption name="ZombiePlayers" title="goZombiePlayers" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" />
						</grid>
					</rect>
					
				</rect>
			</rect>
		</rect>

		<rect pos="0, -750">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
			<simplebutton name="btnDataManagement" depth="3" pos="205, 0" pivot="left" width="200" height="48" font_size="32" caption_key="xuiDmManageSaves" upper_case="true" />
			<simplebutton name="btnDefaults" depth="3" pos="960, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiDefaults" visible="{isnewgame}" upper_case="true" />
			<simplebutton name="btnStart" depth="3" pos="1165, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiStart" sound="[start]" parse_actions="true" />
		</rect>
		
		<rect name="dm_bar_enabled" visible="{showbar}">
			<dm_data_bar pos="0, -800" width="1185" />
		</rect>
		
		<panel name="deleteSavePanel" depth="20" createuipanel="true" on_hover="true" disableautobackground="true">
			<rect pos="400,-200" width="400" height="200">
				<panel pos="-20,20" width="440" height="240" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
					<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,100" type="sliced" fillcenter="true" />
				</panel>
			
				<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
					<label style="header.name" name="panelheader" pos="6,-6" width="550" text_key="xuiDeleteSaveGame" />
				</panel>
				
				<rect pos="0,-50" height="106">
					<sprite depth="10" name="border" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
					<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacitymod="2" />
					
					<label name="deleteText" pos="10,-8" width="380" height="100" pivot="topleft" justify="left" depth="2" />
				</rect>
				<rect pos="0, -164">
					<simplebutton name="btnCancel" depth="3" pos="0, 0" width="180" height="36" font_size="32" caption_key="xuiCancel" upper_case="true" />
					<simplebutton name="btnConfirm" depth="3" pos="400, 0" pivot="right" width="180" height="36" font_size="32" caption_key="btnConfirm" upper_case="true" />
				</rect>
			</rect>
		</panel>
	</window>
	
	<window name="windowMultiplayerPrivilegesMenu" anchor="CenterCenter" depth="13000" pos="0,0" createuipanel="true" disableautobackground="true" controller="MultiplayerPrivilegeNotification">
		<panel name="outclick" depth="1" width="8000" height="8000" pos="-4000,4000" createuipanel="true" on_press="true" disableautobackground="true">
			<sprite name="backgroundMain" sprite="menu_empty3px" color="30,30,30,160" type="sliced" fillcenter="true" />
		</panel>
		<panel name="header" pos="-300,146" width="600" height="43" depth="3" bordercolor="[black]" borderthickness="3" createuipanel="true">
			<label style="header.name" pos="6,-6"  width="600" height="43" text_key="lblPrivilegesHeader" font_size="32" />
		</panel>
		<panel name="content" pos="-300,100" width="600" height="268" depth="3" bordercolor="[black]" borderthickness="3" pivot="center" createuipanel="true">
			<sprite name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacitymod="2" />
			<label depth="4" name="lblResolvingPrivileges" pos="10,-6" width="580" text_key="lblResolvingPrivileges" font_size="32" />
			<label depth="4" name="lblInvalidPrivileges" pos="10,-6" width="580" text_key="lblInvalidPrivileges" font_size="32" />
		</panel>
		<panel name="buttons" pos="-300,-168" height="32" depth="4" borderthickness="3" createuipanel="true" disableautobackground="true" >
			<simplebutton name="btnCancel" depth="4" pos="0, 0" width="180" height="36" font_size="32" caption_key="xuiCancel" upper_case="true" />
			<simplebutton name="btnClose" depth="4" pos="0, 0" width="180" height="36" font_size="32" caption_key="xuiOk" upper_case="true" />
		</panel>
	</window>

	<window name="serverBrowser" anchor="CenterCenter" pos="-650,440" width="1288" height="880" controller="ServerBrowser" cursor_area="true">
		<rect name="browser" visible="{# !isprefilteredsearch or !filtersvisible}">
			<panel name="header" pos="0,0" width="1282" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
				<label style="header.name" name="windowheader" pos="6,-6" width="550" text_key="xuiServerBrowser" />
			</panel>
			
			<rect name="servers" pos="0,-50" width="700" height="750" controller="ServersList" matching_version_color="60,255,60,128" compatible_version_color="255,216,0" incompatible_version_color="255,0,0" clear_selection_on_open="false" clear_searchtext_on_open="true">
				<sprite depth="8" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />

				<sprite depth="8" name="border" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />
				
				<grid pos="5,-2" rows="1" cols="5" depth="3" cell_width="140" cell_height="36" repeat_content="false" arrangement="horizontal" >
					<rect name="typeDedicated">
						<button name="button" pos="22,-22" width="36" height="36" sprite="server_stock" style="press" defaultcolor="180,180,180" hovercolor="[white]" selectedcolor="[selectedColor]" foregroundlayer="true" type="simple" hoverscale="1.1" pivot="center" tooltip_key="xuiServerBrowserTypeDedicatedTooltip" selected="{typededicatedselected}" />
						<label name="label" pos="42,-22" width="100" height="32" font_size="30" justify="left" pivot="left" text="{typededicatedcount}" />
					</rect>
					<rect name="typePeer">
						<button name="button" pos="22,-22" width="36" height="36" sprite="server_peer" style="press" defaultcolor="180,180,180" hovercolor="[white]" selectedcolor="[selectedColor]" foregroundlayer="true" type="simple" hoverscale="1.1" pivot="center" tooltip_key="xuiServerBrowserTypePeerTooltip" selected="{typepeerselected}" />
						<label name="label" pos="42,-22" width="100" height="32" font_size="30" justify="left" pivot="left" text="{typepeercount}" />
					</rect>
					<rect name="typeFriends">
						<button name="button" pos="22,-22" width="36" height="36" sprite="server_friends" style="press" defaultcolor="180,180,180" hovercolor="[white]" selectedcolor="[selectedColor]" foregroundlayer="true" type="simple" hoverscale="1.1" pivot="center" tooltip_key="xuiServerBrowserTypeFriendsTooltip" selected="{typefriendsselected}" />
						<label name="label" pos="42,-22" width="100" height="32" font_size="30" justify="left" pivot="left" text="{typefriendscount}" />
					</rect>
					<rect name="typeHistory">
						<button name="button" pos="22,-22" width="36" height="36" sprite="server_history" style="press" defaultcolor="180,180,180" hovercolor="[white]" selectedcolor="[selectedColor]" foregroundlayer="true" type="simple" hoverscale="1.1" pivot="center" tooltip_key="xuiServerBrowserTypeHistoryTooltip" selected="{typehistoryselected}" />
						<label name="label" pos="42,-22" width="100" height="32" font_size="30" justify="left" pivot="left" text="{typehistorycount}" />
					</rect>
					<rect name="typeLAN">
						<button name="button" pos="22,-22" width="36" height="36" sprite="server_lan" style="press" defaultcolor="180,180,180" hovercolor="[white]" selectedcolor="[selectedColor]" foregroundlayer="true" type="simple" hoverscale="1.1" pivot="center" tooltip_key="xuiServerBrowserTypeLANTooltip" selected="{typelanselected}" />
						<label name="label" pos="42,-22" width="100" height="32" font_size="30" justify="left" pivot="left" text="{typelancount}" />
					</rect>
				</grid>

				<rect depth="4" name="searchControls" height="88" pos="0,-0" visible="{# !isprefilteredsearch}">
					<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-66" sprite="ui_game_symbol_search" pivot="Left"/>
					<textfield name="searchInput" depth="5" pos="40,-51" width="250" height="30" search_field="true" />
					
					<button name="btnShowFilters" pos="340,-66" width="30" height="30" sprite="server_filter" style="press" defaultcolor="180,180,180" hovercolor="[white]" selectedcolor="[selectedColor]" foregroundlayer="true" type="simple" hoverscale="1.1" pivot="left" tooltip_key="xuiServerBrowserShowFiltersTooltip" selected="{filtersbuttonselected}" />
				</rect>
				
				<rect depth="4" name="maxResultsRect" pos="10,-66" width="550" height="40" visible="{# isprefilteredsearch}">
					<label name="maxResultsWarning" pos="0, 0" font_size="34" justify="center" pivot="left" on_hover="true" color="[red]" text="{# format(localization ('serverBrowserResultLimitWarningText'), resultlimit) }" tooltip="{# format(localization ('serverBrowserResultLimitWarningTooltip'), resultlimit) }" visible="{limitwarningvisible}" />
				</rect>
				
				<panel pos="588,-44" width="98" height="43" disableautobackground="true">
					<pager name="pager" pos="1,-6" contents_parent="servers"/>
				</panel>

				<servers_list_header name="serverlistheader" depth="2" width="700" height="33" pos="0,-88" />
				<grid name="list" depth="2" rows="19" cols="1" pos="0,-121" height="490" cell_width="700" cell_height="33" repeat_content="true" arrangement="vertical" >
					<servers_list_entry width="700" height="33" />
				</grid>
			</rect>
			
			<rect name="serverinfo" controller="ServerInfo">
				<panel controller="TabSelector" pos="702,-50" width="580" height="750" disableautobackground="true" select_contents_on_change="false">
					<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="false" />

					<rect name="tabsHeader" height="39" depth="0">
						<!--<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0" type="sliced" fillcenter="true" globalopacity="false" />-->
						
						<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="5" cell_width="115" cell_height="36" repeat_content="true" arrangement="horizontal">
							<rect controller="TabSelectorButton">
								<simplebutton name="tabButton" depth="2" pos="-1,0" width="114" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="true" caption="{tab_name_localized}" />
								<sprite depth="8" sprite="menu_empty2px" pos="113,0" width="2" height="35" color="[black]" />
							</rect>
						</grid>
					</rect>
					
					<rect name="tabsContents" depth="2" pos="0,-37" height="711" is_serverbrowser="true">
						<sprite depth="0" pos="2,0" width="576" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacity="false" />

						<rect controller="TabSelectorTab" tab_key="xuiGameSettingsServer">
							<table pos="8,-10" columns="1" padding="0,6" always_reposition="true">

								<rect name="" width="560" height="232">
									<sprite depth="5" pos="10,0" height="232" pivot="topLeft" name="background" color="[black]" type="sliced" />
									<label depth="6" pos="10,0" height="200" name="ServerDescription" justify="center" font_size="32" pivot="topleft" upper_case="false" />
									<label depth="6" pos="10,-200" height="32" name="ServerWebsiteURL" justify="center" style="press, hover" font_size="30" pivot="topleft" upper_case="false" gamepad_selectable="false"/>
								</rect>

								<browsergameoptioninfo name="CurrentServerTime" title="goServerTime" />
								
								<browsergameoptioninfo name="Region" title="goRegion" value_localization_prefix="goRegionName" support_bb_code="false" />
								<browsergameoptioninfo name="AllowCrossplay" title="goServerAllowCrossplay" support_bb_code="false" />
								<browsergameoptioninfo name="Language" title="goLanguage" support_bb_code="false" />
								
								<rect createuiwidget="true" width="10" height="32" />
								
								<!-- On table: <browsergameoptioninfo name="EACEnabled" title="goEacEnabled" /> -->
								<!-- On table: <browsergameoptioninfo name="IsPasswordProtected" title="goPasswordProtected" /> -->
								<!-- On table: <browsergameoptioninfo name="CurrentPlayers" title="goCurrentPlayers" value_localization_prefix="goPlayer" /> -->
								<!-- On table: <browsergameoptioninfo name="MaxPlayers" title="goMaxPlayers" value_localization_prefix="goPlayer" /> -->
								<!-- On table: <browsergameoptioninfo name="Ping" title="goPing" value_localization_prefix="goPingVal" /> -->
								<!-- On table: <browsergameoptioninfo name="LevelName" title="goGameWorld" /> -->
								<!-- GameMode basically unused (only creative + prefab editor): <browsergameoptioninfo name="GameMode" title="goGameMode" value_localization_prefix="gm" /> -->

								<rect createuiwidget="true" width="10" height="32" />
								
								<browsergameoptioninfo name="IP" title="goIp" visible="{showip}" />
								<browsergameoptioninfo name="Port" title="goPort" visible="{showip}" />
								
								<browsergameoptioninfo name="ServerVersion" title="goVersion" />

							</table>
						</rect>

						<rect controller="TabSelectorTab" tab_key="xuiGameSettingsGeneral">
							<table pos="8,-10" columns="1" padding="0,6" always_reposition="true">
								<browsergameoptioninfo name="WorldSize" title="goGameWorldSize" />

								<rect createuiwidget="true" width="10" height="32" />

								<browsergameoptioninfo name="StockSettings" title="goStockSettings" />
								<browsergameoptioninfo name="ModdedConfig" title="goModdedConfig" />
								<!-- Currently not used: <browsergameoptioninfo name="RequiresMod" title="goRequiresMod" /> -->

								<rect createuiwidget="true" width="10" height="32" />

								<browsergameoptioninfo name="GameDifficulty" title="goDifficulty" display_names="goDifficulty1,goDifficulty2,goDifficulty3,goDifficulty4,goDifficulty5,goDifficulty6" />
								<browsergameoptioninfo name="XPMultiplier" title="goXPMultiplier" value_wrap="false" value_type="int" values="25, 50, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goXPMultiplierValue" />
								<browsergameoptioninfo name="DayNightLength" title="goDayLength" value_localization_prefix="goMinute" />
								<browsergameoptioninfo name="DayLightLength" title="goDayLightLength" value_localization_prefix="goDayLightLengthValue" />
							</table>
						</rect>

						<rect controller="TabSelectorTab" tab_key="xuiGameSettingsBasic">
							<grid pos="8,-40" rows="15" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
								<browsergameoptioninfo name="BloodMoonFrequency" title="goBloodMoonFrequency" display_names="goDisabled" value_localization_prefix="goDay" />
								<browsergameoptioninfo name="BloodMoonRange" title="goBloodMoonRange" value_localization_prefix="goDay" />
								<browsergameoptioninfo name="BloodMoonWarning" title="goBloodMoonWarning" display_names="-1=goDisabled,8=goMorning,18=goEvening" value_localization_prefix="goBloodMoonWarningTime" />
								<browsergameoptioninfo name="BloodMoonEnemyCount" title="goBloodMoonEnemyCount" value_localization_prefix="goEnemie" />
								<browsergameoptioninfo name="ZombieMove" title="goZombieMove" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" />
								<browsergameoptioninfo name="ZombieMoveNight" title="goZombieMoveNight" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" />
								<browsergameoptioninfo name="ZombieFeralMove" title="goZombieFeralMove" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" />
								<browsergameoptioninfo name="ZombieBMMove" title="goZombieBMMove" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" />
								<browsergameoptioninfo name="ZombieFeralSense" title="goZombieFeralSense" display_names="goOff,goZMDay,goZMNight,goZMAll" />
								<!--<browsergameoptioninfo name="PersistentPlayerProfiles" title="goPersistentCharacters" />-->
								<browsergameoptioninfo name="AirDropFrequency" title="goAirDropFrequency" display_names="goDisabled" />
								<browsergameoptioninfo name="AirDropMarker" title="goMarkAirDrops" />
								<browsergameoptioninfo name="BiomeProgression" title="goBiomeProgression" />
								<browsergameoptioninfo name="StormFreq" title="goStormFreq" value_localization_prefix="goBlockDamageValue" />
							</grid>
						</rect>

						<rect controller="TabSelectorTab" tab_key="xuiGameSettingsAdvanced">
							<grid pos="8,-40" rows="15" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
								<browsergameoptioninfo name="BlockDamagePlayer" title="goBlockDamagePlayer" value_wrap="false" value_type="int" values="25, 50, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goBlockDamageValue" />
								<browsergameoptioninfo name="BlockDamageAI" title="goBlockDamageAI" value_wrap="false" value_type="int" values="25, 33, 50, 67, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goBlockDamageValue" />
								<browsergameoptioninfo name="BlockDamageAIBM" title="goBlockDamageAIBM" value_wrap="false" value_type="int" values="25, 33, 50, 67, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goBlockDamageValue" />
								<browsergameoptioninfo name="LootAbundance" title="goLootAbundance" value_localization_prefix="goLootAbundanceValue" />
								<browsergameoptioninfo name="LootRespawnDays" title="goLootRespawnDays" display_names="-1=goDisabled" value_localization_prefix="goLootRespawnDaysValue" />
								<browsergameoptioninfo name="MaxChunkAge" title="goMaxChunkAge" display_names="-1=goDisabled" value_localization_prefix="goDay" />
								<browsergameoptioninfo name="DeathPenalty" title="goDeathPenalty" display_names="goNone,goXPOnly,goInjured,goPermaDeath" value_localization_prefix="" />
								<browsergameoptioninfo name="DropOnDeath" title="goDropOnDeath" display_names="goNone,goAll,goToolbelt,goBackpack,goDeleteAll" value_localization_prefix="" />
								<browsergameoptioninfo name="DropOnQuit" title="goDropOnQuit" display_names="goNone,goAll,goToolbelt,goBackpack" value_localization_prefix="" />
								<browsergameoptioninfo name="EnemySpawnMode" title="goEnemySpawn" value_localization_prefix="" />
								<browsergameoptioninfo name="BuildCreate" title="goBuildCreate" />
								<browsergameoptioninfo name="QuestProgressionDailyLimit" title="goQuestProgressionDailyLimit" value_type="int" values="-1, 1, 2, 3, 4, 5, 6, 7, 8" display_names="-1=goUnlimited"/>
								<browsergameoptioninfo name="MaxSpawnedZombies" title="goMaxSpawnedZombies" />
								<browsergameoptioninfo name="MaxSpawnedAnimals" title="goMaxSpawnedAnimals" />
							</grid>
						</rect>
						
						<rect controller="TabSelectorTab" tab_key="xuiGameSettingsMultiplayer">
							<grid pos="8,-40" rows="15" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
								<browsergameoptioninfo name="PlayerKillingMode" title="goPlayerKillingMode" display_names="goPlayerKillingModeNoKilling,goPlayerKillingModeKillAlliesOnly,goPlayerKillingModeKillStrangersOnly,goPlayerKillingModeKillEveryone" />
								<browsergameoptioninfo name="LandClaimSize" title="goLandClaimSize" value_localization_prefix="goLandClaimSizeValue" />
								<browsergameoptioninfo name="LandClaimDeadZone" title="goLandClaimDeadZone" display_names="goLandClaimNoDeadzone" value_localization_prefix="goLandClaimDeadZoneValue" />
								<browsergameoptioninfo name="LandClaimExpiryTime" title="goLandClaimExpiryTime" value_localization_prefix="goLandClaimExpiryTimeValue" />
								<browsergameoptioninfo name="LandClaimDecayMode" title="goLandClaimDecayMode" display_names="goLandClaimDecayModeSlow,goLandClaimDecayModeFast,goLandClaimDecayModeNone" />
								<browsergameoptioninfo name="LandClaimOnlineDurabilityModifier" title="goLandClaimOnlineDurabilityModifier" display_names="goInfinite" value_localization_prefix="goLandClaimOnlineDurabilityModifierValue" />
								<browsergameoptioninfo name="LandClaimOfflineDurabilityModifier" title="goLandClaimOfflineDurabilityModifier" display_names="goInfinite" value_localization_prefix="goLandClaimOfflineDurabilityModifierValue" />
								<browsergameoptioninfo name="LandClaimOfflineDelay" title="goLandClaimOfflineDelay" display_names="" value_localization_prefix="goMinute" />
								<browsergameoptioninfo name="BedrollDeadZoneSize" title="goBedrollDeadZoneSize" display_names="goLandClaimNoDeadzone" value_localization_prefix="goLandClaimDeadZoneValue" />
								<browsergameoptioninfo name="BedrollExpiryTime" title="goBedrollExpiryTime" display_names="" value_localization_prefix="goLandClaimExpiryTimeValue" />
								<browsergameoptioninfo name="PartySharedKillRange" title="goPartySharedKillRange" display_names="goDisabled" value_localization_prefix="goPartySharedKillRangeValue" />
								<!-- <browsergameoptioninfo name="ShowFriendPlayerOnMap" title="goShowFriendPlayerOnMap" />	-->
							</grid>
						</rect>

					</rect>
				</panel>
			</rect>

			<rect name="windowbuttons" pos="0, -820">
				<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="{# isprefilteredsearch ? 'xuiNewSearch' : 'xuiBack' }" upper_case="true" />
				<simplebutton name="btnDirectConnect" platform="!SUBMISSION" depth="3" pos="720, 0" pivot="left" width="200" height="48" font_size="32" caption_key="xuiServerBrowserDirectConnect" upper_case="true" />
				<simplebutton name="btnConnect" depth="3" pos="1282, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiServerBrowserConnect" parse_actions="true" />
			</rect>
			
			<panel pos="450, -340" name="searchErrorPanel" depth="20" createuipanel="true" on_hover="true" disableautobackground="true">
				<rect width="400" height="200">
					<panel pos="-20,20" width="440" height="240" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
						<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,100" type="sliced" fillcenter="true" />
					</panel>
				
					<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3">
						<label style="header.name" name="headerText" pos="6,-6" width="650" text_key="xuiServerBrowserSearchErrorTitle" />
					</panel>
					
					<rect pos="0,-50" height="106">
						<sprite depth="10" name="border" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
						<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacitymod="2" />
						<label name="lblErrorMessage" pos="10,-8" width="380" height="100" pivot="topleft" justify="left" depth="2" />
					</rect>
					<rect pos="0, -164">
						<simplebutton name="btnOk" depth="3" pos="0, 0" width="180" height="48" font_size="32" caption_key="xuiOk" upper_case="true" />
					</rect>
				</rect>
			</panel>
		</rect>
		
		<panel name="serverfilters" pos="{# isprefilteredsearch ? 280 : 705},0" depth="100" createuipanel="true" on_press="true" disableautobackground="true" controller="ServerFilters" visible="{filtersvisible}" gamepad_selectable="false">
			<panel name="outclick" pos="-2000,2000" width="8000" height="8000" depth="1" createuipanel="true" on_press="true" disableautobackground="true" visible="{# !isprefilteredsearch}" gamepad_selectable="false">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="30,30,30,200" type="sliced" fillcenter="true" globalopacity="false" />
			</panel>
			
			<panel name="noclick" depth="2" createuipanel="true" on_press="true" pos="-20,20" width="770" height="840" clipping="softclip" clippingsoftness="20,20" disableautobackground="true" gamepad_selectable="false">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,50" type="sliced" fillcenter="true" />
			</panel>
			
			<panel name="header" pos="0,0" width="730" height="43" depth="10" backgroundspritename="ui_game_panel_header" createuipanel="true" bordercolor="[black]" borderthickness="3" >
				<label style="header.name" name="windowheader" pos="6,-6" width="730" text_key="xuiServerFilters" />
				<button name="btnCloseFilters" pos="720,-22" width="28" height="28" sprite="ui_game_symbol_x" defaultcolor="180,180,180" hovercolor="[white]" foregroundlayer="true" type="simple" hoverscale="1.1" pivot="right" visible="{# !isprefilteredsearch}" />
			</panel>
			
			<panel controller="TabSelector" pos="0,-50" depth="10" width="730" height="750" createuipanel="true" disableautobackground="true">
				<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="false" select_tab_contents_on_open="false"/>

				<rect name="tabsHeader" height="39" depth="0">
					<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0" type="sliced" fillcenter="true" globalopacity="false" />
					
					<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="5" cell_width="130" cell_height="36" repeat_content="true" arrangement="horizontal">
						<rect controller="TabSelectorButton">
							<simplebutton name="tabButton" depth="2" pos="-1,0" width="130" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="true" caption="{tab_name_localized}" />
							<sprite depth="8" sprite="menu_empty2px" pos="128,0" width="2" height="35" color="[black]" />
						</rect>
					</grid>
				</rect>
				
				<rect name="tabsContents" depth="2" pos="0,-37" height="711" is_serverbrowser="true">
					<sprite depth="0" pos="2,0" width="726" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacity="false" />

					<rect controller="TabSelectorTab" tab_key="xuiGameSettingsServer">
						<grid pos="8,-40" rows="14" cell_width="725" cell_height="45" repeat_content="false" arrangement="vertical" >
							<browsergameoptionstring name="GameHost" title="goGameHost" visible="{isprefilteredsearch}" />
							<browsergameoptioncombined name="Region" title="goRegion" value_wrap="false" values="NorthAmericaEast,NorthAmericaWest,CentralAmerica,SouthAmerica,Europe,Russia,Asia,MiddleEast,Africa,Oceania" display_names="" value_localization_prefix="goRegionName" allow_custom="false" allow_any="{# !isprefilteredsearch}" />
							<browsergameoptioncombined name="AllowCrossplay" title="goServerAllowCrossplay" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" tooltip_key="{crossplayTooltip}"/>
							<browsergameoptionstring name="Language" title="goLanguage" />
							<rect/>
							<browsergameoptioncombined name="EACEnabled" title="goEacEnabled" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="SanctionsIgnored" title="goSanctionsIgnored" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="IsPasswordProtected" title="goPasswordProtected" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" />
							<rect/>
							<browsergameoptioncombined name="FreePlayerSlots" title="goFreePlayerSlots" value_wrap="false" values="" display_names="" value_localization_prefix="goPlayer" allow_custom="true" force_custom="true" default_min="1" />
							<browsergameoptioncombined name="CurrentPlayers" title="goCurrentPlayers" value_wrap="false" values="" display_names="" value_localization_prefix="goPlayer" allow_custom="true" force_custom="true" />
							<browsergameoptioncombined name="MaxPlayers" title="goMaxPlayers" value_wrap="false" values="" display_names="" value_localization_prefix="goPlayer" allow_custom="true" force_custom="true" />
							<browsergameoptioncombined name="Ping" title="goPing" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="true" force_custom="true" visible="{# !isprefilteredsearch}" />
							<rect/>
						</grid>
					</rect>

					<rect controller="TabSelectorTab" tab_key="xuiGameSettingsGeneral">
						<grid pos="8,-40" rows="14" cell_width="725" cell_height="45" repeat_content="false" arrangement="vertical" >
							<browsergameoptionstring name="LevelName" title="goGameWorld" />
							<browsergameoptioncombined name="WorldSize" title="goGameWorldSize" value_wrap="false" values="4096,6144,8192,10240" display_names="" value_localization_prefix="" allow_custom="true" />
							<browsergameoptioncombined name="CurrentServerTime" title="goServerTimeDays" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="true" force_custom="true" />
							<rect/>
							<browsergameoptioncombined name="StockSettings" title="goStockSettings" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="ModdedConfig" title="goModdedConfig" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="RequiresMod" title="goRequiresMod" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" />
							<rect/>
							<browsergameoptioncombined name="GameDifficulty" title="goDifficulty" value_wrap="false" values="" display_names="goDifficulty1,goDifficulty2,goDifficulty3,goDifficulty4,goDifficulty5,goDifficulty6" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="XPMultiplier" title="goXPMultiplier" value_wrap="false" value_type="int" values="25, 50, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goXPMultiplierValue" />
							<browsergameoptioncombined name="DayNightLength" title="goDayLength" value_wrap="false" values="10, 20, 30, 40, 50, 60, 90, 120" display_names="" value_localization_prefix="goMinute" />
							<browsergameoptioncombined name="DayLightLength" title="goDayLightLength" value_wrap="false" values="12, 14, 16, 18" display_names="" value_localization_prefix="goDayLightLengthValue" />
						</grid>
					</rect>

					<rect controller="TabSelectorTab" tab_key="xuiGameSettingsBasic">
						<grid pos="8,-40" rows="14" cell_width="725" cell_height="45" repeat_content="false" arrangement="vertical" >
							<browsergameoptioncombined name="BloodMoonFrequency" title="goBloodMoonFrequency" value_wrap="false" value_type="int" values="0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 20, 30" display_names="goDisabled" value_localization_prefix="goDay" />
							<browsergameoptioncombined name="BloodMoonRange" title="goBloodMoonRange" value_wrap="false" value_type="int" values="0, 1, 2, 3, 4, 7, 10, 14, 20" display_names="" value_localization_prefix="goDay" />
							<browsergameoptioncombined name="BloodMoonWarning" title="goBloodMoonWarning" value_wrap="false" value_type="int" values="-1, 8, 18" display_names="goDisabled,goMorning,goEvening" value_localization_prefix="" />
							<browsergameoptioncombined name="BloodMoonEnemyCount" title="goBloodMoonEnemyCount" value_wrap="false" values="4, 6, 8, 10, 12, 16, 24, 32, 64" display_names="" value_localization_prefix="goEnemie" />
							<browsergameoptioncombined name="ZombieMove" title="goZombieMove" value_wrap="false" values="" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" allow_custom="false"  />
							<browsergameoptioncombined name="ZombieMoveNight" title="goZombieMoveNight" value_wrap="false" values="" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" allow_custom="false" />
							<browsergameoptioncombined name="ZombieFeralMove" title="goZombieFeralMove" value_wrap="false" values="" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" allow_custom="false" />
							<browsergameoptioncombined name="ZombieBMMove" title="goZombieBMMove" value_wrap="false" value_type="int" values="" display_names="goZMWalk,goZMJog,goZMRun,goZMSprint,goZMNightmare" allow_custom="false" />
							<browsergameoptioncombined name="ZombieFeralSense" title="goZombieFeralSense" value_wrap="false" value_type="int" values="" display_names="goOff,goZMDay,goZMNight,goZMAll" value_localization_prefix="" allow_custom="false" />
							<!--<gameoption name="PersistentPlayerProfiles" title="goPersistentCharacters" value_wrap="false" values="" display_names="" value_localization_prefix="" />-->
							<browsergameoptioncombined name="AirDropFrequency" title="goAirDropFrequency" value_wrap="false" values="0, 24, 72, 168" display_names="goDisabled" value_localization_prefix="goAirDropValue" />
							<browsergameoptioncombined name="AirDropMarker" title="goMarkAirDrops" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="BiomeProgression" title="goBiomeProgression" value_wrap="false" value_type="bool" values="" display_names="" value_localization_prefix="" />
							<browsergameoptioncombined name="StormFreq" title="goStormFreq" value_wrap="false" value_type="int" values="0, 50, 100, 150, 200, 300, 400, 500" display_names="" value_localization_prefix="goBlockDamageValue" />
						</grid>
					</rect>

					<rect controller="TabSelectorTab" tab_key="xuiGameSettingsAdvanced">
						<grid pos="8,-40" rows="14" cell_width="725" cell_height="45" repeat_content="false" arrangement="vertical" >
							<browsergameoptioncombined name="BlockDamagePlayer" title="goBlockDamagePlayer" value_wrap="false" value_type="int" values="25, 50, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goBlockDamageValue" />
							<browsergameoptioncombined name="BlockDamageAI" title="goBlockDamageAI" value_wrap="false" value_type="int" values="25, 33, 50, 67, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goBlockDamageValue" />
							<browsergameoptioncombined name="BlockDamageAIBM" title="goBlockDamageAIBM" value_wrap="false" value_type="int" values="25, 33, 50, 67, 75, 100, 125, 150, 175, 200, 300" display_names="" value_localization_prefix="goBlockDamageValue" />
							<browsergameoptioncombined name="LootAbundance" title="goLootAbundance" value_wrap="false" values="25, 33, 50, 67, 75, 100, 150, 200" display_names="" value_localization_prefix="goLootAbundanceValue" />
							<browsergameoptioncombined name="LootRespawnDays" title="goLootRespawnDays" value_wrap="false" values="-1, 5, 7, 10, 15, 20, 30, 40, 50" display_names="goDisabled" value_localization_prefix="goLootRespawnDaysValue" />
							<browsergameoptioncombined name="MaxChunkAge" title="goMaxChunkAge" value_wrap="false" values="-1, 10, 20, 30, 40, 50, 75, 100" display_names="goDisabled" value_localization_prefix="goDay" />
							<browsergameoptioncombined name="DeathPenalty" title="goDeathPenalty" value_wrap="false" values="" display_names="goNone,goXPOnly,goInjured,goPermaDeath" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="DropOnDeath" title="goDropOnDeath" value_wrap="false" values="" display_names="goNone,goAll,goToolbelt,goBackpack,goDeleteAll" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="DropOnQuit" title="goDropOnQuit" value_wrap="false" values="" display_names="goNone,goAll,goToolbelt,goBackpack" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="EnemySpawnMode" title="goEnemySpawn" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" />
							
							<!--BuildCreate browsergameoptioncombineds, some are for console platforms.-->
							<browsergameoptioncombined name="BuildCreate" title="goBuildCreate" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" platform="!PS5,!XBOX"/>
							<browsergameoptioncombined name="BuildCreate" title="goBuildCreate" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" tooltip_key="goBuildCreateServerBrowserDescPS5" platform="PS5"/>
							<browsergameoptioncombined name="BuildCreate" title="goBuildCreate" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" tooltip_key="goBuildCreateServerBrowserDescXBOX" platform="XBOX"/>
							
							<browsergameoptioncombined name="QuestProgressionDailyLimit" title="goQuestProgressionDailyLimit" value_wrap="false" values="-1, 1, 2, 3, 4, 5, 6, 7, 8" display_names="goUnlimited"/>

							<browsergameoptioncombined name="MaxSpawnedZombies" title="goMaxSpawnedZombies" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="true" force_custom="true" />
							<browsergameoptioncombined name="MaxSpawnedAnimals" title="goMaxSpawnedAnimals" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="true" force_custom="true" />
						</grid>
					</rect>
					
					<rect controller="TabSelectorTab" tab_key="xuiGameSettingsMultiplayer">
						<grid pos="8,-40" rows="14" cell_width="725" cell_height="45" repeat_content="false" arrangement="vertical" >
							<browsergameoptioncombined name="PlayerKillingMode" title="goPlayerKillingMode" value_wrap="false" values="" display_names="goPlayerKillingModeNoKilling,goPlayerKillingModeKillAlliesOnly,goPlayerKillingModeKillStrangersOnly,goPlayerKillingModeKillEveryone" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="LandClaimSize" title="goLandClaimSize" value_wrap="false" values="21, 31, 41, 51, 71" display_names="" value_localization_prefix="goLandClaimSizeValue" />
							<rect/>
							<browsergameoptioncombined name="LandClaimExpiryTime" title="goLandClaimExpiryTime" value_wrap="false" values="1, 2, 3, 4, 5, 7, 10, 30" display_names="" value_localization_prefix="goLandClaimExpiryTimeValue" />
							<browsergameoptioncombined name="LandClaimDecayMode" title="goLandClaimDecayMode" value_wrap="false" values="" display_names="goLandClaimDecayModeSlow,goLandClaimDecayModeFast,goLandClaimDecayModeNone" value_localization_prefix="" allow_custom="false" />
							<browsergameoptioncombined name="LandClaimOnlineDurabilityModifier" title="goLandClaimOnlineDurabilityModifier" value_wrap="false" values="0, 1, 2, 4, 8, 16, 32, 64, 128, 256" display_names="goInfinite" value_localization_prefix="goLandClaimOnlineDurabilityModifierValue" />
							<browsergameoptioncombined name="LandClaimOfflineDurabilityModifier" title="goLandClaimOfflineDurabilityModifier" value_wrap="false" values="0, 1, 2, 4, 8, 16, 32, 64, 128, 256" display_names="goInfinite" value_localization_prefix="goLandClaimOfflineDurabilityModifierValue" />
							<browsergameoptioncombined name="LandClaimOfflineDelay" title="goLandClaimOfflineDelay" value_wrap="false" values="0, 1, 5, 10, 20, 30, 60" display_names="" value_localization_prefix="goMinute" />
							<rect/>
							<browsergameoptioncombined name="BedrollExpiryTime" title="goBedrollExpiryTime" value_wrap="false" values="3, 7, 15, 30, 45, 60" display_names="" value_localization_prefix="goLandClaimExpiryTimeValue" />
							<browsergameoptioncombined name="PartySharedKillRange" title="goPartySharedKillRange" value_wrap="false" values="0, 100, 500, 1000, 5000, 10000" display_names="goDisabled" value_localization_prefix="goPartySharedKillRangeValue" />
							<!-- <browsergameoptioncombined name="ShowFriendPlayerOnMap" title="goShowFriendPlayerOnMap" value_wrap="false" values="" display_names="" value_localization_prefix="" allow_custom="false" /> -->
						</grid>
					</rect>
					
					<!-- Stuff on all tabs -->
					<panel pos="30,-668" depth="10" width="730" height="32" disableautobackground="true">
						<label name="filterresultscaption" pos="400,-16" width="220" height="32" pivot="right" justify="right" depth="3" text_key="xuiServerFilterResults" visible="{# !isprefilteredsearch}" />
						<label name="filterresults" pos="410,-16" width="65" height="32" pivot="left" justify="left" depth="3" text="{results}" visible="{# !isprefilteredsearch}" />
						<simplebutton name="btnResetFilters" depth="3" pos="485, 0" width="200" height="32" pivot="left" font_size="30" caption_key="xuiServerFiltersReset" upper_case="true" />
					</panel>

				</rect>
			</panel>
		
			<rect name="windowbuttons" pos="0, -820" visible="{isprefilteredsearch}">
				<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
				<simplebutton name="btnDirectConnect"  platform="!SUBMISSION" depth="3" pos="280, 0" pivot="left" width="200" height="48" font_size="32" caption_key="xuiServerBrowserDirectConnect" upper_case="true" />
				<simplebutton name="btnStartSearch" depth="3" pos="730, 0" pivot="right" width="230" height="48" font_size="32" caption_key="xuiServerStartSearch" parse_actions="true" />
			</rect>
		</panel>

		<panel name="pnlEacNeeded" depth="12000" createuipanel="true" disableautobackground="true" visible="{eacneededvisible}">
			<panel name="outclick" pos="-2000,2000" width="8000" height="8000" depth="1" createuipanel="true" on_press="true" disableautobackground="true" gamepad_selectable="false">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="30,30,30,160" type="sliced" fillcenter="true" />
			</panel>
			
			<panel name="noclick" depth="2" createuipanel="true" on_press="true" pos="430,-280" width="440" height="290" clipping="softclip" clippingsoftness="20,20" disableautobackground="true" gamepad_selectable="false">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,190" type="sliced" fillcenter="true" />
			</panel>

			<panel name="header" pos="450,-300" width="400" height="43" depth="3" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" createuipanel="true" >
				<label style="header.name" pos="6,-6" text_key="xuiServerEacNeeded" />
			</panel>
			<panel name="content" pos="450,-346" width="400" height="160" depth="3" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center" createuipanel="true" >
				<label depth="3" name="lbl" pos="10,-6" width="380" height="155" text_key="xuiServerEacNeededText" font_size="28" overflow="resizeheight" upper_case="false" />
			</panel>
			
			<panel name="buttons" pos="450,-510" height="32" depth="3" borderthickness="3" createuipanel="true" disableautobackground="true" >
				<simplebutton name="btnOk" depth="3" pos="400, 0" pivot="right" width="180" height="36" font_size="32" caption_key="xuiOk" upper_case="true" />
			</panel>
		</panel>

		<panel name="pnlDirectConnect" platform="!SUBMISSION" depth="12000" createuipanel="true" disableautobackground="true" controller="ServerBrowserDirectConnect">
			<panel name="outclick" pos="-2000,2000" width="8000" height="8000" depth="1" createuipanel="true" on_press="true" disableautobackground="true" gamepad_selectable="false">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="30,30,30,160" type="sliced" fillcenter="true" />
			</panel>
			
			<panel name="noclick" depth="2" createuipanel="true" on_press="true" pos="430,-280" width="440" height="240" clipping="softclip" clippingsoftness="20,20" disableautobackground="true" gamepad_selectable="false">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,50" type="sliced" fillcenter="true" />
			</panel>

			<panel name="header" pos="450,-300" width="400" height="43" depth="3" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" createuipanel="true" >
				<label style="header.name" pos="6,-6" text_key="xuiServerBrowserDirectConnectTitle" />
			</panel>
			<panel name="content" pos="450,-346" width="400" height="110" depth="3" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center" createuipanel="true" >
				<label depth="3" name="lblIp" pos="100,-30" width="90" height="30" text_key="xuiServerBrowserIp" font_size="28" pivot="right" justify="right" overflow="resizeheight" />
				<textfield name="txtIp" depth="5" pos="110,-15" width="280" height="30" />
				<label depth="3" name="lblPort" pos="100,-75" width="90" height="30" text_key="xuiServerBrowserPort" font_size="28" pivot="right" justify="right" overflow="resizeheight" />
				<textfield name="txtPort" depth="5" pos="110,-60" width="280" height="30" validation="integer" />
			</panel>
			
			<panel name="buttons" pos="450,-460" height="32" depth="3" borderthickness="3" createuipanel="true" disableautobackground="true" >
				<simplebutton name="btnCancel" depth="3" pos="0, 0" pivot="left" width="180" height="36" font_size="32" caption_key="xuiCancel" upper_case="true" />
				<simplebutton name="btnDirectConnectConnect" depth="3" pos="400, 0" pivot="right" width="180" height="36" font_size="32" caption_key="xuiServerBrowserConnect" upper_case="true" />
			</panel>
		</panel>
	</window>
	
	<window name="serverPassword" anchor="CenterCenter" pos="-200,100" width="400" height="200" controller="ServerPasswordWindow" cursor_area="true">
		<panel depth="20000" createuipanel="true" disableautobackground="true">
			<panel name="outclick" pos="-2000,2000" width="8000" height="8000" depth="1" createuipanel="true" on_press="true" disableautobackground="true" gamepad_selectable="false">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="30,30,30,160" type="sliced" fillcenter="true" />
			</panel>
			
			<panel name="noclick" depth="2" createuipanel="true" on_press="true" pos="-20,20" width="440" height="240" clipping="softclip" clippingsoftness="20,20" disableautobackground="true" gamepad_selectable="false">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,50" type="sliced" fillcenter="true" />
			</panel>

			<panel name="header" pos="0,0" height="43" depth="3" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" createuipanel="true" >
				<label style="header.name" pos="6,-6" width="550" text_key="xuiServerPassword" />
			</panel>
			<panel name="content" pos="0,-46" height="94" depth="3" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center" createuipanel="true" >
				<label depth="3" name="lblPassNormal" pos="10,-6" width="380" text_key="xuiServerPasswordNormal" font_size="28" overflow="resizeheight" upper_case="false" />
				<label depth="3" name="lblPassIncorrect" pos="10,-6" width="380" text_key="xuiServerPasswordIncorrect" font_size="28" overflow="resizeheight" upper_case="false" />
				<textfield name="txtPassword" depth="5" pos="50,-45" width="295" height="30" pivot="topLeft" password_field="true" open_vk_on_open="false" character_limit="30" />
			</panel>
			
			<panel name="buttons" pos="0,-147" height="32" depth="3" borderthickness="3" createuipanel="true" disableautobackground="true" >
				<simplebutton name="btnCancel" depth="3" pos="0, 0" pivot="left" width="180" height="36" font_size="32" caption_key="xuiCancel" upper_case="true" />
				<simplebutton name="btnSubmit" depth="3" pos="400, 0" pivot="right" width="180" height="36" font_size="32" caption_key="xuiSubmit" upper_case="true" />
			</panel>
		</panel>
	</window>

	<window name="optionsMenu" anchor="CenterCenter" pos="0,160" width="1050" height="780" controller="OptionsMenu" cursor_area="true">
		<grid name="optionsButtons" pos="0,0" rows="13" cell_width="400" cell_height="70" repeat_content="false" arrangement="vertical" >
			<mainmenubutton name="btnGeneral" pivot="center" width="400" height="50" caption_key="xuiBtnOptionsGeneral" />
			<mainmenubutton name="btnVideo" pivot="center" width="400" height="50" caption_key="xuiBtnOptionsVideo" />
			<mainmenubutton name="btnAudio" pivot="center" width="400" height="50" caption_key="xuiBtnOptionsAudio" />
			<mainmenubutton name="btnControls" pivot="center" width="400" height="50" caption_key="xuiBtnOptionsKeyboard" />
			<mainmenubutton name="btnController" pivot="center" width="400" height="50" caption_key="xuiBtnOptionsController" />
			<mainmenubutton name="btnProfiles" pivot="center" width="400" height="50" caption_key="xuiBtnOptionsProfiles" visible="{notingame}" />
			<mainmenubutton name="btnBlockList" pivot="center" width="400" height="50" caption_key="xuiBlockedPlayers" visible="{# showblocklist and notingame}" />
			<mainmenubutton name="btnAccount" pivot="center" width="400" height="50" caption_key="xuiBtnOptionsAccount" visible="{notreleaseingame}" />
			<mainmenubutton name="btnTwitch" pivot="center" width="400" height="50" caption_key="xuiBtnOptionsTwitch" visible="{ingamenoteditor}" />
			<rect />
			<mainmenubutton name="btnBack" pivot="center" width="400" height="50" caption_key="xuiBack" visible="{ingame}" />
		</grid>
		
		<widget anchor_left="#bottomleft,0,40" anchor_bottom="#bottomleft,0,80" anchor_right="#bottomleft,0,50" anchor_top="#bottomleft,0,90" pivot="bottomleft">
			<mainmenubutton name="btnBack" pivot="left" width="200" height="50" caption_key="xuiBack" visible="{notingame}" />
		</widget>
	</window>

	<window name="optionsGeneral" anchor="CenterCenter" pos="-700,425" width="1400" height="820" controller="OptionsGeneral" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="750" text_key="xuiOptionsGeneral" />
		</panel>
		
		<panel name="content" pos="0,-50" height="700" depth="1" backgroundcolor="[mediumGrey]" bordercolor="[black]" borderthickness="3" pivot="topleft">

			<grid pos="8,-20" rows="14" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >
				<generaloption name="Language" type="ComboBoxList`1[XUiC_OptionsGeneral+LanguageInfo]" value_wrap="false" width="900" />
				<generaloption name="UseEnglishCompass" type="ComboBoxBool" localization_prefix="xuiComboYesNo" width="900" />
			
				<generaloption name="TempCelsius" type="ComboBoxBool" localization_prefix="xuiBoolCelsius" width="900" />

				<generaloption name="DisableXmlEvents" type="ComboBoxBool" localization_prefix="xuiComboYesNo" width="900" />
				
				
				<generaloption name="QuestsAutoShare" type="ComboBoxBool" localization_prefix="xuiComboYesNo" width="900" />
				<generaloption name="QuestsAutoAccept" type="ComboBoxBool" localization_prefix="xuiComboYesNo" width="900" />

				<generaloption name="AutoParty" type="ComboBoxBool" localization_prefix="xuiComboOnOff" width="900" />
				<generaloption name="ChatComms" type="ComboBoxBool" localization_prefix="xuiComboOnOff" width="900" />
				<generaloption name="Crossplay" type="ComboBoxBool" localization_prefix="xuiComboOnOff" width="900" tooltip_key="{crossplayTooltip}"/>
				<generaloption name="ShowConsoleButton" type="ComboBoxBool" localization_prefix="xuiComboOnOff" width="900" />
			</grid>
			<simplebutton name="btnEula" pos="397, -505" width="477" height="48" font_size="32" caption_key="xuiEula"/>
			<simplebutton name="btnBugReport" pos="397, -565" width="477" height="48" font_size="32" caption_key="xuiBugReportHeader" visible="{bug_reporting}"/>
		</panel>

		<rect pos="0, -770">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
			<simplebutton name="btnDefaults" depth="3" pos="1160, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiDefaults" upper_case="true" />
			<simplebutton name="btnApply" depth="3" pos="1400, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiApply" parse_actions="true"/>
		</rect>
	</window>
	
	<window name="optionsVideo" anchor="CenterCenter" pos="-700,425" width="1400" height="820" controller="OptionsVideo" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="750" text_key="xuiOptionsVideo" />
		</panel>
		
		<rect name="tabs" controller="TabSelector" pos="0,-50" height="700" select_tab_contents_on_open="true">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />

			<rect name="tabsHeader" height="39" depth="0">
				<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
				
				<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="4" cell_width="200" cell_height="36" repeat_content="true" arrangement="horizontal">
					<rect controller="TabSelectorButton">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
				</grid>
			</rect>
			
			<rect name="tabsContents" depth="2" pos="0,-37" height="661">
				<sprite depth="0" pos="2,0" width="1396" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />
			
				<rect controller="TabSelectorTab" tab_key="xuiOptionsVideoDisplay">
					<grid pos="8,-40" rows="14" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >
						<videooption name="Resolution" type="ComboBoxList`1[XUiC_OptionsVideo+ResolutionInfo]" value_wrap="false" />

						<videooption name="Fullscreen" type="ComboBoxList`1[System.String]" values="Off,On,Exclusive" localization_prefix="xuiOptionsVideoFullscreen" value_wrap="false" />

						<videooption name="Upscaler" type="ComboBoxList`1[System.String]" values="Off,Dynamic,Scale,FSR3,DLSS" localization_prefix="xuiOptionsVideoUpscaler" value_wrap="false" />
						
						<rect visible="{upscaler_mode_dynamic}">
							<videooption name="DyMinFPS" type="ComboBoxInt" value_increment="5" value_wrap="false" />
						</rect>
						<rect visible="{upscaler_mode_scale}">
							<videooption name="DyScale" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />
						</rect>
						<rect name="upscaler_mode_fsr" visible="{upscaler_mode_fsr}">
							<videooption name="FSRPreset" type="ComboBoxList`1[System.String]" values="UltraPerformance,Performance,Balanced,Quality,UltraQuality,NativeAA" localization_prefix="xuiOptionsVideoFSRPreset" value_wrap="false" format_string="0%" />
						</rect>
						<rect name="upscaler_mode_dlss" visible="{upscaler_mode_dlss}">
							<videooption name="DLSSPreset" type="ComboBoxList`1[System.String]" values="UltraPerformance,Performance,Balanced,Quality,UltraQuality,DLAA" localization_prefix="xuiOptionsVideoFSRPreset" value_wrap="false" format_string="0%" />
						</rect>

						<videooption name="VSync" type="ComboBoxList`1[System.String]" values="Off,On,Half" localization_prefix="xuiOptionsVideoVsync" value_wrap="false" />

						<rect>
							<videooption name="Brightness" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />
							<simplebutton name="btnDefaultBrightness" depth="3" pos="675, 0" pivot="left" width="150" height="32" font_size="28" caption_key="xuiDefault" />
						</rect>

						<videooption name="defaultCamera" type="ComboBoxList`1[System.String]" values="FirstPerson, ThirdPerson" localization_prefix="xuiOptionsVideoCameraMode" value_wrap="false" />
						<rect>
							<videooption name="FieldOfView" type="ComboBoxInt" value_increment="2" value_wrap="false" />
							<simplebutton name="btnDefaultFOV" depth="3" pos="675, 0" pivot="left" width="150" height="32" font_size="28" caption_key="xuiDefault" />
						</rect>						
						
						<rect>
							<videooption name="FieldOfView3P" type="ComboBoxInt" value_increment="2" value_wrap="false" />
							<simplebutton name="btnDefaultFOV3P" depth="3" pos="675, 0" pivot="left" width="150" height="32" font_size="28" caption_key="xuiDefault" />
						</rect>

						<videooption name="3PCameraMode" type="ComboBoxList`1[System.String]" values="Free,Locked,Ranged" localization_prefix="xuiOptions3PCameraMode" value_wrap="false"  />
						<rect>
							<videooption name="CameraDistance3P" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%"/>
							<simplebutton name="btnDefaultCameraDistance" depth="3" pos="675, 0" pivot="left" width="150" height="32" font_size="28" caption_key="xuiDefault" />
						</rect>

					</grid>
				</rect>

				<rect controller="TabSelectorTab" tab_key="xuiOptionsVideoQuality">
					<videooption pos="8,-40" name="QualityPreset" type="ComboBoxList`1[System.String]" values="Lowest,Low,Medium,High,Ultra,Custom" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />

					<grid pos="8,-98" rows="13" cell_width="700" cell_height="40" repeat_content="false" arrangement="vertical" >
						<videooption name="AntiAliasing" type="ComboBoxList`1[System.String]" values="Off,Low,Medium,High,Temporal" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />
						<videooption name="AntiAliasingSharp" type="ComboBoxFloat" value_increment="0.10" value_wrap="false" format_string="0%" />

						<rect>
							<videooption name="TextureQuality" type="ComboBoxList`1[System.String]" values="Full,Half,Quarter,Eighth" localization_prefix="xuiOptionsVideoTexQuality" value_wrap="false" reverse_list="true" />
							<sprite depth="8" sprite="ui_game_symbol_info_notice" pos="655,0" width="32" height="32" color="[white]" visible="{texture_quality_limited}" tooltip_key="xuiTextureQualityLimited" />
						</rect>

						<videooption name="TextureFilter" type="ComboBoxList`1[System.String]" values="Low,Medium,High,Ultra,Ultra+" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />

						<rect />

						<videooption name="ReflectionQuality" type="ComboBoxList`1[System.String]" values="Off,Low,Medium,High,Ultra,Ultra+" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />
						<videooption name="ReflectedShadows" type="ComboBoxBool" localization_prefix="xuiComboOnOff" />

						<videooption name="ShadowsDistance" type="ComboBoxList`1[System.String]" values="Low,Medium,High,Ultra,Ultra+" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />
						<videooption name="ShadowsQuality" type="ComboBoxList`1[System.String]" values="Off,Low,Medium,High,Ultra,Ultra+" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />

						<videooption name="Particles" type="ComboBoxFloat" value_increment="0.10" value_wrap="false" format_string="0%" />

						<videooption name="ViewDistance" type="ComboBoxList`1[System.String]" values="Low,Medium,High" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />

						<videooption name="LODDistance" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />

						<rect />

						<videooption name="TerrainQuality" type="ComboBoxList`1[System.String]" values="Lowest,Low,Medium,High,Ultra" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />
						<videooption name="WaterQuality" type="ComboBoxList`1[System.String]" values="Low,High" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />
						<videooption name="GrassDistance" type="ComboBoxList`1[System.String]" values="Lowest,Low,Medium,High" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />
						<videooption name="ObjectQuality" type="ComboBoxList`1[System.String]" values="Lowest,Low,Medium,High,Ultra" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />
						<videooption name="Occlusion" type="ComboBoxBool" localization_prefix="xuiComboOnOff" />

						<rect />

						<!-- Image Effects -->

						<videooption name="Bloom" type="ComboBoxBool" localization_prefix="xuiComboOnOff" />
						<!--<videooption name="DepthOfField" type="ComboBoxBool" localization_prefix="xuiComboOnOff" />-->
						<videooption name="MotionBlur" type="ComboBoxList`1[System.String]" values="Off,Simple,Normal" localization_prefix="xuiOptionsVideoComplexity" value_wrap="false" />
						<videooption name="SSAO" type="ComboBoxBool" localization_prefix="xuiComboOnOff" />
						<videooption name="SSReflections" type="ComboBoxList`1[System.String]" values="Off,Low,Medium,High,Ultra" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />
						<videooption name="SunShafts" type="ComboBoxBool" localization_prefix="xuiComboOnOff" />

					</grid>
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="xuiOptionsVideoUI">
					<grid pos="8,-40" rows="14" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >
						<videooption name="UIBackgroundOpacity" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />

						<videooption name="UIForegroundOpacity" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />

						<rect>
							<videooption name="UiSize" type="ComboBoxFloat" value_increment="0.02" value_wrap="false" format_string="0%" />
							<sprite depth="8" sprite="ui_game_symbol_info_notice" pos="655,0" width="32" height="32" color="[white]" visible="{ui_size_limited}" on_hover="true" tooltip="{# format(localization('xuiUiSizeLimitedForAspectRatio'), float(ui_size_limit)) }" />
						</rect>
						
						<videooption name="ScreenBounds" type="ComboBoxFloat" value_increment="0.02" value_wrap="false" format_string="0%" />
						
						<videooption name="UiFpsScaling" type="ComboBoxFloat" value_min="0.6" value_max="2.0" value_increment="0.2" value_wrap="false" format_string="0%" />
					</grid>
				</rect>

				<rect controller="TabSelectorTab" tab_key="xuiOptionsDynamicMesh">
					<grid pos="8,-40" rows="14" cell_width="700" cell_height="40" repeat_content="false" arrangement="vertical" >
						<videooption name="DynamicMeshEnabled" type="ComboBoxBool" value_wrap="false" value_type="bool" values="" value_localization_prefix="" />
						<videooption name="DynamicMeshDistance" type="ComboBoxList`1[System.Int32]" value_wrap="false" value_type="int" values="100,500,1000,1500,2000" value_localization_prefix="" />
						<videooption name="DynamicMeshHighQualityMesh" type="ComboBoxBool" value_wrap="false" value_type="bool" values="" value_localization_prefix="" />
						<videooption name="DynamicMeshLandClaimOnly" type="ComboBoxBool" value_wrap="false" value_type="bool" values="" value_localization_prefix="" />
						<videooption name="DynamicMeshLandClaimBuffer" type="ComboBoxList`1[System.Int32]" value_wrap="false" value_type="int" values="1,2,3,4,5,6" value_localization_prefix="" />
						<videooption name="DynamicMeshMaxRegionLoads" type="ComboBoxList`1[System.Int32]" value_wrap="false" value_type="int" values="1,2,3" value_localization_prefix="" />
						<videooption name="DynamicMeshMaxMeshCache" type="ComboBoxList`1[System.Int32]" value_wrap="false" value_type="int" values="1,2,3,4,5,6" value_localization_prefix="" />
					</grid>
				</rect>
			</rect>
		</rect>

		<rect pos="0, -770">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
			<simplebutton name="btnDefaults" depth="3" pos="1160, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiDefaults" visible="{isTabUi}" upper_case="true" />
			<simplebutton name="btnApply" depth="3" pos="1400, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiApply" parse_actions="true" />
		</rect>
	</window>
	
	<window name="optionsVideoSimplified" anchor="CenterCenter" pos="-700,425" width="1400" height="820" controller="OptionsVideoSimplified" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="750" text_key="xuiOptionsVideo" />
		</panel>
		
		<rect name="tabs" controller="TabSelector" pos="0,-50" height="700" select_tab_contents_on_open="true">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />

			<rect name="tabsHeader" height="39" depth="0">
				<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true"/>
				
				<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="2" cell_width="200" cell_height="36" repeat_content="true" arrangement="horizontal">
					<rect controller="TabSelectorButton">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
				</grid>
			</rect>
			
			<rect name="tabsContents" depth="2" pos="0,-37" height="661">
				<sprite depth="0" pos="2,0" width="1396" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />
			
				<rect controller="TabSelectorTab" tab_key="xuiOptionsVideoDisplay">
					<grid pos="8,-40" rows="14" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >
						<rect>
							<videooption name="Brightness" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />
							<simplebutton name="btnDefaultBrightness" depth="3" pos="675, 0" pivot="left" width="150" height="32" font_size="28" caption_key="xuiDefault" />
						</rect>
						<videooption name="MotionBlurToggle" type="ComboBoxBool" values="Off,On" localization_prefix="xuiComboOnOff" />
						<videooption name="GraphicsMode" type="ComboBoxList`1[System.String]" values="ConsolePerformance, ConsoleQuality, Custom" localization_prefix="xuiOptionsVideoPresets" value_wrap="false" />
						<videooption name="ConsoleUpscaler" type="ComboBoxList`1[System.String]" values="FSR3,Scale" localization_prefix="xuiOptionsVideoUpscaler" value_wrap="false" />
						<!-- For use with FRAME_LIMIT_WIP: <videooption name="FramerateLimit" type="ComboBoxList`1[System.String]" values="Off, Half, Third, Quarter" value_wrap="false" /> -->

						<videooption name="defaultCamera" type="ComboBoxList`1[System.String]" values="FirstPerson, ThirdPerson" localization_prefix="xuiOptionsVideoCameraMode" value_wrap="false" />
						<rect>
							<videooption name="FieldOfViewSimplified" type="ComboBoxInt" value_increment="2" value_wrap="false" />
							<simplebutton name="btnDefaultFOV" depth="3" pos="675, 0" pivot="left" width="150" height="32" font_size="28" caption_key="xuiDefault" />
						</rect>

						<rect>
							<videooption name="FieldOfView3P" type="ComboBoxInt" value_increment="2" value_wrap="false" />
							<simplebutton name="btnDefaultFOV3P" depth="3" pos="675, 0" pivot="left" width="150" height="32" font_size="28" caption_key="xuiDefault" />
						</rect>

						<videooption name="3PCameraMode" type="ComboBoxList`1[System.String]" values="Free,Locked,Ranged" localization_prefix="xuiOptions3PCameraMode" value_wrap="false" format_string="0%" />
						<rect>
							<videooption name="CameraDistance3P" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%"/>
							<simplebutton name="btnDefaultCameraDistance" depth="3" pos="675, 0" pivot="left" width="150" height="32" font_size="28" caption_key="xuiDefault" />
						</rect>
						

					</grid>
				</rect>			
				
				<rect controller="TabSelectorTab" tab_key="xuiOptionsVideoUI">
					<grid pos="8,-40" rows="14" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >
						<videooption name="UIBackgroundOpacity" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />

						<videooption name="UIForegroundOpacity" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />

						<rect>
							<videooption name="UiSize" type="ComboBoxFloat" value_increment="0.02" value_wrap="false" format_string="0%" />
							<sprite depth="8" sprite="ui_game_symbol_info_notice" pos="655,0" width="32" height="32" color="[white]" visible="{ui_size_limited}" on_hover="true" tooltip="{# format(localization('xuiUiSizeLimitedForAspectRatio'), float(ui_size_limit)) }" />
						</rect>
						
						<videooption name="ScreenBounds" type="ComboBoxFloat" value_increment="0.02" value_wrap="false" format_string="0%" />
					</grid>
				</rect>
			</rect>
		</rect>

		<rect pos="0, -770">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
			<simplebutton name="btnDefaults" depth="3" pos="1160, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiDefaults" visible="{isTabUi}" upper_case="true" />
			<simplebutton name="btnApply" depth="3" pos="1400, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiApply" parse_actions="true" />
		</rect>
	</window>
	
	<window name="optionsAudio" anchor="CenterCenter" pos="-700,425" width="1400" height="820" controller="OptionsAudio" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="750" text_key="xuiOptionsAudio" />
		</panel>
		
		<rect name="tabs" controller="TabSelector" pos="0,-50" height="700" select_tab_contents_on_open="true">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />

			<rect name="tabsHeader" height="39" depth="0">
				<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
				
				<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="4" cell_width="200" cell_height="36" repeat_content="true" arrangement="horizontal">
					<rect controller="TabSelectorButton">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
				</grid>
			</rect>
			
			<rect name="tabsContents" depth="2" pos="0,-37" height="661">
				<sprite depth="0" pos="2,0" width="1396" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />
			
				<rect controller="TabSelectorTab" tab_key="xuiOptionsAudioGame">
					<grid pos="8,-20" rows="14" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >
						<audiooption name="OverallAudioVolumeLevel" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />

						<audiooption name="AmbientVolumeLevel" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />

						<audiooption name="InGameMusicVolumeLevel" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />
						<audiooption name="MenuMusicVolumeLevel" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" visible="{notingame}" />

						<audiooption name="DynamicMusicEnabled" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						<audiooption name="DynamicMusicDailyTimeAllotted" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" />

						<rect />

						<audiooption name="SubtitlesEnabled" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						<audiooption name="ProfanityFilter" type="ComboBoxBool" localization_prefix="xuiComboYesNo"/>

						<rect />
					</grid>
				</rect>

				<rect controller="TabSelectorTab" tab_key="xuiOptionsAudioGameVoice" tab_visible="{# (commsallowed and voiceavailable) or !is_console }">
					<grid pos="8,-20" rows="14" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >
						<audiooption name="MumblePositionalAudioSupportEnabled" type="ComboBoxBool" localization_prefix="xuiComboYesNo" platform="!CONSOLE" />
						<rect />
						<audiooption name="VoiceChatEnabled" type="ComboBoxBool" localization_prefix="xuiComboYesNo" visible="{# commsallowed and voiceavailable}" />
						<audiooption name="VoiceOutputDevice" type="ComboBoxList`1[Platform.IPartyVoice+VoiceAudioDevice]" value_wrap="false" visible="{# commsallowed and voiceavailable}" platform="!PS5" />
						<audiooption name="VoiceInputDevice" type="ComboBoxList`1[Platform.IPartyVoice+VoiceAudioDevice]" value_wrap="false" visible="{# commsallowed and voiceavailable}" platform="!PS5" />
						<audiooption name="VoiceVolumeLevel" type="ComboBoxFloat" value_increment="0.05" value_max="2" value_wrap="false" format_string="0%" visible="{# commsallowed and voiceavailable}" />

						<!-- <audiooption name="MicVolumeLevel" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0%" visible="{commsallowed}" /> -->
					</grid>
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="xuiOptionsAudioDiscord" tab_visible="{# is_online and commsallowed and multiplayerallowed }">
					<grid pos="8,-20" rows="14" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >
						<audiooption name="DiscordEnabled" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						
						<panel width="1384" height="120" backgroundcolor="[transparent]" borderspritename="menu_empty2px" bordercolor="[black]" borderthickness="0" borderinset="0,80" padding="10,90" visible="{# discord_enabled and !discord_is_ready }">
							<label height="40" text_key="xuiOptionsAudioDiscordFurtherOptionsWhenInitialized" />
							<simplebutton name="btnDiscordInitialize" pos="0,-60" width="300" height="40" caption_key="xuiOptionsAudioDiscordInitializeNow" />
						</panel>
						
						<rect visible="{# discordinitialized and discord_supports_full_accounts and discord_supports_provisional_accounts}">
							<discord_button name="btnDiscordLinkAccount" pos="389,-10" width="350" height="44" caption_key="xuiOptionsAudioDiscordLinkAccount" visible="{# discord_is_ready and !discordaccountlinked}" />
							<discord_button name="btnDiscordUnlinkAccount" pos="389,-10" width="350" height="44" caption_key="xuiOptionsAudioDiscordUnlinkAccount" visible="{# discord_is_ready and discordaccountlinked}" gradient_start="135,135,135" gradient_end="116,116,116" />
						</rect>
						<rect visible="{# discordinitialized and discord_supports_full_accounts and discord_supports_provisional_accounts}">
							<!-- just reserving a second grid entry so that the above buttons properly fit in the space -->
						</rect>
						
						<audiooption name="DiscordDmPrivacyMode" type="ComboBoxBool" localization_prefix="xuiComboOnOff" visible="{discord_is_ready}" />
						<audiooption name="DiscordAutoJoinVoice" type="ComboBoxEnum`1[DiscordManager+EAutoJoinVoiceMode]" value_wrap="false" localization_prefix="xuiOptionsAudioDiscordAutoJoinVoice" visible="{discord_is_ready}" />
						<audiooption name="DiscordOutputDevice" type="ComboBoxList`1[Platform.IPartyVoice+VoiceAudioDevice]" value_wrap="false" visible="{discord_is_ready}" />
						<audiooption name="DiscordOutputVolume" type="ComboBoxFloat" value_increment="0.05" value_max="2" value_wrap="false" format_string="0%" visible="{discord_is_ready}" />
						<audiooption name="DiscordInputDevice" type="ComboBoxList`1[Platform.IPartyVoice+VoiceAudioDevice]" value_wrap="false" visible="{discord_is_ready}" />
						<audiooption name="DiscordInputVolume" type="ComboBoxFloat" value_increment="0.05" value_max="2" value_wrap="false" format_string="0%" visible="{discord_is_ready}" />
						<audiooption name="DiscordVoiceButtonMode" type="ComboBoxBool" localization_prefix="xuiComboPttVa" visible="{discord_is_ready}" />
						<audiooption name="DiscordVADThresholdAuto" type="ComboBoxBool" localization_prefix="xuiComboVADThresholdAuto" visible="{discord_is_ready}" enabled="{# !discord_ptt}" />
						<rect name="VadThreshold">
							<audiooption name="DiscordVADThreshold" type="ComboBoxInt" value_increment="5" value_min="-100" value_max="0" value_wrap="false" format_string="0 'dB'" visible="{discord_is_ready}" enabled="{# !discord_ptt and discord_vad_threshold_manual}" />
							<sprite name="vadTest" pos="1350,-16" width="36" height="36" depth="2" pivot="center" on_hover="true" visible="{discord_is_ready}"
								sprite="{# discord_in_call ? 'ui_game_symbol_mic' : 'ui_game_symbol_twitch_deafen' }"
								tooltip_key="{# discord_in_call ? '' : 'xuiOptionsAudioDiscordNotInCall' }"
								color="{# discord_is_speaking ? '255,255,255,255' : '160,160,160,255' }" />
						</rect>

						<rect visible="{# discord_is_ready and discordaccountlinked }">
							<label pos="0,-20" width="350" height="40" pivot="left" justify="right" text_key="xuiOptionsAudioDiscordManageSocialLabel" tooltip_key="xuiOptionsAudioDiscordManageSocialLabelTooltip" />
							<simplebutton name="btnDiscordManageSocialSettings" pos="389,0" width="897" height="40" caption_key="xuiOptionsAudioDiscordManageSocialButton" />
						</rect>

						<rect visible="{discord_is_ready}">
							<label pos="0,-20" width="350" height="40" pivot="left" justify="right" text_key="xuiOptionsAudioDiscordManageBlockedUsers" tooltip_key="xuiOptionsAudioDiscordManageBlockedUsersTooltip" />
							<simplebutton name="btnDiscordManageBlockedUsers" pos="389,0" width="897" height="40" caption_key="xuiOptionsAudioDiscordManageBlockedUsersButton" />
						</rect>
					</grid>
				</rect>

			</rect>
		</rect>

		<rect pos="0, -770">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
			<simplebutton name="btnDefaults" depth="3" pos="1160, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiDefaults" upper_case="true" />
			<simplebutton name="btnApply" depth="3" pos="1400, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiApply"  parse_actions="true" />
		</rect>
	</window>
	
	<window name="optionsTwitch" anchor="CenterCenter" pos="-600,425" width="1200" height="820" controller="OptionsTwitch" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text="TWITCH SETTINGS" text_key="xuiTwitchSettings" />
		</panel>
		
		<rect name="tabs" controller="TabSelector" pos="0,-50" height="700" select_tab_contents_on_open="true">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />

			<rect name="tabsHeader" height="39" depth="0">
				<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
				
				<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="5" cell_width="200" cell_height="36" arrangement="horizontal">
					<rect controller="TabSelectorButton">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
					
					<rect controller="TabSelectorButton" visible="{allowactions}">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
					
					<rect controller="TabSelectorButton" visible="{allowvotes}">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
					
					<rect controller="TabSelectorButton" visible="{allowevents}">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
					
					<rect controller="TabSelectorButton" visible="{onlyconnected}">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="200" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="198,0" width="2" height="35" color="[black]" />
					</rect>
				</grid>
			</rect>
			
			<rect name="tabsContents" depth="2" pos="0,-37" height="661">
				<sprite depth="0" pos="2,0" width="1196" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />
			
				<rect controller="TabSelectorTab" tab_key="xuiGameSettingsGeneral">
					<grid pos="8,-40" rows="13" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
			
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchLoginTooltip" text_key="xuiOptionsTwitchLogin" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<simplebutton name="btnLoginTwitch" depth="3" pos="305,0" width="200" height="36" font_size="32" caption="{twitchbuttontext}" upper_case="true" />
						</rect>
						
						<rect width="560" height="32" visible="{notconnected}">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchOptOutTooltip" text_key="xuiOptionsTwitchOptOut" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="OptOutTwitch" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowVisualTooltip" text_key="xuiOptionsTwitchAllowVisual" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowVisual" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" visible="{connecting_standalone}">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchDeviceCodeTooltip" text_key="xuiOptionsTwitchDeviceCode" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<simplebutton name="btnShowDeviceCode" depth="3" pos="305,0" width="200" height="36" font_size="32" caption="{show_devicecode}" upper_case="true" />
						</rect>

						<rect />
						
						<rect width="560" height="32" visible="{onlyconnected}">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchIntegrationTypeTooltip" text_key="xuiOptionsTwitchIntegrationType" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox name="ActionTwitchIntegrationType" type="ComboBoxEnum`1[Twitch.TwitchManager+IntegrationSettings]" localization_prefix="xuiTwitchIntegrationOptions" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
						
						<rect width="560" height="32" visible="{onlyconnected}">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowActionsTooltip" text_key="xuiOptionsTwitchActionPreset" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowActions" type="ComboBoxList`1[System.String]" value_wrap="false" />
						</rect>
						
						<rect width="560" height="32" visible="{onlyconnected}">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowVotesTooltip" text_key="xuiOptionsTwitchVotePreset" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowVotes" type="ComboBoxList`1[System.String]" value_wrap="false" />
						</rect>
						
						<rect width="560" height="32" visible="{onlyconnected}">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchCustomEventsTooltip" text_key="xuiOptionsTwitchCustomEvents" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowEvents" type="ComboBoxList`1[System.String]" value_wrap="false" />
						</rect>
						
						<rect />
						
						<rect width="560" height="32" visible="{onlyconnected}">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchUseProgressionTooltip" text_key="xuiOptionsTwitchUseProgression" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="UseProgression" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>

						<rect width="560" height="32" visible="{onlyconnected}">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchCooldownPresetTooltip" text_key="xuiOptionsTwitchCooldownPreset" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="CooldownPreset" type="ComboBoxList`1[System.String]" value_wrap="false" />
						</rect>
						
						<rect width="560" height="32" visible="{onlyconnected}" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowCrateSharingTooltip" text_key="xuiOptionsTwitchAllowCrateSharing" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowCrateSharing" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
					
						<rect width="560" height="32" visible="{onlyconnected}">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchActionSpamDelayTooltip" text_key="xuiOptionsTwitchActionSpamDelay" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="ActionSpamDelay" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
			
					</grid>
					
					<rect pos="584,-40" width="559" height="535">
						<sprite depth="2" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
						<label depth="3" pos="9,-3" width="540" text_key="xuiOptionsTwitchInfo" visible="{notconnecting_console}" />
						<texture depth="2" pos="129,-76" width="300" height="300" name="qrCodeTex" material="Materials/Transparent Colored" globalopacity="false" visible="{connecting_console}" />
						<label depth="3" pos="9,-20" width="540" text_key="Scan the QR code to login to Twitch Integration." visible="{connecting_console}" justify="center" font_size="32" />
						<label depth="3" pos="9,-400" width="540" text_key="[DECEA3]{auth_devicecode}[-]" justify="center" visible="{connecting_console}" font_size="42" />
						<label depth="3" pos="9,-453" width="540" text_key="Alternatively you can login to Twitch here: [DECEA3]https://www.twitch.tv/activate[-]" justify="center" visible="{connecting_console}" />
					</rect>
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="xuiOptionsTwitchActions" >
					<grid pos="8,-40" rows="13" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchBloodmoonActionsTooltip" text_key="xuiOptionsTwitchBloodMoonActions" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="AllowActionsDuringBloodmoon" type="ComboBoxEnum`1[XUiC_OptionsTwitch+TwitchBloodMoonOptions]" value_wrap="false" pos="255,0" width="300" height="32" localization_prefix="xuiTwitchBloodMoonOptions" />
						</rect>
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchQuestsActionsTooltip" text_key="xuiOptionsTwitchQuestsActions" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<combobox name="AllowActionsDuringQuests" type="ComboBoxEnum`1[XUiC_OptionsTwitch+TwitchBloodMoonOptions]" value_wrap="false" pos="255,0" width="300" height="32" localization_prefix="xuiTwitchBloodMoonOptions" />
						</rect>
						
						<rect />
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchBitPricesTooltip" text_key="xuiOptionsTwitchBitPrices" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="BitPrices" type="ComboBoxList`1[System.String]" value_min=".25" value_max="1" value_increment=".25" value_wrap="false" pos="255,0" width="300" height="32" format_string="0%" reverse_list="true" usesmarkers="false" />
						</rect>
						
						<rect />
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchBitPotPercentTooltip" text_key="xuiOptionsTwitchBitPotPercent" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="BitPotPercent" type="ComboBoxList`1[System.String]" value_min=".15" value_max="1" value_increment=".05" value_wrap="false" pos="255,0" width="300" height="32" format_string="0%" reverse_list="true" usesmarkers="false" />
						</rect>
						
						<rect />
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchResetPricesTooltip" text_key="xuiOptionsTwitchResetPrices" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<simplebutton name="btnResetPrices" depth="3" pos="305, 0" width="200" height="36" font_size="32" caption_key="xuiOptionsTwitchResetPrices" upper_case="true" />
						</rect>
						
						<rect />
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchShowExtrasTooltip" text_key="xuiOptionsTwitchShowExtras" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<simplebutton name="btnShowExtras" depth="3" pos="305, 0" width="200" height="36" font_size="32" caption_key="xuiShow" upper_case="true" />
						</rect>
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchEnableAllExtrasTooltip" text_key="xuiOptionsTwitchEnableAllExtras" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<simplebutton name="btnEnableAllExtras" depth="3" pos="305, 0" width="200" height="36" font_size="32" caption_key="xuiEnable" upper_case="true" />
						</rect>
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchDisableAllExtrasTooltip" text_key="xuiOptionsTwitchDisableAllExtras" font_size="28" color="[white]" justify="right" pivot="topleft" />
							<simplebutton name="btnDisableAllExtras" depth="3" pos="305, 0" width="200" height="36" font_size="32" caption_key="xuiDisable" upper_case="true" />
						</rect>
						
						
						
						
						
					</grid>
					
					<sprite depth="2" pos="584,-30" width="559" height="200" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
					<label depth="3" pos="593,-33" width="540" height="200" text="{action_description}" />
					
					<sprite depth="2" pos="584,-235" width="559" height="200" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
					<label depth="3" pos="593,-238" width="540" height="200" text_key="xuiOptionsTwitchActionDescription" />
					
					<!-- <sprite depth="2" pos="584,-40" width="559" height="535" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" /> -->
					<!-- <label depth="3" pos="593,-43" width="540" height="535" text_key="xuiOptionsTwitchInfo" /> -->
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="TwitchInfo_Votes" >
					<grid pos="8,-40" rows="13" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
						
						<rect width="560" height="32" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowVotesDuringBloodmoonTooltip" text_key="xuiOptionsTwitchAllowVotesDuringBloodmoon" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowVotesDuringBloodmoon" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowVotesDuringQuestsTooltip" text_key="xuiOptionsTwitchAllowVotesDuringQuests" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowVotesDuringQuests" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowVotesInSafeZoneTooltip" text_key="xuiOptionsTwitchAllowVotesInSafeZone" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowVotesInSafeZone" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect />
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchViewerDefeatRewardTooltip" text_key="xuiOptionsTwitchViewerDefeatReward" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="ViewerDefeatReward" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
			
						<rect />
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchMaxDailyVotesTooltip" text_key="xuiOptionsTwitchMaxDailyVotes" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="MaxDailyVotes" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchVoteTimeTooltip" text_key="xuiOptionsTwitchVoteTime" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="VoteTime" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
						
						<rect />
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchVoteDayTimeRangeTooltip" text_key="xuiOptionsTwitchVoteDayTimeRange" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="VoteDayTimeRange" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
							
							<sprite depth="2" pos="576,0" width="559" height="33" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
							<label depth="4" pos="576,-3" width="550" height="30" style="hover" text="{votedaytimerange}" font_size="28" color="[white]" justify="center" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
						</rect>
					
					</grid>
					
					<sprite depth="2" pos="584,-30" width="559" height="200" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
					<label depth="3" pos="593,-33" width="540" height="200" text="{vote_description}" />
					
					<sprite depth="2" pos="584,-235" width="559" height="200" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
					<label depth="3" pos="593,-238" width="540" height="200" text_key="TwitchTip_VotesDesc" />
					
					<!-- <sprite depth="2" pos="584,-40" width="559" height="535" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" /> -->
					<!-- <label depth="3" pos="593,-43" width="540" height="535" text_key="xuiOptionsTwitchInfo" /> -->
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="xuiOptionsTwitchEvents" >
					<grid pos="8,-40" rows="13" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
						
						<rect width="560" height="32" visible="{hasbitevents}" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowBitEventsTooltip" text_key="xuiOptionsTwitchAllowBitEvents" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowBitEvents" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" visible="{hassubevents}" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowSubEventsTooltip" text_key="xuiOptionsTwitchAllowSubEvents" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowSubEvents" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" visible="{hasgiftsubevents}" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowGiftSubEventsTooltip" text_key="xuiOptionsTwitchAllowGiftSubEvents" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowGiftSubEvents" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" visible="{hascharityevents}" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowCharityEventsTooltip" text_key="xuiOptionsTwitchAllowCharityEvents" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowCharityEvents" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" visible="{hasraidevents}" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowRaidEventsTooltip" text_key="xuiOptionsTwitchAllowRaidEvents" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowRaidEvents" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" visible="{hashypetrainevents}" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowHypeTrainEventsTooltip" text_key="xuiOptionsTwitchAllowHypeTrainEvents" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowHypeTrainEvents" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" visible="{hascreatorgoalevents}" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowCreatorGoalEventsTooltip" text_key="xuiOptionsTwitchAllowCreatorGoalEvents" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowCreatorGoalEvents" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
						
						<rect width="560" height="32" visible="{haschannelpointevents}" >
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchAllowChannelPointRedeemEventsTooltip" text_key="xuiOptionsTwitchAllowChannelPointRedeemEvents" font_size="28" color="[white]" justify="right" pivot="topleft" /> 
							<combobox pos="255,0" width="300" height="32" name="AllowChannelPointRedeemEvents" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />
						</rect>
					
					</grid>
					
					<sprite depth="2" pos="584,-30" width="559" height="200" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
					<label depth="3" pos="593,-33" width="540" height="200" text="{event_description}" />
					
					<sprite depth="2" pos="584,-235" width="559" height="200" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
					<label depth="3" pos="593,-238" width="540" height="200" text_key="xuiOptionsTwitchEventDescription" />
					
					<!-- <sprite depth="2" pos="584,-40" width="559" height="535" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" /> -->
					<!-- <label depth="3" pos="593,-43" width="540" height="535" text_key="xuiOptionsTwitchInfo" /> -->
				</rect>
				
				<rect controller="TabSelectorTab" tab_key="xuiOptionsTwitchPoints" >
					<grid pos="8,-40" rows="13" cell_width="525" cell_height="45" repeat_content="false" arrangement="vertical" >
			
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchViewerStartingPointsTooltip" text_key="xuiOptionsTwitchViewerStartingPoints" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="ViewerStartingPoints" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
			
			
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchFreePointsTooltip" text_key="xuiOptionsTwitchFreePoints" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="PointGeneration" type="ComboBoxEnum`1[XUiC_OptionsTwitch+PointsGenerationOptions]" value_wrap="false" pos="255,0" width="300" height="32" localization_prefix="xuiTwitchPointGeneration" />
						</rect>
			
						<rect />
			
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchHelperRewardAmountTooltip" text_key="xuiOptionsTwitchHelperRewardAmount" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="HelperRewardAmount" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchHelperRewardIntervalTooltip" text_key="xuiOptionsTwitchHelperRewardInterval" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="HelperRewardTime" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
						
						<rect />
			
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchBitPointsAddTooltip" text_key="xuiOptionsTwitchBitPointsAdd" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="BitPointsAdd" type="ComboBoxEnum`1[XUiC_OptionsTwitch+BitAddOptions]" value_wrap="false" pos="255,0" width="300" height="32" localization_prefix="xuiTwitchPointGeneration" />
						</rect>
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchRaidPointsAddTooltip" text_key="xuiOptionsTwitchRaidPointsAdd" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="RaidPointsAdd" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchRaidViewerMinimumTooltip" text_key="xuiOptionsTwitchRaidViewerMinimum" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="RaidViewerMinimum" type="ComboBoxList`1[System.String]" value_wrap="false" pos="255,0" width="300" height="32" />
						</rect>
						
						<rect />
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchSubPointsAddTooltip" text_key="xuiOptionsTwitchSubPointsAdd" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="SubPointsAdd" type="ComboBoxEnum`1[XUiC_OptionsTwitch+PointsGenerationOptions]" value_wrap="false" pos="255,0" width="300" height="32" localization_prefix="xuiTwitchPointGeneration" />
							
							<sprite depth="2" pos="574,0" width="559" height="33" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
							<label depth="4" pos="574,-3" width="550" height="30" style="hover" text="{subvalues}" font_size="28" color="[white]" justify="center" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
						</rect>
						
						<rect width="560" height="32">
							<label depth="4" pos="0,0" width="250" height="30" style="hover" tooltip_key="xuiOptionsTwitchGiftSubPointsAddTooltip" text_key="xuiOptionsTwitchGiftSubPointsAdd" font_size="28" color="[white]" justify="right" pivot="topleft" /> <!--text_key="xuiOptionsTwitch${name}"-->
							<combobox name="GiftSubPointsAdd" type="ComboBoxEnum`1[XUiC_OptionsTwitch+PointsGenerationOptions]" value_wrap="false" pos="255,0" width="300" height="32" localization_prefix="xuiTwitchPointGeneration" />
							
							<sprite depth="2" pos="574,0" width="559" height="33" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
							<label depth="4" pos="574,-3" width="550" height="30" style="hover" text="{giftsubvalues}" font_size="28" color="[white]" justify="center" pivot="topleft"  /> <!--text_key="xuiOptionsTwitch${name}"-->
						</rect>
						
					</grid>
					
					<!-- <sprite depth="2" pos="584,-30" width="559" height="155" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" /> -->
					<!-- <label depth="3" pos="593,-33" width="540" height="155" text="Actions allow viewers to use commands to interact with the streamer. Votes allow the viewers to vote on hordes or buffs/debuffs multiple times per day. Events are special actions that happen when someone donates subs/bits, raids, or subs to the channel." /> -->
					
					<!-- <sprite depth="2" pos="584,-40" width="559" height="535" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" /> -->
					<!-- <label depth="3" pos="593,-43" width="540" height="535" text_key="xuiOptionsTwitchInfo" /> -->
				</rect>
				
			</rect>
		</rect>
		
		<label depth="4" pos="640,-663" width="550" height="30" text="{twitchstatus}" font_size="32" color="255,180,0,255" justify="right" pivot="topleft" />
		
		<rect pos="0, -770">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
			<simplebutton name="btnDefaults" depth="3" pos="960, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiDefaults" upper_case="true" />
			<simplebutton name="btnApply" depth="3" pos="1200, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiApply" parse_actions="true" />
		</rect>
	</window>
	
	<window name="optionsControls" anchor="CenterCenter" pos="-700,425" width="1400" height="820" controller="OptionsControls" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="750" text_key="xuiOptionsKeyboard" />
		</panel>
		
		<rect name="tabs" controller="TabSelector" pos="0,-50" height="700" select_tab_contents_on_open="true">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />

			<rect name="tabsHeader" height="39" depth="0">
				<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
				
				<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="12" cell_width="130" cell_height="36" repeat_content="true" arrangement="horizontal">
					<rect controller="TabSelectorButton">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="130" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="128,0" width="2" height="35" color="[black]" />
					</rect>
				</grid>
			</rect>

			<rect name="tabsContents" depth="2" pos="0,-37" height="661">
				<sprite depth="0" pos="2,0" width="1396" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />
			
				<rect controller="TabSelectorTab" tab_key="xuiOptionsControlsGeneric">
					<grid pos="8,-40" rows="10" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >
						<controloption name="LookSensitivity" type="ComboBoxFloat" value_increment="0.01" value_wrap="false" format_string="0.00" />

						<controloption name="ZoomSensitivity" type="ComboBoxFloat" value_increment="0.01" value_wrap="false" format_string="0.00" />

						<controloption name="ZoomAccel" type="ComboBoxFloat" value_increment="0.01" value_wrap="false" format_string="0.00" />

						<controloption name="VehicleSensitivity" type="ComboBoxFloat" value_increment="0.01" value_wrap="false" format_string="0.00" />
						
						<controloption name="WeaponAiming" type="ComboBoxBool" localization_prefix="xuiWeaponAimingCombo" />
						
						<controloption name="InvertMouseLookY" type="ComboBoxBool" localization_prefix="xuiComboYesNo" />

						<controloption name="SprintLock" type="ComboBoxList`1[System.String]" values="Hold,Toggle,Autorun" localization_prefix="xuiSprintLock" />

						<controloption name="QuickAction" type="ComboBoxList`1[System.String]" values="ChangeCamera, ToggleItem" localization_prefix="xuiQuickAction" />
					</grid>
				</rect>
				
				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" rows="12" cell_width="700" cell_height="45" repeat_content="true" arrangement="horizontal" >
						<keyboard_binding_entry name="bindingEntry"/>
					</grid>
				</rect>
				
				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" rows="12" cell_width="700" cell_height="45" repeat_content="true" arrangement="horizontal" >
						<keyboard_binding_entry name="bindingEntry"/>
					</grid>	
				</rect>
				
				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" rows="12" cell_width="700" cell_height="45" repeat_content="true" arrangement="horizontal" >
						<keyboard_binding_entry name="bindingEntry"/>
					</grid>					
				</rect>
				
				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" rows="12" cell_width="700" cell_height="45" repeat_content="true" arrangement="horizontal" >
						<keyboard_binding_entry name="bindingEntry"/>
					</grid>				
				</rect>
				
				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" rows="12" cell_width="700" cell_height="45" repeat_content="true" arrangement="horizontal" >
						<keyboard_binding_entry name="bindingEntry"/>
					</grid>					
				</rect>
				
				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" rows="12" cell_width="700" cell_height="45" repeat_content="true" arrangement="horizontal" >
						<keyboard_binding_entry name="bindingEntry"/>
					</grid>	
				</rect>

				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" rows="12" cell_width="700" cell_height="45" repeat_content="true" arrangement="horizontal" >
						<keyboard_binding_entry name="bindingEntry"/>
					</grid>	
				</rect>

				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" rows="12" cell_width="700" cell_height="45" repeat_content="true" arrangement="horizontal" >
						<keyboard_binding_entry name="bindingEntry"/>
					</grid>	
				</rect>
			</rect>
		</rect>

		<rect pos="0, -770">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
			<simplebutton name="btnDefaults" depth="3" pos="1160, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiDefaults" upper_case="true" />
			<simplebutton name="btnApply" depth="3" pos="1400, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiApply" parse_actions="true" />
		</rect>
	</window>

	<window name="optionsControlsNewBinding" anchor="CenterCenter" pos="-400,150" width="800" height="300" controller="OptionsControlsNewBinding" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text_key="xuiOptionsControlsNewBinding" />
		</panel>
		
		<panel name="content" pos="0,-50" height="250" depth="1" backgroundcolor="[mediumGrey]" bordercolor="[black]" borderthickness="3" pivot="topleft">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	

			<label pos="20,-20" width="400" height="32" depth="3" text_key="xuiNewBindingAction" />
			<label pos="20,-50" width="760" height="32" depth="3" name="forAction" justify="center" />
			<label name="newBindingAbort" pos="20,-90" width="400" height="32" depth="3" text_key="xuiNewBindingAbort" />
			
			<rect pos="20,-150" depth="3" name="inUse">
				<label pos="0,0" width="760" height="32" name="inUseBy" justify="center" on_hover="true" />

				<grid pos="30,-40" rows="1" cell_width="240" cell_height="45" repeat_content="false" arrangement="vertical" >
					<simplebutton name="btnCancel" width="220" height="48" font_size="32" caption_key="xuiCancel" upper_case="true" />
					<simplebutton name="btnNewBinding" width="220" height="48" font_size="32" caption_key="xuiNewBinding" upper_case="true" />
					<simplebutton name="btnGrabBinding" width="220" height="48" font_size="32" caption_key="xuiGrabBinding" upper_case="true" />
				</grid>
			</rect>
		</panel>
	</window>

	<window name="optionsController" anchor="CenterCenter" pos="-700,425" width="1400" height="820" controller="OptionsController" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="750" text_key="xuiOptionsController" />
		</panel>
		
		<rect name="tabs" controller="TabSelector" pos="0,-50" height="700" select_tab_contents_on_open="true">
			<sprite depth="10" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />

			<rect name="tabsHeader" height="39" depth="0">
				<sprite depth="0" name="backgroundMainTabs" sprite="menu_empty3px" color="0,0,0,150" type="sliced" fillcenter="true" globalopacity="true" />
				
				<grid name="tabButtons" pos="3,-2" depth="2" rows="1" cols="11" cell_width="130" cell_height="36" repeat_content="true" arrangement="horizontal">
					<rect controller="TabSelectorButton">
						<simplebutton name="tabButton" depth="2" pos="-1,0" width="130" height="36" font_size="34" bordercolor="[transparent]" defaultcolor="[darkGrey]" selectedsprite="menu_empty" selectedcolor="[mediumGrey]" foregroundlayer="false" caption="{tab_name_localized}" />
						<sprite depth="8" sprite="menu_empty2px" pos="128,0" width="2" height="35" color="[black]" />
					</rect>
				</grid>
			</rect>
			
			<rect name="tabsContents" depth="2" pos="0,-37" height="661">
				<sprite depth="0" pos="2,0" width="1396" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />
			
				<rect controller="TabSelectorTab" tab_key="xuiOptionsControlsGeneric">
					<grid pos="8,-40" rows="12" cell_width="700" cell_height="45" repeat_content="false" arrangement="vertical" >

						<controloption name="AllowController" type="ComboBoxBool" localization_prefix="xuiComboYesNo" platform="STANDALONE"/>

						<controloption name="ControllerIconStyle" type="ComboBoxList`1[System.String]" values="Automatic, Xbox, Playstation" localization_prefix="xuiControllerIconStyle" platform="STANDALONE" parse_actions="true"/>
	
						<controloption name="ControllerJoystickLayout" type="ComboBoxList`1[System.String]" values="Standard, Southpaw, Legacy, LegacySouthpaw" localization_prefix="xuiControllerJoystickLayout" />
						
						<controloption name="ControllerLookSensitivityX" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0.00"/>
						
						<controloption name="ControllerLookSensitivityY" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0.00"/>

						<controloption name="ControllerZoomSensitivity" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0.00"/>

						<controloption name="ControllerVehicleSensitivity" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0.00"/>

						<controloption name="ControllerLookInvert" type="ComboBoxBool"  localization_prefix="xuiComboYesNo"/>

						<controloption name="ControllerLookAcceleration" type="ComboBoxFloat" value_increment="1.0" value_wrap="false" format_string="0" />
												
						<controloption name="ControllerLookAxisDeadzone" type="ComboBoxFloat" value_increment="0.01" value_wrap="false" format_string="0%"/>

						<controloption name="ControllerMoveAxisDeadzone" type="ComboBoxFloat" value_increment="0.01" value_wrap="false" format_string="0%"/>

						<controloption name="ControllerAimAssists" type="ComboBoxBool"  localization_prefix="xuiComboYesNo"/>

						<controloption name="WeaponAiming" type="ComboBoxBool" localization_prefix="xuiWeaponAimingCombo" />

						<controloption name="SprintLock" type="ComboBoxList`1[System.String]" values="Hold,Toggle,Autorun" localization_prefix="xuiSprintLock" />

						<controloption name="QuickAction" type="ComboBoxList`1[System.String]" values="ChangeCamera, ToggleItem" localization_prefix="xuiQuickAction" />
						
						<controloption name="ControllerVibration" type="ComboBoxList`1[System.String]" values="Off, Subtle, Standard, Strong" localization_prefix="xuiControllerVibrationStrength" />

						<controloption name="ControllerTriggerEffects" type="ComboBoxBool" localization_prefix="xuiComboYesNo" platform="!XBOX"/>
						
						<controloption name="ControllerInterfaceSensitivity" type="ComboBoxFloat" value_increment="0.05" value_wrap="false" format_string="0.00" />

						<controloption name="ControllerCursorHoverSensitivity" type="ComboBoxFloat" value_increment="0.1" value_wrap="false" format_string="0.00"/>

						<controloption name="ControllerCursorSnap" type="ComboBoxBool"  localization_prefix="xuiComboYesNo"/>
						
					</grid>
				</rect>

				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" cell_width="650" cell_height="66" rows="9" repeat_content="true" arrangement="vertical" >
						<controller_binding_entry/>
					</grid>
				</rect>

				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" cell_width="650" cell_height="66" rows="9" repeat_content="true" arrangement="vertical" >
						<controller_binding_entry/>
					</grid>
				</rect>

				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" cell_width="650" cell_height="66" rows="9" repeat_content="true" arrangement="vertical" >
						<controller_binding_entry/>
					</grid>
				</rect>

				<rect controller="TabSelectorTab">
					<grid name="controlsGrid" pos="8,-40" cols="2" cell_width="650" cell_height="66" rows="9" repeat_content="true" arrangement="vertical" >
						<controller_binding_entry/>
					</grid>
				</rect>

				<rect controller="TabSelectorTab" tab_key="xuiOptionsControllerLayoutTab" >
					<grid name="controlsGrid" pos="8,-25" cols="2" cell_width="555" cell_height="45" repeat_content="false" arrangement="horizontal" platform="STANDALONE">
						<controloption name="ShowDS4" type="ComboBoxBool" localization_prefix="xuiBoolDualShock4"/>
						<controloption name="ShowBindingsFor" type="ComboBoxList`1[System.String]" values="Player, Vehicles, UI" localization_prefix="xuiControlBindingsFor" />
					</grid>
					<controloption pos="20,-20" height="45" width="720" name="ShowBindingsFor" type="ComboBoxList`1[System.String]" values="Player, Vehicles, UI" localization_prefix="xuiControlBindingsFor" platform="CONSOLE"/>
					
					<rect name="controllerlayout" pos="0,-30">
						<sprite name="controllerArt" pos="700,-340" width="900" height="700" depth="2" pivot="center" atlas="ControllerArtAtlas" sprite="{controller_art}" color="[white]" />						
						<sprite name="controllerLines" pos="700,-340" width="900" height="700" depth="3" pivot="center" atlas="ControllerArtAtlas" sprite="{controller_lines}" color="100,100,250"/>
						
						<controller_button_caption_right name="Menu"                pos="730,-493"  />
						<controller_button_caption_right name="RightTrigger"        pos="1115,-110" />
						<controller_button_caption_right name="RightBumper"         pos="1115,-165" />
						<controller_button_caption_right name="Action4"             pos="1115,-210" />
						<controller_button_caption_right name="Action2"             pos="1115,-246" />
						<controller_button_caption_right name="Action1"             pos="1115,-283" />
						<controller_button_caption_right name="Action3"             pos="1115,-329" />
						<controller_button_caption_right name="RightStick"          pos="1115,-411" />
						<controller_button_caption_right name="RightStickButton"    pos="1115,-465" />
																
						<controller_button_caption_left name="View"                 pos="685,-493"  />
						<controller_button_caption_left name="LeftTrigger"          pos="285,-110"  />
						<controller_button_caption_left name="LeftBumper"           pos="285,-165"  />
																					
						<rect name="xb1" visible="{isxb1}" platform="STANDALONE,XBOX">                      
							<controller_button_caption_left name="LeftStick"        pos="285,-220"  />
							<controller_button_caption_left name="LeftStickButton"  pos="285,-267"  />
							<controller_button_caption_left name="DPadUp"           pos="285,-316"  />
							<controller_button_caption_left name="DPadLeft"         pos="285,-356"  />
							<controller_button_caption_left name="DPadDown"         pos="285,-403"  />
							<controller_button_caption_left name="DPadRight"        pos="285,-460"  />
						</rect>                                                     
																					
						<rect name="ds4" visible="{isds4}" platform="STANDALONE,PS5">                  
							<controller_button_caption_left name="DPadUp"           pos="285,-199"  />
							<controller_button_caption_left name="DPadLeft"         pos="285,-232"  />
							<controller_button_caption_left name="DPadDown"         pos="285,-267"  />
							<controller_button_caption_left name="DPadRight"        pos="285,-308"  />
							<controller_button_caption_left name="LeftStick"        pos="285,-356"  />
							<controller_button_caption_left name="LeftStickButton"  pos="285,-422"  />
						</rect>
					</rect>
				</rect>
			</rect>
		</rect>

		<rect pos="0, -770">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
			<simplebutton name="btnDefaults" depth="3" pos="1160, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiDefaults" upper_case="true" />
			<simplebutton name="btnApply" depth="3" pos="1400, 0" pivot="right" width="200" height="48" font_size="32" caption_key="xuiApply" parse_actions="true"/>
		</rect>
	</window>

	<window name="optionsProfiles" anchor="CenterCenter" pos="-450,425" width="950" height="820" controller="OptionsProfiles" cursor_area="true">
		<panel name="header" pos="0,0" width="600" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text_key="xuiOptionsProfiles" />
		</panel>
		
		<rect name="profiles" pos="0,-50" height="700" width="600" controller="ProfilesList" cursor_controllable="true" clear_searchtext_on_open="true">
			<sprite depth="8" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />

			<rect depth="4" name="searchControls" height="44" pos="0,-0">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />

				<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
				<textfield name="searchInput" depth="5" pos="40,-7" width="250" height="30" search_field="true" />
				
				<panel pos="498,0" width="98" height="43" disableautobackground="true">
					<pager name="pager" pos="1,-6" contents_parent="profiles"/>
				</panel>
			</rect>
			
			<grid name="list" depth="2" rows="19" cols="3" pos="0,-44" height="590" cell_width="200" cell_height="30" repeat_content="true" arrangement="vertical" >
				<profiles_list_entry width="200" height="30" />
			</grid>

			<grid pos="10,-650" rows="1" cols="10" cell_width="195" cell_height="36" repeat_content="false" arrangement="horizontal" >
				<simplebutton name="btnProfileCreate" depth="3" width="185" height="36" font_size="32" disabled_tooltip_key="xuiMaxProfilesReached" caption_key="xuiProfileCreate" upper_case="true" />
				<simplebutton name="btnProfileDelete" depth="3" width="185" height="36" font_size="32" caption_key="xuiProfileDelete" upper_case="true" />
				<simplebutton name="btnProfileEdit" depth="3" width="185" height="36" font_size="32" caption_key="xuiProfileEdit" upper_case="true" />
			</grid>
		</rect>

		<rect pos="630,-50" width="320" height="702" depth="2" controller="SDCSPreviewWindow" can_zoom="false">
			<texture depth="100" name="playerPreview" material="Materials/Transparent Colored" size="320,702" globalopacity="false"/>
		</rect>
		
		<rect pos="0, -770">
			<simplebutton name="btnOk" depth="3" pos="400, 0" width="200" height="48" font_size="32" caption_key="xuiOk" upper_case="true" />
		</rect>

		<panel name="deleteProfilePanel" depth="10" createuipanel="true" on_hover="true" disableautobackground="true">
			<rect pos="100,-200" width="400" height="200">
				<panel pos="-20,20" width="440" height="240" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
					<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,100" type="sliced" fillcenter="true" />
				</panel>
			
				<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
					<label style="header.name" name="panelheader" pos="6,-6" width="550" text_key="xuiDeleteProfile" />
				</panel>
				
				<rect pos="0,-50" height="106">
					<sprite depth="10" name="border" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
					<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacitymod="2" />
					
					<label name="deleteText" pos="10,-8" width="380" height="100" pivot="topleft" justify="left" depth="2" />
				</rect>
				<rect pos="0, -164">
					<simplebutton name="btnCancel" depth="3" pos="0, 0" width="180" height="36" font_size="32" caption_key="xuiCancel" />
					<simplebutton name="btnConfirm" depth="3" pos="400, 0" pivot="right" width="180" height="36" font_size="32" caption_key="btnConfirm" />
				</rect>
			</rect>
		</panel>

		<panel name="createProfilePanel" depth="20" createuipanel="true" on_hover="true" disableautobackground="true">
			<rect pos="100,-200" width="400" height="154">
				<panel pos="-20,20" width="440" height="196" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
					<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,100" type="sliced" fillcenter="true" />
				</panel>
			
				<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
					<label style="header.name" name="panelheader" pos="6,-6" width="550" text_key="xuiCreateProfileHeader" />
				</panel>
				
				<rect pos="0,-50" height="60">
					<sprite depth="10" name="border" sprite="menu_empty2px" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
					<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" globalopacitymod="2" />
					
					<textfield name="createProfileName" depth="5" pos="20,-30" width="360" height="30" pivot="left" character_limit="30" />
				</rect>
				<rect pos="0, -118">
					<simplebutton name="btnCancel" depth="3" pos="0, 0" width="180" height="36" font_size="32" caption_key="xuiCancel" />
					<simplebutton name="btnConfirm" depth="3" pos="400, 0" pivot="right" width="180" height="36" font_size="32" caption_key="xuiProfileCreate" />
				</rect>
			</rect>
		</panel>
	</window>
	
	<window name="optionsUsername" anchor="CenterCenter" pos="-250,100" width="500" height="200" controller="OptionsUsername" cursor_area="true">
		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text_key="xuiOptionsUsername" />
		</panel>
		
		<panel name="content" pos="0,-50" height="50" depth="1" backgroundcolor="[mediumGrey]" bordercolor="[black]" borderthickness="3" pivot="topleft">
			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />	

			<label depth="2" pos="10,-24" width="120" height="30" font_size="30" pivot="Left" text_key="xuiUsernameLabel" justify="right" />
			<textfield name="txtUsername" depth="2" pos="140,-8" width="350" height="32" />
		</panel>

		<rect pos="0, -110">
			<simplebutton name="btnCancel" depth="3" pos="0, 0" width="200" height="36" font_size="32" caption_key="xuiCancel" upper_case="true" />
			<simplebutton name="btnOk" depth="3" pos="500, 0" pivot="right" width="200" height="36" font_size="32" caption_key="xuiOk" upper_case="true" />
		</rect>
	</window>
	
	<window name="optionsBlockedPlayers" width="1320" height="820" panel="Center" controller="OptionsBlockedPlayersList" cursor_area="true">
		<blocked_players_list name="blockedPlayers"/>
		<rect pos="0, -770">
			<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" />
		</rect>
	</window>
	
	<window name="reportPlayer" anchor="CenterCenter" depth="10" pos="-500,240" width="1000" height="510" controller="ReportPlayer" cursor_area="true">
		<panel name="noclick" depth="1" createuipanel="true" on_press="true" pos="-4000,4000" width="8000" height="8000" disableautobackground="true" gamepad_selectable="false"/>
		
		<panel name="header" pos="0,0" height="43" depth="2" disableautobackground="true" >
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="0,0" height="43" color="[black]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.7" />
			<label style="header.name" pos="6,-6" text_key="xuiReportPlayer" />
		</panel>
		<panel name="content" pos="0,-46" height="410" depth="2" pivot="center" disableautobackground="true" >
			<sprite depth="6" name="border" sprite="menu_empty3px" pos="0,0" height="410" color="[black]" type="sliced" fillcenter="false" globalopacity="true" globalopacitymod="0.9" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" pos="2,-2" height="406" width="995" color="[darkGrey]" type="sliced" fillcenter="true" globalopacity="true" globalopacitymod="0.65" />

			<table depth="2" columns="2" padding="10,10">
				<label text_key="xuiReportPlayerReportedPlayer" width="220" height="30" justify="right" pivot="topleft" />
				<label name="lblReportedPlayer" width="730" height="30" justify="left" pivot="topleft" />

				<label text_key="xuiReportPlayerCategory" width="220" height="30" justify="right" pivot="topleft" on_hover="true" tooltip_key="xuiReportPlayerCategoryTip" />
				<combobox name="cbxCategory" type="ComboBoxList`1[Platform.IPlayerReporting+PlayerReportCategory]" width="730" height="30" />

				<label text_key="xuiReportPlayerMessage" width="220" height="30" justify="right" pivot="topleft" on_hover="true" />
				<rect>
					<textfield name="txtMessage" pos="0,0" width="730" height="250" font_size="30" pivot="topleft" on_return="newline" justify="left" />
				</rect>
			</table>
			
			<label text="{inputWarning}" pos="250,-370" width="730" height="30" justify="left" color="[gold]"/>
		</panel>

		<grid depth="2" rows="1" cols="1" pos="480, -460" height="32" cell_width="210" cell_height="32" repeat_content="false" arrangement="horizontal">
			<simplebutton name="btnKick" depth="3" width="200" height="32" caption_key="xuiKickPlayerNoReport" />
		</grid>
		<grid depth="2" rows="1" cols="2" pos="690, -460" height="32" cell_width="160" cell_height="32" repeat_content="false" arrangement="horizontal">
			<simplebutton name="btnCancel" depth="3" width="150" height="32" caption_key="xuiCancel" />
			<simplebutton name="btnSend" depth="3" width="150" height="32" caption_key="xuiReportPlayerSend" />
		</grid>
	</window>
	
	<window name="credits" anchor="CenterCenter" pos="-500,400" width="1000" height="800" controller="Credits" cursor_area="true">

		<panel disableautobackground="true" clipping="softclip" clippingsoftness="0,40" >
			<rect name="categoryTemplates">
				<rect name="headerTemplate">
					<label name="caption" depth="1" height="42" font_size="40" justify="center" text="test" />
				</rect>
			</rect>
			<rect name="creditTemplates">
				<rect name="rowTemplate">
					<label name="name" depth="1" height="32" font_size="30" justify="left" text="test1" />
					<label name="centertext" depth="1" height="32" font_size="30" justify="center" text="test2" />
					<label name="contribution" depth="1" height="32" font_size="30" justify="right" text="test3" />
					<sprite name="line" depth="1" pos="0,-27" height="1" color="255,255,255,50" />
				</rect>
			</rect>
		
			<grid name="creditsGrid" rows="0" cell_width="590" cell_height="32" repeat_content="false" arrangement="vertical" >
			</grid>
		</panel>

		<widget anchor_left="#bottomleft,0,40" anchor_bottom="#bottomleft,0,80" anchor_right="#bottomleft,0,50" anchor_top="#bottomleft,0,90" pivot="bottomleft">
			<mainmenubutton name="btnBack" pivot="left" width="200" height="50" caption_key="xuiBack" />
		</widget>
	</window>

	<window name="dlcWindow" anchor="CenterCenter" pos="-800,400" width="1600" height="800" controller="DlcWindow" cursor_area="true">
		<rect name="dlcs" depth="2" pos="0,0" on_scroll="true" controller="DlcList">
			<label name="noEntries" depth="2" pos="800,-400" width="500" height="50" text_key="xuiDlcsNoEntries" font_size="34" justify="center" pivot="center" effect="outline" color="[white]" visible="{# entrycountfiltered == 0 }" />
			
			<grid name="list" pos="0,0" rows="1" cols="4" arrangement="horizontal" cell_width="410" cell_height="500" repeat_content="true">
				<dlc_list_entry width="370" height="720" caption_size="50" art_size="640" />
			</grid>
			
			<dlc_pager pos="0,-780" width="1600" per_page="4" spacing="60" />
			
			<gamepad_icon depth="1" name="LB_Icon" size="64,64" pos="-20,-790" pivot="Right" action="GUI Window Paging Up" />
			<gamepad_icon depth="1" name="RB_Icon" size="64,64" pos="1620,-790" pivot="Left" action="GUI Window Paging Down" />
		</rect>

		
		<widget anchor_left="#bottomleft,0,40" anchor_bottom="#bottomleft,0,80" anchor_right="#bottomleft,0,50" anchor_top="#bottomleft,0,90" pivot="bottomleft">
			<mainmenubutton name="btnBack" pivot="left" width="200" height="50" caption_key="xuiBack" />
		</widget>
	</window>

	
	<window name="eacWarning" depth="200" pos="-220,-40" width="440" height="200" anchor="CenterTop">
		<panel name="noclick" depth="2" createuipanel="true" pos="-20,20" width="480" height="240" clipping="softclip" clippingsoftness="20,20" disableautobackground="true" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,190" type="sliced" fillcenter="true" />
		</panel>

		<panel depth="10" createuipanel="true" disableautobackground="true">
			<label pos="10,-10" width="420" height="50" font_size="48" text_key="vacTitle" upper_case="false" justify="center" color="[red]" />
			<label pos="10,-70" width="420" height="120" font_size="32" text_key="vacText" upper_case="false" justify="center" />
		</panel>
	</window>
	
	<window name="crossplayWarning" depth="200" pos="-600,-150" width="1200" height="400" anchor="CenterCenter">
		<panel depth="10" createuipanel="true" disableautobackground="true">
			<label pos="10,-70" width="1200" height="400" font_size="32" text_key="xuiServerConfirmCrossplay" upper_case="false" justify="center" />
		</panel>
	</window>

	<window name="progress" depth="200" pos="-200,50" width="400" height="100" anchor="CenterCenter" controller="ProgressWindow">
		<panel name="pnlShadow" pos="-3000,3000" width="10000" height="10000" depth="1" createuipanel="true" on_press="true" disableautobackground="true" visible="{use_shadow}" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty3px" color="30,30,30,160" type="sliced" fillcenter="true" />
		</panel>

		<panel name="noclick" depth="2" createuipanel="true" pos="-20,20" width="440" height="140" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,190" type="sliced" fillcenter="true" />
		</panel>

		<panel depth="10" createuipanel="true" disableautobackground="true">
			<label name="lblProgress" pos="200,-50" width="380" height="80" font_size="32" justify="center" pivot="center" />
		</panel>
	</window>

	<window name="loadingScreen" depth="200" pos="0,0" width="400" height="100" anchor="CenterCenter" controller="LoadingScreen" browse_sound="@:Sounds/Crafting/craft_click_recipe.wav">
		<panel name="pnlBlack" pos="-3000,3000" width="10000" height="10000" depth="1" createuipanel="true" on_press="true" disableautobackground="true" gamepad_selectable="false">
			<sprite depth="0" name="blackback" sprite="menu_empty3px" color="0,0,0,255" type="sliced" fillcenter="true" globalopacity="false"  gamepad_selectable="false"/>
		</panel>

		<texture depth="2" color="[white]" texture="{background_texture}" name="loading_image" anchor_left="#cam,0,-5" anchor_bottom="#cam,0,250" anchor_right="#cam,1,5" anchor_top="#cam,1,5" original_aspect_ratio="true" />

		<sprite depth="4" anchor_left="#cam,0,-100" anchor_right="#cam,1,100" anchor_bottom="#cam,0,249" anchor_top="#cam,0,350" name="backgroundMain" sprite="ui_interface_gradient_strip" color="0,0,0,255" globalopacity="false" type="sliced" fillcenter="true" flip="vertically" />
		
		<rect name="tips_enabled" visible="{show_tips}">
			<label name="lblTitle"    depth="6" anchor_left="#cam,0,20"   anchor_right="#cam,1,-280" anchor_bottom="#cam,0,180" anchor_top="#cam,0,240" font_size="50" color="230,26,22" justify="left" parse_actions="true" text="{title}" upper_case="true" />
		
			<label name="lblLeft"     depth="6" anchor_left="#cam,1,-200" anchor_right="#cam,1,-150"  anchor_bottom="#cam,0,180" anchor_top="#cam,0,240" font_size="30" color="[white]" pivot="center" justify="right" parse_actions="true" max_line_count="1" text=" [action:permanent:PageTipsBack]" />
			<label name="lblIndex"    depth="6" anchor_left="#cam,1,-150" anchor_right="#cam,1,-70"   anchor_bottom="#cam,0,180" anchor_top="#cam,0,240" font_size="30" color="[white]" pivot="center" justify="center" parse_actions="true" max_line_count="1" text="{index}/{count}" />
			<label name="lblRight"    depth="6" anchor_left="#cam,1,-70"  anchor_right="#cam,1,-20"   anchor_bottom="#cam,0,180" anchor_top="#cam,0,240" font_size="30" color="[white]" pivot="center" justify="left" parse_actions="true" max_line_count="1" text="[action:permanent:PageTipsForward] " />

			<label name="lblText"     depth="6" anchor_left="#cam,0,20"   anchor_right="#cam,1,-20"   anchor_bottom="#cam,0,20"  anchor_top="#cam,0,170" font_size="32" justify="left" parse_actions="true" actions_default_format="( [e61a16]###[-] )" spacing_y="5" text="{text}" />
		</rect>
	</window>

	<window name="spawnselection" depth="250" pos="-250,50" width="500" height="100" anchor="CenterCenter" controller="SpawnSelectionWindow" spawn_sound="@:Sounds/UI/ui_spawn.wav" cursor_area="true">
		<rect visible="{progressVisible}" >
			<panel name="noclick" depth="2" createuipanel="true" pos="-20,20" width="540" height="140" clipping="softclip" clippingsoftness="20,20" disableautobackground="true">
				<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,190" type="sliced" fillcenter="true" />
			</panel>

			<panel depth="10" createuipanel="true" disableautobackground="true" >
				<label name="lblProgress" pos="250,-50" width="480" height="80" font_size="32" justify="center" pivot="center" />
			</panel>
		</rect>

		<rect name="buttons" visible="{buttonsVisible}" pos="0,130" >
			<panel name="header" pos="0,0" height="43" depth="2" createuipanel="true" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="0" >
				<rect createuiwidget="true" on_press="true" />
				<label style="header.name" pos="6,-6" width="490" text_key="respawnTitleMessage" justify="center" />
			</panel>

			<table pos="0,-61" columns="1" padding="0,9" always_reposition="true" name="content">
				<panel name="boxSpawnNearFriend" width="500" height="250" depth="3" pivot="center" padding="4" bordercolor="[black]" borderthickness="0" borderinset="0" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]" controller="SpawnNearFriendsList" cursor_controllable="true" visible="{showNearFriends}">
					<label name="lblCaption" depth="4" pos="2,-18" width="370" height="35" font_size="28" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="lblSpawnNearFriend" overflow="shrinkcontent" />

					<rect name="friends" pos="0,0" height="200" width="480" visible="{# entrycounttotal &gt; 0 }">
						<pager name="pager" pos="390,0" />
						
						<grid name="list" depth="2" rows="5" cols="1" pos="0,-40" height="160" cell_width="196" cell_height="32" repeat_content="true" arrangement="vertical" >
							<spawnnearfriends_list_entry width="492" height="30" />
						</grid>
					
						<simplebutton name="btnSpawnNearFriend" pos="0,-200" width="492" height="42" font_size="36" caption_key="lblSpawnNearFriendButton" enabled="{selectionValid}" tooltip_key="xuiPromptViewPlayerProfile" />
					</rect>
					
					<label pos="250,-80" width="400" height="60" font_size="28" color="[red]" pivot="center" justify="center" overflow="shrinkcontent" text_key="lblSpawnNoAvailableFriends" visible="{# entrycounttotal == 0 }" ignoreparentpadding="true" />
				</panel>
				
				<simplebutton name="btnSpawnFirstTime" width="500" height="42" font_size="36" caption_key="lblSpawnRandom" visible="{# enteringGame and firstTimeSpawn}" />
				<simplebutton name="btnSpawn" width="500" height="42" font_size="36" caption_key="lblSpawn" visible="{# enteringGame and !firstTimeSpawn}" />
				<rect width="500" height="42" createuiwidget="true" />
				<simplebutton name="btnLeave" width="500" height="42" font_size="36" caption_key="xuiSpawnLeaveGame" visible="{# enteringGame and !is_server}" />
				
				<simplebutton name="btnRespawn" width="500" height="42" font_size="36" caption_key="lblRespawn" visible="{# !enteringGame and !hasBackpack and !hasBedroll }" />
				<simplebutton name="btnNearBackpack" width="500" height="42" font_size="36" caption_key="lblSpawnNearBackpack" visible="{# !enteringGame and hasBackpack}" />
				<simplebutton name="btnOnBedroll" width="500" height="42" font_size="36" caption_key="lblSpawnOnBedroll" visible="{# !enteringGame and hasBedroll}" />
				<simplebutton name="btnNearBedroll" width="500" height="42" font_size="36" caption_key="lblSpawnNearBedroll" visible="{# !enteringGame and hasBedroll}" />
			</table>
		</rect>
	</window>
	
	<window name="subtitlesDisplay" anchor="CenterBottom" pos="-376,155" width="753" height="100" cursor_area="false" controller="SubtitlesDisplay" actionSet="false" depth="950" globalopacity="false">
		<panel name="bgPanel" pos="0,0" height="60" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[transparent]" 
		backgroundcolor="[black_threequarters_alpha]" borderthickness="0" anchor="CenterBottom" globalopacity="false" >
			<label name="lblSpeaker" pos="6,-28" width="136" height="54" text_key="SubtitleSpeaker" justify="left" pivot="left" font_size="28" depth="975"/>
			<label name="lblSubtitle" pos="143,-28" width="610" height="54" text_key="SubtitleContent" justify="left" pivot="left" font_size="28" depth="975"/>
		</panel>
	</window>

	<window name="videoPlayer" controller="VideoPlayer" pos="0,0" depth="900"  cursor_area="true">
		<panel name="bgPanel" backgroundspritename="ui_game_panel_header" backgroundcolor="[black]" borderthickness="0"
			anchor_left="#cam,0,0" anchor_right="#cam,1,0" anchor_bottom="#cam,0,0" anchor_top="#cam,1,0" pivot="center" style="press" gamepad_selectable="false">
			<sprite name="videoBackground" sprite="menu_empty" type="sliced" color="[black]" anchor_left="#cam,0,-10" anchor_right="#cam,1,10" anchor_bottom="#cam,0,-10" anchor_top="#cam,1,10" />
			<texture name="videoTexture" pivot="center" anchor_left="#cam,0,0" anchor_right="#cam,1,0" anchor_bottom="#cam,0,0" anchor_top="#cam,1,0"/>
		</panel>

		<sprite name="skipPrompt"  depth="25" sprite="ui_game_panel_header" color="[black]" anchor_left="#cam,1,-200" anchor_right="#cam,1,0" anchor_bottom="#cam,0,-0" anchor_top="#cam,0,60">
			<label name="lblSkip" depth="30" text_key="Skip" justify="left" pivot="left" font_size="32" width="180" height="100" pos="20,-30" parse_actions="true" actions_default_format="( ### )"/>
		</sprite>

	</window>

	<window name="windowEula" cursor_area="true" controller="EulaWindow" anchor="CenterBottom" pos="0,0" anchor_left="#cam,0,-0" anchor_right="#cam,1,0" anchor_bottom="#cam,0,0" anchor_top="#cam,1,0">

		<rect name="background" depth="0">

			<sprite name="bg" sprite="menu_empty" type="sliced" color="0,0,0,126" anchor_left="#cam,0,-10" anchor_right="#cam,1,10" anchor_bottom="#cam,0,-10" anchor_top="#cam,1,10" globalopacity="false" />
			<sprite name="contentBG" sprite="menu_empty" type="sliced" color="0,0,0,250" globalopacity="false" pos ="0,0" pivot="bottom"  width="1300" height="2160" />
			
		</rect>
			<label name="lblContent" pos="0,985" justify="left" font_size="24" width="1200" height="775" pivot="top" overflow="shrinkcontent"
			anchor_bottom="#bottomleft,0,200" anchor_top="#topright,0,-30" support_urls="HTTP" />

		<button name="btnPageUp" pos="700,350" width="64" height="64" sprite="ui_game_symbol_block_repair" defaultcolor="180,180,180" hovercolor="[tan]" selectedcolor="[selectedColor]" foregroundlayer="true" type="simple" hoverscale="1.1" pivot="center" gamepad_selectable="false"/>
		<button name="btnPageDown" pos="700, 250" width="64" height="64" sprite="ui_game_symbol_block_damage" defaultcolor="180,180,180" hovercolor="[tan]" selectedcolor="[selectedColor]" foregroundlayer="true" type="simple" hoverscale="1.1" pivot="center" gamepad_selectable="false"/>

		<rect name="footer" pos="0,200" height="250" width="100%" depth="2" createuiwidget="true">
			<sprite name="footerBackground" sprite="menu_empty" type="sliced" color="[darkestGrey]"  anchor_left="#cam,0,-10" anchor_right="#cam,1,10" height="500" globalopacity="false" pos="0,-20"/>
			<label pos="0,-60" justify="center" text_key="uiEulaDesc" font_size="32" width="1200" height="64" pivot="center" depth="5" visible="{# !viewmode}"/>
			<simplebutton name="btnAccept" depth="3" pos="-100, -125" width="200" height="36" font_size="32" caption_key="xuiAccept" upper_case="true" pivot="right" visible="{# !viewmode}" />
			<simplebutton name="btnDecline" depth="3" pos="100, -125" width="200" height="36" font_size="32" caption_key="xuiDecline" upper_case="true" pivot="left" visible="{# !viewmode}" />
			<simplebutton name="btnDone" depth="3" pos="0, -85" width="200" height="48" font_size="32" caption_key="xuiBack" upper_case="true" pivot="center" visible="{viewmode}" />
		</rect>
	</window>
	
	<window name="uiLimitsTest" anchor="CenterCenter" pos="1,1" depth="1000" controller="UiLimitsWindow">
		<sprite name="5_4" sprite="menu_empty" type="sliced" fillcenter="false" color="[white]" globalopacity="false" pos="0,0" pivot="center" width="{width_5_4}" height="{height}" />
		<label name="label_5_4" text="5:4" font_size="20" width="100" height="22" rotation="90" pivot="bottom" pos="0,-150" anchor_left="5_4,0,0" anchor_right="5_4,0,40" />

		<sprite name="4_3" sprite="menu_empty" type="sliced" fillcenter="false" color="[white]" globalopacity="false" pos="0,0" pivot="center" width="{width_4_3}" height="{height}" />
		<label name="label_4_3" text="4:3" font_size="20" width="100" height="22" rotation="90" pivot="bottom" pos="0,-100" anchor_left="4_3,0,0" anchor_right="4_3,0,40" />

		<sprite name="3_2" sprite="menu_empty" type="sliced" fillcenter="false" color="[white]" globalopacity="false" pos="0,0" pivot="center" width="{width_3_2}" height="{height}" />
		<label name="label_3_2" text="3:2" font_size="20" width="100" height="22" rotation="90" pivot="bottom" pos="0,-50" anchor_left="3_2,0,0" anchor_right="3_2,0,40" />

		<sprite name="16_10" sprite="menu_empty" type="sliced" fillcenter="false" color="[white]" globalopacity="false" pos="0,0" pivot="center" width="{width_16_10}" height="{height}" />
		<label name="label_16_10" text="16:10" font_size="20" width="100" height="22" rotation="90" pivot="bottom" pos="0,-0" anchor_left="16_10,0,0" anchor_right="16_10,0,40" />

		<sprite name="16_9" sprite="menu_empty" type="sliced" fillcenter="false" color="[white]" globalopacity="false" pos="0,0" pivot="center" width="{width_16_9}" height="{height}" />
		<label name="label_16_9" text="16:9" font_size="20" width="100" height="22" rotation="90" pivot="bottom" pos="0,50" anchor_left="16_9,0,0" anchor_right="16_9,0,40" />
	</window>

	<window name="bugReport" controller="BugReportWindow" anchor="CenterCenter" pos="-400,430" width="800" height="800" cursor_area="true" depth="50">
		<panel name="noclick" depth="0" createuipanel="true" on_press="true" pos="-4000,4000" width="8000" height="8000" disableautobackground="true" visible="{# !is_modal}" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,200" type="sliced" fillcenter="true" />
		</panel>

		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text_key="xuiBugReportHeader" />
		</panel>
		<panel name="content" pos="0,-46" height="800" depth="1" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">

			<label depth="3" name="descriptionText" pos="25,-25" width="750" text_key="xuiBugReportDescription" font_size="28" overflow="resizeheight" upper_case="false" visible="{# can_submit}" />
			<label depth="3" name="rejectedText" pos="25,-25" width="750" text_key="xuiBugReportRejected" color="[red]" font_size="28" overflow="resizeheight" upper_case="false" visible="{# !can_submit}"/>
			
			<label depth="3" name="lblAttachScreenshot" pos="25,-125" width="425" height="32" justify="right" text_key="xuiAttachScreenshot" tooltip_key="xuiAttachScreenshotTooltip" font_size="28" upper_case="false" visible="{# in_game}" />
			<combobox pos="475,-125" width="300" height="32" name="comboAttachScreenshot" type="ComboBoxBool" localization_prefix="xuiComboYesNo" tooltip_key="xuiAttachScreenshotTooltip" visible="{# in_game}"/>
			
			<label depth="3" name="lblAttachSaveDescMenu" pos="25,-175" width="750" height="64" justify="left" text_key="xuiAttachSaveDescMenu" font_size="28" upper_case="false"/>
			<label depth="3" name="lblAttachSaveDescInGame" pos="25,-175" width="750" height="64" justify="right" text_key="xuiAttachSaveDescInGame" font_size="28" upper_case="false" />

			<label depth="3" name="lblAttachSave" pos="25,-250" width="425" height="32" justify="right" text_key="xuiAttachSave" font_size="28" upper_case="false" visible="{# attach_saves_enabled}" />
			<combobox pos="475,-250" width="300" height="32" name="comboAttachSave" type="ComboBoxBool" localization_prefix="xuiComboYesNo" visible="{# attach_saves_enabled}"/>

			<textfield name="txtDescription" depth="5" pos="25,-300" width="750" height="400" pivot="topLeft" on_return="NewLine" justify="left" font_size="24" character_limit="2048"/>

			<simplebutton name="btnSubmit" depth="3" pos="50, -725" width="200" height="48" font_size="32" caption_key="xuiSubmit" upper_case="true" />
			<simplebutton name="btnCancel" depth="3" pos="550, -725" width="200" height="48" font_size="32" caption_key="xuiCancel" upper_case="true" />	
		</panel>
	</window>	
	
	<window name="bugReportSaveSelect" controller="BugReportSaveSelect" anchor="CenterCenter" pos="425,400" width="400" height="800" cursor_area="true">

		<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
			<label style="header.name" pos="6,-6" width="550" text_key="xuiBugReportSelectSave" />
		</panel>
		<panel name="saves" controller="BugReportSavesList" pos="0,-46" height="800" depth="1" backgroundcolor="[darkGrey]" bordercolor="[black]" borderthickness="3" pivot="center">

			<rect depth="4" height="44" pos="0,-0">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />
				<panel pos="278,0" width="98" height="43" disableautobackground="true">
					<pager name="pager" pos="1,-6" contents_parent="saves"/>
				</panel>
			</rect>

			<grid name="list" depth="2" rows="12" cols="1" pos="0,-44" height="480" cell_width="100" cell_height="60" repeat_content="true" arrangement="vertical" >
				<bugreport_saves_list_entry width="400" height="60"/>
			</grid>

		</panel>
	</window>

	<window name="discord" anchor="RightTop" pos="-420,-30" width="412" height="800" controller="DiscordWindow" cursor_area="true" depth="100">
		<panel name="boxButtons" depth="3" pivot="center" padding="30,6,6" bordercolor="[black]" borderthickness="0" borderinset="14,1,1" borderspritename="menu_empty3px" backgroundcolor="[darkGrey]">
			<label name="lblCaption" depth="4" pos="14,-16" height="30" font_size="24" color="[beige]" pivot="left" justify="left" parse_actions="true" max_line_count="1" text_key="Discord" overflow="resizefreely" overflow_width="260" ignoreparentpadding="true" />
			<sprite name="lblBg" depth="3" anchor_left="lblCaption,0,-5" anchor_right="lblCaption,1,5" anchor_bottom="lblCaption,0,0" anchor_top="lblCaption,1,0" type="sliced" sprite="menu_empty3px" color="[darkGrey]" />

			<table name="layoutTable" columns="1" padding="0,2" reposition_twice="true">
				<rect>
					<label pos="100,-12" width="100" height="20" pivot="right" justify="right" overflow="shrinkcontent" text="Status:" />
					<label pos="110,-12" width="290" height="20" pivot="left" justify="left" overflow="shrinkcontent" text="{status}" />
				</rect>

				<rect name="statusButtons">
					<rect name="loginButtons" visible="{# status == 'Disconnected'}">
						<simplebutton name="btnLoginAccount" depth="3" pos="120,0" width="110" height="28" caption="Account" tooltip_key="Login with your real Discord account" visible="{supports_full_accounts}" />
						<simplebutton name="btnLoginProvisional" depth="3" pos="280,0" width="110" height="28" caption="Provisional" tooltip_key="Login with a provisional Discord account based on your EOS ID" visible="{supports_provisional_accounts}" />
					</rect>
					<simplebutton name="btnDisconnect" depth="3" width="400" height="28" caption="Disconnect" visible="{# status == 'Ready'}" />
				</rect>

				<table name="readyOnly" columns="2" padding="4,4" reposition_twice="true" visible="{is_ready}">
						<label width="160" height="20" justify="right" overflow="shrinkcontent" text="Display name:" />
						<label width="230" height="20" justify="left" overflow="shrinkcontent" text="{displayname}" />
						<label width="160" height="20" justify="right" overflow="shrinkcontent" text="Discord display name:" />
						<label width="230" height="20" justify="left" overflow="shrinkcontent" text="{discorddisplayname}" />
						<label width="160" height="20" justify="right" overflow="shrinkcontent" text="Discord username:" />
						<label width="230" height="20" justify="left" overflow="shrinkcontent" text="{discordusername}" />
						<label width="160" height="20" justify="right" overflow="shrinkcontent" text="Discord ID:" />
						<label width="230" height="20" justify="left" overflow="shrinkcontent" text="{userid}" />
				</table>

			</table>
		</panel>
	</window>

	<window name="discordInfo" anchor="CenterCenter" pos="-550,300" width="1100" height="700" cursor_area="true" depth="1001" controller="DiscordInfo">
		<panel name="noclick" depth="0" createuipanel="true" on_press="true" pos="-4000,4000" width="8000" height="8000" disableautobackground="true" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,200" type="sliced" fillcenter="true" />
		</panel>

		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="0" padding="6">
			<label font_size="32" text_key="xuiDiscordEnableIntegrationTitle" />
		</panel>
		
		<panel name="content" pos="0,-46" height="500" depth="1" backgroundcolor="[darkGrey]" borderspritename="menu_empty3px" bordercolor="[black]" borderthickness="0" padding="10">
			<label depth="3" name="descriptionText" spacing_y="6" text_key="xuiDiscordEnableIntegrationTextFull" font_size="28" overflow="shrinkcontent" upper_case="false" visible="{supports_full_accounts}" />

			<label depth="3" name="descriptionText" spacing_y="6" text_key="xuiDiscordEnableIntegrationTextProvisionalOnly" font_size="28" overflow="shrinkcontent" upper_case="false" visible="{# !supports_full_accounts}" />
		</panel>
		
		<rect name="buttons" pos="0,-570">
			<simplebutton name="btnOk" depth="10" pos="000,0" width="320" height="40" caption_key="xuiOk" visible="{# !supports_full_accounts}" />

			<discord_button name="btnFullAccount" depth="10" pos="0,0" width="320" height="42" caption_key="xuiDiscordEnableIntegrationLinkAccount" visible="{supports_full_accounts}" />
			<simplebutton name="btnNotNow" depth="10" pos="400,0" width="320" height="40" caption_key="xuiDiscordLoginNotNow" visible="{supports_full_accounts}" />

			<simplebutton name="btnSettings" depth="10" pos="780,0" width="320" height="40" caption_key="xuiDiscordOpenSettings" />
		</rect>
	</window>

	<window name="discordLogin" anchor="CenterCenter" pos="-350,200" width="700" height="400" cursor_area="true" depth="1001" controller="DiscordLogin">
		<panel name="noclick" depth="0" createuipanel="true" on_press="true" pos="-4000,4000" width="8000" height="8000" disableautobackground="true" gamepad_selectable="false">
			<sprite depth="0" name="backgroundMain" sprite="menu_empty" color="0,0,0,200" type="sliced" fillcenter="true" />
		</panel>

		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="0" padding="6">
			<label font_size="32" text_key="xuiDiscordLogin" />
		</panel>
		
		<panel name="content" pos="0,-46" height="200" depth="1" backgroundcolor="[darkGrey]" borderspritename="menu_empty3px" bordercolor="[black]" borderthickness="0" padding="10">
			<label depth="3" name="loginText" text="{status_text}" />
		</panel>
		
		<rect name="buttons" pos="0,-270">
			<simplebutton name="btnOk" depth="10" pos="000,0" width="200" height="40" caption_key="xuiOk" enabled="{done}" />

			<simplebutton name="btnCancel" depth="10" pos="225,0" width="200" height="40" caption_key="xuiCancel" visible="{cancellable}" />

			<simplebutton name="btnSettings" depth="10" pos="450,0" width="250" height="40" caption_key="xuiDiscordOpenSettings" visible="{show_settings_button}" enabled="{done}" />
		</rect>
	</window>
	
	<window name="discordInteractions" anchor="LeftBottom" pos="50,840" width="400" height="800" depth="10" cursor_area="true" controller="DiscordMainMenuFriends">
		<rect name="pendingActions" pos="350,0" width="350" visible="{has_pending_actions}">
			<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
				<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_players"/>
				<label style="header.name" text_key="xuiDiscordInvites" />
			</panel>

			<rect pos="0,-43" height="687">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
				
				<discord_pending_list name="pendingActions" depth="0" pos="0,0" width="350" height="687" count="11" />
			</rect>
		</rect>

		<rect name="friends" pos="000,0" width="350">
			<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
				<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_players"/>
				<label style="header.name" text_key="xuiFriends" />
			</panel>

			<rect pos="0,-43" height="687">
				<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
				
				<discord_friends_list name="discord" depth="0" pos="0,0" width="350" height="687" count="10" />
			</rect>
		</rect>
	</window>
	
	<window name="discordBlockedUsers" anchor="CenterCenter" pos="-175,400" width="350" height="800" depth="10" cursor_area="true" controller="DiscordBlockedUsers">
		<panel name="header" height="43" depth="1" backgroundspritename="ui_game_panel_header">
			<sprite depth="1" name="windowIcon" style="icon32px" pos="4,-5" sprite="ui_game_symbol_modded"/>
			<label style="header.name" text_key="xuiDiscordBlockedUsers" />
		</panel>

		<rect pos="0,-43" height="687">
			<sprite depth="2" name="backgroundMain" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
			<sprite depth="1" name="backgroundMain" sprite="menu_empty3px" color="[darkGrey]" type="sliced" fillcenter="true" />
			
			<discord_blockedusers_list name="blockedUsersList" depth="0" pos="0,0" width="350" height="687" count="16" />
		</rect>

		<rect name="buttons" pos="0,-750">
			<simplebutton name="btnBack" depth="10" pos="000,0" width="350" height="40" caption_key="xuiBack" />
		</rect>
	</window>
	
	<window name="mainMenuDiscordButton" anchor="LeftBottom" pos="70,90" width="40" height="40" depth="10" controller="DiscordMainMenuButton">
		<button name="button" pos="0,0" width="40" height="30" depth="2" pivot="center" sprite="discord-mark-white_scaled" defaultcolor="[white]" hovercolor="" selectedcolor="88,101,242" selected="{discord_open}" hoverscale="1.25" use_selection_box="false" sound_play_on_hover="[default_hover]" sound="[default_click]" visible="{discord_ready}" />
		<label name="lblActionCount" depth="4" pos="19,15" height="30" font_size="20" color="[white]" pivot="center" justify="center" max_line_count="1" text="{pending_actions}" overflow="resizefreely" overflow_width="260" visible="{# pending_actions &gt; 0}" />
		<sprite name="lblBg" depth="3" anchor_left="lblActionCount,0,-4" anchor_right="lblActionCount,1,4" anchor_bottom="lblActionCount,0,-3" anchor_top="lblActionCount,1,2" type="sliced" sprite="Button" color="[red]" visible="{# pending_actions &gt; 0}" />
	</window>

</windows>
