IW4-Dump-Files/ui_mp/settings_quick_gtnw_@mpui_r...

275 lines
4.7 KiB
Plaintext

/*********************************************************
***************** Dumped by aerosoul94 *******************
*********************************************************/
{
menuDef
{
name "settings_quick_gtnw_@mpui_rules_max_health"
rect 0 82 272 18 2 1
popup
style 1
forecolor 1 1 1 1
focuscolor 1 1 1 1
fadeCycle 1
fadeClamp 1
fadeAmount 0.1
exp rect y ( localvarint( "ui_popupYPos" ) )
onOpen
{
focusfirst;
setfocusbydvar "scr_player_maxhealth";
setLocalVarBool "ui_hideSelectButton" ( 1 );
}
onRequestClose
{
setLocalVarBool "ui_hideSelectButton" ( 0 );
}
onEsc
{
play "mouse_click";
close self;
}
itemDef
{
rect -600 -718 2000 2000 2 1
visible 1
forecolor 1 1 1 1
type 1
textfont 1
textscale 0.55
action
{
close self;
}
}
itemDef
{
rect 144 82 110 70 2 1
decoration
visible 1
style 3
forecolor 0.35 0.35 0.35 1
textscale 0.55
exp material ( "white" )
}
itemDef
{
rect 128 66 16 16 2 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_tl"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 144 66 110 16 2 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_t"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 254 66 16 16 2 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_tr"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 254 82 16 70 2 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_r"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 254 152 16 16 2 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_br"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 144 152 110 16 2 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_b"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 128 152 16 16 2 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_bl"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 128 82 16 70 2 1
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_l"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 144 82 128 15 2 1
visible 1
forecolor 0.65 0.65 0.65 1
textalign 8
textalignx 12
textscale 0.375
text "@MPUI_RULES_MINISCULE"
dvarTest "scr_player_maxhealth"
focusDvar { "30" }
visible when ( "@MPUI_RULES_MINISCULE" != "" )
action
{
setdvar "scr_player_maxhealth" "30" play "mouse_click";
close self;
}
leaveFocus
{
play "mouse_submenu_over";
}
}
itemDef
{
rect 144 97 128 15 2 1
visible 1
forecolor 0.65 0.65 0.65 1
textalign 8
textalignx 12
textscale 0.375
text "@MPUI_RULES_HALF"
dvarTest "scr_player_maxhealth"
focusDvar { "50" }
visible when ( "@MPUI_RULES_HALF" != "" )
action
{
setdvar "scr_player_maxhealth" "50" play "mouse_click";
close self;
}
leaveFocus
{
play "mouse_submenu_over";
}
}
itemDef
{
rect 144 112 128 15 2 1
visible 1
forecolor 0.65 0.65 0.65 1
textalign 8
textalignx 12
textscale 0.375
text "@MPUI_RULES_NORMAL"
dvarTest "scr_player_maxhealth"
focusDvar { "100" }
visible when ( "@MPUI_RULES_NORMAL" != "" )
action
{
setdvar "scr_player_maxhealth" "100" play "mouse_click";
close self;
}
leaveFocus
{
play "mouse_submenu_over";
}
}
itemDef
{
rect 144 127 128 15 2 1
visible 1
forecolor 0.65 0.65 0.65 1
textalign 8
textalignx 12
textscale 0.375
text "@MPUI_RULES_DOUBLE"
dvarTest "scr_player_maxhealth"
focusDvar { "200" }
visible when ( "@MPUI_RULES_DOUBLE" != "" )
action
{
setdvar "scr_player_maxhealth" "200" play "mouse_click";
close self;
}
leaveFocus
{
play "mouse_submenu_over";
}
}
itemDef
{
rect 144 142 128 15 2 1
visible 1
forecolor 0.65 0.65 0.65 1
textalign 8
textalignx 12
textscale 0.375
dvarTest "scr_player_maxhealth"
focusDvar { 0 }
visible when ( "" != "" )
action
{
setdvar "scr_player_maxhealth" 0 play "mouse_click";
close self;
}
leaveFocus
{
play "mouse_submenu_over";
}
}
itemDef
{
rect 144 157 128 15 2 1
visible 1
forecolor 0.65 0.65 0.65 1
textalign 8
textalignx 12
textscale 0.375
dvarTest "scr_player_maxhealth"
focusDvar { 0 }
visible when ( "" != "" )
action
{
setdvar "scr_player_maxhealth" 0 play "mouse_click";
close self;
}
leaveFocus
{
play "mouse_submenu_over";
}
}
}
}