]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/defaultVT.cfg
Port dodging from Xonotic. Double-tap a movement key to leap in that direction. Still...
[voretournament/voretournament.git] / data / defaultVT.cfg
index db89655caed80b4661701b9b9920a7e658a6d7bf..626bdb3d5f935ba9240b602d96ac7c3175881dd3 100644 (file)
@@ -477,6 +477,19 @@ set welcome_message_time 8
 \r
 alias clearmap "disconnect"\r
 \r
+set g_dodging 1 "set to 1 to enable dodging in games"\r
+\r
+seta cl_dodging_timeout 0.2 "determines how long apart (in seconds) two taps on the same direction key are considered a dodge. use 0 to disable"\r
+\r
+set sv_dodging_wall_dodging 0 "set to 1 to allow dodging off walls. 0 to disable"\r
+set sv_dodging_delay 0.5 "determines how long a player has to wait to be able to dodge again after dodging"\r
+set sv_dodging_up_speed 200 "the jump velocity of the dodge"\r
+set sv_dodging_horiz_speed 400 "the horizontal velocity of the dodge"\r
+set sv_dodging_ramp_time 0.1 "a ramp so that the horizontal part of the dodge is added smoothly (seconds)"\r
+set sv_dodging_height_threshold 10 "the maximum height above ground where to allow dodging"\r
+set sv_dodging_wall_distance_threshold 10 "the maximum distance from a wall that still allows dodging"\r
+set sv_dodging_sound 1 "if 1 dodging makes a sound. if 0 dodging is silent"\r
+\r
 set leadlimit 0\r
 \r
 // this means that timelimit can be overidden globally and fraglimit can be overidden for each game mode: DM/TDM, Domination, CTF.\r