]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - xonotic-client.cfg
Transifex autosync
[xonotic/xonotic-data.pk3dir.git] / xonotic-client.cfg
index cafc307005514af89b1c80c6f1879ff9b8d1c632..3d24428b30b8fcc352e5beaf193b45c0d75f2c67 100644 (file)
@@ -688,7 +688,11 @@ alias _gl_flashblend_update_01 "gl_flashblend 0"
 alias _gl_flashblend_update_11 "gl_flashblend 0"
 alias gl_flashblend_update "_gl_flashblend_update_$r_shadow_realtime_dlight$r_showsurfaces"
 
-set cl_handicap 1      "multiplies damage received and divides damage dealt"
+// TODO: remove cl_handicap cvar after 0.9 release
+set cl_handicap 1 "multiplies damage received and divides damage dealt"
+alias cl_handicap "cl_handicap_damage_given ${* ?} ; cl_handicap_damage_taken ${* ?} ; set cl_handicap ${* ?}"
+set cl_handicap_damage_given 1 "damage given is divided by this factor if > 1"
+set cl_handicap_damage_taken 1 "damage taken is multiplied by this factor if > 1"
 
 seta cl_clippedspectating 1 "movement collision for spectators so that you can't pass through walls and such"