Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. #define INDEX_DEATHS 2305
  2. #define STATTODVAR_DEATHS execNow "statGetInDvar 2305 ui_stat_deaths"
  3.  
  4. #define INDEX_KILLS 2303
  5. #define STATTODVAR_KILLS execNow "statGetInDvar 2303 ui_stat_kills"
  6.  
  7. #define INDEX_SCORE 2302
  8. #define STATTODVAR_SCORE execNow "statGetInDvar 2302 ui_stat_score"
  9.  
  10. //---------
  11.  
  12. #define STAT_UPDATE \
  13. STATTODVAR_DEATHS; \
  14. STATTODVAR_KILLS; \
  15. STATTODVAR_SCORE; \
  16.  
  17. #include "ui/menudef.h"
  18.  
  19. #include "ui_mp/menustyle.inc"
  20. #include "ui/choices_setup_common.menu"
  21.  
  22. #include "ui_mp/dr_common.inc"
  23. {
  24. // total kills
  25. itemDef
  26. {
  27. visible 1
  28. origin 130 330
  29. forecolor 1 1 1 1
  30. exptext ("Total Kills:^1 "+dvarString( ui_stat_kills ))
  31. textfont UI_FONT_NORMAL
  32. textalign ITEM_ALIGN_CENTER
  33. textscale 0.4
  34. decoration
  35. }
  36.  
  37. menuDef
  38. {
  39. name "team_select"
  40. rect 0 0 640 480
  41. focuscolor COLOR_FOCUSED
  42. style WINDOW_STYLE_EMPTY
  43. blurWorld 7.0
  44. legacySplitScreenScale
  45.  
  46. onOpen
  47. {
  48. execNow "set menuName CryptDeathrunMenu";
  49. //UPDATE_PERK1;
  50. }
  51.  
  52. onClose
  53. {
  54. }
  55.  
  56.  
  57.  
  58.  
  59. onEsc
  60. {
  61. close self;
  62. }
  63.  
  64. #include "ui_mp/dr_menu_frame.inc"
  65.  
  66. // separator
  67. itemDef
  68. {
  69. rect 91 370 460 1.3
  70.  
  71. style WINDOW_STYLE_SHADER
  72. background "white"
  73. forecolor 1 1 1 0.6
  74. visible 1
  75. decoration
  76. }
  77.  
  78. itemDef
  79. {
  80. rect 91 225 460 1.3
  81.  
  82. style WINDOW_STYLE_SHADER
  83. background "white"
  84. forecolor 1 1 1 0.6
  85. visible 1
  86. decoration
  87. }
  88.  
  89. itemDef
  90. {
  91. rect 80 300 480 1.3
  92.  
  93. style WINDOW_STYLE_SHADER
  94. background "white"
  95. forecolor 1 1 1 0.6
  96. visible 0
  97. decoration
  98. }
  99.  
  100. itemDef
  101. {
  102. // 570 - 330 = 240
  103. rect 330 100 220 180
  104. style WINDOW_STYLE_SHADER
  105. exp material( "$levelBriefing" )
  106. border 2
  107. bordercolor .4 .4 .4 .8
  108. forecolor 1 1 1 1
  109. visible 0
  110. decoration
  111. }
  112.  
  113.  
  114. DR_BUTTON( "0", 120, 420, 70, 25, "@DRM_PLAY", scriptMenuResponse "autoassign";, 1 )
  115. DR_BUTTON( "1", 120, 380, 70, 25, "@DRM_SPECTATE", scriptMenuResponse "spectator";, 1 )
  116.  
  117. DR_BUTTON( "2", 215, 420, 220, 25, "@DRM_CHARACTER", scriptMenuResponse "character_menu";, 1 )
  118.  
  119. DR_BUTTON( "3", 215, 380, 220, 25, "@DRM_OPTIONS", close self; open dr_options;, 1 )
  120. DR_BUTTON( "4", 460, 380, 60, 25, "@DRM_HELP", close self; open dr_help;, 1 )
  121. DR_BUTTON( "5", 460, 420, 60, 25, "@MENU_Quit", open popup_endgame;, 1 )
  122.  
  123. // DR_BUTTON( "6", 100, 280, 180, 20, "^3VIP", open "vip";, when( dvarInt( "vip" ) == 1 ) )
  124.  
  125. itemDef
  126. {
  127. name "motd"
  128. visible 0
  129. rect 80 320 470 140
  130. forecolor 1 1 1 1
  131. autowrapped
  132. exp text( dvarString("dr_motd") )
  133. textfont UI_FONT_OBJECTIVE
  134. textscale .25
  135. textalignx 8
  136. textaligny 16
  137. textalign ITEM_ALIGN_CENTER
  138. decoration
  139. }
  140. }
  141. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement