]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/data/server.menu
-Added DataLink_Setting and changed all settings cvars in weapons and game to
[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                 [DataLink_Setting]
89         }
90         Item Data_Cvar ServerProgs
91         {
92                 cvarName        "sv_progs"
93                 defValue        "progs.dat"
94
95                 Item DataLink_Nex_ModSwitch Switch
96                 {
97                         link    "##up"
98                 }
99         }
100         Item Data_CvarCreateSave NumBots
101         {
102                 // ?? TODO: add support for this in Game QC?
103                 cvarName        "nex_numbots"
104                 defValue        0
105
106                 Item DataLink_Value Value
107                 {
108                         maxValue        16
109                         link            "##up"
110                 }
111                 Item DataLink_Text Text
112                 {
113                         maxValue        5
114                         link            "##down"
115
116                         Item DataLink_TextValue TextValue
117                         {
118                                 link    "##up prev"
119                         }
120                 }
121         }
122         Item Data_CvarCreateSave BotSkill
123         {
124                 // TODO: add support for this in FrikQcc
125                 cvarName        "nex_botskill"
126                 // from 0 to 3
127                 defValue        0
128
129                 Item DataLink_ValueSwitch Switch
130                 {
131                         minValue        0
132                         stepValue       1
133                         maxValue        3
134                         descList        "'Beginner''Easy''Medium''Hard'"
135
136                         link            "##up"
137                 }
138         }
139         Item Data_Cvar PublicServer
140         {
141                 cvarName        "sv_public"
142                 defValue        1
143
144                 Item DataLink_ValueSwitch Switch
145                 {
146                         maxValue        1
147                         descList        "'Disabled''Enabled'"
148
149                         link            "##up"
150                 }
151         }
152 }