]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/creategame.menu
Change 'cd volume' to 'music volume'
[divverent/nexuiz.git] / scmenu / creategame.menu
1 // Property of Alientrap/AK
2 //
3 // creategame.menu
4 Item Layout CreateGame
5 {
6         size    '850 650'
7         alignment [AlignLeft]
8         direction [Nex_DefaultVertDirection]
9
10         Item Layout Bar
11         {
12                 size      '850 20'
13                 alignment [AlignLeft]
14                 direction [Nex_DefaultHorzDirection]
15
16                 Derive TextButton BasicOptions
17                 {
18                         normal          " Basic Options "
19                 }
20                 Derive TextButton MapList
21                 {
22                         normal          " Map List "
23                 }
24                 Derive TextButton Configurations
25                 {
26                         normal          " Configurations "
27                 }
28                 Derive TextButton Advanced
29                 {
30                         normal          " Advanced "
31                 }
32         }
33
34         Item Window BasicOptions
35         {
36                 size '850 585'
37
38                 Item Window Map
39                 {
40                         size '400 585'
41                         flag [FlagEmbedded]
42
43                         Derive Picture Table3
44                         {
45                                 picture "gfx/table2"
46                                 pos     '0 0'
47                                 size    '400 585'
48                         }
49                         Derive Picture Picture
50                         {
51                                 picture "gfx/m_white"
52                                 size    '350 300'
53                                 pos     '20 20'
54                         }
55                         Derive MultiLabel Description
56                         {
57                                 pos     '20 320'
58                                 size    '350 285'
59                                 wrap    31
60                         }
61                         Derive TextButton Prev
62                         {
63                                 normal  "<<"
64                                 pos     '20 5'
65                                 action  Nex_Action_Map_Prev
66                         }
67                         Derive Label Name
68                         {
69                                 alignment       [AlignCenter]
70                                 size            '306 14'
71                                 pos             '44 4'
72                         }
73                         Derive TextButton Next
74                         {
75                                 normal  ">>"
76                                 pos     '348 5'
77
78                                 action  Nex_Action_Map_Next
79                         }
80                         Item Task_Job Job
81                         {
82                                 init    Nex_Automation_UpdateMap
83                         }
84                 }
85                 Item Layout Settings
86                 {
87                         pos             '400 0'
88                         size            '450 585'
89                         origin          '225 0'
90                         alignment       [AlignFirst]
91                         direction       [Nex_DefaultVertDirection]
92                         flag            [FlagEmbedded]
93
94                         DeriveTemplate Nex_Composition Nex_Option_EditBox
95                         {
96                                 DeriveTemplate Nex_Automation_Option_EditBox Automation
97                                 {}
98                                 DeriveTemplate TextButton Description
99                                 {}
100                                 DeriveTemplate EditBox EditBox
101                                 {
102                                         size    '200 12'
103                                         action  Nex_Action_TestOnChange
104                                         select  Nex_Action_TestOnSelect
105                                 }
106                         }
107
108                         Derive Nex_Option_EditBox Hostname
109                         {
110                                 text    "Server Name"
111                                 target  "Data::CreateGame::Hostname::Text"
112                         }
113                         Derive Nex_Composition Gametype
114                         {
115                                 Derive TextButton Description
116                                 {
117                                         normal  "Game Mode"
118                                         link    "##next"
119                                 }
120                                 Derive SwitchButton Switch
121                                 {
122                                         target  "Data::CreateGame::ServerProgs::Switch"
123                                         action  Nex_Action_TestOnChange
124                                 }
125                         }
126                         Derive Nex_Composition PublicServer
127                         {
128                                 Derive TextButton Description
129                                 {
130                                         normal  "Public Server"
131                                         link    "##next"
132                                 }
133                                 Derive SwitchButton Switch
134                                 {
135                                         target  "Data::CreateGame::PublicServer::Switch"
136                                         action  Nex_Action_TestOnChange
137                                 }
138                         }
139                         Derive Nex_Option_EditBox FragLimit
140                         {
141                                 text    "Frag Limit"
142                                 target  "Data::CreateGame::FragLimit::Text"
143                         }
144                         Derive Nex_Option_EditBox TimeLimit
145                         {
146                                 text    "Time Limit"
147                                 target  "Data::CreateGame::TimeLimit::Text"
148                         }
149                         Derive Nex_Option_EditBox MaxPlayer
150                         {
151                                 text    "Max Players"
152                                 target  "Data::CreateGame::MaxPlayers::Text"
153                         }
154                         Derive Nex_Line Seperator1
155                         {}
156                         Derive Nex_Option_EditBox NumBots
157                         {
158                                 text    "Bot Count"
159                                 target  "Data::CreateGame::NumBots::Text"
160                         }
161                         Derive Nex_Composition BotSkill
162                         {
163                                 Derive TextButton Description
164                                 {
165                                         normal  "Skill Level"
166                                         link    "##next"
167                                 }
168                                 Derive SwitchButton Switch
169                                 {
170                                         target  "Data::CreateGame::BotSkill::Switch"
171                                         action  Nex_Action_TestOnChange
172                                 }
173                         }
174                         Derive Nex_Void Seperator2
175                         {}
176                         Derive PictureButton Start
177                         {
178                                 normal          "$gfx/m_start"
179
180                                 action  Nex_Action_Map_Start
181                         }
182                 }
183         }
184 }