{ menuDef { name "gunfight_class" rect 0 0 640 480 0 0 decoration forecolor 1 1 1 1 backcolor 1 1 1 0 focuscolor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 onOpen { lerp x "from" 350 "to" 100 "over" 0.25; } onRequestClose { lerp x "from" 100 "to" 350 "over" 0.25; } onESC { } itemDef { rect -272 80 -272 18 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.2 exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , dvarString( "gunfight_primary" ) , 3 ) ) } itemDef { rect -272 180 -272 18 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.2 exp text ( "@" + tablelookup( "mp/statsTable.csv" , 4 , dvarString( "gunfight_secondary" ) , 3 ) ) } itemDef { rect -272 275 -272 20 3 1 style 1 decoration visible 1 forecolor 1 1 1 1 backcolor 0 0 0 0.35 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.55 } itemDef { rect -200 100 100 50 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( tablelookup( "mp/statsTable.csv" , 4 , dvarString( "gunfight_primary" ) , 6 ) ) } itemDef { rect -268 148 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , dvarString( "gunfight_primary_attach1" ) , 6 ) ) } itemDef { rect -224 148 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , dvarString( "gunfight_primary_attach2" ) , 6 ) ) } itemDef { rect -200 200 100 50 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( tablelookup( "mp/statsTable.csv" , 4 , dvarString( "gunfight_secondary" ) , 6 ) ) } itemDef { rect -268 248 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , dvarString( "gunfight_secondary_attach1" ) , 6 ) ) } itemDef { rect -224 248 20 20 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , dvarString( "gunfight_secondary_attach2" ) , 6 ) ) } itemDef { rect -268 280 10 10 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( dvarString( "gunfight_equipment_shader" ) ) } itemDef { rect -248 280 272 20 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 4 textalignx 4 textscale 0.2 exp text ( "@" + dvarString( "gunfight_equipment_text" ) ) } itemDef { rect -136 280 10 10 3 1 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 exp material ( dvarString( "gunfight_offhand_shader" ) ) } itemDef { rect -116 280 272 20 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 4 textalignx 4 textscale 0.2 visible when ( dvarInt( "gunfight_offhand_custom" ) == 0 ) exp text ( locstring( "@MPUI_N_XN" , "@" + tablelookup( "mp/statsTable.csv" , 4 , dvarString( "gunfight_offhand" ) , 3 ) , int( tablelookup( "mp/statsTable.csv" , 4 , dvarString( "gunfight_offhand" ) , 5 ) ) ) ) } itemDef { rect -116 280 272 20 3 1 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 4 textalignx 4 textscale 0.2 visible when ( dvarInt( "gunfight_offhand_custom" ) == 1 ) exp text ( "@" + dvarString( "gunfight_offhand_text" ) ) } } }