]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/defaultVoretournament.cfg
Port blood effect from Xonotic code. When your health is under a certain amount,...
[voretournament/voretournament.git] / data / defaultVoretournament.cfg
index 0c88250b4a84c91e154d3593100358628afaff03..f1202cc420f78be21dc9ca8d7ec1cc5e12c2f616 100644 (file)
@@ -1059,6 +1059,19 @@ con_chatwidth 0.6
 con_notifysize 10\r
 con_notifyalign 0\r
 \r
+seta hud_damage 0.55 "an improved version of gl_polyblend for damage, draw an image instead when hurt"\r
+seta hud_damage_gentle_alpha_multiplier 0.10 "how much to multiply alpha of flash when using the cl_gentle version, it's much more opaque than the non-gentle version"\r
+seta hud_damage_gentle_color "1 0.7 1" "color of flash for cl_gentle version"\r
+seta hud_damage_color "1 0 0" "color of flash"\r
+seta hud_damage_factor 0.025 "(damage * factor) = how much to add to the alpha value"\r
+seta hud_damage_fade_rate 0.75 "how much to subtract from the alpha value each second"\r
+seta hud_damage_maxalpha 1.5 "how much to limit the alpha value to"\r
+seta hud_damage_pain_threshold 0.1 "how much alpha to ignore (must be bigger than the hud_damage_factor so that e.g. rot is ignored)"\r
+seta hud_damage_pain_threshold_lower 1.25 "how much we lower pain_threshold with when nearing 0 health (if pain_threshold gets negative then we always draw a flash at alpha = fabs(pain_threshold)"\r
+seta hud_damage_pain_threshold_lower_health 50 "at which health we start lowering pain_threshold"\r
+seta hud_damage_pain_threshold_pulsating_min 0.6 "minimum value when calculating the pulse: max(pulsating_min, fabs(sin(PI * time / period))"\r
+seta hud_damage_pain_threshold_pulsating_period 0.8 "one pulse every X seconds"\r
+\r
 seta hud_contents 1 "an improved version of gl_polyblend for liquids such as water/lava/slime, draw a filler when inside the liquid"\r
 seta hud_contents_factor 1 "factor at which to multiply the current faded value."\r
 seta hud_contents_fadeintime 0.02 "factor of time it takes for the alpha level to reach normal value when entering the liquid"\r