From: Mario Date: Tue, 5 Jul 2016 10:29:58 +0000 (+1000) Subject: Enable damagetext by default X-Git-Tag: xonotic-v0.8.2~700^2~95 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3434b45fc8f8f5e552d57cff2357df1e123cc7ca;p=xonotic%2Fxonotic-data.pk3dir.git Enable damagetext by default --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 7af1e09eb..1008490b3 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -774,7 +774,7 @@ seta g_waypointsprite_turrets 1 "disable turret waypoints" seta g_waypointsprite_turrets_maxdist 5000 "max distace for turret sprites" seta g_waypointsprite_tactical 1 "tactical overlay on turrets when in a vehicle" -seta cl_damagetext "0" "Draw damage dealt where you hit the enemy" +seta cl_damagetext "1" "Draw damage dealt where you hit the enemy" seta cl_damagetext_format "-{total}" "How to format the damage text. {health}, {armor}, {total}" seta cl_damagetext_color "1 1 0" "Damage text color" seta cl_damagetext_color_per_weapon "0" "Damage text uses weapon color" diff --git a/qcsrc/common/mutators/mutator/damagetext/damagetext.qc b/qcsrc/common/mutators/mutator/damagetext/damagetext.qc index 371bf2bbe..3cca0d9d1 100644 --- a/qcsrc/common/mutators/mutator/damagetext/damagetext.qc +++ b/qcsrc/common/mutators/mutator/damagetext/damagetext.qc @@ -12,7 +12,7 @@ REGISTER_MUTATOR(damagetext, true); #if defined(CSQC) || defined(MENUQC) // no translatable cvar description please -AUTOCVAR_SAVE(cl_damagetext, bool, false, "Draw damage dealt where you hit the enemy"); +AUTOCVAR_SAVE(cl_damagetext, bool, true, "Draw damage dealt where you hit the enemy"); AUTOCVAR_SAVE(cl_damagetext_format, string, "-{total}", "How to format the damage text. {health}, {armor}, {total}"); STATIC_INIT(DamageText_LegacyFormat) { if (strstrofs(autocvar_cl_damagetext_format, "{", 0) < 0) autocvar_cl_damagetext_format = "-{total}";