Update Menus for Voice Chat!
This commit is contained in:
1 parent
9f7d9e488d
commit
ec19213113
3 files changed
+51
-7
No files matched your search
@@ -451,7 +451,47 @@
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 68 216 1 1 1
|
||||
name "game_options"
|
||||
rect -64 68 336 20 1 1
|
||||
visible 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
forecolor 1 1 1 1
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
type 1
|
||||
textfont 3
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
text "@MPUI_MUTE_PLAYERS"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
close self;
|
||||
open "muteplayer";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
if ( dvarstring( "gameMode" ) != "mp" )
|
||||
{
|
||||
setItemColor "mw2_button" backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 "0.0";
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 88 216 1 1 1
|
||||
decoration
|
||||
visible 1
|
||||
style 3
|
||||
@@ -462,7 +502,7 @@
|
||||
itemDef
|
||||
{
|
||||
name "game_options"
|
||||
rect -64 68 336 20 1 1
|
||||
rect -64 88 336 20 1 1
|
||||
visible 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
@@ -503,7 +543,7 @@
|
||||
itemDef
|
||||
{
|
||||
name "game_options"
|
||||
rect -64 88 336 20 1 1
|
||||
rect -64 108 336 20 1 1
|
||||
visible 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
@@ -515,14 +555,12 @@
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.375
|
||||
//text "@MPUI_MUTE_PLAYERS"
|
||||
disabled when(dvarBool("party_host"))
|
||||
text "@MENU_ADD_TO_FAVORITES"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
close self;
|
||||
//open "muteplayer";
|
||||
uiScript "CreateCurrentServerFavorite";
|
||||
}
|
||||
onFocus
|
||||
@@ -546,7 +584,7 @@
|
||||
itemDef
|
||||
{
|
||||
name "game_endgame"
|
||||
rect -64 108 336 20 1 1
|
||||
rect -64 128 336 20 1 1
|
||||
visible 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
@@ -586,7 +624,7 @@
|
||||
itemDef
|
||||
{
|
||||
name "game_leavegame"
|
||||
rect -64 108 336 20 1 1
|
||||
rect -64 128 336 20 1 1
|
||||
visible 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
|
||||
Reference in new issue
Block a user