{
FOREACH(Scores, true, {
ScoreInfo_SetLabel_PlayerScore(it, "", 0);
- });
+ });
for(int i = 0; i < MAX_TEAMSCORE; ++i)
ScoreInfo_SetLabel_TeamScore(i, "", 0);
ScoreRules_teams = teams;
if(score_enabled)
- ScoreInfo_SetLabel_TeamScore (ST_SCORE, "score", stprio);
+ ScoreInfo_SetLabel_TeamScore(ST_SCORE, "score", stprio);
if (!INDEPENDENT_PLAYERS)
- ScoreInfo_SetLabel_PlayerScore(SP_KILLS, "kills", 0);
+ ScoreInfo_SetLabel_PlayerScore(SP_KILLS, "kills", 0);
- ScoreInfo_SetLabel_PlayerScore(SP_DEATHS, "deaths", SFL_LOWER_IS_BETTER);
+ ScoreInfo_SetLabel_PlayerScore(SP_DEATHS, "deaths", SFL_LOWER_IS_BETTER);
if (!INDEPENDENT_PLAYERS)
{
- ScoreInfo_SetLabel_PlayerScore(SP_SUICIDES, "suicides", SFL_LOWER_IS_BETTER);
- ScoreInfo_SetLabel_PlayerScore(SP_TEAMKILLS, "teamkills", SFL_LOWER_IS_BETTER);
+ ScoreInfo_SetLabel_PlayerScore(SP_SUICIDES, "suicides", SFL_LOWER_IS_BETTER);
+ ScoreInfo_SetLabel_PlayerScore(SP_TEAMKILLS, "teamkills", SFL_LOWER_IS_BETTER);
}
if(score_enabled)
- ScoreInfo_SetLabel_PlayerScore(SP_SCORE, "score", sprio);
+ ScoreInfo_SetLabel_PlayerScore(SP_SCORE, "score", sprio);
ScoreInfo_SetLabel_PlayerScore(SP_DMG, "dmg", 0);
ScoreInfo_SetLabel_PlayerScore(SP_DMGTAKEN, "dmgtaken", SFL_LOWER_IS_BETTER);
if(STAT(SHOWFPS))
ScoreInfo_SetLabel_PlayerScore(SP_FPS, "fps", 0);
}
+
void ScoreRules_basics_end()
{
ScoreInfo_Init(ScoreRules_teams);
}
+
void ScoreRules_generic()
{
- int teams = 0;
+ int teams = 0;
if (teamplay)
{
entity balance = TeamBalance_CheckAllowedTeams(NULL);
set sv_logscores_bots 0 "exclude bots by default"
// spam (frag/capture) log
-set sv_eventlog 0 "the master switch for efficiency reasons"
-set sv_eventlog_console 1 "print event log entries to the console as well"
-set sv_eventlog_files 0 "save the event log to individual files instead of the main server log"
+set sv_eventlog 0 "enable event logging"
+set sv_eventlog_console 1 "print event log entries to the dedicated console as well"
+set sv_eventlog_files 0 "save the event log to individual files"
set sv_eventlog_files_timestamps 1 "include timestamps in the log file names"
set sv_eventlog_files_counter 0 "internal counter cvar, do not modify"
set sv_eventlog_files_nameprefix xonotic "prefix of individual log file names"