]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/data/server.menu
-Added maplist support
[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                         init    Nex_ReadCycleList
25                 }
26         }
27
28         Item Data_Cvar Hostname
29         {
30                 cvarName        "hostname"
31                 defValue        "Nexuiz Server"
32
33                 Item DataLink_Text Text
34                 {
35                         link            "##up"
36                         maxValue        64
37                 }
38         }
39         Item Data_CvarCreateSave MaxPlayers
40         {
41                 cvarName        "_nex_maxplayers"
42                 defValue        8
43
44                 Item DataLink_Value Value
45                 {
46                         link            "##up"
47                         minValue        1
48                         stepValue       1
49                         maxValue        32
50                 }
51                 Item DataLink_Text Text
52                 {
53                         link            "##down"
54                         maxValue        5
55
56                         Item DataLink_TextValue TextValue
57                         {
58                                 link    "##up prev"
59                         }
60                 }
61         }
62         Item Data_Cvar TimeLimit
63         {
64                 cvarName        "timelimit"
65                 defValue        0
66
67                 Item DataLink_Value Value
68                 {
69                         maxValue        86400
70                         link            "##up"
71                 }
72                 Item DataLink_Text Text
73                 {
74                         maxValue        8
75                         link            "##down"
76
77                         Item DataLink_TextTime TextTime
78                         {
79                                 link    "##up prev"
80                         }
81                 }
82         }
83         Item Data_Cvar FragLimit
84         {
85                 cvarName        "fraglimit"
86                 defValue        20
87
88                 Item DataLink_Value Value
89                 {
90                         maxValue        999
91                         link            "##up"
92                 }
93                 Item DataLink_Text Text
94                 {
95                         maxValue        3
96                         link            "##down"
97
98                         Item DataLink_TextValue TextValue
99                         {
100                                 link    "##up prev"
101                         }
102                 }
103         }
104         Item Data_Cvar ServerProgs
105         {
106                 cvarName        "sv_progs"
107                 defValue        "progs.dat"
108
109                 Item DataLink_Nex_ModSwitch Switch
110                 {
111                         link    "##up"
112                 }
113         }
114         Item Data_CvarCreateSave NumBots
115         {
116                 // ?? TODO: add support for this in Game QC?
117                 cvarName        "nex_numbots"
118                 defValue        0
119
120                 Item DataLink_Value Value
121                 {
122                         maxValue        16
123                         link            "##up"
124                 }
125                 Item DataLink_Text Text
126                 {
127                         maxValue        5
128                         link            "##down"
129
130                         Item DataLink_TextValue TextValue
131                         {
132                                 link    "##up prev"
133                         }
134                 }
135         }
136         Item Data_CvarCreateSave BotSkill
137         {
138                 // TODO: add support for this in FrikQcc
139                 cvarName        "nex_botskill"
140                 // from 0 to 3
141                 defValue        0
142
143                 Item DataLink_ValueSwitch Switch
144                 {
145                         minValue        0
146                         stepValue       1
147                         maxValue        3
148                         descList        "'Beginner''Easy''Medium''Hard'"
149
150                         link            "##up"
151                 }
152         }
153         Item Data_Cvar PublicServer
154         {
155                 cvarName        "sv_public"
156                 defValue        1
157
158                 Item DataLink_ValueSwitch Switch
159                 {
160                         maxValue        1
161                         descList        "'Disabled''Enabled'"
162
163                         link            "##up"
164                 }
165         }
166 }