]> 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 80d99022669f30b3819d93f0ba2da519c9bb30cc..e0f66ffa188931a56e13734808f912afc3032c2e 100644 (file)
@@ -38,6 +38,7 @@ 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
@@ -60,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
 
@@ -86,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
@@ -228,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
 
 
 // =========
@@ -553,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"