home *** CD-ROM | disk | FTP | other *** search
- #include "ui/menudef.h"
-
-
- {
- \\ INGAME_Team MENU \\
-
- menuDef {
- name "ingame_team"
- visible 1
- fullScreen 0
- outOfBoundsClick // this closes the window if it gets a click out of the rectangle
- rect 230 42 128 128
- focusColor 1 1 1 1
- disableColor .5 .5 .5 1
-
- //Background
- itemDef {
- name window2
- rect 10 2 108 113
- style 1
- backcolor 0 0 0 .7
- visible 1
- decoration
- }
- itemDef {
- name window
- rect 10 2 108 113
- style 1
- backcolor .66 1 0 .35
- forecolor 0 0 0 1
- border 1
- bordercolor .66 1 0 1
- visible 1
- decoration
- }
- itemDef {
- name team
- text "Team RED"
- type 1
- style 2
- rect 0 10 128 20
- textstyle 6
- textalign 1
- textalignx 64
- textaligny 18
- textscale .25
- forecolor .66 1 0 1
- cvarTest "ui_teamgameactive"
- disableCvar { "0" }
- visible 1
- action { exec "cmd team red" ; uiScript closeingame }
- }
-
- itemDef {
- name team
- text "Team BLUE"
- type 1
- style 2
- textstyle 6
- rect 0 30 128 20
- textalign 1
- textalignx 64
- textaligny 18
- textscale .25
- forecolor .66 1 0 1
- visible 1
- cvarTest "ui_teamgameactive"
- disableCvar { "0" }
- action { exec "cmd team blue" ; uiScript closeingame }
- }
- itemDef {
- name team
- text "Auto JOIN"
- type 1
- style 2
- textstyle 6
- rect 0 50 128 20
- textalign 1
- textalignx 64
- textaligny 18
- textscale .25
- forecolor .66 1 0 1
- visible 1
- action { exec "cmd team free" ; uiScript closeingame }
- }
-
-
- itemDef {
- name team
- text "Spectate"
- type 1
- style 2
- rect 0 70 128 20
- textstyle 6
- textalign 1
- textalignx 64
- textaligny 18
- textscale .25
- forecolor .66 1 0 1
- visible 1
- action { exec "cmd team s" ; uiScript closeingame }
- }
- //Corners 10 15 108 113
- itemDef {
- name corners
- style 3
- rect 8 0 40 40
- background "ui/sidrial/Popup/ULCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 82 0 40 40
- background "ui/sidrial/Popup/URCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 8 78 40 40
- background "ui/sidrial/Popup/BLCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- itemDef {
- name corners
- style 3
- rect 82 78 40 40
- background "ui/sidrial/Popup/BRCorner.tga"
- backcolor 0 0 0 0
- forecolor 1 1 1 1
- visible 1
- decoration
- }
- }
- }