Files
OpenRA/mods/cnc/chrome/settings.yaml
2019-07-03 20:42:19 +02:00

675 lines
15 KiB
YAML

Container@SETTINGS_PANEL:
Logic: SettingsLogic
HotkeyGroups:
Game Commands:
Template: TWO_COLUMN
Types: OrderGenerator, World, Menu
Viewport Commands:
Template: TWO_COLUMN
Types: Viewport
Observer / Replay Commands:
Template: TWO_COLUMN
Types: Observer, Replay
Unit Commands:
Template: THREE_COLUMN
Types: Unit
Unit Stance Commands:
Template: TWO_COLUMN
Types: Stance
Production Commands:
Template: THREE_COLUMN
Types: Production, ProductionSlot
Support Power Commands:
Template: THREE_COLUMN
Types: SupportPower
Music Commands:
Template: TWO_COLUMN
Types: Music
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 590
Height: 378
Children:
Label@TITLE:
Width: 590
Y: 0 - 22
Font: BigBold
Contrast: true
Align: Center
Text: Settings
Container@TAB_CONTAINER:
Children:
Button@DISPLAY_TAB:
Width: 110
Height: 35
Text: Display
Button@AUDIO_TAB:
X: WIDTH + 10
Width: 110
Height: 35
Text: Audio
Button@INPUT_TAB:
X: 2 * (WIDTH + 10)
Width: 110
Height: 35
Text: Input
Button@HOTKEYS_TAB:
X: 3 * (WIDTH + 10)
Width: 110
Height: 35
Text: Hotkeys
Button@ADVANCED_TAB:
X: 4 * (WIDTH + 10)
Width: 110
Height: 35
Text: Advanced
Background@bg:
Y: 34
Width: 590
Height: 360
Background: panel-black
Children:
Container@DISPLAY_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@VIDEO_TITLE:
Y: 21
Width: PARENT_RIGHT
Font: Bold
Text: Display
Align: Center
Label@MODE_LABEL:
X: 110
Y: 40
Width: 45
Height: 25
Align: Right
Text: Mode:
DropDownButton@MODE_DROPDOWN:
X: 160
Y: 40
Width: 170
Height: 25
Font: Regular
Text: Windowed
Container@WINDOW_RESOLUTION:
X: 330
Y: 40
Children:
Label@At:
Text: @
Font: Bold
Y: 0
Height: 25
Width: 25
Align: Center
TextField@WINDOW_WIDTH:
X: 25
Width: 45
Height: 25
MaxLength: 5
Type: Integer
Label@X:
Text: x
Font: Bold
X: 70
Y: 0
Height: 25
Width: 15
Align: Center
TextField@WINDOW_HEIGHT:
X: 85
Width: 45
Height: 25
MaxLength: 5
Type: Integer
Checkbox@HARDWARECURSORS_CHECKBOX:
X: 310
Y: 75
Width: 200
Height: 20
Font: Regular
Text: Use Hardware Cursors
Label@VIDEO_DESC:
Y: 92
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: Mode, resolution, and cursor changes will be applied after the game is restarted
Checkbox@FRAME_LIMIT_CHECKBOX:
X: 15
Y: 125
Width: 200
Height: 20
Font: Regular
Text: Enable Frame Limiter
Checkbox@PIXELDOUBLE_CHECKBOX:
X: 310
Y: 125
Width: 200
Height: 20
Font: Regular
Text: Enable Pixel Doubling
Checkbox@CURSORDOUBLE_CHECKBOX:
X: 340
Y: 155
Width: 200
Height: 20
Font: Regular
Text: Also Double Cursor
Label@FRAME_LIMIT_DESC_A:
X: 45
Y: 153
Width: 50
Height: 25
Text: Limit to
Align: Right
TextField@FRAME_LIMIT_TEXTFIELD:
X: 100
Y: 153
Width: 45
Height: 25
MaxLength: 3
Type: Integer
Label@FRAME_LIMIT_DESC_B:
X: 150
Y: 153
Height: 25
Text: FPS
Checkbox@PLAYER_STANCE_COLORS_CHECKBOX:
X: 310
Y: 185
Width: 200
Height: 20
Font: Regular
Text: Player Stance Colors
Label@PLAYER:
Text: Player:
X: 15
Y: 197
TextField@PLAYERNAME:
Text: Name
X: 65
Y: 185
Width: 145
Height: 25
MaxLength: 16
ColorPreviewManager@COLOR_MANAGER:
DropDownButton@PLAYERCOLOR:
X: 215
Y: 185
Width: 70
Height: 25
IgnoreChildMouseOver: true
Children:
ColorBlock@COLORBLOCK:
X: 5
Y: 6
Width: PARENT_RIGHT - 35
Height: PARENT_BOTTOM - 12
Label@STATUS_BARS:
X: 310
Y: 257
Text: Status Bars:
DropDownButton@STATUS_BAR_DROPDOWN:
X: 400
Y: 245
Width: 170
Height: 25
Font: Regular
Text: Standard
Checkbox@DISPLAY_TARGET_LINES_CHECKBOX:
X: 310
Y: 215
Width: 200
Height: 20
Font: Regular
Text: Display Target Lines
Label@LOCALIZATION_TITLE:
Y: 265
Width: PARENT_RIGHT
Font: Bold
Text: Localization
Align: Center
Visible: false
Label@LANGUAGE_LABEL:
X: 230 - WIDTH - 5
Y: 284
Width: 75
Height: 25
Align: Right
Text: Language:
Visible: false
DropDownButton@LANGUAGE_DROPDOWNBUTTON:
X: 230
Y: 285
Width: 200
Height: 25
Font: Regular
Visible: false
Label@LANGUAGE_DESC_A:
Y: 310
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: Language changes will be applied after the game is restarted
Visible: false
Label@LANGUAGE_DESC_B:
Y: 325
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: Translations apply to text strings only; Speech and build icons will remain in English
Visible: false
Container@AUDIO_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@AUDIO_TITLE:
Y: 21
Width: PARENT_RIGHT
Font: Bold
Text: Audio
Align: Center
Label@SOUND_LABEL:
X: PARENT_RIGHT - WIDTH - 270
Y: 38
Width: 95
Height: 25
Align: Right
Text: Sound Volume:
ExponentialSlider@SOUND_VOLUME:
X: PARENT_RIGHT - WIDTH - 15
Y: 43
Width: 250
Height: 20
Ticks: 7
Checkbox@CASH_TICKS:
X: 15
Y: 40
Width: 200
Height: 20
Font: Regular
Text: Cash Ticks
Checkbox@MUTE_SOUND:
X: 15
Y: 70
Width: 200
Height: 20
Font: Regular
Text: Mute Sound
Label@MUSIC_LABEL:
X: PARENT_RIGHT - WIDTH - 270
Y: 68
Width: 95
Height: 25
Align: Right
Text: Music Volume:
ExponentialSlider@MUSIC_VOLUME:
X: PARENT_RIGHT - WIDTH - 15
Y: 73
Width: 250
Height: 20
Ticks: 7
Label@VIDEO_LABEL:
X: PARENT_RIGHT - WIDTH - 270
Y: 98
Width: 95
Height: 25
Align: Right
Text: Video Volume:
ExponentialSlider@VIDEO_VOLUME:
X: PARENT_RIGHT - WIDTH - 15
Y: 103
Width: 250
Height: 20
Ticks: 7
Label@AUDIO_DEVICE_LABEL:
X: 190 - WIDTH - 5
Y: 245
Width: 75
Height: 25
Align: Right
Text: Audio Device:
DropDownButton@AUDIO_DEVICE:
X: 190
Y: 245
Width: 300
Height: 25
Label@AUDIO_DEVICE_DESC:
Y: 266
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: Device changes will be applied after the game is restarted
Container@INPUT_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@INPUT_TITLE:
Y: 21
Width: PARENT_RIGHT
Font: Bold
Text: Input
Align: Center
Checkbox@CLASSICORDERS_CHECKBOX:
X: 15
Y: 40
Width: 250
Height: 20
Font: Regular
Text: Left-click Orders
Label@MIDDLE_MOUSE_SCROLL_LABEL:
X: PARENT_RIGHT - WIDTH - 120
Y: 41
Width: 160
Height: 20
Font: Regular
Text: Middle-mouse Scrolling:
Align: Right
DropDownButton@MIDDLE_MOUSE_SCROLL:
X: PARENT_RIGHT - WIDTH - 15
Y: 38
Width: 100
Height: 25
Font: Regular
Label@MIDDLE_MOUSE_SCROLL_LABEL:
X: PARENT_RIGHT - WIDTH - 120
Y: 71
Width: 160
Height: 20
Font: Regular
Text: Right-mouse Scrolling:
Align: Right
DropDownButton@RIGHT_MOUSE_SCROLL:
X: PARENT_RIGHT - WIDTH - 15
Y: 68
Width: 100
Height: 25
Font: Regular
Label@ZOOM_MODIFIER_LABEL:
X: PARENT_RIGHT - WIDTH - 120
Y: 101
Width: 160
Height: 20
Font: Regular
Text: Scroll-zoom Modifier:
Align: Right
DropDownButton@ZOOM_MODIFIER:
X: PARENT_RIGHT - WIDTH - 15
Y: 98
Width: 100
Height: 25
Font: Regular
Text: Alt
Checkbox@EDGESCROLL_CHECKBOX:
X: 15
Y: 70
Width: 130
Height: 20
Font: Regular
Text: Edge Scrolling
Checkbox@ALLOW_ZOOM_CHECKBOX:
X: 15
Y: 100
Width: 130
Height: 20
Font: Regular
Text: Scroll Zooming
Checkbox@LOCKMOUSE_CHECKBOX:
X: 15
Y: 130
Width: 130
Height: 20
Font: Regular
Text: Lock Mouse to Window
Label@SCROLL_SPEED_LABEL:
X: PARENT_RIGHT - WIDTH - 270
Y: 128
Width: 95
Height: 25
Text: Scroll Speed:
Align: Right
Slider@SCROLLSPEED_SLIDER:
X: PARENT_RIGHT - WIDTH - 170
Y: 133
Width: 100
Height: 20
Ticks: 5
MinimumValue: 10
MaximumValue: 50
Label@UI_SCROLL_SPEED_LABEL:
X: PARENT_RIGHT - WIDTH - 106
Y: 128
Width: 95
Height: 25
Text: UI Scroll:
Align: Right
Slider@UI_SCROLLSPEED_SLIDER:
X: PARENT_RIGHT - WIDTH - 6
Y: 133
Width: 100
Height: 20
Ticks: 5
MinimumValue: 1
MaximumValue: 100
Label@HOTKEYS_TITLE:
Y: 166
Width: PARENT_RIGHT
Font: Bold
Text: Hotkeys
Align: Center
Container@HOTKEYS_PANEL:
X: 15
Y: 15
Width: PARENT_RIGHT - 15
Height: PARENT_BOTTOM - 15
Children:
ScrollPanel@HOTKEY_LIST:
Width: PARENT_RIGHT - 15
TopBottomSpacing: 4
ItemSpacing: 4
Height: 210
Children:
ScrollItem@HEADER:
Width: 528
Height: 13
Visible: false
Children:
Label@LABEL:
Font: TinyBold
Width: PARENT_RIGHT
Height: 13
Align: Center
Container@TEMPLATES:
Children:
Container@TWO_COLUMN:
Width: 262
Height: 25
Visible: false
Children:
Label@FUNCTION:
Y: 0
Width: PARENT_RIGHT - 85
Height: 25
Align: Right
Button@HOTKEY:
X: PARENT_RIGHT - WIDTH
Width: 80
Height: 25
Align: Left
TooltipContainer: TOOLTIP_CONTAINER
Container@THREE_COLUMN:
Width: 173
Height: 25
Visible: false
Children:
Label@FUNCTION:
Y: 0 - 1
Width: PARENT_RIGHT - 84
Height: 25
Align: Right
Button@HOTKEY:
X: PARENT_RIGHT - WIDTH + 1
Width: 80
Height: 25
Align: Left
TooltipContainer: TOOLTIP_CONTAINER
Background@HOTKEY_DIALOG_PLACEHOLDER:
Y: 225
Width: PARENT_RIGHT - 15
Height: 105
Background: panel-gray
Children:
Label@HOTKEY_DIALOG_HELPTEXT:
Y: PARENT_BOTTOM / 2 - 12
Width: PARENT_RIGHT
Height: 25
Font: Tiny
Align: Center
Text: Click on a hotkey to start rebinding
Container@HOTKEY_DIALOG_ROOT:
Y: 225
Width: PARENT_RIGHT - 15
Height: 105
Container@ADVANCED_PANEL:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@ADVANCED_TITLE:
Y: 21
Width: PARENT_RIGHT
Font: Bold
Text: Advanced
Align: Center
Checkbox@NAT_DISCOVERY:
X: 15
Y: 40
Width: 200
Height: 20
Font: Regular
Text: Enable Network Discovery (UPnP)
Checkbox@PERFTEXT_CHECKBOX:
X: 15
Y: 70
Width: 300
Height: 20
Font: Regular
Text: Show Performance Text
Checkbox@PERFGRAPH_CHECKBOX:
X: 15
Y: 100
Width: 300
Height: 20
Font: Regular
Text: Show Performance Graph
Checkbox@FETCH_NEWS_CHECKBOX:
X: 310
Y: 40
Width: 300
Height: 20
Font: Regular
Text: Fetch Community News
Checkbox@CHECK_VERSION_CHECKBOX:
X: 310
Y: 70
Width: 300
Height: 20
Font: Regular
Text: Check for Updates
Checkbox@SENDSYSINFO_CHECKBOX:
X: 310
Y: 100
Width: 300
Height: 20
Font: Regular
Text: Send System Information
Label@SENDSYSINFO_DESC:
X: 310
Y: 116
Width: 250
Height: 30
Font: Tiny
WordWrap: True
Text: Your Operating System, OpenGL and .NET runtime versions, and language settings will be sent along with an anonymous ID to help prioritize future development.
Label@DEBUG_TITLE:
Y: 201
Width: PARENT_RIGHT
Font: Bold
Text: Developer
Align: Center
Container@DEBUG_HIDDEN_LABEL:
Y: 252
Width: PARENT_RIGHT
Children:
Label@A:
Width: PARENT_RIGHT
Height: 20
Font: Regular
Text: Additional developer-specific options can be enabled via the
Align: Center
Label@B:
Y: 20
Width: PARENT_RIGHT
Height: 20
Font: Regular
Text: Debug.DisplayDeveloperSettings setting or launch flag
Align: Center
Container@DEBUG_OPTIONS:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Checkbox@BOTDEBUG_CHECKBOX:
X: 15
Y: 220
Width: 300
Height: 20
Font: Regular
Text: Show Bot Debug Messages
Checkbox@CHECKUNSYNCED_CHECKBOX:
X: 15
Y: 250
Width: 300
Height: 20
Font: Regular
Text: Check Sync around Unsynced Code
Checkbox@CHECKBOTSYNC_CHECKBOX:
X: 15
Y: 280
Width: 300
Height: 20
Font: Regular
Text: Check Sync around BotModule Code
Checkbox@LUADEBUG_CHECKBOX:
X: 310
Y: 220
Width: 300
Height: 20
Font: Regular
Text: Show Map Debug Messages
Checkbox@REPLAY_COMMANDS_CHECKBOX:
X: 310
Y: 250
Width: 300
Height: 20
Font: Regular
Text: Enable Debug Commands in Replays
Button@BACK_BUTTON:
Key: escape
Y: 393
Width: 140
Height: 35
Text: Back
Button@RESET_BUTTON:
X: 150
Y: 393
Width: 140
Height: 35
Text: Reset
TooltipContainer@TOOLTIP_CONTAINER: