fastfile-gsc-iw5/zone_raw/patch_mp/ui_mp/dirt_effect_center.menu
6arelyFuture 4e910323f1
Some checks failed
link / Link assets on Linux (push) Failing after 8s
init
2024-05-23 10:46:11 +02:00

39 lines
1.3 KiB
Plaintext

{
menuDef
{
name "dirt_effect_center"
decoration
rect 0 0 640 480 8 10
onOpen
{
lerp alpha from 0 to 1 over "0.020";
lerp scale from ".3" to 1 over "0.1";
lerp y from 100 to 0 over "0.08";
setLocalVarInt dirt_update_time (milliseconds() + 200);
}
onRequestClose
{
lerp alpha from 1 to 0 over "1.0";
}
itemDef
{
rect -682.667 -341.333 1365.33 682.667 2 2
style 3
decoration
visible 1
textscale 0.55
background "fullscreen_dirt_bottom"
exp forecolor a min((localvarint("dirt_update_time") - milliseconds()) / 200, 1);
}
itemDef
{
rect -682.667 -341.333 1365.33 682.667 2 2
style 3
decoration
visible when(milliseconds() > localvarint("dirt_update_time"));
textscale 0.55
background "fullscreen_dirt_bottom_b"
}
}
}