{ menuDef { name "killcam_custom" rect 0 0 640 480 4 4 visible 1 decoration forecolor 1 1 1 1 visible when ( !menuisopen( "scoreboard" ) && !menuisopen( "team_marinesopfor" ) && !menuisopen( "class" ) && !menuisopen( "changeclass" ) && !menuisopen( "popup_leavegame" ) && !menuisopen( "pc_options_actions" ) && !menuisopen( "pc_options_advanced_video" ) && !menuisopen( "pc_options_audio" ) && !menuisopen( "pc_options_controls" ) && !menuisopen( "pc_options_look" ) && !menuisopen( "pc_options_movement" ) && !menuisopen( "pc_options_video" ) && !menuisopen( "pc_options_voice" ) && !menuisopen( "pc_options_rename" ) && !menuisopen( "pc_options_multi" ) && !menuisopen( "pc_options_game" ) && !menuisopen( "controls_multi" ) ) onEsc { if( inkillcam() ) { scriptmenuresponse "reopen"; } } onClose { if( inkillcam() ) { scriptmenuresponse "reopen"; } } onRequestClose { if( inkillcam() ) { scriptmenuresponse "reopen"; } } itemDef { rect 0 -84 640 138 4 8 decoration visible 1 style 3 forecolor 0 0 0 1 background "black" textscale 0.55 } itemDef { rect 0 -100 640 138 4 10 decoration visible 1 style 3 forecolor 0 0 0 1 background "black" textscale 0.55 } itemDef { rect 0 -100 640 138 4 8 decoration visible 1 style 3 forecolor 0 0 0 1 background "black" textscale 0.55 } itemDef { rect 0 -85 640 -138 4 10 decoration visible 1 style 3 forecolor 0 0 0 1 background "black" textscale 0.55 } itemDef { rect 0 425 1 1 2 8 decoration visible 1 forecolor 1 1 1 1 textfont 9 textalign 1 textscale 0.4 exp text ( "@PLATFORM_PRESS_TO_SKIP" ); visible when ( dvarInt( "scr_gameended" ) == 0 ) } itemDef { rect 0 41 1 1 2 8 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 1 textscale 0.5 text "Killcam" visible when ( dvarint( "scr_gameended" ) == 0 ) } itemDef { rect 0 41 1 1 2 8 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 1 textscale 0.5 text "Final Kill" visible when ( dvarint( "scr_gameended" ) == 1 ) } itemDef { rect 0 41 1 1 2 8 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 1 textscale 0.5 text "Round Winning Kill" visible when ( dvarint( "scr_gameended" ) == 2 ) } itemDef { rect 25 390 20 20 8 8 style 1 decoration visible 1 textfont 3 textalign 4 textalignx 4 textscale 0.3 visible when ( dvarString( "ui_killcam_weapon_name" ) != "" ) exp text ( "@" + dvarString( "ui_killcam_weapon_name" ) ) } itemDef { rect 25 405 100 50 8 8 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( dvarString( "ui_killcam_weapon_icon" ) != "" && dvarInt( "ui_killcam_weapon_smallicon" ) == 0 ) exp material ( dvarString( "ui_killcam_weapon_icon" ) ) } itemDef { rect 25 405 50 50 8 8 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( dvarString( "ui_killcam_weapon_icon" ) != "" && dvarInt( "ui_killcam_weapon_smallicon" ) == 1 ) exp material ( dvarString( "ui_killcam_weapon_icon" ) ) } itemDef { rect 30 455 20 20 8 8 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( tablelookup( "mp/attachmentTable.csv" , 4 , dvarString( "ui_killcam_weapon_attach1" ) , 6 ) != "" ) exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , dvarString( "ui_killcam_weapon_attach1" ) , 6 ) ) } itemDef { rect 60 455 20 20 8 8 style 3 decoration visible 1 forecolor 1 1 1 1 textscale 0.55 visible when ( tablelookup( "mp/attachmentTable.csv" , 4 , dvarString( "ui_killcam_weapon_attach2" ) , 6 ) != "" ) exp material ( tablelookup( "mp/attachmentTable.csv" , 4 , dvarString( "ui_killcam_weapon_attach2" ) , 6 ) ) } itemDef { rect -50 -50 1 32 10 10 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 1 textscale 0.3 text "@MP_KILLED_BY" visible when ( dvarString( "ui_killcam_killer" ) != "" ) } itemDef { rect -50 -30 1 32 10 10 decoration visible 1 forecolor 1 1 1 1 textfont 3 textalign 1 textscale 0.3 visible when ( dvarString( "ui_killcam_killer" ) != "" ) exp text ( dvarString( "ui_killcam_killer" ) ); } } }