rename menu directories
[divverent/nexuiz.git] / data / menu / creategame / basic.menu
1 // Property of Alientrap/AK
2 //
3 // creategame/basic.menu
4 Item Window Basic
5 {
6         size '900 585'
7
8         Item Window Map
9         {
10                 DeriveTemplate Nex_Composition Nex_Option_MapType
11                 {
12                         DeriveTemplate Nex_Automation_Option_Switch Automation
13                         {}
14                         DeriveTemplate TextButton Description
15                         {}
16                         DeriveTemplate SwitchButton Switch
17                         {
18                                 size    '200 12'
19                                 action  Nex_Action_Maplist_ChangeMapType
20                         }
21                 }
22
23                 size '400 585'
24                 flag [FlagEmbedded]
25
26                 Derive Picture Table3
27                 {
28                         picture "gfx/table2"
29                         pos     '0 0'
30                         size    '400 585'
31                 }
32                 Derive Picture Picture
33                 {
34                         picture "gfx/m_white"
35                         size    '350 300'
36                         pos     '20 40'
37                 }
38                 Derive MultiLabel Description
39                 {
40                         pos     '20 340'
41                         size    '350 285'
42                         wrap    31
43                         fontSize '11 11 0'
44                 }
45                 Derive TextButton Prev
46                 {
47                         normal  "<<"
48                         pos     '20 25'
49                         action  Nex_Action_MapSelector_Prev
50                 }
51                 Derive Label Name
52                 {
53                         alignment       [AlignCenter]
54                         size            '306 14'
55                         pos             '44 24'
56                 }
57                 Derive TextButton Next
58                 {
59                         normal  ">>"
60                         pos     '348 25'
61
62                         action  Nex_Action_MapSelector_Next
63                 }
64                 Derive Nex_Option_MapType MapType
65                 {
66                         pos '50 5'
67                         text    "Filter"
68                         target  "Data::Server::Map::Query::Switch"
69                 }
70                 Item Task_Job UpdateJob
71                 {
72                         update  Nex_MapSelector_UpdateMap
73                 }
74         }
75         Item Layout Settings
76         {
77                 pos             '400 0'
78                 size            '500 585'
79                 origin          '250 0'
80                 alignment       [AlignFirst]
81                 direction       [Nex_DefaultVertDirection]
82                 flag            [FlagEmbedded]
83
84                 DeriveTemplate Nex_Composition Option_EditBox
85                 {
86                         DeriveTemplate Nex_Automation_Option_EditBox Automation
87                         {}
88                         DeriveTemplate TextButton Description
89                         {}
90                         DeriveTemplate EditBox EditBox
91                         {
92                                 size    '200 12'
93                                 action  Nex_Action_TestOnChange
94                                 select  Nex_Action_TestOnSelect
95                         }
96                 }
97
98                 Derive Option_EditBox Hostname
99                 {
100                         text    "Server Name"
101                         target  "Data::Server::Hostname::Text"
102                 }
103                 //Derive Nex_Option_Switch GameMode
104                 //{
105                 //      text    "Game Mode"
106                 //      target  "::Data::Server::GameMode::Switch"
107                 //}
108                 Derive Nex_Option_Switch GameType
109                 {
110                         text    "Mod"
111                         target  "Data::Server::ServerProgs::Switch"
112                 }
113                 Derive Nex_Option_Switch PublicServer
114                 {
115                         text    "Public Server"
116                         target  "Data::Server::PublicServer::Switch"
117                 }
118                 Derive Option_EditBox MaxPlayer
119                 {
120                         text    "Max Players"
121                         target  "Data::Server::MaxPlayers::Text"
122                 }
123                 Derive Nex_Line Seperator1
124                 {}
125                 Derive Option_EditBox NumBots
126                 {
127                         text    "Bot Count"
128                         target  "Data::Server::NumBots::Text"
129                 }
130                 Derive Nex_Option_Switch BotSkill
131                 {
132                         text    "Skill Level"
133                         target  "Data::Server::BotSkill::Switch"
134                 }
135                 Derive Nex_Line Seperator2
136                 {}
137                 Derive Option_EditBox ServerFrameTime
138                 {
139                         text    "Server Frame Time"
140                         target  "Data::Server::ServerFrameTime::Text"
141                 }
142                 Derive Option_EditBox ServerMaxRate
143                 {
144                         text    "Server Max Rate"
145                         target  "Data::Server::ServerMaxRate::Text"
146                 }
147                 Derive Nex_Void Seperator3
148                 {}
149                 Derive PictureButton Start
150                 {
151                         normal          "$gfx/m_start"
152
153                         action  Nex_Action_Map_Start
154                 }
155         }
156 }