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