]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/data/server.menu
-Fixed a bug that caused the maplist.cfg to not be read on reinit.
[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                 }
25                 Item Task_Job ReInitMapList
26                 {
27                         reinit  Nex_ReadCycleList
28                 }
29         }
30
31         Item Data_Cvar Hostname
32         {
33                 cvarName        "hostname"
34                 defValue        "Nexuiz Server"
35
36                 Item DataLink_Text Text
37                 {
38                         link            "##up"
39                         maxValue        64
40                 }
41         }
42         Item Data_CvarCreateSave MaxPlayers
43         {
44                 cvarName        "_nex_maxplayers"
45                 defValue        8
46
47                 Item DataLink_Value Value
48                 {
49                         link            "##up"
50                         minValue        1
51                         stepValue       1
52                         maxValue        32
53                 }
54                 Item DataLink_Text Text
55                 {
56                         link            "##down"
57                         maxValue        5
58
59                         Item DataLink_TextValue TextValue
60                         {
61                                 link    "##up prev"
62                         }
63                 }
64         }
65         Item Data_Cvar TimeLimit
66         {
67                 cvarName        "timelimit"
68                 defValue        0
69
70                 Item DataLink_Value Value
71                 {
72                         maxValue        86400
73                         link            "##up"
74                 }
75                 Item DataLink_Text Text
76                 {
77                         maxValue        8
78                         link            "##down"
79
80                         Item DataLink_TextTime TextTime
81                         {
82                                 link    "##up prev"
83                         }
84                 }
85         }
86         Item Data_Cvar FragLimit
87         {
88                 cvarName        "fraglimit"
89                 defValue        20
90
91                 [DataLink_Setting]
92         }
93         Item Data_Cvar ServerProgs
94         {
95                 cvarName        "sv_progs"
96                 defValue        "progs.dat"
97
98                 Item DataLink_Nex_ModSwitch Switch
99                 {
100                         link    "##up"
101                 }
102         }
103         Item Data_CvarCreateSave NumBots
104         {
105                 // ?? TODO: add support for this in Game QC?
106                 cvarName        "nex_numbots"
107                 defValue        0
108
109                 Item DataLink_Value Value
110                 {
111                         maxValue        16
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        "nex_botskill"
129                 // from 0 to 3
130                 defValue        0
131
132                 Item DataLink_ValueSwitch Switch
133                 {
134                         minValue        0
135                         stepValue       1
136                         maxValue        3
137                         descList        "'Beginner''Easy''Medium''Hard'"
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 }