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