]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - gamemodes.cfg
Merge branch 'master' into TimePath/combined_updates
[xonotic/xonotic-data.pk3dir.git] / gamemodes.cfg
1 // ===================================
2 //  Master config for core game modes
3 // ===================================
4
5 // global gametype setting (1 = deathmatch)
6 set gamecfg 1
7
8 // say aliases
9 alias asay_ctf_flagcarrier "say_team flag carrier at %y"
10 alias asay_ctf_haveflag "say_team (%l) have the flag"
11 alias asay_willgo "say_team will go to %y"
12 alias asay_support "say_team (%l) need help, %h%%"
13 alias asay_killed "say_team got killed at %d"
14 alias asay_noammo "say_team (%l) need %W for %w"
15 alias asay_drop "say_team (%l) dropped %w ; impulse 17"
16
17
18 // =================
19 //  gamestart hooks
20 // =================
21 seta cl_matchcount 0 // incremented by cl_hook_gameend and used by playerstats to know when to 
22 alias _cl_hook_gamestart "set _cl_hook_gametype $1; _cl_hook_gamestart_stage2"
23 alias _cl_hook_gamestart_stage2 "cl_hook_gamestart_all; cl_hook_gamestart_${_cl_hook_gametype}"
24 alias cl_hook_gamestart_all
25 alias cl_hook_gamestart_nop  //is only called when CSQC unloads before knowing the gametype, very unlikely
26 alias cl_hook_gamestart_dm
27 alias cl_hook_gamestart_tdm
28 alias cl_hook_gamestart_dom
29 alias cl_hook_gamestart_ctf
30 alias cl_hook_gamestart_lms
31 alias cl_hook_gamestart_ca
32 alias cl_hook_gamestart_kh
33 alias cl_hook_gamestart_ons
34 alias cl_hook_gamestart_as
35 alias cl_hook_gamestart_rc
36 alias cl_hook_gamestart_nb
37 alias cl_hook_gamestart_cts
38 alias cl_hook_gamestart_ka
39 alias cl_hook_gamestart_ft
40 alias cl_hook_gamestart_inv
41 alias cl_hook_gameend "rpn /cl_matchcount dup load 1 + =" // increase match count every time a game ends
42 alias cl_hook_activeweapon
43
44 alias _sv_hook_gamestart "set _sv_hook_gametype $1; _sv_hook_gamestart_stage2"
45 alias _sv_hook_gamestart_stage2 "sv_hook_gamestart_all; sv_hook_gamestart_${_sv_hook_gametype}"
46 alias sv_hook_gamestart_all
47 alias sv_hook_gamestart_dm
48 alias sv_hook_gamestart_tdm
49 alias sv_hook_gamestart_dom
50 alias sv_hook_gamestart_ctf
51 alias sv_hook_gamestart_lms
52 alias sv_hook_gamestart_ca
53 alias sv_hook_gamestart_kh
54 alias sv_hook_gamestart_ons
55 alias sv_hook_gamestart_as
56 alias sv_hook_gamestart_rc
57 alias sv_hook_gamestart_nb
58 alias sv_hook_gamestart_cts
59 alias sv_hook_gamestart_ka
60 alias sv_hook_gamestart_ft
61 alias sv_hook_gamestart_inv
62 alias sv_hook_gamerestart
63 alias sv_hook_gameend
64
65
66 // =====================
67 //  gametype vote hooks
68 // =====================
69 // these are called when the mode is switched via gametype vote screen, earlier than gamestart hooks (useful for enabling per-gamemode mutators)
70 alias sv_vote_gametype_hook_all 
71 alias sv_vote_gametype_hook_as
72 alias sv_vote_gametype_hook_ca
73 alias sv_vote_gametype_hook_ctf
74 alias sv_vote_gametype_hook_cts
75 alias sv_vote_gametype_hook_dm
76 alias sv_vote_gametype_hook_dom
77 alias sv_vote_gametype_hook_ft
78 alias sv_vote_gametype_hook_inv
79 alias sv_vote_gametype_hook_ka
80 alias sv_vote_gametype_hook_kh
81 alias sv_vote_gametype_hook_lms
82 alias sv_vote_gametype_hook_nb
83 alias sv_vote_gametype_hook_ons
84 alias sv_vote_gametype_hook_rc
85 alias sv_vote_gametype_hook_tdm
86
87
88 // ===========
89 //  leadlimit
90 // ===========
91 // this means that timelimit can be overidden globally and fraglimit can be overidden for each game mode: DM/TDM, Domination, CTF, and Runematch.
92 set leadlimit 0
93 set leadlimit_and_fraglimit 0 "if set, leadlimit is ANDed with fraglimit (otherwise ORed)"
94 seta timelimit_override -1      "Time limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
95 seta fraglimit_override -1      "Frag limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
96 seta leadlimit_override -1      "Lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
97 seta capturelimit_override -1   "Capture limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
98 seta captureleadlimit_override -1       "Capture llead imit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
99 seta g_domination_point_limit -1        "Domination point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
100 seta g_domination_point_leadlimit -1    "Domination point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
101 seta g_keyhunt_point_limit -1   "Keyhunt point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
102 seta g_keyhunt_point_leadlimit -1       "Keyhunt point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
103 seta g_race_laps_limit -1       "Race laps limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
104 seta g_nexball_goallimit -1 "Nexball goal limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
105 seta g_nexball_goalleadlimit -1 "Nexball goal lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
106 seta g_invasion_point_limit -1 "Invasion point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
107
108
109 // =================================
110 //  respawn delay/waves/weapon_stay
111 // =================================
112 // when variables are set to anything other than 0, they take over the global setting. Negative values force an output value of zero.
113 set g_ctf_respawn_delay_small 1
114 set g_ctf_respawn_delay_small_count 1
115 set g_ctf_respawn_delay_large 5
116 set g_ctf_respawn_delay_large_count 5
117 set g_ctf_respawn_delay_max 0
118 set g_ctf_respawn_waves 0
119 set g_ctf_weapon_stay 0
120 set g_dm_respawn_delay_small 0
121 set g_dm_respawn_delay_small_count 0
122 set g_dm_respawn_delay_large 0
123 set g_dm_respawn_delay_large_count 0
124 set g_dm_respawn_delay_max 0
125 set g_dm_respawn_waves 0
126 set g_dm_weapon_stay 0
127 set g_dom_respawn_delay_small 0
128 set g_dom_respawn_delay_small_count 0
129 set g_dom_respawn_delay_large 0
130 set g_dom_respawn_delay_large_count 0
131 set g_dom_respawn_delay_max 0
132 set g_dom_respawn_waves 0
133 set g_dom_weapon_stay 0
134 set g_lms_respawn_delay_small 0
135 set g_lms_respawn_delay_small_count 0
136 set g_lms_respawn_delay_large 0
137 set g_lms_respawn_delay_large_count 0
138 set g_lms_respawn_delay_max 0
139 set g_lms_respawn_waves 0
140 set g_lms_weapon_stay 0
141 set g_tdm_respawn_delay_small 0
142 set g_tdm_respawn_delay_small_count 0
143 set g_tdm_respawn_delay_large 0
144 set g_tdm_respawn_delay_large_count 0
145 set g_tdm_respawn_delay_max 0
146 set g_tdm_respawn_waves 0
147 set g_tdm_weapon_stay 0
148 set g_ka_respawn_delay_small 0
149 set g_ka_respawn_delay_small_count 0
150 set g_ka_respawn_delay_large 0
151 set g_ka_respawn_delay_large_count 0
152 set g_ka_respawn_delay_max 0
153 set g_ka_respawn_waves 0
154 set g_ka_weapon_stay 0
155 set g_kh_respawn_delay_small 0
156 set g_kh_respawn_delay_small_count 0
157 set g_kh_respawn_delay_large 0
158 set g_kh_respawn_delay_large_count 0
159 set g_kh_respawn_delay_max 0
160 set g_kh_respawn_waves 0
161 set g_kh_weapon_stay 0
162 set g_ca_respawn_delay_small 0
163 set g_ca_respawn_delay_small_count 0
164 set g_ca_respawn_delay_large 0
165 set g_ca_respawn_delay_large_count 0
166 set g_ca_respawn_delay_max 0
167 set g_ca_respawn_waves 0
168 set g_ca_weapon_stay 0
169 set g_nb_respawn_delay_small 0
170 set g_nb_respawn_delay_small_count 0
171 set g_nb_respawn_delay_large 0
172 set g_nb_respawn_delay_large_count 0
173 set g_nb_respawn_delay_max 0
174 set g_nb_respawn_waves 0
175 set g_nb_weapon_stay 0
176 set g_as_respawn_delay_small 0
177 set g_as_respawn_delay_small_count 0
178 set g_as_respawn_delay_large 0
179 set g_as_respawn_delay_large_count 0
180 set g_as_respawn_delay_max 0
181 set g_as_respawn_waves 0
182 set g_as_weapon_stay 0
183 set g_ons_respawn_delay_small 0
184 set g_ons_respawn_delay_small_count 0
185 set g_ons_respawn_delay_large 0
186 set g_ons_respawn_delay_large_count 0
187 set g_ons_respawn_delay_max 0
188 set g_ons_respawn_waves 0
189 set g_ons_weapon_stay 0
190 set g_rc_respawn_delay_small 0
191 set g_rc_respawn_delay_small_count 0
192 set g_rc_respawn_delay_large 0
193 set g_rc_respawn_delay_large_count 0
194 set g_rc_respawn_delay_max 0
195 set g_rc_respawn_waves 0
196 set g_rc_weapon_stay 0
197 set g_cts_respawn_delay_small -1  // CTS shall have instant respawn.
198 set g_cts_respawn_delay_small_count 0
199 set g_cts_respawn_delay_large -1  // CTS shall have instant respawn.
200 set g_cts_respawn_delay_large_count 0
201 set g_cts_respawn_delay_max 0
202 set g_cts_respawn_waves 0
203 set g_cts_weapon_stay 2
204 set g_ft_respawn_delay_small 0
205 set g_ft_respawn_delay_small_count 0
206 set g_ft_respawn_delay_large 0
207 set g_ft_respawn_delay_large_count 0
208 set g_ft_respawn_delay_max 0
209 set g_ft_respawn_waves 0
210 set g_ft_weapon_stay 0
211 set g_inv_respawn_delay_small 0
212 set g_inv_respawn_delay_small_count 0
213 set g_inv_respawn_delay_large 0
214 set g_inv_respawn_delay_large_count 0
215 set g_inv_respawn_delay_max 0
216 set g_inv_respawn_waves 0
217 set g_inv_weapon_stay 0
218
219
220 // =========
221 //  assault
222 // =========
223 set g_assault 0 "Assault: attack the enemy base as fast as you can, then defend the base against the enemy for that time to win"
224
225
226 // ============
227 //  clan arena
228 // ============
229 set g_ca 0 "Clan Arena: Played in rounds, once you're dead you're out! The team with survivors wins the round"
230 seta g_ca_point_limit -1 "Clan Arena point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
231 seta g_ca_point_leadlimit -1 "Clan Arena point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
232 set g_ca_spectate_enemies 0 "Allow spectating enemy player by dead player during clan arena games"
233 set g_ca_warmup 10 "how long the players will have time to run around the map before the round starts"
234 set g_ca_damage2score_multiplier 0.01
235 set g_ca_round_timelimit 180 "round time limit in seconds"
236 seta g_ca_teams_override 0
237 set g_ca_team_spawns 0 "when 1, players spawn from the team spawnpoints of the map, if any"
238 set g_ca_teams 0
239
240
241 // ==================
242 //  capture the flag
243 // ==================
244 set g_ctf 0 "Capture The Flag: take the enemy flag and bring it to yours at your base to score"
245 set g_ctf_flag_return_time 15
246 set g_ctf_flag_return_dropped 100
247 set g_ctf_flag_return_damage 0
248 set g_ctf_flag_return_when_unreachable 1 "automatically return the flag if it falls into lava/slime/trigger hurt"
249 set g_ctf_flagcarrier_auto_helpme_damage 100 "automatically place a helpme notification on flag carrier waypointsprite if they get hit and their health dips below this value"
250 set g_ctf_flagcarrier_auto_helpme_time 2 "antispam time for the helpme notification"
251 set g_ctf_flagcarrier_selfdamagefactor 1
252 set g_ctf_flagcarrier_selfforcefactor 1
253 set g_ctf_flagcarrier_damagefactor 1
254 set g_ctf_flagcarrier_forcefactor 1
255 set g_ctf_stalemate 1 "show the enemy flagcarrier location after both teams have held the flags a certain amount of time"
256 set g_ctf_stalemate_endcondition 1 "condition for stalemate mode to be finished: 1 = If ONE flag is no longer stale, 2 = If BOTH flags are no longer stale"
257 set g_ctf_stalemate_time 60 "time for each flag until stalemate mode is activated"
258 set g_ctf_flagcarrier_waypointforenemy_spotting 1 "show the enemy flagcarrier location if a team mate presses +use to spot them"
259 set g_ctf_dropped_capture_delay 1 "dropped capture delay"
260 set g_ctf_dropped_capture_radius 100 "allow dropped flags to be automatically captured by base flags if the dropped flag is within this radius of it"
261 set g_ctf_flag_damageforcescale 2
262 set g_ctf_portalteleport 0 "allow flag carriers to go through portals made in portal gun without dropping the flag"
263 set g_ctf_reverse 0 "if enabled, flags positions are switched: you have to capture the enemy's flag from your own base by bringing it to your own flag in the enemy base"
264 set g_ctf_flag_collect_delay 1
265 set g_ctf_flag_health 0
266 set g_ctf_flag_dropped_waypoint 2 "show dropped flag waypointsprite when a flag is lost. 1 = team only, 2 = for all players"
267 set g_ctf_flag_dropped_floatinwater 200 "move upwards while in water at this velocity"
268 set g_ctf_throw 1 "throwing allows circumventing carrierkill score, so enable this with care!"
269 set g_ctf_throw_angle_max 90 "maximum upwards angle you can throw the flag"
270 set g_ctf_throw_angle_min -90 "minimum downwards angle you can throw the flag"
271 set g_ctf_throw_punish_count 2
272 set g_ctf_throw_punish_delay 30
273 set g_ctf_throw_punish_time 5
274 set g_ctf_throw_strengthmultiplier 2 "multiplier for velocity when you have the strength... essentially, throw the flag REALLY hard when you have the strength :D"
275 set g_ctf_throw_velocity_forward 500 "how fast or far a player can throw the flag"
276 set g_ctf_throw_velocity_up 200 "upwards velocity added upon initial throw"
277 set g_ctf_drop_velocity_up 200 "upwards velocity when a flag is dropped (i.e. when a flag carrier dies)"
278 set g_ctf_drop_velocity_side 100 "randomized sideways velocity when a flag is dropped"
279 set g_ctf_pass 1 "allow passing of flags to nearby team mates"
280 set g_ctf_pass_arc 20 "upwards arcing of the flag path to look more like a throw"
281 set g_ctf_pass_arc_max 200 "maximum height for upwards arcing of the flag path to look more like a throw"
282 set g_ctf_pass_directional_max 200 "maximum radius from crosshair for line of sight selection when passing"
283 set g_ctf_pass_directional_min 50 "minimum radius from crosshair for line of sight selection when passing"
284 set g_ctf_pass_radius 500 "maximum radius that you can pass to a team mate in"
285 set g_ctf_pass_wait 2 "delay in seconds between how often players can pass the flag (antispam, essentially)"
286 set g_ctf_pass_request 1 "allow players to request the flag carrier to pass the flag to them"
287 set g_ctf_pass_turnrate 50 "how well the flag follows the best direction to its target while passing"
288 set g_ctf_pass_timelimit 2 "how long a flag can stay trying to pass before it gives up and just becomes dropped"
289 set g_ctf_pass_velocity 750 "how fast or far a player can pass the flag"
290 set g_ctf_allow_vehicle_touch 0 "allow flags to be picked up/captured/returned without even leaving the vehicle"
291 set g_ctf_allow_vehicle_carry 1 "allow players to hold flags inside a vehicle"
292 set g_ctf_allow_monster_touch 0 "allow flags to be returned by monsters"
293
294 set g_ctf_shield_max_ratio 0    "shield at most this percentage of a team from the enemy flag (try: 0.4 for 40%)"
295 set g_ctf_shield_min_negscore 20        "shield the player from the flag if he's got this negative amount of points or less"
296 set g_ctf_shield_force 100      "push force of the shield"
297
298 set g_ctf_flag_red_model "models/ctf/flags.md3"
299 set g_ctf_flag_red_skin 0
300 set g_ctf_flag_blue_model "models/ctf/flags.md3"
301 set g_ctf_flag_blue_skin 1
302 set g_ctf_flag_glowtrails 1
303 set g_ctf_fullbrightflags 0
304 set g_ctf_dynamiclights 0
305 set g_ctf_captimerecord_always 0 "always show capture time information when someone captures the flag"
306
307 seta g_ctf_ignore_frags 0       "1: regular frags give no points"
308 exec ctfscoring-samual.cfg
309
310
311 // ====================
312 //  complete the stage
313 // ====================
314 set g_cts 0 "CTS: complete the stage"
315 set g_cts_selfdamage 1 "0 = disable all selfdamage and falldamage in cts"
316 set g_cts_finish_kill_delay 10 "prevent cheating by running back to the start line, and starting out with more speed than otherwise possible"
317
318
319 // ==========================
320 //  deathmatch (ffa or team)
321 // ==========================
322 set g_dm 1 "Deathmatch: killing any other player is one frag, player with most frags wins"
323 set g_tdm_teams 2 "how many teams are in team deathmatch (set by mapinfo)"
324 set g_tdm_team_spawns 0 "when 1, players spawn from the team spawnpoints of the map, if any"
325 seta g_tdm_teams_override 0     "how many teams are in team deathmatch"
326 set g_tdm_point_limit -1 "TDM point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
327 set g_tdm_point_leadlimit -1 "TDM point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
328
329
330 // ============
331 //  domination
332 // ============
333 set g_domination                        0 "Domination: capture and hold control points to gain points"
334 set g_domination_default_teams          2 "default number of teams for maps that aren't domination-specific"
335 seta g_domination_teams_override                0 "use a specific number of teams in domination games (minimum 2), disables dom_team entities"
336 set g_domination_disable_frags          0 "players can't get frags normally, only get points from kills"
337 set g_domination_point_amt              0 "override: how many points to get per ping"
338 set g_domination_point_fullbright       0 "domination point fullbright"
339 set g_domination_point_rate             0 "override: how often to give those points"
340 set g_domination_point_capturetime      0.1 "how long it takes to capture a point (given no interference)"
341 set g_domination_point_glow             0 "domination point glow (warning, slow)"
342 set g_domination_roundbased 0 "enable round-based domination (capture all control points to win the round)"
343 set g_domination_roundbased_point_limit 5 "capture limit in round-based domination mode"
344 set g_domination_round_timelimit 120
345 set g_domination_warmup 5
346 //set g_domination_balance_team_points  1 "# of points received is based on team sizes"
347
348
349 // ===========
350 //  freezetag
351 // ===========
352 set g_freezetag 0 "Freeze Tag: Freeze the opposing team(s) to win, unfreeze teammates by standing next to them"
353 set g_freezetag_warmup 5 "Time players get to run around before the round starts"
354 seta g_freezetag_point_limit -1 "Freeze Tag point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
355 seta g_freezetag_point_leadlimit -1     "Freeze Tag point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"
356 set g_freezetag_revive_speed 0.4 "Speed for reviving a frozen teammate"
357 set g_freezetag_revive_clearspeed 1.6 "Speed at which reviving progress gets lost when out of range"
358 set g_freezetag_revive_extra_size 100 "Distance in qu that you can stand from a frozen teammate to keep reviving him"
359 set g_freezetag_revive_nade 1 "Enable reviving from own nade explosion"
360 set g_freezetag_revive_nade_health 40 "Amount of health player has if they revived from their own nade explosion"
361 set g_freezetag_revive_falldamage 0 "Enable reviving from this amount of fall damage"
362 set g_freezetag_revive_falldamage_health 40 "Amount of health player has if they revived from falling"
363 set g_freezetag_round_timelimit 180 "round time limit in seconds"
364 set g_freezetag_frozen_damage_trigger 1 "if 1, frozen players falling into the void will die instead of teleporting to spawn"
365 set g_freezetag_frozen_force 0.6 "How much to multiply the force on a frozen player with"
366 set g_freezetag_frozen_maxtime 60 "frozen players will be automatically unfrozen after this time in seconds"
367 seta g_freezetag_teams_override 0
368 set g_freezetag_team_spawns 0 "when 1, players spawn from the team spawnpoints of the map, if any"
369 set g_freezetag_teams 0
370
371
372 // ==========
373 //  keepaway
374 // ==========
375 set g_keepaway 0 "game mode which focuses around a ball, look at g_keepaway_win_mode for further details"
376 set g_keepaway_score_bckill 1 "enable scoring points (y/n) for ball carrier kills (value is how many points to award)"
377 set g_keepaway_score_killac 1 "amount of points to give when you kill someone while you have the ball"
378 set g_keepaway_score_timeinterval 1 "amount of time it takes between intervals for timepoints to be added to the score"
379 set g_keepaway_score_timepoints 0 "points to add to score per timeinterval, 0 for no points"
380 set g_keepaway_ballcarrier_effects 8 "Add together the numbers you want: EF_ADDITIVE (32) / EF_NODEPTHTEST (8192) / EF_DIMLIGHT (8)"
381 set g_keepaway_ballcarrier_highspeed 1 "speed multiplier done to the person holding the ball (recommended when used with some mutators)"
382 set g_keepaway_ballcarrier_damage       1       "damage multiplier while holding the ball"
383 set g_keepaway_ballcarrier_force        1       "force multiplier while holding the ball"
384 set g_keepaway_ballcarrier_selfdamage   1       "self damage multiplier while holding the ball"
385 set g_keepaway_ballcarrier_selfforce    1       "self force multiplier while holding the ball"
386 set g_keepaway_noncarrier_warn  1       "warn players when they kill without holding the ball"
387 set g_keepaway_noncarrier_damage        1       "damage done to other players if both you and they don't have the ball"
388 set g_keepaway_noncarrier_force 1       "force done to other players if both you and they don't have the ball"
389 set g_keepaway_noncarrier_selfdamage    1       "self damage if you don't have the ball"
390 set g_keepaway_noncarrier_selfforce     1       "self force if you don't have the ball"
391 set g_keepawayball_effects 0 "Add together the numbers you want: EF_ADDITIVE (32) / EF_NODEPTHTEST (8192) / EF_DIMLIGHT (8)"
392 set g_keepawayball_trail_color  254     "particle trail color from player/ball"
393 set g_keepawayball_damageforcescale     3 "Scale of force which is applied to the ball by weapons/explosions/etc"
394 set g_keepawayball_respawntime  10      "if no one picks up the ball, how long to wait until the ball respawns"
395
396
397 // ==========
398 //  key hunt
399 // ==========
400 set g_keyhunt 0 "Key Hunt: collect all keys from the enemies and bring them together to score"
401 set g_balance_keyhunt_delay_return 60
402 set g_balance_keyhunt_delay_round 5
403 set g_balance_keyhunt_delay_tracking 10
404 set g_balance_keyhunt_delay_fadeout 2
405 set g_balance_keyhunt_delay_collect 1.5
406 set g_balance_keyhunt_maxdist 150
407 set g_balance_keyhunt_score_collect 3
408 set g_balance_keyhunt_score_carrierfrag 2
409 set g_balance_keyhunt_score_capture 100
410 set g_balance_keyhunt_score_push 60
411 set g_balance_keyhunt_score_destroyed 50
412 set g_balance_keyhunt_score_destroyed_ownfactor 1
413 set g_balance_keyhunt_dropvelocity 300
414 set g_balance_keyhunt_throwvelocity 400
415 set g_balance_keyhunt_protecttime 0.8
416 set g_balance_keyhunt_damageforcescale 1
417 seta g_keyhunt_teams_override 0
418 set g_keyhunt_teams 0
419
420
421 // ===================
422 //  last man standing
423 // ===================
424 set g_lms 0 "Last Man Standing: everyone starts with a certain amount of lives, and the survivor wins"
425 set g_lms_lives_override -1
426 set g_lms_extra_lives 0
427 set g_lms_regenerate 0
428 set g_lms_last_join 3   "if g_lms_join_anytime is false, new players can only join if the worst active player has more than (fraglimit - g_lms_last_join) lives"
429 set g_lms_join_anytime 1        "if true, new players can join, but get same amount of lives as the worst player"
430
431
432 // =========
433 //  nexball
434 // =========
435 set g_nexball 0 "Nexball: Basketball and Soccer go Xonotic"
436 set g_nexball_basketball_effects_default     8    "default: dim light. The original version used 1024 (fire) but it gives bad performance"
437 set g_balance_nexball_primary_speed       1000    "launching speed"
438 set g_balance_nexball_primary_refire         0.7  "launching refire"
439 set g_balance_nexball_primary_animtime       0.3  "launching animtime"
440 set g_balance_nexball_secondary_animtime     0.3  "launching animtime"
441 set g_balance_nexball_secondary_speed     3000    "stealing projectile speed"
442 set g_balance_nexball_secondary_lifetime     0.15 "stealing projectile lifetime"
443 set g_balance_nexball_secondary_force      500    "stealing projectile force"
444 set g_balance_nexball_secondary_refire       0.6  "stealing projectile refire"
445 set g_balance_nexball_secondary_animtime     0.3  "stealing projectile animtime"
446 set g_nexball_football_physics  2  "0: Revenant's original movement, 1: 0 but half independant of aiming height, 2: 1 fully independant, -1: first recode try"
447 set g_nexball_basketball_bouncefactor 0.6    "velocity loss when the ball bounces"
448 set g_nexball_basketball_bouncestop   0.075  "speed at which the ball stops when it hits the ground (multiplied by sv_gravity)"
449 set g_nexball_football_bouncefactor   0.6    "velocity loss when the ball bounces"
450 set g_nexball_football_bouncestop     0.075  "speed at which the ball stops when it hits the ground (multiplied by sv_gravity)"
451 set g_nexball_football_boost_forward      100   "forward velocity boost when the ball is touched"
452 set g_nexball_football_boost_up           200   "vertical velocity boost when the ball is touched"
453 set g_nexball_basketball_delay_hold           20    "time before a player who caught the ball loses it (anti-ballcamp)"
454 set g_nexball_basketball_delay_hold_forteam   60    "time before a ball reset when a team holds the ball for too long"
455 set g_nexball_basketball_teamsteal             1    "1 to allow players to steal from teammates, 0 to disallow"
456 set g_nexball_basketball_carrier_highspeed         0.8  "speed multiplier for the ballcarrier"
457 set g_nexball_meter_period                  1    "time to make a full cycle on the power meter"
458 set g_nexball_basketball_meter              1    "use the power meter for basketball"
459 set g_nexball_basketball_meter_minpower   0.5    "minimal multiplier to the launching speed when using the power meter"
460 set g_nexball_basketball_meter_maxpower   1.2    "maximal multiplier to the launching speed when using the power meter"
461 set g_nexball_delay_goal     3    "delay between a goal and a ball reset"
462 set g_nexball_delay_idle     10   "maximal idle time before a reset"
463 set g_nexball_delay_start    3    "time the ball stands on its spawn before being released"
464 set g_nexball_delay_collect  0.5  "time before the same player can catch the ball he launched"
465 set g_nexball_sound_bounce   1    "bouncing sound (0: off)"
466 set g_nexball_basketball_trail  1  "1 to leave a trail"
467 set g_nexball_football_trail    0  "1 to leave a trail"
468 set g_nexball_trail_color     254  "1-256 for different colors (Quake palette, 254 is white)"
469 set g_nexball_radar_showallplayers 1  "1: show every player and the ball on the radar  0: only show teammates and the ball on the radar"
470 seta g_nexball_safepass_maxdist 5000 "Max distance to allow save fassping (0 to turn off safe passing)"
471 seta g_nexball_safepass_turnrate 0.1 "How fast the safe-pass ball can habge direction"
472 seta g_nexball_safepass_holdtime 0.75 "How long to remeber last teammate you pointed at"
473 seta g_nexball_viewmodel_scale 0.25 "How large the ball for the carrier"
474 seta g_nexball_viewmodel_offset "8 8 0" "Where the ball is located on carrier forward right up"
475 seta g_nexball_tackling 1 "Allow ball theft?"
476
477
478 // ===========
479 //  onslaught
480 // ===========
481 set g_onslaught 0 "Onslaught: take control points towards the enemy generator and then destroy it"
482 set g_onslaught_gen_health 2500
483 set g_onslaught_cp_health 1000
484 set g_onslaught_cp_buildhealth 100
485 set g_onslaught_cp_buildtime 5
486 set g_onslaught_cp_regen 20
487 set g_onslaught_cp_proxydecap 0 "de-capture controlpoints by standing close to them"
488 set g_onslaught_cp_proxydecap_distance 512
489 set g_onslaught_cp_proxydecap_dps 100
490 set g_onslaught_spawn_at_controlpoints 0
491 set g_onslaught_spawn_at_generator 0
492
493
494 // ======
495 //  race
496 // ======
497 set g_race 0 "Race: be faster than your opponents"
498 set g_race_qualifying_timelimit 0
499 set g_race_qualifying_timelimit_override -1
500 set g_race_teams 0      "when 2, 3, or 4, the race is played as a team game (the team members can add up their laps)"
501
502 // ==========
503 //  invasion
504 // ==========
505 set g_invasion 0 "Invasion: survive against waves of monsters"
506 set g_invasion_round_timelimit 120 "maximum time to kill all monsters"
507 set g_invasion_warmup 10 "time between waves to prepare for battle"
508 set g_invasion_monster_count 10 "number of monsters on first wave (increments)"
509 set g_invasion_zombies_only 0 "only spawn zombies"
510 set g_invasion_spawn_delay 0.25
511 set g_invasion_spawnpoint_spawn_delay 0.5
512 set g_invasion_teams 0 "number of teams in invasion (note: use mapinfo to set this)"
513 set g_invasion_team_spawns 1 "use team spawns in teamplay invasion mode"