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