]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update/improve sv_eventlog* descriptions
authorterencehill <piuntn@gmail.com>
Fri, 26 Mar 2021 17:15:08 +0000 (18:15 +0100)
committerterencehill <piuntn@gmail.com>
Fri, 26 Mar 2021 17:29:23 +0000 (18:29 +0100)
qcsrc/server/scores_rules.qc
xonotic-server.cfg

index c7c9c3e8d74ed5e61f2747d37683d84ad99e9363..ac060dab532174d6782108c91857918c64d352a4 100644 (file)
@@ -25,28 +25,28 @@ void ScoreRules_basics(int teams, float sprio, float stprio, float score_enabled
 {
        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);
@@ -55,13 +55,15 @@ void ScoreRules_basics(int teams, float sprio, float stprio, float score_enabled
        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);
index ad32666c6d6d59989a137e1d852e3633dbe8cebc..5399e4096ef20bba829cffc5f690a7030d038280 100644 (file)
@@ -311,9 +311,9 @@ set sv_logscores_filename scores.log "filename"
 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"