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

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ INGAME ABOUT BOX \\
  5.  
  6. menuDef {
  7.         name "ingame_serverinfo"
  8.         visible 0
  9.         fullscreen 0
  10.     outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  11.         rect 326 41 276 220
  12.         focusColor 1 .75 0 1
  13.         style 1
  14.         border 1
  15.  
  16. //Background
  17.     itemDef {
  18.         name window
  19.            rect 2 2 272 216
  20.         style 1
  21.         backcolor 0 0 0 .5
  22.         visible 1
  23.         decoration
  24.     }
  25.     itemDef {
  26.         name window
  27.            rect 2 2 272 216
  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 serverinfo
  38.         rect 5 20 320 20    
  39.         text "Server Information:" 
  40.         textalign 0
  41.         textscale .3
  42.         textalignx 10
  43.         textaligny 20
  44.         forecolor 1 1 1 1
  45.         visible 1
  46.         decoration
  47.         }
  48. itemDef {
  49.     name about
  50.     rect 0 55 256 20
  51.     name gametypefield
  52.     type 4
  53.           style 0    
  54.     text "Map Name:"
  55.     cvar mapname 
  56.     maxPaintChars 12
  57.           textalign ITEM_ALIGN_RIGHT        
  58.           textalignx 128
  59.           textaligny 12    
  60.     textscale .25     
  61.           forecolor 1 1 1 1
  62.           visible 1
  63.     decoration
  64.     }
  65.  
  66.  
  67.  
  68. itemDef {
  69.     name about
  70.     rect 0 70 256 20
  71.     style 0
  72.     //type 4
  73.     textalign ITEM_ALIGN_RIGHT    
  74.     text "GameType:"
  75.     type ITEM_TYPE_MULTI    
  76.     cvar "G_GAMETYPE"    
  77.     cvarFloatList { "Free For All" 0 "Tournament" 1 "Free For All" 2 "Team Deathmatch" 3 "Capture the Flag" 4 "One Flag CTF" 5 "Overload" 6 "Harvester" 7 "Team Tournament" 8 }          
  78.     textalignx 128
  79.     textaligny 12    
  80.     textscale .25
  81.     backcolor 0 0 .75 .25
  82.     visible 1
  83.     decoration
  84.     }
  85. itemDef {
  86.     name about
  87.     rect 0 85 256 20
  88.     type 4
  89.           style 0    
  90.     text "Frag Limit:"
  91.     cvarTest "G_GAMETYPE"
  92.     showCvar { "0" ; "1" ; "2" ; "3" }
  93.     maxPaintChars 12
  94.     cvar fraglimit 
  95.           textalign ITEM_ALIGN_RIGHT        
  96.           textalignx 128
  97.           textaligny 12    
  98.     textscale .25     
  99.           forecolor 1 1 1 1
  100.           visible 1
  101.     decoration
  102.     }
  103. itemDef {
  104.     name about
  105.     rect 0 100 256 20
  106.     type 4
  107.           style 0    
  108.     text "Time Limit:"
  109.     maxPaintChars 12
  110.     cvar timelimit 
  111.           textalign ITEM_ALIGN_RIGHT        
  112.           textalignx 128
  113.           textaligny 12    
  114.     textscale .25     
  115.           forecolor 1 1 1 1
  116.           visible 1
  117.     decoration
  118.     }
  119.  
  120.  
  121. itemDef {
  122.     name about
  123.     rect 0 115 256 20
  124.     type 4
  125.           style 0    
  126.     text "Protocol:"
  127.     cvar protocol 
  128.     maxPaintChars 12
  129.           textalign ITEM_ALIGN_RIGHT        
  130.           textalignx 128
  131.           textaligny 12    
  132.     textscale .25     
  133.           forecolor 1 1 1 1
  134.           visible 1
  135.     decoration
  136.     }
  137.  
  138. itemDef {
  139.     name about
  140.     rect 0 130 256 20
  141.     type 4
  142.           style 0    
  143.     text "Max Clients:"
  144.     cvar sv_maxclients 
  145.     maxPaintChars 12
  146.           textalign ITEM_ALIGN_RIGHT        
  147.           textalignx 128
  148.           textaligny 12    
  149.     textscale .25     
  150.           forecolor 1 1 1 1
  151.           visible 1
  152.     decoration
  153.     }
  154.  
  155. itemDef {
  156.     name about
  157.     rect 0 145 256 20
  158.     type 4
  159.           style 0    
  160.     text "Host Name:"
  161.     cvar sv_hostname 
  162.     maxPaintChars 12
  163.           textalign ITEM_ALIGN_RIGHT        
  164.           textalignx 128
  165.           textaligny 12    
  166.     textscale .25     
  167.           forecolor 1 1 1 1
  168.           visible 1
  169.     decoration
  170.     }
  171.  
  172. itemDef {
  173.     name about
  174.     rect 0 160 256 20
  175.     type 11
  176.           style 0    
  177.     text "Bot/Min Players:"
  178.     cvar bot_minplayers 
  179.           textalign ITEM_ALIGN_RIGHT        
  180.           textalignx 128
  181.           textaligny 12    
  182.     textscale .25     
  183.           forecolor 1 1 1 1
  184.           visible 1
  185.     decoration
  186.     }
  187.  
  188.  
  189. itemDef {
  190.     name about
  191.     rect 10 200 256 20
  192.     type 4
  193.           style 0    
  194.     text "Version:"
  195.     cvar version 
  196.     maxPaintChars 32
  197.           textalign ITEM_ALIGN_LEFT        
  198.           textalignx 128
  199.           textaligny 12
  200.     textalign 1    
  201.     textscale .25     
  202.           forecolor 1 1 1 1
  203.           visible 1
  204.     decoration
  205.     }
  206. //Corners  
  207. itemDef {
  208.           name corners    
  209.         style 3
  210.           rect 0 0 40 40
  211.          background "ui/sidrial/Popup/ULCorner.tga"
  212.         backcolor 0 0 0 0
  213.           forecolor 1 1 1 1
  214.           visible 1
  215.         decoration    
  216.     }
  217. itemDef {
  218.           name corners    
  219.         style 3
  220.           rect 238 0 40 40
  221.          background "ui/sidrial/Popup/URCorner.tga"
  222.         backcolor 0 0 0 0
  223.           forecolor 1 1 1 1
  224.           visible 1
  225.         decoration    
  226.     }
  227. itemDef {
  228.           name corners    
  229.         style 3
  230.           rect 0 182 40 40
  231.          background "ui/sidrial/Popup/BLCorner.tga"
  232.         backcolor 0 0 0 0
  233.           forecolor 1 1 1 1
  234.           visible 1
  235.         decoration    
  236.     }
  237. itemDef {
  238.           name corners    
  239.         style 3
  240.           rect 238 182 40 40
  241.          background "ui/sidrial/Popup/BRCorner.tga"
  242.         backcolor 0 0 0 0
  243.           forecolor 1 1 1 1
  244.           visible 1
  245.         decoration    
  246.     }
  247.  
  248.  
  249.  
  250. }
  251.  
  252.  
  253. }
  254.