home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 87 / CDMM87_1.ISO / Sidrial / data1.cab / Program_Files / sidrial0.pk3 / ui / ingame_team.menu < prev    next >
Encoding:
Text File  |  2002-01-13  |  2.7 KB  |  145 lines

  1. #include "ui/menudef.h"
  2.  
  3.  
  4. {
  5. \\ INGAME_Team MENU \\
  6.  
  7.   menuDef {
  8.         name "ingame_team"
  9.         visible 1
  10.         fullScreen 0
  11.     outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  12.         rect 230 42 128 128
  13.     focusColor 1 1 1 1
  14.     disableColor .5 .5 .5 1
  15.  
  16. //Background
  17.     itemDef {
  18.         name window2
  19.          rect 10 2 108 113   
  20.         style 1
  21.         backcolor 0 0 0 .7
  22.         visible 1
  23.         decoration
  24.     }
  25.     itemDef {
  26.         name window
  27.          rect 10 2 108 113   
  28.         style 1
  29.         backcolor .66 1 0 .35
  30.         forecolor 0 0 0 1
  31.         border 1
  32.         bordercolor .66 1 0 1
  33.         visible 1
  34.         decoration
  35.     }
  36. itemDef {
  37.          name team
  38.          text "Team RED"
  39.         type 1
  40.           style 2    
  41.          rect 0 10 128 20   
  42.         textstyle 6
  43.          textalign 1    
  44.          textalignx 64
  45.         textaligny 18        
  46.         textscale .25
  47.           forecolor .66 1 0 1
  48.         cvarTest "ui_teamgameactive"
  49.         disableCvar { "0" }
  50.           visible 1 
  51.           action { exec "cmd team red" ; uiScript closeingame }
  52.         }
  53.  
  54.  itemDef {
  55.           name team
  56.           text "Team BLUE"
  57.         type 1
  58.           style 2    
  59.         textstyle 6
  60.           rect 0 30 128 20   
  61.           textalign 1    
  62.           textalignx 64
  63.           textaligny 18
  64.         textscale .25
  65.           forecolor .66 1 0 1
  66.           visible 1 
  67.         cvarTest "ui_teamgameactive"
  68.         disableCvar { "0" }
  69.           action { exec "cmd team blue" ; uiScript closeingame }
  70.         }
  71.  itemDef {
  72.           name team
  73.           text "Auto JOIN"
  74.         type 1
  75.           style 2    
  76.         textstyle 6
  77.           rect 0 50 128 20   
  78.           textalign 1    
  79.           textalignx 64
  80.           textaligny 18
  81.         textscale .25
  82.           forecolor .66 1 0 1
  83.           visible 1 
  84.           action { exec "cmd team free" ; uiScript closeingame }
  85.         }
  86.  
  87.  
  88.  itemDef {
  89.           name team
  90.           text "Spectate"
  91.         type 1
  92.           style 2    
  93.           rect 0 70 128 20   
  94.         textstyle 6
  95.           textalign 1    
  96.           textalignx 64
  97.           textaligny 18
  98.         textscale .25
  99.           forecolor .66 1 0 1
  100.           visible 1 
  101.           action { exec "cmd team s" ; uiScript closeingame }
  102.         }
  103. //Corners    10 15 108 113 
  104. itemDef {
  105.           name corners    
  106.         style 3
  107.           rect 8 0 40 40
  108.          background "ui/sidrial/Popup/ULCorner.tga"
  109.         backcolor 0 0 0 0
  110.           forecolor 1 1 1 1
  111.           visible 1
  112.         decoration    
  113.     }
  114. itemDef {
  115.           name corners    
  116.         style 3
  117.           rect 82 0 40 40
  118.          background "ui/sidrial/Popup/URCorner.tga"
  119.         backcolor 0 0 0 0
  120.           forecolor 1 1 1 1
  121.           visible 1
  122.         decoration    
  123.     }
  124. itemDef {
  125.           name corners    
  126.         style 3
  127.           rect 8 78 40 40
  128.          background "ui/sidrial/Popup/BLCorner.tga"
  129.         backcolor 0 0 0 0
  130.           forecolor 1 1 1 1
  131.           visible 1
  132.         decoration    
  133.     }
  134. itemDef {
  135.           name corners    
  136.         style 3
  137.           rect 82 78 40 40
  138.          background "ui/sidrial/Popup/BRCorner.tga"
  139.         backcolor 0 0 0 0
  140.           forecolor 1 1 1 1
  141.           visible 1
  142.         decoration    
  143.     }
  144. }
  145. }