]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/data/server.menu
lossless jpegoptim run saving about 10 megabytes
[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_'"
17                                 descList        "'List All''Classic Deathmatch''Team Deathmatch''Domination''Capture The Flag''Rune Match''Last Man Standing''Arena'"
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 Ignore
133 {
134         Item Data_Cvar GameMode
135         {
136                 cvarName        "gamecfg"
137                 // from 1 to 4
138                 defValue        1
139
140                 Item DataLink_ValueSwitch Switch
141                 {
142                         minValue        1
143                         stepValue       1
144                         maxValue        4
145                         descList        "'Classic Deathmatch''Team Deathmatch''Domination''Capture The Flag'"
146
147                         link            "##up"
148                 }
149         }
150 }
151         Item Data_CvarCreateSave NumBots
152         {
153                 cvarName        "bot_number"
154                 defValue        0
155
156                 Item DataLink_Value Value
157                 {
158                         minValue        0
159                         stepValue       1
160                         maxValue        64
161
162                         link            "##up"
163                 }
164                 Item DataLink_Text Text
165                 {
166                         maxValue        5
167                         link            "##down"
168
169                         Item DataLink_TextValue TextValue
170                         {
171                                 link    "##up prev"
172                         }
173                 }
174         }
175         Item Data_CvarCreateSave BotSkill
176         {
177                 // TODO: add support for this in FrikQcc
178                 cvarName        "skill"
179                 // from 0 to 10
180                 defValue        5
181
182                 Item DataLink_ValueSwitch Switch
183                 {
184                         minValue        0
185                         stepValue       1
186                         maxValue        10
187                         descList        "'Dumb, very''You will win''You can win''You might win''Beginner''Intermediate''Advanced''Expert''Assassin''Godlike'"
188
189                         link            "##up"
190                 }
191         }
192         Item Data_Cvar PublicServer
193         {
194                 cvarName        "sv_public"
195                 defValue        1
196
197                 Item DataLink_ValueSwitch Switch
198                 {
199                         maxValue        1
200                         descList        "'Disabled''Enabled'"
201
202                         link            "##up"
203                 }
204         }
205         Item Data_Cvar ServerFrameTime
206         {
207                 cvarName        "sys_ticrate"
208                 defValue        "0.05"
209
210                 Item DataLink_Value Value
211                 {
212                         minValue        0.01    // 100 fps
213                         maxValue        0.10    // 10 fps
214                         stepValue       0.005
215                         link            "##up"
216                 }
217                 Item DataLink_Text Text
218                 {
219                         maxValue        5
220                         link            "##down"
221
222                         Item DataLink_TextValue TextValue
223                         {
224                                 link    "##up prev"
225                         }
226                 }
227         }
228         Item Data_Cvar ServerMaxRate
229         {
230                 cvarName        "sv_maxrate"
231                 defValue        "10000"
232
233                 Item DataLink_Value Value
234                 {
235                         minValue        1000.0
236                         maxValue        25000.0
237                         stepValue       1000.0
238
239                         link            "##up"
240                 }
241                 Item DataLink_Text Text
242                 {
243                         maxValue        5
244                         link            "##down"
245
246                         Item DataLink_TextValue TextValue
247                         {
248                                 link    "##up prev"
249                         }
250                 }
251         }
252 }