Pushed raw files
This commit is contained in:
1 parent
22d0d4d39f
commit
79f967ecc9
5854 files changed
+2989978
No files matched your search
@@ -0,0 +1,18 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "ac130timer"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt "ui_ac130timer" ( milliseconds( ) + ( dvarint( "ui_ac130usetime" ) * 1000 ) + 3000 );
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "background_main"
|
||||
rect 0 0 640 480 0 0
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
fadeCycle 1
|
||||
fadeClamp 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
execnow "g_friendlyfiredist 0";
|
||||
execnow "g_friendlynamedist 0";
|
||||
execnow "loc_warnings 0";
|
||||
execnow "loc_warningsaserrors 0";
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 499 438 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "@PLATFORM_SELECT"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "signedinas"
|
||||
rect 0 0 250 15 0 0
|
||||
ownerdraw 272
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 8
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 80 170 250 15 0 0
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
execKey "BUTTON_RTRIG"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_RTRIG";
|
||||
}
|
||||
execKey "BUTTON_LTRIG"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_LTRIG";
|
||||
}
|
||||
execKey "BUTTON_RSTICK"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_RSTICK";
|
||||
}
|
||||
execKey "BUTTON_LSTICK"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_LSTICK";
|
||||
}
|
||||
execKey "BUTTON_BACK"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_BACK";
|
||||
}
|
||||
execKey "BUTTON_START"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_START";
|
||||
}
|
||||
execKey "BUTTON_RSHLDR"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_RSHLDR";
|
||||
}
|
||||
execKey "BUTTON_LSHLDR"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_LSHLDR";
|
||||
}
|
||||
execKey "BUTTON_Y"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_Y";
|
||||
}
|
||||
execKey "BUTTON_X"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_X";
|
||||
}
|
||||
execKey "BUTTON_B"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_B";
|
||||
}
|
||||
execKey "BUTTON_A"
|
||||
{
|
||||
scriptmenuresponse "BUTTON_A";
|
||||
}
|
||||
execKey "DPAD_DOWN"
|
||||
{
|
||||
scriptmenuresponse "DPAD_DOWN";
|
||||
}
|
||||
execKey "DPAD_UP"
|
||||
{
|
||||
scriptmenuresponse "DPAD_UP";
|
||||
}
|
||||
execKey "DPAD_LEFT"
|
||||
{
|
||||
scriptmenuresponse "DPAD_LEFT";
|
||||
}
|
||||
execKey "DPAD_RIGHT"
|
||||
{
|
||||
scriptmenuresponse "DPAD_RIGHT";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,358 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "background_systemlink"
|
||||
rect 0 0 640 480 0 0
|
||||
style 1
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
fadeCycle 1
|
||||
fadeClamp 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
uiScript "UpdateFilter";
|
||||
setfocus "serverlist";
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
scriptmenuresponse "popMenu";
|
||||
close "background_systemlink";
|
||||
open "background_main";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 48 36 544 408 0 0
|
||||
style 1
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 0 0 0.5
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "select"
|
||||
rect 415 422 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 4
|
||||
textscale 0.4583
|
||||
text "@PLATFORM_SELECT"
|
||||
visible when ( !menuisopen( "menu_xboxlive_party" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cancel"
|
||||
rect 505 422 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 4
|
||||
textscale 0.4583
|
||||
text "@PLATFORM_BACK"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "refresh"
|
||||
rect 200 438 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "@PLATFORM_REFRESH"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "refresh"
|
||||
rect 200 438 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 1
|
||||
textscale 0.55
|
||||
execKey "BUTTON_X"
|
||||
{
|
||||
play "mouse_click";
|
||||
uiScript "RefreshServers";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "creategame"
|
||||
rect 290 438 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "@PLATFORM_CREATEGAME"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "creategame"
|
||||
rect 290 438 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 1
|
||||
textscale 0.55
|
||||
execKey "BUTTON_Y"
|
||||
{
|
||||
play "mouse_click";
|
||||
close "background_systemlink";
|
||||
scriptmenuresponse "gamesetup_systemlink";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 51 64 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "@MENU_HOST_NAME"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 64 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "@MENU_MAP_NAME"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 432 64 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "@MENU_NUMPLAYERS"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 513 64 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "@MENU_TYPE1"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 256 66 1 349 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 428 66 1 349 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 510 66 1 349 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "serverlist"
|
||||
rect 45 63 564 352 0 0
|
||||
style 1
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
outlinecolor 0.19 0.3 0.2 0.45
|
||||
type 6
|
||||
textfont 1
|
||||
textalignx 1
|
||||
textscale 0.4583
|
||||
feeder 2
|
||||
elementwidth 120
|
||||
elementheight 18
|
||||
// numcol xpos xwidth textlen alignment
|
||||
columns 4 0 35 40 0
|
||||
209 45 25 0
|
||||
381 5 10 0
|
||||
462 20 10 0
|
||||
noscrollbars
|
||||
doubleclick
|
||||
{
|
||||
uiScript "JoinServer";
|
||||
close "background_systemlink";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 0 100 600 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -600 100 600 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -900 -100 900 100 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 900 100 1 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 56 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||||
}
|
||||
}
|
||||
menuDef
|
||||
{
|
||||
name "background_systemlink_setup"
|
||||
rect 0 0 640 480 0 0
|
||||
style 1
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
fadeCycle 1
|
||||
fadeClamp 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
execnow "set ui_mapname mp_argun" execnow "set ui_mapname_text @MPUI_ARGUN" execnow "set ui_gametype war" execnow "set ui_gametype_text @MPUI_WAR";
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
exec "splitscreencontrols";
|
||||
close "background_systemlink_setup";
|
||||
open "background_systemlink";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 48 36 544 408 0 0
|
||||
style 1
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 0 0 0.5
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "select"
|
||||
rect 415 422 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 4
|
||||
textscale 0.4583
|
||||
text "@PLATFORM_SELECT"
|
||||
visible when ( !menuisopen( "menu_xboxlive_party" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "cancel"
|
||||
rect 505 422 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 4
|
||||
textscale 0.4583
|
||||
text "@PLATFORM_BACK"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 48 40 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 1
|
||||
textscale 0.5833
|
||||
text "SYSTEMLINK GAME SETUP"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,396 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "challenge"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
onOpen
|
||||
{
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.15";
|
||||
close "splash";
|
||||
close "defcon";
|
||||
close "killstreak_pickup";
|
||||
close "killstreak";
|
||||
close "perk_challenge";
|
||||
close "promotion";
|
||||
setLocalVarString "splashRef" ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 0 ) );
|
||||
if ( tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) == "" )
|
||||
{
|
||||
setLocalVarString "splashRef" ( "" );
|
||||
close self;
|
||||
}
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
if ( localvarstring( "splashRef" ) != "" )
|
||||
{
|
||||
lerp "alpha" "from" 1 "to" 0 "over" "0.15";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered"
|
||||
rect 0 -110 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
decodeEffect 16777216
|
||||
textfont 6
|
||||
textalign 1
|
||||
textscale 0.7
|
||||
textstyle 3
|
||||
exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
|
||||
exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
|
||||
exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
|
||||
exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) > 0 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_description"
|
||||
rect 0 -90 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
decodeEffect 16777216
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashdescription( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered_ss"
|
||||
rect 0 -135 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
decodeEffect 16777216
|
||||
textfont 6
|
||||
textalign 1
|
||||
textscale 0.729165
|
||||
textstyle 3
|
||||
exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
|
||||
exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
|
||||
exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
|
||||
exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) > 0 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
}
|
||||
menuDef
|
||||
{
|
||||
name "perk_challenge"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
onOpen
|
||||
{
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.2";
|
||||
lerp "scale" "from" 0 "to" 1 "over" "0.2";
|
||||
lerp y "from" - "100" "to" 0 "over" "0.2";
|
||||
close "splash";
|
||||
close "challenge";
|
||||
close "defcon";
|
||||
close "killstreak_pickup";
|
||||
close "killstreak";
|
||||
close "promotion";
|
||||
setLocalVarString "splashRef" ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 0 ) );
|
||||
setLocalVarString "challengeRef" ( tablelookup( "mp/unlockTable.csv" , 3 , localvarstring( "splashRef" ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) , 0 ) );
|
||||
if ( localvarstring( "challengeRef" ) != "" )
|
||||
{
|
||||
setLocalVarString "perkRef" ( tablelookup( "mp/perkTable.csv" , 8 , localvarstring( "challengeRef" ) , 1 ) );
|
||||
setLocalVarString "perkUpgradeRef" ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkRef" ) , 8 ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarString "perkRef" ( "" );
|
||||
setLocalVarString "perkUpgradeRef" ( "" );
|
||||
}
|
||||
setLocalVarInt "challenge_update_time" ( milliseconds( ) );
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp "alpha" "from" 1 "to" 0 "over" "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered"
|
||||
rect 0 -110 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.75 0.35 0 1
|
||||
textfont 6
|
||||
textalign 1
|
||||
textscale 0.7
|
||||
textstyle 3
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) > 0 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_description"
|
||||
rect 0 -90 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
decodeEffect 16777216
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashdescription( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_icon"
|
||||
rect 40 -190 48 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 24 - 64 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * 128 ) )
|
||||
exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkUpgradeRef" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -24 -190 16 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.15
|
||||
background "summary_arrow"
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 8 - 64 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * 48 ) )
|
||||
exp forecolor a ( 0.35 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -8 -190 16 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
background "summary_arrow"
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 8 - 64 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * 64 ) )
|
||||
exp forecolor a ( 0.45 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 8 -190 16 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.25
|
||||
background "summary_arrow"
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 8 - 64 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * 80 ) )
|
||||
exp forecolor a ( 0.55 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_icon"
|
||||
rect -40 -190 48 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 24 ) - ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 250 ) / 150 , 0 ) , 1 ) * 64 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkRef" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered_ss"
|
||||
rect 0 -135 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.75 0.35 0 1
|
||||
textfont 6
|
||||
textalign 1
|
||||
textscale 0.729165
|
||||
textstyle 3
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) > 0 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , localvarstring( "splashRef" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , localvarstring( "splashRef" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_icon_ss"
|
||||
rect 0 -135 60 60 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
exp rect x ( ( ( 0 - 20 - 56 ) * 1.5 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * ( 112 * 1.5 ) ) )
|
||||
exp forecolor a ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkUpgradeRef" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -135 16.5 60 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.15
|
||||
background "summary_arrow"
|
||||
textscale 0.55
|
||||
exp rect x ( ( ( 0 - 6 - 64 ) * 1.5 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * ( 48 * 1.5 ) ) )
|
||||
exp forecolor a ( 0.35 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -135 16.5 60 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
background "summary_arrow"
|
||||
textscale 0.55
|
||||
exp rect x ( ( ( 0 - 6 - 64 ) * 1.5 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * ( 64 * 1.5 ) ) )
|
||||
exp forecolor a ( 0.45 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -135 16.5 60 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.25
|
||||
background "summary_arrow"
|
||||
textscale 0.55
|
||||
exp rect x ( ( ( 0 - 6 - 64 ) * 1.5 ) + ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) * ( 80 * 1.5 ) ) )
|
||||
exp forecolor a ( 0.55 * min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 400 ) / 250 , 0 ) , 1 ) )
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_icon_ss"
|
||||
rect 0 -135 60 60 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
exp rect x ( ( ( 0 - 20 ) * 1.5 ) - ( min( max( ( milliseconds( ) - localvarint( "challenge_update_time" ) + 250 ) / 150 , 0 ) , 1 ) * ( 56 * 1.5 ) ) )
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && localvarstring( "perkUpgradeRef" ) != "" && isitemunlocked( localvarstring( "perkUpgradeRef" ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "perkRef" ) , 3 ) )
|
||||
}
|
||||
}
|
||||
menuDef
|
||||
{
|
||||
name "promotion"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
exp rect y ( ( ( dvarbool( "camera_thirdPerson" ) ) || ( ! ( inkillcam( ) ) ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
onOpen
|
||||
{
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.15";
|
||||
close "splash";
|
||||
close "challenge";
|
||||
close "defcon";
|
||||
close "killstreak_pickup";
|
||||
close "killstreak";
|
||||
close "perk_challenge";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp "alpha" "from" 1 "to" 0 "over" "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "promotion_text"
|
||||
rect 0 -120 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
decodeEffect 16777216
|
||||
textfont 6
|
||||
textalign 1
|
||||
textscale 0.6
|
||||
textstyle 3
|
||||
text "@RANK_PROMOTED"
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "promotion_rank_text"
|
||||
rect 0 -100 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
decodeEffect 16777216
|
||||
textfont 6
|
||||
textalign 1
|
||||
textscale 0.48611
|
||||
textstyle 3
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "promotion_rank_icon"
|
||||
rect -24 -100 48 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "promotion_rank_text_ss"
|
||||
rect 0 -135 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
decodeEffect 16777216
|
||||
textfont 6
|
||||
textalign 1
|
||||
textscale 0.729165
|
||||
textstyle 3
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) )
|
||||
exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "promotion_rank_icon_ss"
|
||||
rect -30 -135 60 60 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) )
|
||||
exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,978 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changeclass_defaults_splitscreen"
|
||||
rect 0 0 640 480 0 0
|
||||
legacySplitScreenScale
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
execKey "BUTTON_START"
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
scriptmenuresponse "back";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_ALLIES" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_AXIS" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 272 22 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.5
|
||||
text "@MPUI_CHOOSE_CLASS_CAP"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 22 336 19 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "menu_button_selection_bar"
|
||||
textscale 0.55
|
||||
exp rect y ( getfocuseditemy( ) )
|
||||
visible when ( !localvarint( "ui_centerPopup" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -219
|
||||
textscale 0.28
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
exp rect y ( getfocuseditemy( ) )
|
||||
visible when ( localvarbool( "ui_menuAButton" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_1"
|
||||
rect -178 22 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS1"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class0";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 0 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 0 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 0 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_2"
|
||||
rect -178 38 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS2"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class1";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 1 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 1 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 1 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_3"
|
||||
rect -178 54 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS3"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class2";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 2 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 2 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 2 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_4"
|
||||
rect -178 70 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS4"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class3";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 3 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 3 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 3 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_5"
|
||||
rect -178 86 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS5"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class4";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 4 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 4 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 4 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 103 280 0.666667 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( ( getplayerdata( "customClasses" , 0 , "inUse" ) || getplayerdata( "customClasses" , 1 , "inUse" ) || getplayerdata( "customClasses" , 2 , "inUse" ) || getplayerdata( "customClasses" , 3 , "inUse" ) || getplayerdata( "customClasses" , 4 , "inUse" ) || getplayerdata( "customClasses" , 5 , "inUse" ) || getplayerdata( "customClasses" , 6 , "inUse" ) || getplayerdata( "customClasses" , 7 , "inUse" ) || getplayerdata( "customClasses" , 8 , "inUse" ) || getplayerdata( "customClasses" , 9 , "inUse" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 102 336 19 1 1
|
||||
style 1
|
||||
visible 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_CUSTOM_CLASSES1"
|
||||
visible when ( ( getplayerdata( "customClasses" , 0 , "inUse" ) || getplayerdata( "customClasses" , 1 , "inUse" ) || getplayerdata( "customClasses" , 2 , "inUse" ) || getplayerdata( "customClasses" , 3 , "inUse" ) || getplayerdata( "customClasses" , 4 , "inUse" ) || getplayerdata( "customClasses" , 5 , "inUse" ) || getplayerdata( "customClasses" , 6 , "inUse" ) || getplayerdata( "customClasses" , 7 , "inUse" ) || getplayerdata( "customClasses" , 8 , "inUse" ) || getplayerdata( "customClasses" , 9 , "inUse" ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
close self;
|
||||
open "changeclass_custom_splitscreen";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 0 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 0 136 408 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 -136 55 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 136 55 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && localvarstring( "loadoutPrimaryCamo" ) != "none" )
|
||||
exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutPrimaryCamo" ) , 4 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 136 9 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.25
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && localvarstring( "loadoutPrimaryCamo" ) != "none" )
|
||||
exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutPrimaryCamo" ) , 4 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 -136 15 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny -2
|
||||
textscale 0.375
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -80 39 80 40 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132.5 39 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132.5 59 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -109 59 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 79 -136 55 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 79 136 55 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && localvarstring( "loadoutSecondaryCamo" ) != "none" )
|
||||
exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutSecondaryCamo" ) , 4 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 79 136 9 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.25
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && localvarstring( "loadoutSecondaryCamo" ) != "none" )
|
||||
exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutSecondaryCamo" ) , 4 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 79 -136 15 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny -2
|
||||
textscale 0.375
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -80 94 80 40 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132.5 94 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132.5 114 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -109 114 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 134 -136 17 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 134 17 17 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutEquipment" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -118 134 136 17 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 4
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutEquipment" ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 151 -136 17 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 151 17 17 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -118 151 136 17 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 4
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp text ( locstring( "@MPUI_N_XN" , "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 3 ) , int( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 5 ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 168 -136 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) && localvarstring( "loadoutPerk1" ) != "" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 3 ) + "_upgrade" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) && localvarstring( "loadoutPerk2" ) != "" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 3 ) + "_upgrade" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -68 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -68 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) && localvarstring( "loadoutPerk3" ) != "" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 3 ) + "_upgrade" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -36 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 8 ) ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -36 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 8 ) ) && localvarstring( "loadoutDeathStreak" ) != "" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 3 ) + "_upgrade" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 0 100 600 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -600 100 600 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -900 -100 900 100 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 900 100 1 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 56 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changeclass_marines"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "marines" );
|
||||
open "changeclass";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changeclass_marines_splitscreen"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "marines" );
|
||||
if ( getplayerdata( "customClasses" , 0 , "inUse" ) || getplayerdata( "customClasses" , 1 , "inUse" ) || getplayerdata( "customClasses" , 2 , "inUse" ) || getplayerdata( "customClasses" , 3 , "inUse" ) || getplayerdata( "customClasses" , 4 , "inUse" ) || getplayerdata( "customClasses" , 5 , "inUse" ) || getplayerdata( "customClasses" , 6 , "inUse" ) || getplayerdata( "customClasses" , 7 , "inUse" ) || getplayerdata( "customClasses" , 8 , "inUse" ) || getplayerdata( "customClasses" , 9 , "inUse" ) )
|
||||
{
|
||||
open "changeclass_custom_splitscreen";
|
||||
}
|
||||
else
|
||||
{
|
||||
open "changeclass_defaults_splitscreen";
|
||||
}
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changeclass_opfor"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "opfor" );
|
||||
open "changeclass";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changeclass_opfor_splitscreen"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "opfor" );
|
||||
if ( getplayerdata( "customClasses" , 0 , "inUse" ) || getplayerdata( "customClasses" , 1 , "inUse" ) || getplayerdata( "customClasses" , 2 , "inUse" ) || getplayerdata( "customClasses" , 3 , "inUse" ) || getplayerdata( "customClasses" , 4 , "inUse" ) || getplayerdata( "customClasses" , 5 , "inUse" ) || getplayerdata( "customClasses" , 6 , "inUse" ) || getplayerdata( "customClasses" , 7 , "inUse" ) || getplayerdata( "customClasses" , 8 , "inUse" ) || getplayerdata( "customClasses" , 9 , "inUse" ) )
|
||||
{
|
||||
open "changeclass_custom_splitscreen";
|
||||
}
|
||||
else
|
||||
{
|
||||
open "changeclass_defaults_splitscreen";
|
||||
}
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,717 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "class"
|
||||
rect 0 0 640 480 0 0
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
execKey "BUTTON_START"
|
||||
{
|
||||
scriptmenuresponse "back";
|
||||
}
|
||||
onOpen
|
||||
{
|
||||
focusfirst;
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
scriptmenuresponse "back";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.25
|
||||
background "gradient_fadein_fadebottom"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
text "@MENU_OPTIONS_UPPER_CASE"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_border"
|
||||
rect -260 135 240 240 3 1
|
||||
border 1
|
||||
bordersize 0.666667
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
bordercolor 1 1 1 0.35
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_map"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 181
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "compass_map_default"
|
||||
type 8
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_friendlies"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 185
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_enemies"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 188
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_objectives"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 182
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "objective_line"
|
||||
type 8
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_sentries"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 189
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_player"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 183
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "compassping_player"
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
exp forecolor a ( radarjamintensity( ) )
|
||||
visible when ( radarisjammed( ) && ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
textscale 0.55
|
||||
exp forecolor a ( radarjamintensity( ) )
|
||||
visible when ( radarisjammed( ) && ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "stencil_base"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "scanlines_stencil"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 135 - 240 ) + ( ( 240 * 2 ) * ( 1 - ( ( milliseconds( ) % 4000 ) / 4000 ) ) ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 115 -136 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
exp text ( getmapname( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -272 0 272 28 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.35
|
||||
exp text ( gametypename( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -272 28 272 60 3 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
exp text ( gametypedescription( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.275
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.275
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.275
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.275
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_ALLIES" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_AXIS" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_choose_class"
|
||||
rect -64 28 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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_CHOOSE_CLASS"
|
||||
disabled when ( !( ( localvarstring( "ui_team" ) == "marines" ) || ( localvarstring( "ui_team" ) == "opfor" ) ) || !( 1 ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
if ( ( localvarstring( "ui_team" ) == "marines" ) )
|
||||
{
|
||||
scriptmenuresponse "changeclass_marines";
|
||||
}
|
||||
if ( ( localvarstring( "ui_team" ) == "opfor" ) )
|
||||
{
|
||||
scriptmenuresponse "changeclass_opfor";
|
||||
}
|
||||
}
|
||||
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
|
||||
{
|
||||
name "game_choose_team"
|
||||
rect -64 48 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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_CHANGE_TEAM"
|
||||
disabled when ( !( dvarbool( "ui_allow_teamchange" ) && ( !dvarbool( "onlinegame" ) || dvarbool( "xblive_privatematch" ) ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "changeteam";
|
||||
}
|
||||
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 68 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_options"
|
||||
rect -64 68 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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 "@MENU_OPTIONS"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
close self;
|
||||
open "ingame_controls";
|
||||
}
|
||||
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
|
||||
{
|
||||
name "game_endgame"
|
||||
rect -64 88 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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 "@MENU_END_GAME"
|
||||
visible when ( ( dvarbool( "onlinegame" ) && !dvarbool( "xblive_privatematch" ) ) == 0 && ( dvarbool( "sv_running" ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
open "popup_endgame";
|
||||
}
|
||||
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
|
||||
{
|
||||
name "game_leavegame"
|
||||
rect -64 88 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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 "@MENU_LEAVE_GAME"
|
||||
visible when ( ( dvarbool( "onlinegame" ) && !dvarbool( "xblive_privatematch" ) ) || !( dvarbool( "sv_running" ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
if ( ( dvarbool( "onlinegame" ) && !dvarbool( "xblive_privatematch" ) ) == 0 && ( ( dvarbool( "sv_running" ) ) == 0 ) && ( inprivateparty( ) && !privatepartyhost( ) && privatepartyhostinlobby( ) ) )
|
||||
{
|
||||
open "popup_leavegameandparty";
|
||||
}
|
||||
if ( ( dvarbool( "onlinegame" ) && !dvarbool( "xblive_privatematch" ) ) == 0 && ( ( dvarbool( "sv_running" ) ) == 0 ) && ( !inprivateparty( ) || privatepartyhost( ) || !privatepartyhostinlobby( ) ) )
|
||||
{
|
||||
open "popup_leavegame";
|
||||
}
|
||||
if ( ( dvarbool( "onlinegame" ) && !dvarbool( "xblive_privatematch" ) ) && ( dvarbool( "sv_running" ) ) )
|
||||
{
|
||||
open "popup_endgame_ranked";
|
||||
}
|
||||
if ( ( dvarbool( "onlinegame" ) && !dvarbool( "xblive_privatematch" ) ) && ( dvarbool( "sv_running" ) ) == 0 && ( inprivateparty( ) && !privatepartyhost( ) && privatepartyhostinlobby( ) ) )
|
||||
{
|
||||
open "popup_leavegameandparty_ranked";
|
||||
}
|
||||
if ( ( dvarbool( "onlinegame" ) && !dvarbool( "xblive_privatematch" ) ) && ( dvarbool( "sv_running" ) ) == 0 && ( !inprivateparty( ) || privatepartyhost( ) || !privatepartyhostinlobby( ) ) )
|
||||
{
|
||||
open "popup_leavegame_ranked";
|
||||
}
|
||||
}
|
||||
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 0 272 22 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -41
|
||||
textaligny -1
|
||||
textscale 0.28
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
exp rect y ( getfocuseditemy( ) )
|
||||
visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -20 336 24 1 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 6
|
||||
textalignx -30
|
||||
textscale 0.375
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 0 100 600 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -600 100 600 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -900 -100 900 100 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 900 100 1 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 56 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "class_marines"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "marines" );
|
||||
open "class" close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "class_marines_splitscreen"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "marines" );
|
||||
open "class_splitscreen" close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "class_opfor"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "opfor" );
|
||||
open "class" close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "class_opfor_splitscreen"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "opfor" );
|
||||
open "class_splitscreen" close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,637 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "class_splitscreen"
|
||||
rect 0 0 640 480 0 0
|
||||
legacySplitScreenScale
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
execKey "BUTTON_START"
|
||||
{
|
||||
scriptmenuresponse "back";
|
||||
}
|
||||
onOpen
|
||||
{
|
||||
focusfirst;
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
scriptmenuresponse "back";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 272 22 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.5
|
||||
text "@MENU_OPTIONS_UPPER_CASE"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 22 336 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 1
|
||||
background "menu_button_selection_bar"
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -41
|
||||
textscale 0.28
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
exp rect y ( getfocuseditemy( ) )
|
||||
exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) )
|
||||
visible when ( !localvarint( "ui_centerPopup" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_border"
|
||||
rect -136 41 136 136 3 1
|
||||
border 1
|
||||
bordersize 0.666667
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
bordercolor 1 1 1 0.35
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_map"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 181
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "compass_map_default"
|
||||
type 8
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_friendlies"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 185
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_enemies"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 188
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_objectives"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 182
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "objective_line"
|
||||
type 8
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_sentries"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 189
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_player"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 183
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "compassping_player"
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
exp forecolor a ( radarjamintensity( ) )
|
||||
visible when ( radarisjammed( ) && ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
textscale 0.55
|
||||
exp forecolor a ( radarjamintensity( ) )
|
||||
visible when ( radarisjammed( ) && ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "stencil_base"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "scanlines_stencil"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 41 - 136 ) + ( ( 136 * 2 ) * ( 1 - ( ( milliseconds( ) % 4000 ) / 4000 ) ) ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 -136 132 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 0.1
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 -136 17 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 3
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
exp text ( gametypename( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 0 -136 17 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 3
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
exp rect y ( 41 + ( 136 * ( !isempjammed( ) ) ) )
|
||||
exp text ( getmapname( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_ALLIES" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_AXIS" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_choose_class"
|
||||
rect -178 22 336 20 1 1
|
||||
style 1
|
||||
visible 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_CHOOSE_CLASS"
|
||||
disabled when ( !( ( localvarstring( "ui_team" ) == "marines" ) || ( localvarstring( "ui_team" ) == "opfor" ) ) || !( 1 ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
if ( ( localvarstring( "ui_team" ) == "marines" ) )
|
||||
{
|
||||
setLocalVarString "ui_team" ( "marines" );
|
||||
}
|
||||
if ( ( localvarstring( "ui_team" ) == "opfor" ) )
|
||||
{
|
||||
setLocalVarString "ui_team" ( "opfor" );
|
||||
}
|
||||
if ( getplayerdata( "customClasses" , 0 , "inUse" ) || getplayerdata( "customClasses" , 1 , "inUse" ) || getplayerdata( "customClasses" , 2 , "inUse" ) || getplayerdata( "customClasses" , 3 , "inUse" ) || getplayerdata( "customClasses" , 4 , "inUse" ) || getplayerdata( "customClasses" , 5 , "inUse" ) || getplayerdata( "customClasses" , 6 , "inUse" ) || getplayerdata( "customClasses" , 7 , "inUse" ) || getplayerdata( "customClasses" , 8 , "inUse" ) || getplayerdata( "customClasses" , 9 , "inUse" ) )
|
||||
{
|
||||
open "changeclass_custom_splitscreen";
|
||||
}
|
||||
else
|
||||
{
|
||||
open "changeclass_defaults_splitscreen";
|
||||
}
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_choose_team"
|
||||
rect -178 42 336 20 1 1
|
||||
style 1
|
||||
visible 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_CHANGE_TEAM"
|
||||
disabled when ( !( dvarbool( "ui_allow_teamchange" ) && ( !dvarbool( "onlinegame" ) || dvarbool( "xblive_privatematch" ) ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "changeteam";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 62 280 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_options"
|
||||
rect -178 62 336 20 1 1
|
||||
style 1
|
||||
visible 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 "@MENU_OPTIONS"
|
||||
disabled when ( !dvarbool( "ui_allow_controlschange" ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
exec "Updatedvarsfromprofile";
|
||||
open "ingame_controls_splitscreen";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 82 280 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "game_end"
|
||||
rect -178 82 336 20 1 1
|
||||
style 1
|
||||
visible 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 "@MENU_END_GAME"
|
||||
disabled when ( ( dvarint( "scr_gameended" ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
open "popup_endgame_splitscreen";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 0 100 600 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -600 100 600 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -900 -100 900 100 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 900 100 1 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 56 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "defcon"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
lerp "scale" "from" "10" "to" 1 "over" "0.15";
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.15";
|
||||
setLocalVarInt "defcon_update_time" ( milliseconds( ) + 1000 );
|
||||
setLocalVarString "ui_defcon_splashMaterial" ( getsplashmaterial( 0 ) );
|
||||
close "splash";
|
||||
close "challenge";
|
||||
close "killstreak_pickup";
|
||||
close "killstreak";
|
||||
close "perk_challenge";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp "scale" "from" 1 "to" "10" "over" "0.15";
|
||||
lerp "alpha" "from" 1 "to" 0 "over" "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "defcon_title"
|
||||
rect 0 -134 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.5833
|
||||
textstyle 3
|
||||
exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
|
||||
exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
|
||||
exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
|
||||
exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
|
||||
exp text ( getsplashtext( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "defcon_description"
|
||||
rect 0 -90 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashdescription( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "defcon_icon"
|
||||
rect -62.5 -130 125 14 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
exp material ( localvarstring( "ui_defcon_splashMaterial" ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "dirt_effect_center"
|
||||
rect 0 0 640 480 8 10
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
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
|
||||
forecolor 1 1 1 1
|
||||
background "fullscreen_dirt_bottom"
|
||||
textscale 0.55
|
||||
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 1
|
||||
forecolor 1 1 1 1
|
||||
background "fullscreen_dirt_bottom_b"
|
||||
textscale 0.55
|
||||
visible when ( milliseconds( ) > localvarint( "dirt_update_time" ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "dirt_effect_left"
|
||||
rect 0 0 640 480 8 8
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.05";
|
||||
lerp "scale" "from" 0 "to" 1 "over" "0.05";
|
||||
lerp x "from" - "1000" "to" 0 "over" "0.05";
|
||||
}
|
||||
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
|
||||
forecolor 1 1 1 1
|
||||
background "fullscreen_dirt_left"
|
||||
textscale 0.55
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "dirt_effect_right"
|
||||
rect 0 0 640 480 8 10
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.15";
|
||||
lerp "scale" "from" 0 "to" 1 "over" "0.1";
|
||||
lerp x "from" "300" "to" 0 "over" "0.1";
|
||||
}
|
||||
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
|
||||
forecolor 1 1 1 1
|
||||
background "fullscreen_dirt_left"
|
||||
textscale 0.55
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,671 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "elevator_floor_selector"
|
||||
rect -46 -64 92 128 2 2
|
||||
style 1
|
||||
border 5
|
||||
bordersize 2
|
||||
popup
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
execKey "BUTTON_START"
|
||||
{
|
||||
scriptmenuresponse "none";
|
||||
close "elevator_floor_selector";
|
||||
}
|
||||
onOpen
|
||||
{
|
||||
setLocalVarBool "ui_centerPopup" ( 1 );
|
||||
}
|
||||
onClose
|
||||
{
|
||||
play "mouse_click";
|
||||
setLocalVarBool "ui_centerPopup" ( 0 );
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
setLocalVarBool "ui_centerPopup" ( 0 );
|
||||
close self;
|
||||
scriptmenuresponse "none";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -44 -62 88 124 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.2 0.2 0.25 0.8
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -58 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) != 3 )
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 -58 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) != 3 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -58 79.5 18 2 2
|
||||
style 3
|
||||
bordersize 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 -58 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -44 -57 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textaligny -1
|
||||
textscale 0.3
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -58 84 18 2 2
|
||||
visible 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
visible when ( dvarint( "player_current_floor" ) != 3 )
|
||||
exp text ( "( 4 )" )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 3;
|
||||
close "elevator_floor_selector" ;;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_submenu_over";
|
||||
setLocalVarInt "ui_highlight" ( 1 );
|
||||
setLocalVarString "ui_choicegroup" ( "popmenu" );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt "ui_highlight" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -58 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) == 3 )
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 -58 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) == 3 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -58 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
visible when ( dvarint( "player_current_floor" ) == 3 )
|
||||
exp text ( "( 4 )" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -38 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) != 2 )
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 -38 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) != 2 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -38 79.5 18 2 2
|
||||
style 3
|
||||
bordersize 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 -38 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -44 -37 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textaligny -1
|
||||
textscale 0.3
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -38 84 18 2 2
|
||||
visible 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
visible when ( dvarint( "player_current_floor" ) != 2 )
|
||||
exp text ( "( 3 )" )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 2;
|
||||
close "elevator_floor_selector" ;;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_submenu_over";
|
||||
setLocalVarInt "ui_highlight" ( 2 );
|
||||
setLocalVarString "ui_choicegroup" ( "popmenu" );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt "ui_highlight" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -38 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) == 2 )
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 -38 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) == 2 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -38 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
visible when ( dvarint( "player_current_floor" ) == 2 )
|
||||
exp text ( "( 3 )" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -18 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) != 1 )
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 -18 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) != 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -18 79.5 18 2 2
|
||||
style 3
|
||||
bordersize 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 -18 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -44 -17 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textaligny -1
|
||||
textscale 0.3
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -18 84 18 2 2
|
||||
visible 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
visible when ( dvarint( "player_current_floor" ) != 1 )
|
||||
exp text ( "( 2 )" )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 1;
|
||||
close "elevator_floor_selector" ;;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_submenu_over";
|
||||
setLocalVarInt "ui_highlight" ( 3 );
|
||||
setLocalVarString "ui_choicegroup" ( "popmenu" );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt "ui_highlight" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -18 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) == 1 )
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 -18 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) == 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 -18 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
visible when ( dvarint( "player_current_floor" ) == 1 )
|
||||
exp text ( "( 2 )" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 2 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) != 0 )
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 2 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) != 0 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 2 79.5 18 2 2
|
||||
style 3
|
||||
bordersize 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 2 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -44 3 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textaligny -1
|
||||
textscale 0.3
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 2 84 18 2 2
|
||||
visible 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
visible when ( dvarint( "player_current_floor" ) != 0 )
|
||||
exp text ( "( 1 )" )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 0;
|
||||
close "elevator_floor_selector" ;;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_submenu_over";
|
||||
setLocalVarInt "ui_highlight" ( 4 );
|
||||
setLocalVarString "ui_choicegroup" ( "popmenu" );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt "ui_highlight" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 2 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) == 0 )
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 2 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( dvarint( "player_current_floor" ) == 0 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 2 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
visible when ( dvarint( "player_current_floor" ) == 0 )
|
||||
exp text ( "( 1 )" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 22 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
visible when ( 1 )
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 22 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 22 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
visible when ( 1 )
|
||||
exp text ( "( B1 )" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 42 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
textscale 0.55
|
||||
exp material ( "gradient_fadein" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 42 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 42 79.5 18 2 2
|
||||
style 3
|
||||
bordersize 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 37.5 42 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
textscale 0.55
|
||||
visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -44 43 84 18 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textaligny -1
|
||||
textscale 0.3
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
visible when ( localvarint( "ui_highlight" ) == 6 && localvarstring( "ui_choicegroup" ) == "popmenu" && 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42 42 84 18 2 2
|
||||
visible 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -22
|
||||
textscale 0.375
|
||||
textstyle 6
|
||||
exp text ( "Cancel" )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "none";
|
||||
close "elevator_floor_selector";
|
||||
close "elevator_floor_selector" ;;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_submenu_over";
|
||||
setLocalVarInt "ui_highlight" ( 6 );
|
||||
setLocalVarString "ui_choicegroup" ( "popmenu" );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt "ui_highlight" ( 0 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,373 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "endgameupdate"
|
||||
rect 0 0 640 4 4 0
|
||||
popup
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp "alpha" "from" 1 "to" 0 "over" "0.5";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -250 0 500 480 2 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "line_horizontal_scorebar"
|
||||
textscale 0.55
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
text "@RANK_PROMOTED"
|
||||
visible when ( dvarbool( "ui_promotion" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 20 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
visible when ( dvarbool( "ui_promotion" ) )
|
||||
exp text ( "@" + tablelookup( "mp/ranktable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , 5 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -24 50 48 48 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( dvarbool( "ui_promotion" ) )
|
||||
exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , levelforexperience( getplayerdata( "experience" ) ) , getplayerdata( "prestige" ) + 1 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 130 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
text "@MP_CHALLENGE_COMPLETED"
|
||||
exp rect y ( dvarbool( "ui_promotion" ) * 120 )
|
||||
visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && dvarstring( "ui_challenge_2_ref" ) == "" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 130 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
text "@MP_CHALLENGES_COMPLETED"
|
||||
exp rect y ( dvarbool( "ui_promotion" ) * 120 )
|
||||
visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && dvarstring( "ui_challenge_2_ref" ) != "" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
exp rect y ( ( 50 ) + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_1_ref" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 50 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_1_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 50 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_1_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_1_ref" ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
exp rect y ( ( 100 ) + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_2_ref" ) != "" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_2_ref" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 100 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_2_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_2_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 100 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_2_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_2_ref" ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
exp rect y ( ( 150 ) + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_3_ref" ) != "" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_3_ref" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 150 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_3_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_3_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 150 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_3_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_3_ref" ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
exp rect y ( ( 200 ) + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_4_ref" ) != "" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_4_ref" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 200 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_4_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_4_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 200 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_4_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_4_ref" ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
exp rect y ( ( 250 ) + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_5_ref" ) != "" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_5_ref" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 250 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_5_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 3 ) != "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_5_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 250 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_5_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 3 ) == "@CHALLENGE_BLANK" && 1 )
|
||||
exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_5_ref" ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
exp rect y ( ( 300 ) + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_6_ref" ) != "" && !dvarbool( "ui_promotion" ) )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_6_ref" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 300 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_6_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 3 ) != "@CHALLENGE_BLANK" && !dvarbool( "ui_promotion" ) )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_6_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 300 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_6_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 3 ) == "@CHALLENGE_BLANK" && !dvarbool( "ui_promotion" ) )
|
||||
exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_6_ref" ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 0.25 0.75 0.25 1
|
||||
textfont 6
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
exp rect y ( ( 350 ) + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_7_ref" ) != "" && !dvarbool( "ui_promotion" ) )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 1 ) ) + locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 3 ) + "_" + ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_7_ref" ) ) , 1 ) ) - 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 350 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_7_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 3 ) != "@CHALLENGE_BLANK" && !dvarbool( "ui_promotion" ) )
|
||||
exp text ( locstring( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 2 ) , ( int( tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 6 + ( ( int( max( getplayerdata( "challengeState" , dvarstring( "ui_challenge_7_ref" ) ) , 1 ) ) - 1 - 1 ) * 2 ) ) ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
exp rect y ( ( 350 ) + 20 + dvarbool( "ui_promotion" ) * 100 )
|
||||
visible when ( dvarstring( "ui_challenge_7_ref" ) != "" && "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 3 ) == "@CHALLENGE_BLANK" && !dvarbool( "ui_promotion" ) )
|
||||
exp text ( "@" + tablelookup( "mp/allChallengesTable.csv" , 0 , dvarstring( "ui_challenge_7_ref" ) , 2 ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,255 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "ingame_migration"
|
||||
rect 0 0 640 480 0 0
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 3
|
||||
onOpen
|
||||
{
|
||||
setdvar "ui_SaveLoadVisible" 0;
|
||||
setLocalVarInt "migration_time_start" ( milliseconds( ) );
|
||||
setLocalVarBool "ishost" ( 0 );
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
text "@MENU_HOST_MIGRATION"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 20 200 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 3
|
||||
textalign 1
|
||||
textaligny 38
|
||||
textscale 0.375
|
||||
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.25 && !localvarbool( "ishost" ) )
|
||||
exp text ( getmigrationstatus( ) + " " )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 20 200 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 3
|
||||
textalign 1
|
||||
textaligny 38
|
||||
textscale 0.375
|
||||
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 && !localvarbool( "ishost" ) )
|
||||
exp text ( getmigrationstatus( ) + ". " )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 20 200 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 3
|
||||
textalign 1
|
||||
textaligny 38
|
||||
textscale 0.375
|
||||
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 && !localvarbool( "ishost" ) )
|
||||
exp text ( getmigrationstatus( ) + ".. " )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 20 200 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 3
|
||||
textalign 1
|
||||
textaligny 38
|
||||
textscale 0.375
|
||||
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 && !localvarbool( "ishost" ) )
|
||||
exp text ( getmigrationstatus( ) + "..." )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 20 200 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 3
|
||||
textalign 1
|
||||
textaligny 38
|
||||
textscale 0.375
|
||||
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.25 && localvarbool( "ishost" ) )
|
||||
exp text ( locstring( "@MENU_UPLOADING_STATS" ) + "..." )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 20 200 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 3
|
||||
textalign 1
|
||||
textaligny 38
|
||||
textscale 0.375
|
||||
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.25 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.5 && localvarbool( "ishost" ) )
|
||||
exp text ( locstring( "@MENU_UPLOADING_STATS" ) + "..." )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 20 200 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 3
|
||||
textalign 1
|
||||
textaligny 38
|
||||
textscale 0.375
|
||||
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.5 && ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 <= 0.75 && localvarbool( "ishost" ) )
|
||||
exp text ( locstring( "@MENU_UPLOADING_STATS" ) + "..." )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 20 200 0 2 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 3
|
||||
textalign 1
|
||||
textaligny 38
|
||||
textscale 0.375
|
||||
visible when ( ( sin( milliseconds( ) * 0.005 ) + 1 ) * 0.5 > 0.75 && localvarbool( "ishost" ) )
|
||||
exp text ( locstring( "@MENU_UPLOADING_STATS" ) + "..." )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 0 100 600 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -600 100 600 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -900 -100 900 100 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 900 100 1 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 56 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "initteam_marines"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "marines" );
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "initteam_opfor"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString "ui_team" ( "opfor" );
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killedby_card_display"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt "ui_show_killedBy" ( milliseconds( ) );
|
||||
setLocalVarInt "ui_show_youKilled" ( 0 );
|
||||
if ( getperk( "perk4" ) == "specialty_copycat" )
|
||||
{
|
||||
setLocalVarInt "ui_show_copyCat" ( 1 );
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarInt "ui_show_copyCat" ( 0 );
|
||||
}
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killedby_card_hide"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt "ui_show_killedBy" ( 0 );
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,233 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreak"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
onOpen
|
||||
{
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.15";
|
||||
lerp x "from" - "640" "to" 0 "over" "0.15";
|
||||
setLocalVarString "tempName" ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 0 ) );
|
||||
setLocalVarString "ui_ksHint" ( localvarstring( "tempName" ) );
|
||||
close "splash";
|
||||
close "challenge";
|
||||
close "defcon";
|
||||
close "killstreak_pickup";
|
||||
close "perk_challenge";
|
||||
close "promotion";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp x "from" 0 "to" "640" "over" "0.15";
|
||||
lerp "alpha" "from" 1 "to" 0 "over" "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_title"
|
||||
rect 0 -110 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.5833
|
||||
textstyle 3
|
||||
exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
|
||||
exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
|
||||
exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
|
||||
exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashtext( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_description"
|
||||
rect 0 -90 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashdescription( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon"
|
||||
rect -24 -190 48 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) )
|
||||
exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "tempName" ) , 14 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_title_ss"
|
||||
rect 0 -135 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.87495
|
||||
textstyle 3
|
||||
exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
|
||||
exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
|
||||
exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
|
||||
exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) )
|
||||
exp text ( getsplashtext( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon_ss"
|
||||
rect -20 -135 40 40 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) )
|
||||
exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "tempName" ) , 14 ) )
|
||||
}
|
||||
}
|
||||
menuDef
|
||||
{
|
||||
name "killstreak_hint"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.15";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp x "from" 0 "to" "400" "over" "1.0";
|
||||
lerp y "from" 0 "to" "400" "over" "1.0";
|
||||
lerp "alpha" "from" 1 "to" 0 "over" "1.0";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon"
|
||||
rect -24 -190 48 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
exp rect y ( - 190 + ( ( dvarbool( "camera_thirdPerson" ) ) * 40 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) && !ui_active( ) )
|
||||
exp material ( tablelookup( "mp/killstreakTable.csv" , 1 , localvarstring( "ui_ksHint" ) , 16 ) )
|
||||
}
|
||||
}
|
||||
menuDef
|
||||
{
|
||||
name "killstreak_pickup"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
onOpen
|
||||
{
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.15";
|
||||
lerp y "from" "480" "to" 0 "over" "0.15";
|
||||
setLocalVarString "tempName" ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 0 ) );
|
||||
close "splash";
|
||||
close "challenge";
|
||||
close "defcon";
|
||||
close "killstreak";
|
||||
close "perk_challenge";
|
||||
close "promotion";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp y "from" 0 "to" - "480" "over" "0.15";
|
||||
lerp "alpha" "from" 1 "to" 0 "over" "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_title"
|
||||
rect 0 -110 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.5833
|
||||
textstyle 3
|
||||
exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
|
||||
exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
|
||||
exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
|
||||
exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashtext( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_description"
|
||||
rect 0 -90 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashdescription( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon"
|
||||
rect -24 -190 48 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) )
|
||||
exp material ( getsplashmaterial( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_title_ss"
|
||||
rect 0 -135 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.87495
|
||||
textstyle 3
|
||||
exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
|
||||
exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
|
||||
exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
|
||||
exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) )
|
||||
exp text ( getsplashtext( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon_ss"
|
||||
rect -30 -135 60 60 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && ( ! ( inkillcam( ) ) ) )
|
||||
exp material ( getsplashmaterial( 0 ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,854 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "onemanarmy_defaults_splitscreen"
|
||||
rect 0 0 640 480 0 0
|
||||
legacySplitScreenScale
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
execKey "BUTTON_START"
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
scriptmenuresponse "back";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 272 22 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.5
|
||||
text "@PERKS_ONEMANARMY"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 22 336 19 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "menu_button_selection_bar"
|
||||
textscale 0.55
|
||||
exp rect y ( getfocuseditemy( ) )
|
||||
visible when ( !localvarint( "ui_centerPopup" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 336 20 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -219
|
||||
textscale 0.28
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
exp rect y ( getfocuseditemy( ) )
|
||||
visible when ( localvarbool( "ui_menuAButton" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_1"
|
||||
rect -178 22 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS1"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class0";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 0 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 0 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 0 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 0 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_2"
|
||||
rect -178 38 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS2"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class1";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 1 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 1 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 1 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 1 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_3"
|
||||
rect -178 54 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS3"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class2";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 2 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 2 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 2 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 2 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_4"
|
||||
rect -178 70 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS4"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class3";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 3 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 3 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 3 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 3 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "class_choose_5"
|
||||
rect -178 86 336 19 1 1
|
||||
style 1
|
||||
visible 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 "@CLASS_CLASS5"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "class4";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarString "loadoutPrimary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimary" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryAttachment2" , 4 + 1 ) );
|
||||
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutPrimaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPrimaryCamo" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondary" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryAttachment2" , 4 + 1 ) );
|
||||
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||||
{
|
||||
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||||
}
|
||||
setLocalVarString "loadoutSecondaryCamo" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutSecondaryCamo" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutEquipment" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutEquipment" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPerk1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk1" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPerk2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk2" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutPerk3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutPerk3" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutStreak1" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak1" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutStreak2" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak2" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutStreak3" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutStreak3" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutDeathStreak" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutDeathStreak" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutOffhandSecondary" ( tablelookup( "mp/classTable.csv" , 0 , "loadoutOffhand" , 4 + 1 ) );
|
||||
setLocalVarString "loadoutClassName" ( "@" + ( tablelookup( "mp/classTable.csv" , 0 , "loadoutName" , 4 + 1 ) ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 103 280 0.666667 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( ( getplayerdata( "customClasses" , 0 , "inUse" ) || getplayerdata( "customClasses" , 1 , "inUse" ) || getplayerdata( "customClasses" , 2 , "inUse" ) || getplayerdata( "customClasses" , 3 , "inUse" ) || getplayerdata( "customClasses" , 4 , "inUse" ) || getplayerdata( "customClasses" , 5 , "inUse" ) || getplayerdata( "customClasses" , 6 , "inUse" ) || getplayerdata( "customClasses" , 7 , "inUse" ) || getplayerdata( "customClasses" , 8 , "inUse" ) || getplayerdata( "customClasses" , 9 , "inUse" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 102 336 19 1 1
|
||||
style 1
|
||||
visible 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_CUSTOM_CLASSES1"
|
||||
visible when ( ( getplayerdata( "customClasses" , 0 , "inUse" ) || getplayerdata( "customClasses" , 1 , "inUse" ) || getplayerdata( "customClasses" , 2 , "inUse" ) || getplayerdata( "customClasses" , 3 , "inUse" ) || getplayerdata( "customClasses" , 4 , "inUse" ) || getplayerdata( "customClasses" , 5 , "inUse" ) || getplayerdata( "customClasses" , 6 , "inUse" ) || getplayerdata( "customClasses" , 7 , "inUse" ) || getplayerdata( "customClasses" , 8 , "inUse" ) || getplayerdata( "customClasses" , 9 , "inUse" ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
close self;
|
||||
open "onemanarmy_custom_splitscreen";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
setLocalVarBool "ui_show_loadout" ( 0 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
setLocalVarBool "ui_show_loadout" ( 1 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 0 136 408 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 -136 55 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 136 55 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && localvarstring( "loadoutPrimaryCamo" ) != "none" )
|
||||
exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutPrimaryCamo" ) , 4 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 136 9 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.25
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && localvarstring( "loadoutPrimaryCamo" ) != "none" )
|
||||
exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutPrimaryCamo" ) , 4 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 -136 15 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny -2
|
||||
textscale 0.375
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -80 39 80 40 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutPrimary" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132.5 39 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132.5 59 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -109 59 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutPrimaryAttachment2" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 79 -136 55 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.1
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 79 136 55 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && localvarstring( "loadoutSecondaryCamo" ) != "none" )
|
||||
exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutSecondaryCamo" ) , 4 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 79 136 9 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.25
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && localvarstring( "loadoutSecondaryCamo" ) != "none" )
|
||||
exp material ( tablelookup( "mp/camoTable.csv" , 1 , localvarstring( "loadoutSecondaryCamo" ) , 4 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 79 -136 15 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny -2
|
||||
textscale 0.375
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -80 94 80 40 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutSecondary" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132.5 94 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132.5 114 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -109 114 20 20 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , localvarstring( "loadoutSecondaryAttachment2" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 134 -136 17 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 134 17 17 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutEquipment" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -118 134 136 17 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 4
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp text ( "@" + tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutEquipment" ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 151 -136 17 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 151 17 17 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp material ( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 6 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -118 151 136 17 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 4
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
exp text ( locstring( "@MPUI_N_XN" , "@" + tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 3 ) , int( tablelookup( "mp/statsTable.csv" , 4 , localvarstring( "loadoutOffhandSecondary" ) , 5 ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 168 -136 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -132 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 8 ) ) && localvarstring( "loadoutPerk1" ) != "" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk1" ) , 3 ) + "_upgrade" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 8 ) ) && localvarstring( "loadoutPerk2" ) != "" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk2" ) , 3 ) + "_upgrade" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -68 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -68 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 8 ) ) && localvarstring( "loadoutPerk3" ) != "" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutPerk3" ) , 3 ) + "_upgrade" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -36 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 8 ) == "specialty_null" || !isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 8 ) ) ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 3 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -36 168 28 28 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( localvarbool( "ui_show_loadout" ) && ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 8 ) != "specialty_null" && isitemunlocked( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 8 ) ) && localvarstring( "loadoutDeathStreak" ) != "" ) )
|
||||
exp material ( tablelookup( "mp/perkTable.csv" , 1 , localvarstring( "loadoutDeathStreak" ) , 3 ) + "_upgrade" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 0 100 600 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -600 100 600 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -900 -100 900 100 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 900 100 1 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 56 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "onemanarmy_splitscreen"
|
||||
rect 0 0 0 0 0 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
if ( getplayerdata( "customClasses" , 0 , "inUse" ) || getplayerdata( "customClasses" , 1 , "inUse" ) || getplayerdata( "customClasses" , 2 , "inUse" ) || getplayerdata( "customClasses" , 3 , "inUse" ) || getplayerdata( "customClasses" , 4 , "inUse" ) || getplayerdata( "customClasses" , 5 , "inUse" ) || getplayerdata( "customClasses" , 6 , "inUse" ) || getplayerdata( "customClasses" , 7 , "inUse" ) || getplayerdata( "customClasses" , 8 , "inUse" ) || getplayerdata( "customClasses" , 9 , "inUse" ) )
|
||||
{
|
||||
open "onemanarmy_custom_splitscreen";
|
||||
}
|
||||
else
|
||||
{
|
||||
open "onemanarmy_defaults_splitscreen";
|
||||
}
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "perk_display"
|
||||
rect 0 0 640 1 1 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt "ui_show_perks" ( milliseconds( ) );
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "perk_hide"
|
||||
rect 0 0 640 1 1 0
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt "ui_show_perks" ( 0 );
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,665 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_leavegame_splitscreen"
|
||||
rect -150 -64 300 64 2 2
|
||||
style 1
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 1
|
||||
background "white"
|
||||
focuscolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt "ui_centerPopup" ( 1 );
|
||||
setfocus "leavessgame_no";
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt "ui_centerPopup" ( 0 );
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -544 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -544 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 300 64 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
textscale 0.55
|
||||
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
textscale 0.55
|
||||
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
textscale 0.55
|
||||
exp rect h ( ( 24 + 2 * 20 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
textscale 0.55
|
||||
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
textscale 0.55
|
||||
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
textscale 0.55
|
||||
exp rect h ( ( 24 + 2 * 20 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -128 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
textscale 0.55
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -128 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
textscale 0.55
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -128 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
textscale 0.55
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -64 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
textscale 0.55
|
||||
exp rect h ( ( 24 + 2 * 20 ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -64 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 0 - 0 ) + ( ( 24 + 2 * 20 ) ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -64 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
textscale 0.55
|
||||
exp rect h ( ( 24 + 2 * 20 ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "gradient_fadein"
|
||||
textfont 9
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
text "@MPUI_LEAVE_GAME"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -146 -40 292 20 2 2
|
||||
group "mw2_button"
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
type 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
text "@MPUI_LEAVE_GAME1"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
}
|
||||
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
|
||||
{
|
||||
name "leavessgame_yes"
|
||||
rect -146 0 292 20 2 2
|
||||
group "mw2_popup_button"
|
||||
style 1
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
type 1
|
||||
textfont 3
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
text "@MENU_YES"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
play "mouse_click";
|
||||
close self;
|
||||
exec "disconnect";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
if ( dvarstring( "gameMode" ) != "mp" )
|
||||
{
|
||||
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool "ui_popupAButton" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool "ui_popupAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "leavessgame_no"
|
||||
rect -146 20 292 20 2 2
|
||||
group "mw2_popup_button"
|
||||
style 1
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "popup_button_selection_bar"
|
||||
type 1
|
||||
textfont 3
|
||||
textalign 6
|
||||
textalignx -24
|
||||
textscale 0.375
|
||||
text "@MENU_NO"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
close self;
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
if ( dvarstring( "gameMode" ) != "mp" )
|
||||
{
|
||||
setItemColor "mw2_popup_button" backcolor 0 0 0 0;
|
||||
}
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool "ui_popupAButton" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 0;
|
||||
setLocalVarBool "ui_popupAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -64 292 22 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textaligny -1
|
||||
textscale 0.28
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
exp rect y ( getfocuseditemy( ) + ( ( 24 + 2 * 20 ) ) )
|
||||
visible when ( localvarbool( "ui_popupAButton" ) )
|
||||
}
|
||||
}
|
||||
menuDef
|
||||
{
|
||||
name "popup_endgame_splitscreen"
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 1
|
||||
background "white"
|
||||
focuscolor 1 1 1 1
|
||||
execKey "BUTTON_A"
|
||||
{
|
||||
play "mouse_click";
|
||||
close self;
|
||||
scriptmenuresponse "endgame";
|
||||
}
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt "ui_centerPopup" ( 1 );
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarInt "ui_centerPopup" ( 0 );
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1004 -564 1708 960 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 1
|
||||
background "xpbar_stencilbase"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 84 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.5 0.5 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 1708 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
textscale 0.55
|
||||
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
textscale 0.55
|
||||
exp rect x ( 0 - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "mockup_popup_bg_stencilfill"
|
||||
textscale 0.55
|
||||
exp rect h ( ( 24 + 3 * 20 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.75
|
||||
background "mw2_popup_bg_fogstencil"
|
||||
textscale 0.55
|
||||
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 -1708 -480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.85 0.85 0.85 1
|
||||
background "mw2_popup_bg_fogscroll"
|
||||
textscale 0.55
|
||||
exp rect x ( ( - 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 0 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "small_box_lightfx"
|
||||
textscale 0.55
|
||||
exp rect h ( ( 24 + 3 * 20 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tl"
|
||||
textscale 0.55
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -148 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_t"
|
||||
textscale 0.55
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -148 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_tr"
|
||||
textscale 0.55
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_r"
|
||||
textscale 0.55
|
||||
exp rect h ( ( 24 + 3 * 20 ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 150 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_br"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_b"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 64 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_bl"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 0 - 0 ) + ( ( 24 + 3 * 20 ) ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -214 -84 64 0 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "drop_shadow_l"
|
||||
textscale 0.55
|
||||
exp rect h ( ( 24 + 3 * 20 ) )
|
||||
visible when ( 1 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -150 -84 300 24 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "gradient_fadein"
|
||||
textfont 9
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
text "@MPUI_END_GAME"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -146 -60 292 20 2 2
|
||||
group "mw2_button"
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "menu_button_selection_bar"
|
||||
type 1
|
||||
textfont 3
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
text "@MPUI_END_GAME_WARNING"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
}
|
||||
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
|
||||
{
|
||||
name "endssgame_yes"
|
||||
rect -146 -20 292 20 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 6
|
||||
textalignx -36
|
||||
textscale 0.375
|
||||
text "@PLATFORM_SELECT"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "endssgame_no"
|
||||
rect -146 -20 292 20 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 4
|
||||
textalignx 36
|
||||
textscale 0.375
|
||||
text "@PLATFORM_CANCEL"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,385 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "scoreboard"
|
||||
rect 0 0 640 480 0 0
|
||||
forecolor 1 1 1 1
|
||||
onEsc
|
||||
{
|
||||
close "scoreboard";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 3 -640 22 4 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.5 0.5 0.5 0.75
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( !dvarint( "splitscreen" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -4 36 36 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_ALLIES" && !dvarint( "splitscreen" ) )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -4 36 36 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_SPECTATOR" && !dvarint( "splitscreen" ) )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -4 36 36 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_AXIS" && !dvarint( "splitscreen" ) )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -4 36 36 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && !dvarint( "splitscreen" ) )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 36 22 1 1 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 10
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
visible when ( ( team( "name" ) == "TEAM_ALLIES" || team( "name" ) == "TEAM_AXIS" ) && !dvarint( "splitscreen" ) )
|
||||
exp text ( team( "score" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 36 22 1 1 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 10
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && !dvarint( "splitscreen" ) )
|
||||
exp text ( player( "score" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 95 -4 36 36 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_AXIS" && !dvarint( "splitscreen" ) )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 95 -4 36 36 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_SPECTATOR" && !dvarint( "splitscreen" ) )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 95 -4 36 36 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_ALLIES" && !dvarint( "splitscreen" ) )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 134 22 1 1 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 10
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
visible when ( ( team( "name" ) == "TEAM_ALLIES" || team( "name" ) == "TEAM_AXIS" ) && !dvarint( "splitscreen" ) )
|
||||
exp text ( otherteam( "score" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 22 0 0 9 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
exp rect x ( ( !dvarbool( "widescreen" ) * 64 ) )
|
||||
visible when ( ( team( "name" ) == "TEAM_ALLIES" || team( "name" ) == "TEAM_AXIS" ) && team( "score" ) > otherteam( "score" ) && timeleft( ) % 8 > 3 && !dvarint( "splitscreen" ) && !dvarint( "ui_bomb_timer" ) )
|
||||
exp text ( locstring( "@MENU_SCORE_WINNING_WITH" , team( "score" ) , dvarint( "ui_scorelimit" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 22 0 0 9 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
exp rect x ( ( !dvarbool( "widescreen" ) * 64 ) )
|
||||
visible when ( ( team( "name" ) == "TEAM_ALLIES" || team( "name" ) == "TEAM_AXIS" ) && team( "score" ) < otherteam( "score" ) && timeleft( ) % 8 > 3 && !dvarint( "splitscreen" ) && !dvarint( "ui_bomb_timer" ) )
|
||||
exp text ( locstring( "@MENU_SCORE_LOSING_WITH" , team( "score" ) , dvarint( "ui_scorelimit" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 22 0 0 9 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
exp rect x ( ( !dvarbool( "widescreen" ) * 64 ) )
|
||||
visible when ( ( team( "name" ) == "TEAM_ALLIES" || team( "name" ) == "TEAM_AXIS" ) && team( "score" ) == otherteam( "score" ) && timeleft( ) % 8 > 3 && !dvarint( "splitscreen" ) && !dvarint( "ui_bomb_timer" ) )
|
||||
exp text ( locstring( "@MENU_SCORE_TIED_WITH" , team( "score" ) , dvarint( "ui_scorelimit" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 22 0 0 9 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
exp rect x ( ( !dvarbool( "widescreen" ) * 64 ) )
|
||||
visible when ( ( dvarint( "ui_bomb_timer" ) || timeleft( ) % 8 < 4 || timeleft( ) < 0 ) && !dvarint( "splitscreen" ) )
|
||||
exp text ( gametypename( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 32 0 0 9 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.6666
|
||||
textstyle 3
|
||||
visible when ( ( team( "name" ) == "TEAM_ALLIES" || team( "name" ) == "TEAM_AXIS" ) && team( "score" ) > otherteam( "score" ) && timeleft( ) % 8 > 3 && dvarint( "splitscreen" ) )
|
||||
exp text ( locstring( "@MENU_SCORE_WINNING_WITH" , team( "score" ) , dvarint( "ui_scorelimit" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 32 0 0 9 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.6666
|
||||
textstyle 3
|
||||
visible when ( ( team( "name" ) == "TEAM_ALLIES" || team( "name" ) == "TEAM_AXIS" ) && team( "score" ) < otherteam( "score" ) && timeleft( ) % 8 > 3 && dvarint( "splitscreen" ) )
|
||||
exp text ( locstring( "@MENU_SCORE_LOSING_WITH" , team( "score" ) , dvarint( "ui_scorelimit" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 32 0 0 9 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.6666
|
||||
textstyle 3
|
||||
visible when ( ( team( "name" ) == "TEAM_ALLIES" || team( "name" ) == "TEAM_AXIS" ) && team( "score" ) == otherteam( "score" ) && timeleft( ) % 8 > 3 && dvarint( "splitscreen" ) )
|
||||
exp text ( locstring( "@MENU_SCORE_TIED_WITH" , team( "score" ) , dvarint( "ui_scorelimit" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 32 0 0 9 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 1
|
||||
textscale 0.6666
|
||||
textstyle 3
|
||||
visible when ( ( timeleft( ) % 8 < 4 || timeleft( ) < 0 ) && dvarint( "splitscreen" ) )
|
||||
exp text ( gametypename( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 36 22 1 1 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 10
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
visible when ( team( "name" ) == "TEAM_SPECTATOR" && !dvarbool( "splitscreen" ) )
|
||||
exp text ( marinesfield( "score" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 134 22 1 1 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 10
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
visible when ( team( "name" ) == "TEAM_SPECTATOR" && !dvarbool( "splitscreen" ) )
|
||||
exp text ( opforfield( "score" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 22 1 1 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 10
|
||||
textalign 2
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
visible when ( timeleft( ) >= 30 && !dvarint( "splitscreen" ) && !dvarint( "ui_bomb_timer" ) )
|
||||
exp text ( secondsascountdown( timeleft( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 22 1 1 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.75 0 1
|
||||
textfont 10
|
||||
textalign 2
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
visible when ( timeleft( ) >= 10 && timeleft( ) < 30 && !dvarint( "splitscreen" ) && !dvarint( "ui_bomb_timer" ) )
|
||||
exp text ( secondsascountdown( timeleft( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 22 1 1 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.5 0 1
|
||||
textfont 10
|
||||
textalign 2
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
visible when ( timeleft( ) >= 0 && timeleft( ) < 10 && !dvarint( "splitscreen" ) && !dvarint( "ui_bomb_timer" ) )
|
||||
exp text ( secondsascountdown( timeleft( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 225 640 60 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 1
|
||||
background "line_horizontal_scorebar"
|
||||
textscale 0.55
|
||||
exp forecolor a ( scoreboardexternalmutenotice( ) )
|
||||
visible when ( !dvarint( "splitscreen" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 225 640 2 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "line_horizontal_scorebar"
|
||||
textscale 0.55
|
||||
exp forecolor a ( scoreboardexternalmutenotice( ) )
|
||||
visible when ( !dvarint( "splitscreen" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 285 640 2 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "line_horizontal_scorebar"
|
||||
textscale 0.55
|
||||
exp forecolor a ( scoreboardexternalmutenotice( ) )
|
||||
visible when ( !dvarint( "splitscreen" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 320 264 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
textstyle 3
|
||||
text "@XBOXLIVE_EXTERNALMUTE_TITLE"
|
||||
exp forecolor a ( scoreboardexternalmutenotice( ) )
|
||||
}
|
||||
}
|
||||
menuDef
|
||||
{
|
||||
name "popup_unmutable"
|
||||
rect 0 0 640 480 0 0
|
||||
style 1
|
||||
popup
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
onEsc
|
||||
{
|
||||
close "popup_unmutable";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 320 254 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "@MENU_DOWNLOADING"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,446 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "splash"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
exp rect y ( ( dvarbool( "camera_thirdPerson" ) ) * ( 0 - 40 ) * ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
onOpen
|
||||
{
|
||||
lerp "scale" "from" "10" "to" 1 "over" "0.15";
|
||||
lerp "alpha" "from" 0 "to" 1 "over" "0.15";
|
||||
setLocalVarInt "defcon_update_time" ( milliseconds( ) + 1000 );
|
||||
close "challenge";
|
||||
close "defcon";
|
||||
close "killstreak_pickup";
|
||||
close "killstreak";
|
||||
close "perk_challenge";
|
||||
close "promotion";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp "scale" "from" 1 "to" "10" "over" "0.15";
|
||||
lerp "alpha" "from" 1 "to" 0 "over" "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "splash_title"
|
||||
rect 0 -110 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 4
|
||||
textalign 1
|
||||
textscale 0.48611
|
||||
textstyle 3
|
||||
exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
|
||||
exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
|
||||
exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
|
||||
exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashtext( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "splash_description"
|
||||
rect 0 -90 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashdescription( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "splash_icon"
|
||||
rect -24 -180 48 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( ( ! ( dvarbool( "splitscreen" ) ) ) && splashhasicon( 0 ) )
|
||||
exp material ( getsplashmaterial( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "splash_title_ss"
|
||||
rect 0 -135 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 4
|
||||
textalign 1
|
||||
textscale 0.729165
|
||||
textstyle 3
|
||||
exp glowcolor r ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 5 ) )
|
||||
exp glowcolor g ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 6 ) )
|
||||
exp glowcolor b ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 7 ) )
|
||||
exp glowcolor a ( tablelookupbyrow( "mp/splashTable.csv" , splashrownum( 0 ) , 8 ) )
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) )
|
||||
exp text ( getsplashtext( 0 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "splash_icon_ss"
|
||||
rect -36 -135 72 72 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
visible when ( ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "camera_thirdPerson" ) ) ) && splashhasicon( 0 ) )
|
||||
exp material ( getsplashmaterial( 0 ) )
|
||||
}
|
||||
}
|
||||
menuDef
|
||||
{
|
||||
name "playercard_splash"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
legacySplitScreenScale
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
if ( !dvarbool( "ui_hide_playercards" ) )
|
||||
{
|
||||
play "mp_card_slide";
|
||||
setLocalVarInt "callout_update_time" ( milliseconds( ) + 1500 );
|
||||
lerp x "from" "600" "to" 0 "over" "0.15";
|
||||
}
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
if ( !dvarbool( "ui_hide_playercards" ) )
|
||||
{
|
||||
lerp x "from" 0 "to" "600" "over" "0.15";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 208 48 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.25
|
||||
background "white"
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 212 ) )
|
||||
exp rect y ( ( 28 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 208 48 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 1
|
||||
background "cardtitle_248x48"
|
||||
textfont 6
|
||||
textalign 4
|
||||
textaligny -20
|
||||
textscale 0.375
|
||||
textstyle 7
|
||||
exp rect x ( ( 0 - 212 ) )
|
||||
exp rect y ( ( 28 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 160 32 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 9
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
exp rect x ( 0 - 212 )
|
||||
exp rect y ( 28 - 2 )
|
||||
exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 3 ) )
|
||||
exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 4 ) )
|
||||
exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 5 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 1 ) )
|
||||
exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 160 18 10 8
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.6 0.8 0.6 1
|
||||
textfont 10
|
||||
textalign 4
|
||||
textalignx 8
|
||||
textscale 0.3333
|
||||
textstyle 8
|
||||
exp rect x ( 0 - 212 )
|
||||
exp rect y ( ( 28 ) + 28 )
|
||||
visible when ( ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( getplayercardinfo( 6 , 0 , 5 ) && getplayercardinfo( 6 , 0 , 5 ) == ( ( ( team( "name" ) == "TEAM_AXIS" ) * 1 ) + ( ( team( "name" ) == "TEAM_ALLIES" ) * 2 ) ) ) ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getplayercardinfo( 8 , 0 , 5 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 160 18 10 8
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.8 0.35 0.4 1
|
||||
textfont 10
|
||||
textalign 4
|
||||
textalignx 8
|
||||
textscale 0.3333
|
||||
textstyle 8
|
||||
exp rect x ( 0 - 212 )
|
||||
exp rect y ( ( 28 ) + 28 )
|
||||
visible when ( ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( !getplayercardinfo( 6 , 0 , 5 ) || getplayercardinfo( 6 , 0 , 5 ) != ( ( ( team( "name" ) == "TEAM_AXIS" ) * 1 ) + ( ( team( "name" ) == "TEAM_ALLIES" ) * 2 ) ) ) ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getplayercardinfo( 8 , 0 , 5 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 48 48 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 212 ) + 160 )
|
||||
exp rect y ( ( 28 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 0 , 5 ) , 1 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 208 20 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.25
|
||||
background "white"
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 212 ) )
|
||||
exp rect y ( ( 28 ) + 48 )
|
||||
exp forecolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) * 0.25 )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 208 20 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 1
|
||||
background "cardtitle_248x20"
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 212 ) )
|
||||
exp rect y ( ( 28 ) + 48 )
|
||||
exp backcolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) * 0.65 )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 208 20 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 8
|
||||
textalignx 8
|
||||
textscale 0.375
|
||||
textstyle 7
|
||||
exp rect x ( ( 0 - 212 ) )
|
||||
exp rect y ( ( 28 ) + 48 )
|
||||
exp forecolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) && getplayercardinfo( 9 , 0 , 5 ) != "" )
|
||||
exp text ( "[" + getplayercardinfo( 9 , 0 , 5 ) + "]" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 20 20 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 1
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - 212 ) + 164 )
|
||||
exp rect y ( ( 28 ) + 48 )
|
||||
exp forecolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) )
|
||||
exp backcolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( getplayercardinfo( 4 , 0 , 5 ) >= 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp material ( tablelookup( "mp/rankIconTable.csv" , 0 , getplayercardinfo( 4 , 0 , 5 ) , ( getplayercardinfo( 5 , 0 , 5 ) + 1 ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 20 20 10 8
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 9
|
||||
textalignx 20
|
||||
textscale 0.375
|
||||
textstyle 7
|
||||
exp rect x ( ( 0 - 212 ) + 164 )
|
||||
exp rect y ( ( 28 ) + 48 )
|
||||
exp forecolor a ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( getplayercardinfo( 4 , 0 , 5 ) >= 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( tablelookup( "mp/rankTable.csv" , 0 , getplayercardinfo( 4 , 0 , 5 ) , 14 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 208 20 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 1 0.8 0.6 1
|
||||
textfont 6
|
||||
textalign 4
|
||||
textalignx 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
exp rect x ( ( 0 - 212 ) + ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / 150 ) , 1 ) , 0 ) * 500 ) )
|
||||
exp rect y ( ( 28 ) + 47 )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( ! ( dvarbool( "splitscreen" ) ) ) )
|
||||
exp text ( getsplashdescription( 1 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 138.667 32 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.25
|
||||
background "white"
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - ( 208 / 1.5 ) ) )
|
||||
exp rect y ( ( 0 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 138.667 32 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "cardtitle_208x48"
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - ( 208 / 1.5 ) ) )
|
||||
exp rect y ( ( 0 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) && ( dvarbool( "hiDef" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 138.667 32 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "cardtitle_140x32"
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - ( 208 / 1.5 ) ) )
|
||||
exp rect y ( ( 0 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) && ( ! ( dvarbool( "hiDef" ) ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 106.667 21.3333 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 9
|
||||
textscale 0.31875
|
||||
textstyle 8
|
||||
exp rect x ( 0 - ( 208 / 1.5 ) )
|
||||
exp rect y ( 0 - ( 2 / 1.5 ) )
|
||||
exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 3 ) )
|
||||
exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 4 ) )
|
||||
exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 5 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) )
|
||||
exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 1 ) )
|
||||
exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 0 , 5 ) , 2 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 106.667 12 10 8
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.6 0.8 0.6 1
|
||||
textfont 10
|
||||
textalign 4
|
||||
textalignx 5.33333
|
||||
textscale 0.2222
|
||||
textstyle 8
|
||||
exp rect x ( 0 - ( 208 / 1.5 ) )
|
||||
exp rect y ( ( 0 ) + ( 28 / 1.5 ) )
|
||||
visible when ( ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( getplayercardinfo( 6 , 0 , 5 ) && getplayercardinfo( 6 , 0 , 5 ) == ( ( ( team( "name" ) == "TEAM_AXIS" ) * 1 ) + ( ( team( "name" ) == "TEAM_ALLIES" ) * 2 ) ) ) ) && ( dvarbool( "splitscreen" ) ) )
|
||||
exp text ( getplayercardinfo( 8 , 0 , 5 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 106.667 12 10 8
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.8 0.35 0.4 1
|
||||
textfont 10
|
||||
textalign 4
|
||||
textalignx 5.33333
|
||||
textscale 0.2222
|
||||
textstyle 8
|
||||
exp rect x ( 0 - ( 208 / 1.5 ) )
|
||||
exp rect y ( ( 0 ) + ( 28 / 1.5 ) )
|
||||
visible when ( ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( !getplayercardinfo( 6 , 0 , 5 ) || getplayercardinfo( 6 , 0 , 5 ) != ( ( ( team( "name" ) == "TEAM_AXIS" ) * 1 ) + ( ( team( "name" ) == "TEAM_ALLIES" ) * 2 ) ) ) ) && ( dvarbool( "splitscreen" ) ) )
|
||||
exp text ( getplayercardinfo( 8 , 0 , 5 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 32 32 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textscale 0.55
|
||||
exp rect x ( ( 0 - ( 208 / 1.5 ) ) + ( 160 / 1.5 ) )
|
||||
exp rect y ( ( 0 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) )
|
||||
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 0 , 5 ) , 1 ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 138.667 13.3333 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
glowColor 1 0.8 0.6 1
|
||||
textfont 6
|
||||
textalign 4
|
||||
textalignx 5.33333
|
||||
textscale 0.25
|
||||
textstyle 8
|
||||
exp rect x ( ( 0 - ( 208 / 1.5 ) ) + ( max( min( ( 1 - ( milliseconds( ) - localvarint( "callout_update_time" ) ) / ( 150 / 1.5 ) ) , 1 ) , 0 ) * 500 ) )
|
||||
exp rect y ( ( 0 ) + ( 47 / 1.5 ) )
|
||||
visible when ( ( getplayercardinfo( 0 , 0 , 5 ) != 0 ) && ( dvarbool( "splitscreen" ) ) )
|
||||
exp text ( getsplashdescription( 1 ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,725 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "team_marinesopfor"
|
||||
rect 0 0 640 480 0 0
|
||||
legacySplitScreenScale
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
execKey "BUTTON_START"
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onOpen
|
||||
{
|
||||
setfocus "team_choose_auto";
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
scriptmenuresponse "back";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 0 280 480 1 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0 0 0 0.25
|
||||
background "gradient_fadein_fadebottom"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
text "@MPUI_CHOOSE_TEAM"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_border"
|
||||
rect -260 135 240 240 3 1
|
||||
border 1
|
||||
bordersize 0.666667
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
bordercolor 1 1 1 0.35
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_map"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 181
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "compass_map_default"
|
||||
type 8
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_friendlies"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 185
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_enemies"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 188
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_objectives"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 182
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "objective_line"
|
||||
type 8
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_sentries"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 189
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_player"
|
||||
rect -260 135 240 240 3 1
|
||||
ownerdraw 183
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "compassping_player"
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
exp forecolor a ( radarjamintensity( ) )
|
||||
visible when ( radarisjammed( ) && ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
textscale 0.55
|
||||
exp forecolor a ( radarjamintensity( ) )
|
||||
visible when ( radarisjammed( ) && ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "stencil_base"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "scanlines_stencil"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 135 - 240 ) + ( ( 240 * 2 ) * ( 1 - ( ( milliseconds( ) % 4000 ) / 4000 ) ) ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 135 240 240 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -260 115 -136 20 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.375
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
exp text ( getmapname( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.275
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.275
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.275
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 58 128 128 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.275
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_ALLIES" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_AXIS" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 10 196 128 128 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.2
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_spectator"
|
||||
rect -64 28 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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_SPECTATOR"
|
||||
visible when ( team( "name" ) != "TEAM_SPECTATOR" )
|
||||
disabled when ( team( "name" ) == "TEAM_SPECTATOR" || !dvarbool( "scr_game_spectatetype" ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "spectator";
|
||||
}
|
||||
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
|
||||
{
|
||||
name "team_choose_axis"
|
||||
rect -64 48 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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
|
||||
disabled when ( team( "name" ) == "TEAM_AXIS" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "axis";
|
||||
}
|
||||
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
|
||||
{
|
||||
name "team_choose_allies"
|
||||
rect -64 68 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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
|
||||
disabled when ( team( "name" ) == "TEAM_ALLIES" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "allies";
|
||||
}
|
||||
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
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_auto"
|
||||
rect -64 88 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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_AUTOASSIGN"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "autoassign";
|
||||
}
|
||||
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 108 216 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_SPECTATOR" )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_endgame"
|
||||
rect -64 108 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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_END_GAME"
|
||||
visible when ( team( "name" ) == "TEAM_SPECTATOR" && ( dvarbool( "onlineunrankedgameandhost" ) || dvarbool( "sv_running" ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
open "popup_endgame";
|
||||
}
|
||||
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
|
||||
{
|
||||
name "team_choose_leavegame"
|
||||
rect -64 108 336 20 1 1
|
||||
group "mw2_button"
|
||||
style 1
|
||||
visible 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_LEAVE_GAME"
|
||||
visible when ( team( "name" ) == "TEAM_SPECTATOR" && ( !dvarbool( "onlineunrankedgameandhost" ) && !dvarbool( "sv_running" ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
if ( ( inprivateparty( ) && !privatepartyhost( ) && privatepartyhostinlobby( ) ) )
|
||||
{
|
||||
open "popup_leavegameandparty";
|
||||
}
|
||||
else
|
||||
{
|
||||
open "popup_leavegame";
|
||||
}
|
||||
}
|
||||
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 0 272 22 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -41
|
||||
textaligny -1
|
||||
textscale 0.28
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
exp rect y ( getfocuseditemy( ) )
|
||||
visible when ( localvarbool( "ui_menuAButton" ) && !localvarbool( "ui_centerPopup" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 -20 336 24 1 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 3
|
||||
textalign 6
|
||||
textalignx -30
|
||||
textscale 0.375
|
||||
text "@PLATFORM_BACK_CAPS"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 0 100 600 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -600 100 600 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -900 -100 900 100 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 900 100 1 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 56 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,688 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "team_marinesopfor_splitscreen"
|
||||
rect 0 0 640 480 0 0
|
||||
legacySplitScreenScale
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 7
|
||||
execKey "BUTTON_START"
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onOpen
|
||||
{
|
||||
setfocus "team_choose_auto";
|
||||
}
|
||||
onEsc
|
||||
{
|
||||
scriptmenuresponse "back";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 1500 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
textscale 0.55
|
||||
exp forecolor a ( ( ( sin( milliseconds( ) / 480 ) + 1 ) * 0.25 ) + 0.25 )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 272 22 1 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 9
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textscale 0.5
|
||||
text "@MENU_CHOOSE_TEAM_CAPS"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 22 336 20 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 1
|
||||
background "menu_button_selection_bar"
|
||||
textfont 1
|
||||
textalign 10
|
||||
textalignx -41
|
||||
textscale 0.28
|
||||
text "@PLATFORM_UI_SELECTBUTTON"
|
||||
exp rect y ( getfocuseditemy( ) )
|
||||
exp forecolor a ( 1 * localvarbool( "ui_menuAButton" ) )
|
||||
visible when ( !localvarint( "ui_centerPopup" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_border"
|
||||
rect -136 41 136 136 3 1
|
||||
border 1
|
||||
bordersize 0.666667
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
bordercolor 1 1 1 0.35
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_map"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 181
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "compass_map_default"
|
||||
type 8
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_friendlies"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 185
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_enemies"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 188
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_objectives"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 182
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "objective_line"
|
||||
type 8
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_sentries"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 189
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fullmap_player"
|
||||
rect -136 41 136 136 3 1
|
||||
ownerdraw 183
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "compassping_player"
|
||||
type 8
|
||||
textscale 0.55
|
||||
exp forecolor a ( 1 - radarjamintensity( ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
textscale 0.55
|
||||
exp forecolor a ( radarjamintensity( ) )
|
||||
visible when ( radarisjammed( ) && ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
textscale 0.55
|
||||
exp forecolor a ( radarjamintensity( ) )
|
||||
visible when ( radarisjammed( ) && ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "stencil_base"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "scanlines_stencil"
|
||||
textscale 0.55
|
||||
exp rect y ( ( 41 - 136 ) + ( ( 136 * 2 ) * ( 1 - ( ( milliseconds( ) % 4000 ) / 4000 ) ) ) )
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 136 136 3 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 41 -136 132 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 1 1 1 0.1
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( ( !isempjammed( ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 24 -136 17 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 3
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
exp text ( gametypename( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -136 0 -136 17 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.35
|
||||
background "gradient_fadein"
|
||||
textfont 3
|
||||
textalign 4
|
||||
textalignx 4
|
||||
textaligny -1
|
||||
textscale 0.375
|
||||
exp rect y ( 41 + ( 136 * ( !isempjammed( ) ) ) )
|
||||
exp text ( getmapname( ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 28 -84 72 72 8 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.5
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp material ( dvarstring( "g_TeamIcon_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_ALLIES" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "marines" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_AXIS" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -66 100 64 64 3 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0
|
||||
textfont 6
|
||||
textscale 0.4583
|
||||
textstyle 6
|
||||
visible when ( team( "name" ) == "TEAM_FREE" && localvarstring( "ui_team" ) == "opfor" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_axis"
|
||||
rect -178 22 336 20 1 1
|
||||
style 1
|
||||
visible 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
|
||||
disabled when ( team( "name" ) == "TEAM_AXIS" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Axis" ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "axis";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_allies"
|
||||
rect -178 42 336 20 1 1
|
||||
style 1
|
||||
visible 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
|
||||
disabled when ( team( "name" ) == "TEAM_ALLIES" )
|
||||
exp text ( "@" + dvarstring( "g_TeamName_Allies" ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "allies";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_auto"
|
||||
rect -178 62 336 20 1 1
|
||||
style 1
|
||||
visible 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_AUTOASSIGN"
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "autoassign";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 82 280 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_choose_spectator"
|
||||
rect -178 82 336 20 1 1
|
||||
style 1
|
||||
visible 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_SPECTATOR"
|
||||
visible when ( team( "name" ) != "TEAM_SPECTATOR" && dvarbool( "scr_game_spectatetype" ) )
|
||||
disabled when ( team( "name" ) == "TEAM_SPECTATOR" || !dvarbool( "scr_game_spectatetype" ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "spectator";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -178 102 280 1 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 0.65
|
||||
background "gradient_fadein"
|
||||
textscale 0.55
|
||||
visible when ( team( "name" ) != "TEAM_SPECTATOR" && dvarbool( "scr_game_spectatetype" ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_endgame"
|
||||
rect -178 82 336 20 1 1
|
||||
style 1
|
||||
visible 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 "@MENU_END_GAME"
|
||||
visible when ( team( "name" ) == "TEAM_SPECTATOR" && dvarbool( "scr_game_spectatetype" ) )
|
||||
disabled when ( ( dvarint( "scr_gameended" ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
open "popup_endgame_splitscreen";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "team_endgame"
|
||||
rect -178 102 336 20 1 1
|
||||
style 1
|
||||
visible 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 "@MENU_END_GAME"
|
||||
visible when ( team( "name" ) != "TEAM_SPECTATOR" && dvarbool( "scr_game_spectatetype" ) )
|
||||
disabled when ( ( dvarint( "scr_gameended" ) ) )
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
open "popup_endgame_splitscreen";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -100 0 100 600 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 -600 100 600 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -900 -100 900 100 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 900 100 1 3
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.5 0.6 0.8 0.5
|
||||
textscale 0.55
|
||||
dvarTest "ui_safearea"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 56 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarString" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarString" ) + ": " + localvarstring( dvarstring( "ui_debug_localVarString" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarInt" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarInt" ) + ": " + localvarint( dvarstring( "ui_debug_localVarInt" ) ) )
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 390 72 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
textfont 1
|
||||
textscale 0.375
|
||||
visible when ( dvarstring( "ui_debug_localVarBool" ) != "" )
|
||||
exp text ( dvarstring( "ui_debug_localVarBool" ) + ": " + localvarbool( dvarstring( "ui_debug_localVarBool" ) ) )
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "uiscript_refreshservers"
|
||||
rect 0 0 640 480 0 0
|
||||
forecolor 1 1 1 1
|
||||
fullscreen 1
|
||||
onOpen
|
||||
{
|
||||
uiScript "RefreshServers";
|
||||
close "uiscript_refreshservers";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "uiscript_startserver"
|
||||
rect 0 0 640 480 0 0
|
||||
forecolor 1 1 1 1
|
||||
fullscreen 1
|
||||
onOpen
|
||||
{
|
||||
uiScript "StartServer";
|
||||
close "uiscript_startserver";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "uiscript_startsingleplayer"
|
||||
rect 0 0 640 480 0 0
|
||||
forecolor 1 1 1 1
|
||||
fullscreen 1
|
||||
onOpen
|
||||
{
|
||||
uiScript "startSingleplayer";
|
||||
close "uiScript_startSingleplayer";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,945 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "votemap_splitscreen"
|
||||
rect 0 0 640 480 0 0
|
||||
forecolor 1 1 1 1
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 6
|
||||
onOpen
|
||||
{
|
||||
show "maps";
|
||||
setfocus "maps_focus";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0 0 0 0.5
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 110 640 150 4 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
background "gradient_top"
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -640 0 2560 121 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.1412 0.1412 0.1412 1
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 160 120 320 224 0 0
|
||||
style 1
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 1 1 1
|
||||
backcolor 0.1412 0.1412 0.1412 1
|
||||
textscale 0.55
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 320 160 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 1 0.8 0.4 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.5833
|
||||
text "NEXT MAP"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maps_focus"
|
||||
rect 320 200 0 0 0 0
|
||||
group "maps"
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "Crash"
|
||||
dvarTest "g_gametype"
|
||||
showDvar { "war" }
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 0;
|
||||
hide "maps";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 320 220 0 0 0 0
|
||||
group "maps"
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "NAME_PIPELINE"
|
||||
dvarTest "g_gametype"
|
||||
showDvar { "war" }
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse "VALUE_PIPELINE";
|
||||
hide "maps";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maps_focus"
|
||||
rect 320 200 0 0 0 0
|
||||
group "maps"
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "Crash"
|
||||
dvarTest "g_gametype"
|
||||
showDvar { "sab" }
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 0;
|
||||
hide "maps";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 320 220 0 0 0 0
|
||||
group "maps"
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "Facility"
|
||||
dvarTest "g_gametype"
|
||||
showDvar { "sab" }
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 1;
|
||||
hide "maps";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maps_focus"
|
||||
rect 320 200 0 0 0 0
|
||||
group "maps"
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "Facility"
|
||||
dvarTest "g_gametype"
|
||||
showDvar { "dom" }
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 1;
|
||||
hide "maps";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 320 220 0 0 0 0
|
||||
group "maps"
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "Strike"
|
||||
dvarTest "g_gametype"
|
||||
showDvar { "dom" }
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 2;
|
||||
hide "maps";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 320 240 0 0 0 0
|
||||
group "maps"
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "Palace"
|
||||
dvarTest "g_gametype"
|
||||
showDvar { "dom" }
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 3;
|
||||
hide "maps";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maps_focus"
|
||||
rect 320 200 0 0 0 0
|
||||
group "maps"
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "Backlot"
|
||||
dvarTest "g_gametype"
|
||||
showDvar { "sd" }
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 4;
|
||||
hide "maps";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 320 220 0 0 0 0
|
||||
group "maps"
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
type 1
|
||||
textfont 1
|
||||
textalign 1
|
||||
textscale 0.4583
|
||||
text "City Streets"
|
||||
dvarTest "g_gametype"
|
||||
showDvar { "sd" }
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
scriptmenuresponse 5;
|
||||
hide "maps";
|
||||
}
|
||||
onFocus
|
||||
{
|
||||
play "mouse_over";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Crash"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { 0 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Facility"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Strike"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { 2 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Palace"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { 3 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Backlot"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { 4 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "NAME_PIPELINE"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { "VALUE_PIPELINE" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "City Streets"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { 5 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Argun"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { "VALUE_ARGUN" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Convoy"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { "VALUE_CONVOY" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Dusk"
|
||||
dvarTest "ui_votemap1"
|
||||
showDvar { "VALUE_DUSK" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Crash"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { 0 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Facility"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Strike"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { 2 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Palace"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { 3 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Backlot"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { 4 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "NAME_PIPELINE"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { "VALUE_PIPELINE" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "City Streets"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { 5 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Argun"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { "VALUE_ARGUN" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Convoy"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { "VALUE_CONVOY" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Dusk"
|
||||
dvarTest "ui_votemap2"
|
||||
showDvar { "VALUE_DUSK" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Crash"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { 0 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Facility"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Strike"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { 2 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Palace"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { 3 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Backlot"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { 4 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "NAME_PIPELINE"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { "VALUE_PIPELINE" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "City Streets"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { 5 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Argun"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { "VALUE_ARGUN" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Convoy"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { "VALUE_CONVOY" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Dusk"
|
||||
dvarTest "ui_votemap3"
|
||||
showDvar { "VALUE_DUSK" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Crash"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { 0 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Facility"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Strike"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { 2 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Palace"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { 3 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Backlot"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { 4 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "NAME_PIPELINE"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { "VALUE_PIPELINE" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "City Streets"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { 5 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Argun"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { "VALUE_ARGUN" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Convoy"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { "VALUE_CONVOY" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Dusk"
|
||||
dvarTest "ui_votemap4"
|
||||
showDvar { "VALUE_DUSK" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Crash"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { 0 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Facility"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { 1 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Strike"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { 2 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Palace"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { 3 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Backlot"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { 4 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "NAME_PIPELINE"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { "VALUE_PIPELINE" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "City Streets"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { 5 }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Argun"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { "VALUE_ARGUN" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Convoy"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { "VALUE_CONVOY" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 260 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textscale 0.4583
|
||||
text "Dusk"
|
||||
dvarTest "ui_votemap5"
|
||||
showDvar { "VALUE_DUSK" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 380 260 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textalign 2
|
||||
textscale 0.4583
|
||||
dvar "ui_votecount1"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 380 280 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textalign 2
|
||||
textscale 0.4583
|
||||
dvar "ui_votecount2"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 380 300 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textalign 2
|
||||
textscale 0.4583
|
||||
dvar "ui_votecount3"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 380 320 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textalign 2
|
||||
textscale 0.4583
|
||||
dvar "ui_votecount4"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 380 340 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
textfont 1
|
||||
textalign 2
|
||||
textscale 0.4583
|
||||
dvar "ui_votecount5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/********************************************
|
||||
* dumped by: aerosoul94 *
|
||||
*********************************************/
|
||||
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "youkilled_card_display"
|
||||
rect 0 0 640 1 1 0
|
||||
decoration
|
||||
forecolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt "ui_show_youKilled" ( milliseconds( ) );
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user