Files
jakub d5464f7438
continuous-integration/drone/push Build is passing
Reorganize mission menu and separate design from logic
2026-10-17 18:27:31 +02:00

15 lines
4.6 KiB
Plaintext

FrameWidgetClass { "Is Visible" {{VISIBLE_ItemsPage}} Name "ItemsPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
TextWidgetClass { Name "EquipmentHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 4 OffsetTop 4 SizeX 936 OffsetRight -964 SizeY 30 OffsetBottom -34 } Color {{COLOR_TEXT}} Text "Extra equipment for enemy soldiers" "Font Size" {{SIZE_HEADING}} "Min Font Size" {{SIZE_HEADING}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
TextWidgetClass { Name "EquipmentIntro" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 42 OffsetTop 42 SizeX 936 OffsetRight -964 SizeY 46 OffsetBottom -88 } Color {{COLOR_TEXT}} Text "Newly equipped soldiers can receive one extra item from the allowed catalog. First choose how often this happens, then choose which items are more common." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
TextWidgetClass { Name "Label_automaticEquipmentChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 102 OffsetTop 102 SizeX 936 OffsetRight -964 SizeY 30 OffsetBottom -132 } Color {{COLOR_TEXT}} Text "Soldiers receiving an extra-item attempt (0-100%)" "Font Size" {{SIZE_LABEL}} "Min Font Size" {{SIZE_LABEL}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "automaticEquipmentChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 140 OffsetTop 140 SizeX 180 OffsetRight -208 SizeY 42 OffsetBottom -182 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_automaticEquipmentChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 228 OffsetLeft 228 PositionY 140 OffsetTop 140 SizeX 180 OffsetRight -408 SizeY 42 OffsetBottom -182 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Random_automaticEquipmentChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 428 OffsetLeft 428 PositionY 140 OffsetTop 140 SizeX 180 OffsetRight -608 SizeY 42 OffsetBottom -182 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Random" } } }
TextWidgetClass { Name "Saved_automaticEquipmentChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 628 OffsetLeft 628 PositionY 146 OffsetTop 146 SizeX 336 OffsetRight -964 SizeY 32 OffsetBottom -178 } Color {{COLOR_TEXT}} Text "Waiting for server..." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
TextWidgetClass { Name "Help_automaticEquipmentChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 194 OffsetTop 194 SizeX 936 OffsetRight -964 SizeY 44 OffsetBottom -238 } Color {{COLOR_TEXT}} Text "0 = no extra items. 100 = every eligible soldier gets an attempt. Full inventories can refuse an item; medics keep space for medical supplies." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
TextWidgetClass { Name "WeightsChance" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 246 OffsetTop 246 SizeX 936 OffsetRight -964 SizeY 44 OffsetBottom -290 } Color {{COLOR_TEXT}} Text "Waiting for server..." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
TextWidgetClass { Name "EquipmentSteps" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 306 OffsetTop 306 SizeX 936 OffsetRight -964 SizeY 46 OffsetBottom -352 } Color {{COLOR_TEXT}} Text "Example: 50% overall chance with a 20% item share means about 10% of eligible soldiers attempt that item. A weight of 100 does not mean 100%." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
TextWidgetClass { Name "EquipmentTiming" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 374 OffsetTop 374 SizeX 936 OffsetRight -964 SizeY 44 OffsetBottom -418 } Color {{COLOR_TEXT}} Text "Apply saves the chance above. Item buttons save immediately. Changes affect future equipment rolls; existing soldiers keep their gear." "Font Size" {{SIZE_HELP}} "Min Font Size" {{SIZE_HELP}} Wrap 1 FontProperties FontProperties { Font "{{FONT}}" } }
} }