]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/data/server.menu
r_ambient 0 again; added menu option for it
[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_' 'lms_' 'arena_' 'kh_'"
17                                 descList        "'List All''Classic Deathmatch''Team Deathmatch''Domination''Capture The Flag''Rune Match''Last Man Standing''Arena''Key Hunt'"
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                 Item Data_CvarCreateSave Random
42                 {
43                         cvarName        "g_maplist_shuffle"
44                         defValue        1
45
46                         Item DataLink_ValueSwitch Switch
47                         {
48                                 minValue        0
49                                 stepValue       1
50                                 maxValue        1
51                                 descList        "'Linear''Random'"
52                                 link            "##up"
53                         }
54                 }
55
56                 Item Data_CvarCreateSave Votable
57                 {
58                         cvarName        "g_maplist_votable"
59                         defValue        5
60
61                         Item DataLink_ValueSwitch Switch
62                         {
63                                 valueList   "'0''3''4''5'"
64                                 descList        "'none''3 maps''4 maps''5 maps'"
65                                 link            "##up"
66                         }
67                 }
68         }
69
70         Item Data_Cvar Hostname
71         {
72                 cvarName        "hostname"
73                 defValue        "Nexuiz Server"
74
75                 Item DataLink_Text Text
76                 {
77                         link            "##up"
78                         maxValue        64
79                 }
80         }
81         Item Data_CvarCreateSave MaxPlayers
82         {
83                 cvarName        "_nex_maxplayers"
84                 defValue        8
85
86                 Item DataLink_Value Value
87                 {
88                         link            "##up"
89                         minValue        1
90                         stepValue       1
91                         maxValue        32
92                 }
93                 Item DataLink_Text Text
94                 {
95                         link            "##down"
96                         maxValue        5
97
98                         Item DataLink_TextValue TextValue
99                         {
100                                 link    "##up prev"
101                         }
102                 }
103         }
104         Item Data_Cvar TimeLimit
105         {
106                 cvarName        "timelimit_override"
107                 defValue        -1
108
109                 Item DataLink_Value Value
110                 {
111                         minValue        -1
112                         maxValue        86400
113                         stepValue       1
114                         link            "##up"
115                 }
116                 Item DataLink_Text Text
117                 {
118                         maxValue        8
119                         link            "##down"
120
121                         Item DataLink_TextValue TextValue
122                         {
123                                 link    "##up prev"
124                         }
125                 }
126         }
127         Item Data_Cvar FragLimit
128         {
129                 cvarName        "fraglimit_override"
130                 defValue        -1
131
132                 Item DataLink_Value Value
133                 {
134                         minValue        -1
135                         maxValue        9999.0
136                         stepValue       1
137                         link            "##up"
138                 }
139                 Item DataLink_Text Text
140                 {
141                         maxValue        8
142                         link            "##down"
143
144                         Item DataLink_TextValue TextValue
145                         {
146                                 link    "##up prev"
147                         }
148                 }
149         }
150         Item Data_Cvar ServerProgs
151         {
152                 cvarName        "sv_progs"
153                 defValue        "progs.dat"
154
155                 Item DataLink_Nex_ModSwitch Switch
156                 {
157                         link    "##up"
158                 }
159         }
160 Ignore
161 {
162         Item Data_Cvar GameMode
163         {
164                 cvarName        "gamecfg"
165                 // from 1 to 4
166                 defValue        1
167
168                 Item DataLink_ValueSwitch Switch
169                 {
170                         minValue        1
171                         stepValue       1
172                         maxValue        4
173                         descList        "'Classic Deathmatch''Team Deathmatch''Domination''Capture The Flag'"
174
175                         link            "##up"
176                 }
177         }
178 }
179         Item Data_CvarCreateSave NumBots
180         {
181                 cvarName        "bot_number"
182                 defValue        0
183
184                 Item DataLink_Value Value
185                 {
186                         minValue        0
187                         stepValue       1
188                         maxValue        64
189
190                         link            "##up"
191                 }
192                 Item DataLink_Text Text
193                 {
194                         maxValue        5
195                         link            "##down"
196
197                         Item DataLink_TextValue TextValue
198                         {
199                                 link    "##up prev"
200                         }
201                 }
202         }
203         Item Data_CvarCreateSave BotSkill
204         {
205                 // TODO: add support for this in FrikQcc
206                 cvarName        "skill"
207                 // from 0 to 10
208                 defValue        5
209
210                 Item DataLink_ValueSwitch Switch
211                 {
212                         minValue        0
213                         stepValue       1
214                         maxValue        10
215                         descList        "'Dumb, very''You will win''You can win''You might win''Beginner''Intermediate''Advanced''Expert''Assassin''Godlike'"
216
217                         link            "##up"
218                 }
219         }
220         Item Data_Cvar PublicServer
221         {
222                 cvarName        "sv_public"
223                 defValue        1
224
225                 Item DataLink_ValueSwitch Switch
226                 {
227                         maxValue        1
228                         descList        "'Disabled''Enabled'"
229
230                         link            "##up"
231                 }
232         }
233         Item Data_Cvar ServerFrameTime
234         {
235                 cvarName        "sys_ticrate"
236                 defValue        "0.05"
237
238                 Item DataLink_Value Value
239                 {
240                         minValue        0.01    // 100 fps
241                         maxValue        0.10    // 10 fps
242                         stepValue       0.005
243                         link            "##up"
244                 }
245                 Item DataLink_Text Text
246                 {
247                         maxValue        5
248                         link            "##down"
249
250                         Item DataLink_TextValue TextValue
251                         {
252                                 link    "##up prev"
253                         }
254                 }
255         }
256         Item Data_Cvar ServerMaxRate
257         {
258                 cvarName        "sv_maxrate"
259                 defValue        "10000"
260
261                 Item DataLink_Value Value
262                 {
263                         minValue        1000.0
264                         maxValue        25000.0
265                         stepValue       1000.0
266
267                         link            "##up"
268                 }
269                 Item DataLink_Text Text
270                 {
271                         maxValue        5
272                         link            "##down"
273
274                         Item DataLink_TextValue TextValue
275                         {
276                                 link    "##up prev"
277                         }
278                 }
279         }
280 }