]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/defaultVT.cfg
Port damage / velocity based player leaning from Xonotic, with good defaults for VT
[voretournament/voretournament.git] / data / defaultVT.cfg
index 1a8269be9ef0ff9852b4deb1bdfeb0e52dddc049..84e235fabf140a4d3d6327aa7ed961cd15f8da64 100644 (file)
@@ -299,6 +299,13 @@ set g_respawn_ghosts 1 "if 1 dead bodies become ghosts and float away when the p
 set g_respawn_ghosts_speed 5 "the speed with which respawn ghosts float and rotate"\r
 set g_respawn_ghosts_maxtime 6 "maximum amount of time a respawn ghost can last, minimum time is half this value. 0 disables and ghosts fade when the body would"\r
 \r
+set g_leanplayer_damage 0.1 "lean players that are shot by this amount, based on the force they take"\r
+set g_leanplayer_damage_fade 0.001 "how fast players return to normal angles, based on damage taken"\r
+set g_leanplayer_damage_max 10 "damage leaning is limited to this amount"\r
+set g_leanplayer_acceleration 0.05 "lean players as they accelerate, by this amount"\r
+set g_leanplayer_acceleration_fade 5 "velocity averaging steps for acceleration, higher values cause a shorter leaning"\r
+set g_leanplayer_acceleration_max 10 "acceleration leaning is limited to this amount"\r
+\r
 set sv_gibhealth -150 "Amount of health a dead body must have in order to get gibbed, influenced by player size"\r
 \r
 // fragmessage: This allows extra information to be displayed with the frag centerprints. \r