]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - gamemodes.cfg
Prevent bots from picking up items on single player
[xonotic/xonotic-data.pk3dir.git] / gamemodes.cfg
index 9c70adca3cd8c695b9f2f10762f8af0acb01a62d..e0f66ffa188931a56e13734808f912afc3032c2e 100644 (file)
@@ -38,7 +38,9 @@ alias cl_hook_gamestart_cts
 alias cl_hook_gamestart_ka
 alias cl_hook_gamestart_ft
 alias cl_hook_gamestart_inv
+alias cl_hook_gamestart_sp
 alias cl_hook_gameend "rpn /cl_matchcount dup load 1 + =" // increase match count every time a game ends
+alias cl_hook_shutdown
 alias cl_hook_activeweapon
 
 alias _sv_hook_gamestart "set _sv_hook_gametype $1; _sv_hook_gamestart_stage2"
@@ -59,6 +61,7 @@ alias sv_hook_gamestart_cts
 alias sv_hook_gamestart_ka
 alias sv_hook_gamestart_ft
 alias sv_hook_gamestart_inv
+alias sv_hook_gamestart_sp
 alias sv_hook_gamerestart
 alias sv_hook_gameend
 
@@ -85,6 +88,7 @@ alias sv_vote_gametype_hook_lms
 alias sv_vote_gametype_hook_nb
 alias sv_vote_gametype_hook_ons
 alias sv_vote_gametype_hook_rc
+alias sv_vote_gametype_hook_sp
 alias sv_vote_gametype_hook_tdm
 
 // Preset to allow duel to be used for the gametype voting screen
@@ -227,6 +231,13 @@ set g_inv_respawn_delay_large_count 0
 set g_inv_respawn_delay_max 0
 set g_inv_respawn_waves 0
 set g_inv_weapon_stay 0
+set g_sp_respawn_delay_small 0
+set g_sp_respawn_delay_small_count 0
+set g_sp_respawn_delay_large 0
+set g_sp_respawn_delay_large_count 0
+set g_sp_respawn_delay_max 0
+set g_sp_respawn_waves 0
+set g_sp_weapon_stay 0
 
 
 // =========
@@ -256,6 +267,7 @@ set g_ca_teams 0
 set g_ctf 0 "Capture The Flag: take the enemy flag and bring it to yours at your base to score"
 set g_ctf_oneflag 0 "Allow oneflag CTF mode on maps that support it"
 set g_ctf_oneflag_reverse 0 "apply reverse mode to oneflag CTF (take flag to enemy bases to cap), overrides g_ctf_reverse only in oneflag, g_ctf_reverse still affects oneflag"
+set g_ctf_leaderboard 0 "show top capture times in the scoreboard"
 set g_ctf_flag_return 1 "auto return the flag to base when touched by a teammate"
 set g_ctf_flag_return_carrying 0 "(manual return mode) auto return the flag to base if touched by a flag carrier"
 set g_ctf_flag_return_carried_radius 100 "allow flags to be returned by carrier if base is within this radius"
@@ -308,6 +320,7 @@ set g_ctf_pass_velocity 750 "how fast or far a player can pass the flag"
 set g_ctf_allow_vehicle_touch 0 "allow flags to be picked up/captured/returned without even leaving the vehicle"
 set g_ctf_allow_vehicle_carry 1 "allow players to hold flags inside a vehicle"
 set g_ctf_allow_monster_touch 0 "allow flags to be returned by monsters"
+set g_ctf_score_ignore_fields 0 "force regular score settings to override per entity specified scores"
 
 set g_ctf_shield_max_ratio 0   "shield at most this percentage of a team from the enemy flag (try: 0.4 for 40%)"
 set g_ctf_shield_min_negscore 20       "shield the player from the flag if he's got this negative amount of points or less"
@@ -326,7 +339,6 @@ set g_ctf_flag_neutral_skin 4
 set g_ctf_flag_glowtrails 1
 set g_ctf_fullbrightflags 0
 set g_ctf_dynamiclights 0
-set g_ctf_captimerecord_always 0 "always show capture time information when someone captures the flag"
 
 seta g_ctf_ignore_frags 0      "1: regular frags give no points"
 exec ctfscoring-samual.cfg
@@ -551,3 +563,8 @@ set g_invasion_spawn_delay 0.25
 set g_invasion_spawnpoint_spawn_delay 0.5
 set g_invasion_teams 0 "number of teams in invasion (note: use mapinfo to set this)"
 set g_invasion_team_spawns 1 "use team spawns in teamplay invasion mode"
+
+// ==============
+// Single Player
+// ==============
+set g_sp_allow_bot_pickup 0 "Whether bots should be allowed to pick up items"