home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / missionpack / mp-pak0.pk3 / ui / ingame_addbot.menu < prev    next >
Encoding:
Text File  |  2007-10-30  |  2.4 KB  |  110 lines

  1. /*
  2. ===========================================================================
  3. Copyright (C) 2007 Open Arena Team
  4.  
  5. This file is part of Open Arena.
  6.  
  7. Open Arena is free software; you can redistribute it
  8. and/or modify it under the terms of the GNU General Public License as
  9. published by the Free Software Foundation; either version 2 of the License,
  10. or (at your option) any later version.
  11.  
  12. Open Arena is distributed in the hope that it will be
  13. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Open Arena; if not, write to the Free Software
  19. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  20. ===========================================================================
  21. */
  22.  
  23.  
  24. #include "ui/menudef.h"
  25. //to add a human exterminator without using the console
  26. {
  27. menuDef {
  28.     name "ingame_addbot"
  29.     visible 0
  30.     fullscreen 0
  31.     outOfBoundsClick
  32.     rect 275 120 100 128
  33.     forecolor MP_TEXTCOLOR
  34.     focusColor MP_FOCUSCOLOR
  35.     
  36. itemDef {
  37.     name botname
  38.     style 0
  39.     text "Name:"
  40.     ownerdraw UI_BOTNAME
  41.     rect 0 20 128 20
  42.     textalign ITEM_ALIGN_LEFT
  43.     textalignx 15
  44.     textaligny 15
  45.     textscale .2
  46.     forecolor MP_TEXTCOLOR
  47.     visible 1
  48.     }
  49.  
  50. itemDef {
  51.     name teamname
  52.     style 0
  53.     text "Team:"    
  54.     ownerdraw UI_REDBLUE
  55.     rect 0 40 128 20
  56.     textalign ITEM_ALIGN_LEFT        
  57.     textalignx 15
  58.     textaligny 15    
  59.     textscale .2
  60.     cvarTest "g_gametype"
  61.     disableCvar { "0" ; "1" ; "10" }
  62.     forecolor MP_TEXTCOLOR
  63.     visible 1 
  64.     }
  65.  
  66. itemDef {
  67.     name botskill
  68.     style 0    
  69.     text "Skill:"
  70.     ownerdraw UI_BOTSKILL
  71.     rect 0 60 128 20
  72.     textalign ITEM_ALIGN_LEFT        
  73.     textalignx 15
  74.     textaligny 15    
  75.     textscale .2     
  76.     forecolor MP_TEXTCOLOR
  77.     visible 1 
  78.     }
  79.  
  80. itemDef {
  81.     name addthebotstupid
  82.     text "Add Bot"
  83.     textscale .2
  84.     style 0
  85.     rect 0 80 128 20
  86.     textalign ITEM_ALIGN_LEFT
  87.     textalignx 15
  88.     textaligny 15
  89.     forecolor MP_TEXTCOLOR
  90.     visible 1
  91.     action { uiScript addBot }
  92.     }
  93. // because someone will whine if this isn't in the menu
  94. itemDef {
  95.     name returntogame
  96.     text "Return to Game"
  97.     textscale .2
  98.     style 0
  99.     rect 0 100 128 20
  100.     textalign ITEM_ALIGN_LEFT
  101.     textalignx 15
  102.     textaligny 15
  103.     forecolor MP_TEXTCOLOR
  104.     visible 1
  105.     action { uiScript closeingame }
  106.     }
  107.  
  108. }
  109. }
  110.