]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/data/server.menu
give menu source its own directory
[divverent/nexuiz.git] / data / menu / data / server.menu
1 // Property of Alientrap
2 //
3 // data/server.menu
4
5 Item DataContainer Server
6 {
7         Item DataContainer Map
8         {
9                 Item Data_Container Query
10                 {
11                         defValue        ""
12                         value           ""
13
14                         Item DataLink_TextSwitch Switch
15                         {
16                                 valueList       "'' 'dm_' 'tdm_' 'dom_' 'ctf_' 'rune_'"
17                                 descList        "'List All''Classic Deathmatch''Team Deathmatch''Domination''Capture The Flag''Rune Match'"
18
19                                 link            "##up"
20                         }
21                 }
22                 Item Nex_MapDB DataBase
23                 {
24                 }
25                 // for the < > map selection in the basic options
26                 Item DataLink_Nex_MapList Selector
27                 {
28                         init    Item_DataLink_Nex_MapList_InitWithMapList
29                 }
30                 // for the map list in map cycle
31                 Item DataLink_Nex_MapList List
32                 {
33                         init    Item_DataLink_Nex_MapList_InitWithMapList
34                 }
35                 Item DataLink_Nex_MapList Cycle
36                 {
37                         // creates x and x_index (CVAR_SAVE)
38                         cvarName        "g_maplist"
39                 }
40         }
41
42         Item Data_Cvar Hostname
43         {
44                 cvarName        "hostname"
45                 defValue        "Nexuiz Server"
46
47                 Item DataLink_Text Text
48                 {
49                         link            "##up"
50                         maxValue        64
51                 }
52         }
53         Item Data_CvarCreateSave MaxPlayers
54         {
55                 cvarName        "_nex_maxplayers"
56                 defValue        8
57
58                 Item DataLink_Value Value
59                 {
60                         link            "##up"
61                         minValue        1
62                         stepValue       1
63                         maxValue        32
64                 }
65                 Item DataLink_Text Text
66                 {
67                         link            "##down"
68                         maxValue        5
69
70                         Item DataLink_TextValue TextValue
71                         {
72                                 link    "##up prev"
73                         }
74                 }
75         }
76         Item Data_Cvar TimeLimit
77         {
78                 cvarName        "timelimit_override"
79                 defValue        -1
80
81                 Item DataLink_Value Value
82                 {
83                         minValue        -1
84                         maxValue        86400
85                         stepValue       1
86                         link            "##up"
87                 }
88                 Item DataLink_Text Text
89                 {
90                         maxValue        8
91                         link            "##down"
92
93                         Item DataLink_TextValue TextValue
94                         {
95                                 link    "##up prev"
96                         }
97                 }
98         }
99         Item Data_Cvar FragLimit
100         {
101                 cvarName        "fraglimit_override"
102                 defValue        -1
103
104                 Item DataLink_Value Value
105                 {
106                         minValue        -1
107                         maxValue        9999.0
108                         stepValue       1
109                         link            "##up"
110                 }
111                 Item DataLink_Text Text
112                 {
113                         maxValue        8
114                         link            "##down"
115
116                         Item DataLink_TextValue TextValue
117                         {
118                                 link    "##up prev"
119                         }
120                 }
121         }
122         Item Data_Cvar ServerProgs
123         {
124                 cvarName        "sv_progs"
125                 defValue        "progs.dat"
126
127                 Item DataLink_Nex_ModSwitch Switch
128                 {
129                         link    "##up"
130                 }
131         }
132         Item Data_Cvar GameMode
133         {
134                 cvarName        "gamecfg"
135                 // from 1 to 4
136                 defValue        1
137
138                 Item DataLink_ValueSwitch Switch
139                 {
140                         minValue        1
141                         stepValue       1
142                         maxValue        4
143                         descList        "'Classic Deathmatch''Team Deathmatch''Domination''Capture The Flag'"
144
145                         link            "##up"
146                 }
147         }
148         Item Data_CvarCreateSave NumBots
149         {
150                 cvarName        "bot_number"
151                 defValue        0
152
153                 Item DataLink_Value Value
154                 {
155                         minValue        0
156                         stepValue       1
157                         maxValue        64
158
159                         link            "##up"
160                 }
161                 Item DataLink_Text Text
162                 {
163                         maxValue        5
164                         link            "##down"
165
166                         Item DataLink_TextValue TextValue
167                         {
168                                 link    "##up prev"
169                         }
170                 }
171         }
172         Item Data_CvarCreateSave BotSkill
173         {
174                 // TODO: add support for this in FrikQcc
175                 cvarName        "skill"
176                 // from 0 to 10
177                 defValue        5
178
179                 Item DataLink_ValueSwitch Switch
180                 {
181                         minValue        0
182                         stepValue       1
183                         maxValue        10
184                         descList        "'Dumb, very''You will win''You can win''You might win''Beginner''Intermediate''Advanced''Expert''Assassin''Godlike'"
185
186                         link            "##up"
187                 }
188         }
189         Item Data_Cvar PublicServer
190         {
191                 cvarName        "sv_public"
192                 defValue        1
193
194                 Item DataLink_ValueSwitch Switch
195                 {
196                         maxValue        1
197                         descList        "'Disabled''Enabled'"
198
199                         link            "##up"
200                 }
201         }
202         Item Data_Cvar ServerFrameTime
203         {
204                 cvarName        "sys_ticrate"
205                 defValue        "0.05"
206
207                 Item DataLink_Value Value
208                 {
209                         minValue        0.01    // 100 fps
210                         maxValue        0.10    // 10 fps
211                         stepValue       0.005
212                         link            "##up"
213                 }
214                 Item DataLink_Text Text
215                 {
216                         maxValue        5
217                         link            "##down"
218
219                         Item DataLink_TextValue TextValue
220                         {
221                                 link    "##up prev"
222                         }
223                 }
224         }
225         Item Data_Cvar ServerMaxRate
226         {
227                 cvarName        "sv_maxrate"
228                 defValue        "10000"
229
230                 Item DataLink_Value Value
231                 {
232                         minValue        1000.0
233                         maxValue        25000.0
234                         stepValue       1000.0
235
236                         link            "##up"
237                 }
238                 Item DataLink_Text Text
239                 {
240                         maxValue        5
241                         link            "##down"
242
243                         Item DataLink_TextValue TextValue
244                         {
245                                 link    "##up prev"
246                         }
247                 }
248         }
249 }