11862 lines
296 KiB
Plaintext
11862 lines
296 KiB
Plaintext
/*********************************************************
|
|
***************** Dumped by aerosoul94 *******************
|
|
*********************************************************/
|
|
|
|
{
|
|
menuDef
|
|
{
|
|
name "menu_playercard_icon_popup"
|
|
rect 0 0 640 480 0 0
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
focuscolor 1 1 1 1
|
|
fullscreen 1
|
|
fadeCycle 1
|
|
fadeClamp 1
|
|
fadeAmount 0.1
|
|
soundLoop "music_mainmenu_mp"
|
|
execKey 156
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
}
|
|
}
|
|
execKeyInt 157
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
}
|
|
}
|
|
execKeyInt 185
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
}
|
|
}
|
|
execKeyInt 186
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
}
|
|
}
|
|
onOpen
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( 0 );
|
|
setLocalVarInt "ui_numPages" ( 0 );
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 1 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 1 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 2 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 2 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 3 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 3 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 4 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 4 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 5 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 5 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 6 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 6 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 7 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 7 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 8 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 8 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 9 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 9 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 10 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 10 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 11 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 11 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 12 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 12 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 13 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 13 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 14 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 14 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 15 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 15 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 16 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 16 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 17 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 17 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 18 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 18 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 19 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 19 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 20 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 20 );
|
|
}
|
|
if ( ( tablelookupbyrow( "mp/cardIconTable.csv" , ( 21 * 48 ) , 0 ) != "" ) )
|
|
{
|
|
setLocalVarInt "ui_numPages" ( 21 );
|
|
}
|
|
focusfirst;
|
|
}
|
|
onRequestClose
|
|
{
|
|
execnow "uploadstats";
|
|
}
|
|
onEsc
|
|
{
|
|
close self;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "mw2_main_background"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 1708 480 0 0
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0.5
|
|
background "mw2_main_cloud_overlay"
|
|
textscale 0.55
|
|
exp rect x ( ( 0 - 107 ) - ( ( float( milliseconds( ) % 60000 ) / 60000 ) * ( 854 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 -1708 -480 0 0
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0.5
|
|
background "mw2_main_cloud_overlay"
|
|
textscale 0.55
|
|
exp rect x ( ( - 107 + 854 ) + ( ( float( milliseconds( ) % 50000 ) / 50000 ) * ( 854 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 640 480 4 4
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
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
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
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 -320 0 640 28 2 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 9
|
|
textalign 4
|
|
textalignx 106
|
|
textscale 0.5833
|
|
text "@MENU_EMBLEM_CAPS"
|
|
visible when ( !dvarbool( "wideScreen" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -320 0 640 28 2 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 9
|
|
textalign 5
|
|
textscale 0.5833
|
|
text "@MENU_EMBLEM_CAPS"
|
|
visible when ( dvarbool( "wideScreen" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 28 640 356 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 0.15
|
|
background "white"
|
|
textscale 0.55
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 -4 32 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 -4 640 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_t"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 -4 32 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tr"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 28 32 356 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_r"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 640 384 32 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_br"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 384 640 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_b"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 384 32 32 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_bl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -32 28 32 356 4 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_l"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -272 0 0 18 3 1
|
|
decoration
|
|
visible 1
|
|
style 1
|
|
forecolor 1 1 1 0.65
|
|
background "white"
|
|
textfont 3
|
|
textalign 4
|
|
textalignx 20
|
|
textscale 0.375
|
|
dvar "party_statusString"
|
|
visible when ( !dvarint( "xblive_privatematch" ) && inlobby( ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -272 0 272 18 3 1
|
|
decoration
|
|
visible 1
|
|
style 1
|
|
forecolor 1 1 1 0.65
|
|
background "white"
|
|
textfont 3
|
|
textalign 4
|
|
textalignx 20
|
|
textscale 0.375
|
|
dvar "party_partyPlayerCount"
|
|
visible when ( !inlobby( ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -272 28 544 24 2 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 10
|
|
textalign 6
|
|
textalignx -4
|
|
textscale 0.3333
|
|
visible when ( 1 )
|
|
exp text ( locstring( "@MPUI_PAGE_N_SLASH_N" , ( localvarint( "ui_pageIndex" ) + 1 ) , ( localvarint( "ui_numPages" ) + 1 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 208 48 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
border 1
|
|
bordersize 1
|
|
forecolor 1 1 1 1
|
|
bordercolor 0 0 0 0.75
|
|
background "cardtitle_248x48"
|
|
textscale 0.55
|
|
exp rect x ( 0 - ( ( 208 ) / 2 ) )
|
|
exp rect y ( ( 28 + 4 ) )
|
|
visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 160 32 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
exp rect x ( 0 - ( ( 208 ) / 2 ) )
|
|
exp rect y ( ( 28 + 4 ) - 2 )
|
|
visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
|
|
exp material ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 2 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 160 32 2 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 3
|
|
textalign 9
|
|
textscale 0.375
|
|
exp rect x ( 0 - ( ( 208 ) / 2 ) )
|
|
exp rect y ( ( 28 + 4 ) - 2 )
|
|
exp forecolor r ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 3 ) )
|
|
exp forecolor g ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 4 ) )
|
|
exp forecolor b ( tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 5 ) )
|
|
visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
|
|
exp text ( "@" + tablelookupbyrow( "mp/cardTitleTable.csv" , getplayercardinfo( 1 , 1 , 0 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 160 18 2 1
|
|
decoration
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
textfont 10
|
|
textalign 4
|
|
textalignx 8
|
|
textscale 0.3333
|
|
exp rect x ( 0 - ( ( 208 ) / 2 ) )
|
|
exp rect y ( ( ( 28 + 4 ) ) + 28 )
|
|
visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
|
|
exp text ( getplayercardinfo( 8 , 1 , 0 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 48 48 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
exp rect x ( ( 0 - ( ( 208 ) / 2 ) ) + 158 )
|
|
exp rect y ( ( ( 28 + 4 ) ) )
|
|
visible when ( 1 && ( getplayercardinfo( 0 , 1 , 0 ) != 0 ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , getplayercardinfo( 2 , 1 , 0 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon1_0"
|
|
rect -224 68.6667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -218 104.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 114.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 0 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon2_0"
|
|
rect -224 117.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -218 153.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 163.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 1 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon3_0"
|
|
rect -224 166 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -218 202 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 212 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 2 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon4_0"
|
|
rect -224 214.667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -218 250.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 260.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 3 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon5_0"
|
|
rect -224 263.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -218 299.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 309.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 4 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon6_0"
|
|
rect -224 312 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_0" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 0 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 0 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 0 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 0 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 0 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 0 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 0 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 0 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -218 348 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 358 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -208 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 5 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon1_1"
|
|
rect -170.667 68.6667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -164.667 104.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 114.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 6 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon2_1"
|
|
rect -170.667 117.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -164.667 153.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 163.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 7 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon3_1"
|
|
rect -170.667 166 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -164.667 202 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 212 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 8 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon4_1"
|
|
rect -170.667 214.667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -164.667 250.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 260.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 9 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon5_1"
|
|
rect -170.667 263.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -164.667 299.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 309.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 10 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon6_1"
|
|
rect -170.667 312 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_1" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 1 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 1 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 1 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 1 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 1 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 1 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 1 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 1 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -164.667 348 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 358 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -154.667 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 11 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon1_2"
|
|
rect -117.333 68.6667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -111.333 104.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 114.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 12 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon2_2"
|
|
rect -117.333 117.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -111.333 153.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 163.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 13 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon3_2"
|
|
rect -117.333 166 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -111.333 202 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 212 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 14 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon4_2"
|
|
rect -117.333 214.667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -111.333 250.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 260.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 15 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon5_2"
|
|
rect -117.333 263.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -111.333 299.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 309.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 16 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon6_2"
|
|
rect -117.333 312 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_2" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 2 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 2 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 2 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 2 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 2 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 2 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 2 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 2 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -111.333 348 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 358 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -101.333 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 17 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon1_3"
|
|
rect -64 68.6667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -58 104.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 114.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 18 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon2_3"
|
|
rect -64 117.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -58 153.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 163.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 19 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon3_3"
|
|
rect -64 166 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -58 202 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 212 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 20 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon4_3"
|
|
rect -64 214.667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -58 250.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 260.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 21 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon5_3"
|
|
rect -64 263.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -58 299.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 309.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 22 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon6_3"
|
|
rect -64 312 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_3" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 3 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 3 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 3 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 3 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 3 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 3 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 3 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 3 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -58 348 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 358 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -48 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 23 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon1_4"
|
|
rect -10.6667 68.6667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -4.66667 104.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 114.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 24 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon2_4"
|
|
rect -10.6667 117.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -4.66667 153.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 163.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 25 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon3_4"
|
|
rect -10.6667 166 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -4.66667 202 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 212 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 26 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon4_4"
|
|
rect -10.6667 214.667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -4.66667 250.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 260.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 27 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon5_4"
|
|
rect -10.6667 263.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -4.66667 299.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 309.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 28 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon6_4"
|
|
rect -10.6667 312 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_4" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 4 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 4 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 4 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 4 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 4 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 4 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 4 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 4 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -4.66667 348 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 358 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 5.33333 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 29 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon1_5"
|
|
rect 42.6667 68.6667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 48.6667 104.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 114.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 30 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon2_5"
|
|
rect 42.6667 117.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 48.6667 153.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 163.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 31 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon3_5"
|
|
rect 42.6667 166 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 48.6667 202 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 212 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 32 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon4_5"
|
|
rect 42.6667 214.667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 48.6667 250.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 260.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 33 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon5_5"
|
|
rect 42.6667 263.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 48.6667 299.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 309.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 34 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon6_5"
|
|
rect 42.6667 312 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_5" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 5 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 5 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 5 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 5 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 5 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 5 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 5 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 5 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 48.6667 348 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 358 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 58.6667 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 35 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon1_6"
|
|
rect 96 68.6667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 102 104.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 114.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 36 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon2_6"
|
|
rect 96 117.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 102 153.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 163.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 37 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon3_6"
|
|
rect 96 166 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 102 202 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 212 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 38 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon4_6"
|
|
rect 96 214.667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 102 250.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 260.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 39 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon5_6"
|
|
rect 96 263.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 102 299.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 309.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 40 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon6_6"
|
|
rect 96 312 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_6" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 6 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 6 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 6 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 6 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 6 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 6 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 6 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 6 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 102 348 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 358 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 112 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 41 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon1_7"
|
|
rect 149.333 68.6667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon1_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon1_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon1_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon1_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon1_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon1_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon1_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon1_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon1_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 155.333 104.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 114.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 84.6667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 42 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon2_7"
|
|
rect 149.333 117.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon2_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon2_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon2_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon2_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon2_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon2_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon2_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon2_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon2_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 155.333 153.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 163.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 133.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 43 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon3_7"
|
|
rect 149.333 166 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon3_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon3_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon3_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon3_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon3_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon3_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon3_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon3_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon3_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 155.333 202 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 212 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 182 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 44 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon4_7"
|
|
rect 149.333 214.667 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon4_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon4_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon4_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon4_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon4_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon4_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon4_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon4_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon4_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 155.333 250.667 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 260.667 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 230.667 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 45 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon5_7"
|
|
rect 149.333 263.333 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon5_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon5_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon5_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon5_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon5_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon5_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon5_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon5_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon5_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 155.333 299.333 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 309.333 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 279.333 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 46 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
name "cardIcon6_7"
|
|
rect 149.333 312 74.6667 74.6667 2 1
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "highlight_selected"
|
|
type 1
|
|
textscale 0.55
|
|
exp forecolor g ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor b ( 0.45 + ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) && ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) ) )
|
|
exp forecolor a ( ( getfocuseditemname( ) == "cardIcon6_7" ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.5 + 0.5 ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
execKeyInt 30
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 31
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
execKeyInt 22
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
}
|
|
execKeyInt 23
|
|
{
|
|
if ( 7 == 0 )
|
|
{
|
|
setfocus "cardIcon6_1";
|
|
}
|
|
if ( 7 == 1 )
|
|
{
|
|
setfocus "cardIcon6_2";
|
|
}
|
|
if ( 7 == 2 )
|
|
{
|
|
setfocus "cardIcon6_3";
|
|
}
|
|
if ( 7 == 3 )
|
|
{
|
|
setfocus "cardIcon6_4";
|
|
}
|
|
if ( 7 == 4 )
|
|
{
|
|
setfocus "cardIcon6_5";
|
|
}
|
|
if ( 7 == 5 )
|
|
{
|
|
setfocus "cardIcon6_6";
|
|
}
|
|
if ( 7 == 6 )
|
|
{
|
|
setfocus "cardIcon6_7";
|
|
}
|
|
if ( 7 == 7 )
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
setfocus "cardIcon6_0";
|
|
}
|
|
}
|
|
}
|
|
action
|
|
{
|
|
if ( isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
{
|
|
play "mouse_click";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
setPlayerData( "cardIcon" , "localVarString" ( "ui_tempVar" ) );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setLocalVarString "ui_tempVar" ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) );
|
|
if ( localvarstring( "ui_tempVar" ) != "" )
|
|
{
|
|
setPlayerData( "iconNew" , "localVarString" ( "ui_tempVar" ) , "false" );
|
|
}
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
exp material ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 1 ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 155.333 348 60 40 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.25 1 0.45 1
|
|
background "highlight_selected"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) * ( ( sin( milliseconds( ) / 100 ) * 0.5 + 0.5 ) * 0.25 + 0.75 ) * 0.65 )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 358 40 20 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "specialty_new_bg"
|
|
textscale 0.55
|
|
exp forecolor a ( getplayerdata( "iconNew" , tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect 165.333 328 42.6667 42.6667 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "cardicon_locked"
|
|
textscale 0.55
|
|
visible when ( ( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) != "" ) && !isitemunlocked( tablelookupbyrow( "mp/cardIconTable.csv" , 47 + ( localvarint( "ui_pageIndex" ) * 48 ) , 0 ) ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -272 140 -32 128 2 1
|
|
decoration
|
|
visible 1
|
|
group "left_arrow"
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "summary_arrow"
|
|
textscale 0.55
|
|
visible when ( localvarint( "ui_pageIndex" ) )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -272 140 32 128 2 1
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
type 1
|
|
textscale 0.55
|
|
visible when ( localvarint( "ui_pageIndex" ) )
|
|
action
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) - 1 );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setItemColor "left_arrow" forecolor 1 1 "0.5" 1;
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor "left_arrow" forecolor 1 1 1 1;
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect 240 140 32 128 2 1
|
|
visible 1
|
|
group "right_arrow"
|
|
style 3
|
|
forecolor 1 1 1 1
|
|
background "summary_arrow"
|
|
type 1
|
|
textscale 0.55
|
|
visible when ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
action
|
|
{
|
|
if ( localvarint( "ui_pageIndex" ) < localvarint( "ui_numPages" ) )
|
|
{
|
|
setLocalVarInt "ui_pageIndex" ( localvarint( "ui_pageIndex" ) + 1 );
|
|
}
|
|
}
|
|
onFocus
|
|
{
|
|
play "mouse_over";
|
|
setItemColor "right_arrow" forecolor 1 1 "0.5" 1;
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor "right_arrow" forecolor 1 1 1 1;
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -20 336 20 1 3
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
text "@PLATFORM_BACK_CAPS"
|
|
visible when ( "@PLATFORM_BACK_CAPS" == "@PLATFORM_BACK_CAPS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
play "mouse_click";
|
|
"escape" self;
|
|
}
|
|
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 );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -20 336 20 1 3
|
|
visible 1
|
|
group "mw2_button"
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "menu_button_selection_bar"
|
|
type 1
|
|
textfont 3
|
|
textalign 6
|
|
textalignx -60
|
|
textscale 0.375
|
|
text "@PLATFORM_BACK_CAPS"
|
|
visible when ( "@PLATFORM_BACK_CAPS" == "@PLATFORM_GAME_SUMMARY_CAPS" )
|
|
action
|
|
{
|
|
play "mouse_click";
|
|
play "mouse_click";
|
|
open "popup_summary";
|
|
}
|
|
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 );
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backcolor 0 0 0 "0.0";
|
|
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
|
setLocalVarBool "ui_menuAButton" ( 0 );
|
|
}
|
|
}
|
|
}
|
|
} |