Use direct buttons for fixed mission setting choices; record Workshop 0.0.149
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-11-07 02:16:12 +01:00
parent e421dcfc15
commit 47cd4fa2bc
10 changed files with 156 additions and 129 deletions
+9 -28
View File
@@ -1,7 +1,7 @@
FrameWidgetClass { "Is Visible" {{VISIBLE_WorldPage}} Name "WorldPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 532 OffsetBottom -692 } {
TextWidgetClass {
Name "WorldHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 936 OffsetRight -964 SizeY 50 OffsetBottom -56 }
Color {{COLOR_TEXT}} Text "Time and weather apply next round. View distance applies now. Press Apply to save." "Font Size" {{SIZE_INTRO}} "Min Font Size" {{SIZE_INTRO}} Wrap 1
Color {{COLOR_TEXT}} Text "Time and weather apply next round. View distance applies now. Weather buttons save immediately; use Apply for edited values." "Font Size" {{SIZE_INTRO}} "Min Font Size" {{SIZE_INTRO}} Wrap 1
FontProperties FontProperties { Font "{{FONT}}" }
}
TextWidgetClass {
@@ -131,8 +131,8 @@ ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_But
}
}
TextWidgetClass {
Name "Label_weatherProfile" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 322 OffsetTop 322 SizeX 368 OffsetRight -396 SizeY 28 OffsetBottom -350 }
Color {{COLOR_TEXT}} Text "Weather (authored / clear / overcast / rain)" "Font Size" {{SIZE_LABEL}} "Min Font Size" {{SIZE_LABEL}} Wrap 1 FontProperties FontProperties {
Name "Label_weatherProfile" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 322 OffsetTop 322 SizeX 168 OffsetRight -196 SizeY 28 OffsetBottom -350 }
Color {{COLOR_TEXT}} Text "Weather" "Font Size" {{SIZE_LABEL}} "Min Font Size" {{SIZE_LABEL}} Wrap 1 FontProperties FontProperties {
Font "{{FONT}}"
}
}
@@ -144,34 +144,15 @@ TextWidgetClass {
}
TextWidgetClass {
Name "Help_weatherProfile" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 378 OffsetTop 378 SizeX 936 OffsetRight -964 SizeY 20 OffsetBottom -398 }
Color {{COLOR_MUTED}} Text "Use authored, clear, overcast or rain. Random chooses one of the three weather types next round." "Font Size" {{SIZE_CAPTION}} "Min Font Size" {{SIZE_CAPTION}} Wrap 1
Color {{COLOR_MUTED}} Text "Map default keeps authored weather. Random chooses clear, overcast or rain each round." "Font Size" {{SIZE_CAPTION}} "Min Font Size" {{SIZE_CAPTION}} Wrap 1
FontProperties FontProperties { Font "{{FONT}}" }
}
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" {
Name "weatherProfile" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 408 OffsetLeft 408 PositionY 322 OffsetTop 322 SizeX 240 OffsetRight -648 SizeY 42 OffsetBottom -364 }
components {
SCR_EditBoxComponent "{547290FFBD5B33E9}" {
m_sLabel ""
}
}
}
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" {
Name "Apply_weatherProfile" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 660 OffsetLeft 660 PositionY 322 OffsetTop 322 SizeX 112 OffsetRight -772 SizeY 42 OffsetBottom -364 }
components {
SCR_ButtonTextComponent "{5548F0143AE99095}" {
m_sText "Apply"
}
}
}
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" {
Name "Random_weatherProfile" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 784 OffsetLeft 784 PositionY 322 OffsetTop 322 SizeX 180 OffsetRight -964 SizeY 42 OffsetBottom -364 }
components {
SCR_ButtonTextComponent "{5548F0143AE99095}" {
m_sText "Random"
}
}
}
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Choice_weatherProfile_authored" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 208 OffsetLeft 208 PositionY 322 OffsetTop 322 SizeX 140 OffsetRight -348 SizeY 32 OffsetBottom -354 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Map default" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Choice_weatherProfile_clear" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 362 OffsetLeft 362 PositionY 322 OffsetTop 322 SizeX 140 OffsetRight -502 SizeY 32 OffsetBottom -354 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Clear" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Choice_weatherProfile_overcast" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 516 OffsetLeft 516 PositionY 322 OffsetTop 322 SizeX 140 OffsetRight -656 SizeY 32 OffsetBottom -354 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Overcast" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Choice_weatherProfile_rain" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 670 OffsetLeft 670 PositionY 322 OffsetTop 322 SizeX 140 OffsetRight -810 SizeY 32 OffsetBottom -354 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Rain" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Choice_weatherProfile_random" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 824 OffsetLeft 824 PositionY 322 OffsetTop 322 SizeX 140 OffsetRight -964 SizeY 32 OffsetBottom -354 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Random" } } }
TextWidgetClass {
Name "Label_viewDistanceMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 406 OffsetTop 406 SizeX 368 OffsetRight -396 SizeY 28 OffsetBottom -434 }
Color {{COLOR_TEXT}} Text "View distance (500-10000 m / default)" "Font Size" {{SIZE_LABEL}} "Min Font Size" {{SIZE_LABEL}} Wrap 1 FontProperties FontProperties {