]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/data/server.menu
-Changed SwitchButton to use stepValue instead of 1.0.
[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"
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"
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_CvarCreateSave NumBots
102         {
103                 // ?? TODO: add support for this in Game QC?
104                 cvarName        "nex_numbots"
105                 defValue        0
106
107                 Item DataLink_Value Value
108                 {
109                         maxValue        16
110                         link            "##up"
111                 }
112                 Item DataLink_Text Text
113                 {
114                         maxValue        5
115                         link            "##down"
116
117                         Item DataLink_TextValue TextValue
118                         {
119                                 link    "##up prev"
120                         }
121                 }
122         }
123         Item Data_CvarCreateSave BotSkill
124         {
125                 // TODO: add support for this in FrikQcc
126                 cvarName        "nex_botskill"
127                 // from 0 to 3
128                 defValue        0
129
130                 Item DataLink_ValueSwitch Switch
131                 {
132                         minValue        0
133                         stepValue       1
134                         maxValue        3
135                         descList        "'Beginner''Easy''Medium''Hard'"
136
137                         link            "##up"
138                 }
139         }
140         Item Data_Cvar PublicServer
141         {
142                 cvarName        "sv_public"
143                 defValue        1
144
145                 Item DataLink_ValueSwitch Switch
146                 {
147                         maxValue        1
148                         descList        "'Disabled''Enabled'"
149
150                         link            "##up"
151                 }
152         }
153         Item Data_Cvar TeamPlay
154         {
155                 cvarName        "teamplay"
156                 defValue        0
157
158                 Item DataLink_ValueSwitch Switch
159                 {
160                         minValue        0
161                         stepValue       1
162                         maxValue        3
163                         descList        "'Off' 'No Friendly/Self Fire' 'Friendly Fire' 'No Friendly Fire'"
164
165                         link            "##up"
166                 }
167         }
168         Item Data_Cvar ServerFrameTime
169         {
170                 cvarName        "sys_ticrate"
171                 defValue        "0.05"
172
173                 Item DataLink_Value Value
174                 {
175                         minValue        0.01    // 100 fps
176                         maxValue        0.10    // 10 fps
177                         stepValue       0.005
178                         link            "##up"
179                 }
180                 Item DataLink_Text Text
181                 {
182                         maxValue        5
183                         link            "##down"
184
185                         Item DataLink_TextValue TextValue
186                         {
187                                 link    "##up prev"
188                         }
189                 }
190         }
191         Item Data_Cvar ServerMaxRate
192         {
193                 cvarName        "sv_maxrate"
194                 defValue        "10000"
195
196                 Item DataLink_Value Value
197                 {
198                         minValue        1000.0
199                         maxValue        25000.0
200                         stepValue       1000.0
201
202                         link            "##up"
203                 }
204                 Item DataLink_Text Text
205                 {
206                         maxValue        5
207                         link            "##down"
208
209                         Item DataLink_TextValue TextValue
210                         {
211                                 link    "##up prev"
212                         }
213                 }
214         }
215 }