1172 lines
48 KiB
Plaintext
1172 lines
48 KiB
Plaintext
|
/********************************************
|
||
|
* dumped by: aerosoul94 *
|
||
|
*********************************************/
|
||
|
|
||
|
{
|
||
|
menuDef
|
||
|
{
|
||
|
name "onemanarmy_custom_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_custom_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
|
||
|
visible when ( getplayerdata( "customClasses" , 0 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 0 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom1";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 0 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "class_custom_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
|
||
|
visible when ( getplayerdata( "customClasses" , 1 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 1 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom2";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 1 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "class_custom_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
|
||
|
visible when ( getplayerdata( "customClasses" , 2 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 2 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom3";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 2 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "class_custom_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
|
||
|
visible when ( getplayerdata( "customClasses" , 3 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 3 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom4";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 3 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "class_custom_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
|
||
|
visible when ( getplayerdata( "customClasses" , 4 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 4 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom5";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 4 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "class_custom_6"
|
||
|
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
|
||
|
visible when ( getplayerdata( "customClasses" , 5 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 5 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom6";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 5 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "class_custom_7"
|
||
|
rect -178 118 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
|
||
|
visible when ( getplayerdata( "customClasses" , 6 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 6 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom7";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 6 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "class_custom_8"
|
||
|
rect -178 134 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
|
||
|
visible when ( getplayerdata( "customClasses" , 7 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 7 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom8";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 7 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "class_custom_9"
|
||
|
rect -178 150 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
|
||
|
visible when ( getplayerdata( "customClasses" , 8 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 8 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom9";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 8 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
name "class_custom_10"
|
||
|
rect -178 166 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
|
||
|
visible when ( getplayerdata( "customClasses" , 9 , "inUse" ) )
|
||
|
exp text ( getplayerdata( "customClasses" , 9 , "name" ) )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
scriptmenuresponse "custom10";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_over";
|
||
|
setLocalVarBool "ui_menuAButton" ( 1 );
|
||
|
setLocalVarFloat "ui_popupYPos" ( getfocuseditemy( ) );
|
||
|
setLocalVarInt "classIndex" ( 9 );
|
||
|
setLocalVarString "loadoutPrimary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "weapon" ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutPrimaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutPrimaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutPrimaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 0 , "camo" ) );
|
||
|
setLocalVarString "loadoutSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "weapon" ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 0 ) );
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "attachment" , 1 ) );
|
||
|
if ( localvarstring( "loadoutSecondaryAttachment2" ) == "" )
|
||
|
{
|
||
|
setLocalVarString "loadoutSecondaryAttachment2" ( "none" );
|
||
|
}
|
||
|
setLocalVarString "loadoutSecondaryCamo" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "weaponSetups" , 1 , "camo" ) );
|
||
|
setLocalVarString "loadoutEquipment" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 0 ) );
|
||
|
setLocalVarString "loadoutPerk1" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 1 ) );
|
||
|
setLocalVarString "loadoutPerk2" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 2 ) );
|
||
|
setLocalVarString "loadoutPerk3" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 3 ) );
|
||
|
setLocalVarString "loadoutStreak1" ( getplayerdata( "killstreaks" , 0 ) );
|
||
|
setLocalVarString "loadoutStreak2" ( getplayerdata( "killstreaks" , 1 ) );
|
||
|
setLocalVarString "loadoutStreak3" ( getplayerdata( "killstreaks" , 2 ) );
|
||
|
setLocalVarString "loadoutDeathStreak" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "perks" , 4 ) );
|
||
|
setLocalVarString "loadoutOffhandSecondary" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "specialGrenade" ) );
|
||
|
setLocalVarString "loadoutClassName" ( getplayerdata( "customClasses" , localvarint( "classIndex" ) , "name" ) );
|
||
|
setLocalVarBool "ui_show_loadout" ( 1 );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -178 183 280 0.666667 1 1
|
||
|
style 3
|
||
|
decoration
|
||
|
visible 1
|
||
|
forecolor 1 1 1 0.65
|
||
|
background "gradient_fadein"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -178 182 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_DEFAULT_CLASSES1"
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
close self;
|
||
|
open "onemanarmy_defaults_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" ) ) )
|
||
|
}
|
||
|
}
|
||
|
}
|