set con_completion_vdomap map
set con_completion_playermodel models/player/*.iqm
-// these non-saved engine cvars shall be savedG
+// these non-saved engine cvars shall be saved
seta cl_port $cl_port
seta r_showsurfaces $r_showsurfaces
seta r_ambient $r_ambient
seta vid_gl13 $vid_gl13
seta r_drawviewmodel $r_drawviewmodel
seta v_idlescale $v_idlescale
+seta net_slist_queriespersecond $net_slist_queriespersecond
// ticrate
//sys_ticrate 0.0166667
alias cl_hook_gamestart_ons
alias cl_hook_gamestart_as
alias cl_hook_gamestart_rc
-alias cl_hook_gamestart_nexball
+alias cl_hook_gamestart_nb
alias cl_hook_gamestart_cts
alias cl_hook_gamestart_ka
-alias cl_hook_gamestart_freezetag
+alias cl_hook_gamestart_ft
alias cl_hook_gameend
alias cl_hook_activeweapon
alias sv_hook_gamestart_ons
alias sv_hook_gamestart_as
alias sv_hook_gamestart_rc
-alias sv_hook_gamestart_nexball
+alias sv_hook_gamestart_nb
alias sv_hook_gamestart_cts
alias sv_hook_gamestart_ka
-alias sv_hook_gamestart_freezetag
+alias sv_hook_gamestart_ft
alias sv_hook_gamerestart
alias sv_hook_gameend
if(source.classname != "player")
{
if not(intermission_running)
- if(teamsay || (autocvar_g_chat_nospectators == 1) || (autocvar_g_chat_nospectators == 2 && !inWarmupStage))
+ if(teamsay || (autocvar_g_chat_nospectators == 1) || (autocvar_g_chat_nospectators == 2 && !(inWarmupStage || gameover)))
teamsay = -1; // spectators
}
vote_accept_count = vote_reject_count = vote_abstain_count = 0;
float spectators_allowed = ((autocvar_sv_vote_nospectators != 2)
- || ((autocvar_sv_vote_nospectators == 1) && inWarmupStage)
+ || ((autocvar_sv_vote_nospectators == 1) && (inWarmupStage || gameover))
|| (autocvar_sv_vote_nospectators == 0));
float vote_player_count, is_player, notvoters;
return;
}
}
-}
\ No newline at end of file
+}
{
vector org;
org = getpropertyvec(VF_ORIGIN);
- if(!checkpvs(org, self)) // this makes sense as long as we don't support recursive warpzones
+ if(
+#ifdef COMPAT_XON060_DONTCRASH_CHECKPVS
+ cvar_string("g_xonoticversion") != "0.5.0" &&
+ cvar_string("g_xonoticversion") != "0.6.0" &&
+#endif
+ !checkpvs(org, self)) // this makes sense as long as we don't support recursive warpzones
self.alpha = 0;
else if(self.warpzone_fadestart)
self.alpha = bound(0, (self.warpzone_fadeend - vlen(org - self.origin - 0.5 * (self.mins + self.maxs))) / (self.warpzone_fadeend - self.warpzone_fadestart), 1);