Files
EscapistsReintroduced/addons/core/UI/layouts/ERR/PreparationFailure.layout
T
jakub 9233320fd1
continuous-integration/drone/push Build is passing
Allow leaving failed-start screens; record Workshop 0.0.122
2026-10-25 14:55:36 +01:00

44 lines
1.7 KiB
Plaintext

FrameWidgetClass {
Name "ERR_PreparationFailure"
Slot FrameWidgetSlot { Anchor 0 0 1 1 OffsetLeft 0 OffsetTop 0 OffsetRight 0 OffsetBottom 0 }
{
ImageWidgetClass {
Name "Background"
Slot FrameWidgetSlot { Anchor 0 0 1 1 OffsetLeft 0 OffsetTop 0 OffsetRight 0 OffsetBottom 0 }
Color 0.025 0.035 0.04 1
}
FrameWidgetClass {
Name "FailurePanel"
Slot FrameWidgetSlot { Anchor 0.5 0.5 0.5 0.5 OffsetLeft 0 OffsetTop 0 SizeX 960 OffsetRight -960 SizeY 620 OffsetBottom -620 Alignment 0.5 0.5 }
{
TextWidgetClass {
Name "FailureTitle"
Slot FrameWidgetSlot { Anchor 0 0 1 0 OffsetLeft 0 OffsetTop 0 SizeY 58 OffsetBottom -58 }
Color 1 1 1 1
Text "Mission could not start"
"Font Size" 32
"Min Font Size" 32
}
TextWidgetClass {
Name "FailureDescription"
Slot FrameWidgetSlot { Anchor 0 0 1 0 OffsetLeft 0 OffsetTop 80 SizeY 400 OffsetBottom -480 }
Color 1 1 1 1
"Font Size" 22
"Min Font Size" 22
Wrap 1
}
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" {
Name "ReturnToMainMenu"
Slot FrameWidgetSlot { Anchor 0 0 0 0 OffsetLeft 0 OffsetTop 520 SizeX 400 OffsetRight -400 SizeY 56 OffsetBottom -576 }
components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Return to main menu" } }
}
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" {
Name "OpenPauseMenu"
Slot FrameWidgetSlot { Anchor 0 0 0 0 OffsetLeft 430 OffsetTop 520 SizeX 400 OffsetRight -830 SizeY 56 OffsetBottom -576 }
components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Pause menu (Esc / Back)" } }
}
}
}
}
}