Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define INDEX_DEATHS 2305
- #define STATTODVAR_DEATHS execNow "statGetInDvar 2305 ui_stat_deaths"
- #define INDEX_KILLS 2303
- #define STATTODVAR_KILLS execNow "statGetInDvar 2303 ui_stat_kills"
- #define INDEX_SCORE 2302
- #define STATTODVAR_SCORE execNow "statGetInDvar 2302 ui_stat_score"
- //---------
- #define STAT_UPDATE \
- STATTODVAR_DEATHS; \
- STATTODVAR_KILLS; \
- STATTODVAR_SCORE; \
- #include "ui/menudef.h"
- #include "ui_mp/menustyle.inc"
- #include "ui/choices_setup_common.menu"
- #include "ui_mp/dr_common.inc"
- {
- // total kills
- itemDef
- {
- visible 1
- origin 130 330
- forecolor 1 1 1 1
- exptext ("Total Kills:^1 "+dvarString( ui_stat_kills ))
- textfont UI_FONT_NORMAL
- textalign ITEM_ALIGN_CENTER
- textscale 0.4
- decoration
- }
- menuDef
- {
- name "team_select"
- rect 0 0 640 480
- focuscolor COLOR_FOCUSED
- style WINDOW_STYLE_EMPTY
- blurWorld 7.0
- legacySplitScreenScale
- onOpen
- {
- execNow "set menuName CryptDeathrunMenu";
- //UPDATE_PERK1;
- }
- onClose
- {
- }
- onEsc
- {
- close self;
- }
- #include "ui_mp/dr_menu_frame.inc"
- // separator
- itemDef
- {
- rect 91 370 460 1.3
- style WINDOW_STYLE_SHADER
- background "white"
- forecolor 1 1 1 0.6
- visible 1
- decoration
- }
- itemDef
- {
- rect 91 225 460 1.3
- style WINDOW_STYLE_SHADER
- background "white"
- forecolor 1 1 1 0.6
- visible 1
- decoration
- }
- itemDef
- {
- rect 80 300 480 1.3
- style WINDOW_STYLE_SHADER
- background "white"
- forecolor 1 1 1 0.6
- visible 0
- decoration
- }
- itemDef
- {
- // 570 - 330 = 240
- rect 330 100 220 180
- style WINDOW_STYLE_SHADER
- exp material( "$levelBriefing" )
- border 2
- bordercolor .4 .4 .4 .8
- forecolor 1 1 1 1
- visible 0
- decoration
- }
- DR_BUTTON( "0", 120, 420, 70, 25, "@DRM_PLAY", scriptMenuResponse "autoassign";, 1 )
- DR_BUTTON( "1", 120, 380, 70, 25, "@DRM_SPECTATE", scriptMenuResponse "spectator";, 1 )
- DR_BUTTON( "2", 215, 420, 220, 25, "@DRM_CHARACTER", scriptMenuResponse "character_menu";, 1 )
- DR_BUTTON( "3", 215, 380, 220, 25, "@DRM_OPTIONS", close self; open dr_options;, 1 )
- DR_BUTTON( "4", 460, 380, 60, 25, "@DRM_HELP", close self; open dr_help;, 1 )
- DR_BUTTON( "5", 460, 420, 60, 25, "@MENU_Quit", open popup_endgame;, 1 )
- // DR_BUTTON( "6", 100, 280, 180, 20, "^3VIP", open "vip";, when( dvarInt( "vip" ) == 1 ) )
- itemDef
- {
- name "motd"
- visible 0
- rect 80 320 470 140
- forecolor 1 1 1 1
- autowrapped
- exp text( dvarString("dr_motd") )
- textfont UI_FONT_OBJECTIVE
- textscale .25
- textalignx 8
- textaligny 16
- textalign ITEM_ALIGN_CENTER
- decoration
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement