From 8db36e77e9b4972d21c447b9221cd1416d0be883 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 23 May 2020 20:39:56 +1000 Subject: [PATCH] Set sv_gameplayfix_stepdown_maxspeed in physics configurations instead of globally, enabled in all Xonotic-based physics files --- physicsCPMA.cfg | 1 + physicsFruit.cfg | 1 + physicsHavoc.cfg | 3 ++- physicsLeeStricklin-ModdedFruit.cfg | 1 + physicsLeeStricklin.cfg | 1 + physicsLeeStricklinOld.cfg | 1 + physicsLzd.cfg | 1 + physicsNexuiz10.cfg | 1 + physicsNexuiz11.cfg | 1 + physicsNexuiz151.cfg | 1 + physicsNexuiz151b.cfg | 1 + physicsNexuiz16rc1.cfg | 1 + physicsNexuiz20.cfg | 1 + physicsNexuiz25.cfg | 1 + physicsNexuiz26.cfg | 1 + physicsNoQWBunny-nexbased.cfg | 1 + physicsOverkill.cfg | 1 + physicsQ.cfg | 1 + physicsQ2.cfg | 1 + physicsQ2a.cfg | 1 + physicsQ3.cfg | 1 + physicsQBF.cfg | 1 + physicsQBFplus.cfg | 1 + physicsSamual.cfg | 1 + physicsWarsow.cfg | 1 + physicsWarsowClassicBunny.cfg | 1 + physicsWarsowDev.cfg | 1 + physicsX.cfg | 1 + physicsX010.cfg | 1 + physicsX07.cfg | 1 + physicsXDF.cfg | 1 + physicsXDFLight.cfg | 1 + xonotic-server.cfg | 2 +- 33 files changed, 34 insertions(+), 2 deletions(-) diff --git a/physicsCPMA.cfg b/physicsCPMA.cfg index ca688cd69..765321963 100644 --- a/physicsCPMA.cfg +++ b/physicsCPMA.cfg @@ -39,3 +39,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 400 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsFruit.cfg b/physicsFruit.cfg index 8c034b8a9..4fcdcce0f 100644 --- a/physicsFruit.cfg +++ b/physicsFruit.cfg @@ -37,3 +37,4 @@ sv_jumpspeedcap_max 0.35 sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsHavoc.cfg b/physicsHavoc.cfg index f45a73f14..a6598de99 100644 --- a/physicsHavoc.cfg +++ b/physicsHavoc.cfg @@ -1,5 +1,5 @@ g_mod_physics Havoc -// Xonotic Havoc physics (work in progress) +// Nexuiz Havoc physics (work in progress) sv_gravity 800 sv_maxspeed 400 @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsLeeStricklin-ModdedFruit.cfg b/physicsLeeStricklin-ModdedFruit.cfg index b2c35d086..9bf0e03ab 100644 --- a/physicsLeeStricklin-ModdedFruit.cfg +++ b/physicsLeeStricklin-ModdedFruit.cfg @@ -46,3 +46,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsLeeStricklin.cfg b/physicsLeeStricklin.cfg index f529ed66d..c6ecfd927 100644 --- a/physicsLeeStricklin.cfg +++ b/physicsLeeStricklin.cfg @@ -46,3 +46,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsLeeStricklinOld.cfg b/physicsLeeStricklinOld.cfg index 522c30197..8b48b003c 100644 --- a/physicsLeeStricklinOld.cfg +++ b/physicsLeeStricklinOld.cfg @@ -41,3 +41,4 @@ sv_jumpspeedcap_max 0.38 sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsLzd.cfg b/physicsLzd.cfg index 0c32adb2e..25a3b704e 100644 --- a/physicsLzd.cfg +++ b/physicsLzd.cfg @@ -39,3 +39,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsNexuiz10.cfg b/physicsNexuiz10.cfg index 1f0b8bde1..021ba7738 100644 --- a/physicsNexuiz10.cfg +++ b/physicsNexuiz10.cfg @@ -39,3 +39,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsNexuiz11.cfg b/physicsNexuiz11.cfg index 51ef497e7..7365d1840 100644 --- a/physicsNexuiz11.cfg +++ b/physicsNexuiz11.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsNexuiz151.cfg b/physicsNexuiz151.cfg index 0dd5b0da2..c8503dbed 100644 --- a/physicsNexuiz151.cfg +++ b/physicsNexuiz151.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsNexuiz151b.cfg b/physicsNexuiz151b.cfg index 5b9b21bf6..656df926b 100644 --- a/physicsNexuiz151b.cfg +++ b/physicsNexuiz151b.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsNexuiz16rc1.cfg b/physicsNexuiz16rc1.cfg index 4bad86850..951944432 100644 --- a/physicsNexuiz16rc1.cfg +++ b/physicsNexuiz16rc1.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsNexuiz20.cfg b/physicsNexuiz20.cfg index 531952a36..a3aff85db 100644 --- a/physicsNexuiz20.cfg +++ b/physicsNexuiz20.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsNexuiz25.cfg b/physicsNexuiz25.cfg index 4de91d19a..51811f9c3 100644 --- a/physicsNexuiz25.cfg +++ b/physicsNexuiz25.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsNexuiz26.cfg b/physicsNexuiz26.cfg index 151d360cb..f079f2825 100644 --- a/physicsNexuiz26.cfg +++ b/physicsNexuiz26.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsNoQWBunny-nexbased.cfg b/physicsNoQWBunny-nexbased.cfg index 7acc35544..063d2e365 100644 --- a/physicsNoQWBunny-nexbased.cfg +++ b/physicsNoQWBunny-nexbased.cfg @@ -47,3 +47,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsOverkill.cfg b/physicsOverkill.cfg index 67d02a776..b40b5a54f 100644 --- a/physicsOverkill.cfg +++ b/physicsOverkill.cfg @@ -52,3 +52,4 @@ sv_jumpspeedcap_min "" sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 0 +sv_gameplayfix_stepdown_maxspeed 400 diff --git a/physicsQ.cfg b/physicsQ.cfg index 4f880c90f..d0adac13e 100644 --- a/physicsQ.cfg +++ b/physicsQ.cfg @@ -39,3 +39,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsQ2.cfg b/physicsQ2.cfg index 4507cc8c8..7e6e2d662 100644 --- a/physicsQ2.cfg +++ b/physicsQ2.cfg @@ -39,3 +39,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsQ2a.cfg b/physicsQ2a.cfg index a515e9be7..55e312564 100644 --- a/physicsQ2a.cfg +++ b/physicsQ2a.cfg @@ -40,3 +40,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsQ3.cfg b/physicsQ3.cfg index 7b650da38..be6c7dd8c 100644 --- a/physicsQ3.cfg +++ b/physicsQ3.cfg @@ -39,3 +39,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 320 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsQBF.cfg b/physicsQBF.cfg index 6b210f55b..4d7bdfeb5 100644 --- a/physicsQBF.cfg +++ b/physicsQBF.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsQBFplus.cfg b/physicsQBFplus.cfg index e8772b3f3..5ae5720c7 100644 --- a/physicsQBFplus.cfg +++ b/physicsQBFplus.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsSamual.cfg b/physicsSamual.cfg index 4f22085f9..8c8548604 100644 --- a/physicsSamual.cfg +++ b/physicsSamual.cfg @@ -38,3 +38,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsWarsow.cfg b/physicsWarsow.cfg index c59b8e99e..a89ff6a80 100644 --- a/physicsWarsow.cfg +++ b/physicsWarsow.cfg @@ -39,3 +39,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsWarsowClassicBunny.cfg b/physicsWarsowClassicBunny.cfg index 05ece9bea..715065115 100644 --- a/physicsWarsowClassicBunny.cfg +++ b/physicsWarsowClassicBunny.cfg @@ -39,3 +39,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsWarsowDev.cfg b/physicsWarsowDev.cfg index 4a272261f..bc75e8c62 100644 --- a/physicsWarsowDev.cfg +++ b/physicsWarsowDev.cfg @@ -39,3 +39,4 @@ sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 0 g_teleport_maxspeed 0 sv_track_canjump 0 +sv_gameplayfix_stepdown_maxspeed 0 diff --git a/physicsX.cfg b/physicsX.cfg index 6076dd73d..dfe22345c 100644 --- a/physicsX.cfg +++ b/physicsX.cfg @@ -53,3 +53,4 @@ sv_jumpspeedcap_min "" sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 0 +sv_gameplayfix_stepdown_maxspeed 400 diff --git a/physicsX010.cfg b/physicsX010.cfg index a5349c98f..722853553 100644 --- a/physicsX010.cfg +++ b/physicsX010.cfg @@ -46,3 +46,4 @@ sv_jumpspeedcap_min "" sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 0 +sv_gameplayfix_stepdown_maxspeed 400 diff --git a/physicsX07.cfg b/physicsX07.cfg index 61354633d..9fcdb9918 100644 --- a/physicsX07.cfg +++ b/physicsX07.cfg @@ -52,3 +52,4 @@ sv_jumpspeedcap_min "" sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 0 +sv_gameplayfix_stepdown_maxspeed 400 diff --git a/physicsXDF.cfg b/physicsXDF.cfg index e0bea6a0e..d7dd0a50e 100644 --- a/physicsXDF.cfg +++ b/physicsXDF.cfg @@ -44,3 +44,4 @@ sv_jumpspeedcap_min 0 sv_jumpspeedcap_max 0.5 sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 600 +sv_gameplayfix_stepdown_maxspeed 400 diff --git a/physicsXDFLight.cfg b/physicsXDFLight.cfg index f9bed43f6..3a80e0858 100644 --- a/physicsXDFLight.cfg +++ b/physicsXDFLight.cfg @@ -44,3 +44,4 @@ sv_jumpspeedcap_min "" sv_jumpspeedcap_max "" sv_jumpspeedcap_max_disable_on_ramps 1 g_teleport_maxspeed 0 +sv_gameplayfix_stepdown_maxspeed 400 diff --git a/xonotic-server.cfg b/xonotic-server.cfg index 83305a035..187de7e36 100644 --- a/xonotic-server.cfg +++ b/xonotic-server.cfg @@ -397,7 +397,7 @@ sv_gameplayfix_q2airaccelerate 1 sv_gameplayfix_stepmultipletimes 1 sv_gameplayfix_stepdown 2 // only available in qc physics -set sv_gameplayfix_stepdown_maxspeed 400 "maximum speed walking entities can be moving for stepping down to apply - requires sv_qcphysics 1" +set sv_gameplayfix_stepdown_maxspeed 0 "maximum speed walking entities can be moving for stepping down to apply - requires sv_qcphysics 1" // delay for "kill" to prevent abuse set g_balance_kill_delay 2 "timer before death when using the kill command" -- 2.39.2