IW4-Dump-Files/ui_mp/scriptmenus/onemanarmy_defaults_splitsc...

854 lines
30 KiB
Plaintext

/********************************************
* 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" ) ) )
}
}
}