From: bones_was_here Date: Sun, 18 Apr 2021 09:14:38 +0000 (+1000) Subject: Improve legibility of hud_panel_centerprint 1s interval countdowns X-Git-Tag: xonotic-v0.8.5~419^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7bd202b57c53764260d534e772cfddf10c5acce0;p=xonotic%2Fxonotic-data.pk3dir.git Improve legibility of hud_panel_centerprint 1s interval countdowns The previous fade in/out defaults of 0.2/0.5 meant 1s interval countdown text was in a faded state ~70% of the time. These countdowns are commonly seen - end of warmup/start of match, instagib out of ammo, sv_maxidle* 0.1/0.2 looks good but 0.15/0.15 is nicer for 60hz users. --- diff --git a/hud_luma.cfg b/hud_luma.cfg index 9ad2425a7..7bcbef2b9 100644 --- a/hud_luma.cfg +++ b/hud_luma.cfg @@ -276,8 +276,8 @@ seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_fontscale_bold "1.4" seta hud_panel_centerprint_time "3" -seta hud_panel_centerprint_fade_in "0.2" -seta hud_panel_centerprint_fade_out "0.5" +seta hud_panel_centerprint_fade_in "0.15" +seta hud_panel_centerprint_fade_out "0.15" seta hud_panel_centerprint_fade_subsequent "1" seta hud_panel_centerprint_fade_subsequent_passone "3" seta hud_panel_centerprint_fade_subsequent_passone_minalpha "0.5" diff --git a/hud_luminos.cfg b/hud_luminos.cfg index c642ac38f..715d57efd 100644 --- a/hud_luminos.cfg +++ b/hud_luminos.cfg @@ -276,8 +276,8 @@ seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_fontscale_bold "1.4" seta hud_panel_centerprint_time "3" -seta hud_panel_centerprint_fade_in "0.2" -seta hud_panel_centerprint_fade_out "0.5" +seta hud_panel_centerprint_fade_in "0.15" +seta hud_panel_centerprint_fade_out "0.15" seta hud_panel_centerprint_fade_subsequent "1" seta hud_panel_centerprint_fade_subsequent_passone "3" seta hud_panel_centerprint_fade_subsequent_passone_minalpha "0.5" diff --git a/hud_luminos_minimal.cfg b/hud_luminos_minimal.cfg index d15dd868a..25f871bf1 100644 --- a/hud_luminos_minimal.cfg +++ b/hud_luminos_minimal.cfg @@ -276,8 +276,8 @@ seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_fontscale_bold "1.4" seta hud_panel_centerprint_time "3" -seta hud_panel_centerprint_fade_in "0.2" -seta hud_panel_centerprint_fade_out "0.5" +seta hud_panel_centerprint_fade_in "0.15" +seta hud_panel_centerprint_fade_out "0.15" seta hud_panel_centerprint_fade_subsequent "1" seta hud_panel_centerprint_fade_subsequent_passone "3" seta hud_panel_centerprint_fade_subsequent_passone_minalpha "0.5" diff --git a/hud_luminos_minimal_xhair.cfg b/hud_luminos_minimal_xhair.cfg index 11c57ee48..e3e857b0a 100644 --- a/hud_luminos_minimal_xhair.cfg +++ b/hud_luminos_minimal_xhair.cfg @@ -276,8 +276,8 @@ seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_fontscale_bold "1.4" seta hud_panel_centerprint_time "3" -seta hud_panel_centerprint_fade_in "0.2" -seta hud_panel_centerprint_fade_out "0.5" +seta hud_panel_centerprint_fade_in "0.15" +seta hud_panel_centerprint_fade_out "0.15" seta hud_panel_centerprint_fade_subsequent "1" seta hud_panel_centerprint_fade_subsequent_passone "3" seta hud_panel_centerprint_fade_subsequent_passone_minalpha "0.5" diff --git a/hud_luminos_old.cfg b/hud_luminos_old.cfg index 42a79015c..fdf1efff3 100644 --- a/hud_luminos_old.cfg +++ b/hud_luminos_old.cfg @@ -276,8 +276,8 @@ seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_fontscale_bold "1.4" seta hud_panel_centerprint_time "3" -seta hud_panel_centerprint_fade_in "0.2" -seta hud_panel_centerprint_fade_out "0.5" +seta hud_panel_centerprint_fade_in "0.15" +seta hud_panel_centerprint_fade_out "0.15" seta hud_panel_centerprint_fade_subsequent "1" seta hud_panel_centerprint_fade_subsequent_passone "3" seta hud_panel_centerprint_fade_subsequent_passone_minalpha "0.5" diff --git a/hud_nexuiz.cfg b/hud_nexuiz.cfg index 9200283c3..74132c08a 100644 --- a/hud_nexuiz.cfg +++ b/hud_nexuiz.cfg @@ -276,8 +276,8 @@ seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_fontscale_bold "1.4" seta hud_panel_centerprint_time "3" -seta hud_panel_centerprint_fade_in "0.2" -seta hud_panel_centerprint_fade_out "0.5" +seta hud_panel_centerprint_fade_in "0.15" +seta hud_panel_centerprint_fade_out "0.15" seta hud_panel_centerprint_fade_subsequent "1" seta hud_panel_centerprint_fade_subsequent_passone "3" seta hud_panel_centerprint_fade_subsequent_passone_minalpha "0.5" diff --git a/qcsrc/client/hud/panel/centerprint.qh b/qcsrc/client/hud/panel/centerprint.qh index f9e23b726..a143fa0a2 100644 --- a/qcsrc/client/hud/panel/centerprint.qh +++ b/qcsrc/client/hud/panel/centerprint.qh @@ -3,8 +3,8 @@ bool autocvar_hud_panel_centerprint; float autocvar_hud_panel_centerprint_align; -float autocvar_hud_panel_centerprint_fade_in = 0.2; -float autocvar_hud_panel_centerprint_fade_out = 0.5; +float autocvar_hud_panel_centerprint_fade_in = 0.15; +float autocvar_hud_panel_centerprint_fade_out = 0.15; float autocvar_hud_panel_centerprint_fade_subsequent = 1; float autocvar_hud_panel_centerprint_fade_subsequent_passone = 3; float autocvar_hud_panel_centerprint_fade_subsequent_passone_minalpha = 0.5;