From ea1a4384af5b080cc0e658cc16f688233ff962a8 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Sun, 12 Jan 2020 12:00:47 +0100 Subject: [PATCH] linear solpen falloff again --- qcsrc/server/autocvars.qh | 2 +- ruleset-overkill.cfg | 2 ++ xonotic-server.cfg | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/autocvars.qh b/qcsrc/server/autocvars.qh index a8195451f4..8213aaddec 100644 --- a/qcsrc/server/autocvars.qh +++ b/qcsrc/server/autocvars.qh @@ -93,7 +93,7 @@ float autocvar_g_ballistics_density_corpse; float autocvar_g_ballistics_density_player; float autocvar_g_ballistics_mindistance; bool autocvar_g_ballistics_penetrate_clips = true; -float autocvar_g_ballistics_solidpenetration_exponent = 0.25; +float autocvar_g_ballistics_solidpenetration_exponent = 1; float autocvar_g_ban_default_bantime; float autocvar_g_ban_default_masksize; float autocvar_g_ban_sync_interval; diff --git a/ruleset-overkill.cfg b/ruleset-overkill.cfg index cb39b2a10c..8b3f70a941 100644 --- a/ruleset-overkill.cfg +++ b/ruleset-overkill.cfg @@ -34,3 +34,5 @@ g_spawn_near_teammate "!g_assault !g_freezetag" g_spawn_near_teammate_ignore_spawnpoint 1 g_spawnshieldtime 0.5 g_respawn_delay_forced 2 + +g_ballistics_solidpenetration_exponent 0.25 diff --git a/xonotic-server.cfg b/xonotic-server.cfg index 25c7b74845..6e040d5b0f 100644 --- a/xonotic-server.cfg +++ b/xonotic-server.cfg @@ -430,7 +430,7 @@ set g_ballistics_mindistance 2 "when shooting through walls thinner than this, t set g_ballistics_density_player 0.50 "how hard players are to shoot through compared to walls" set g_ballistics_density_corpse 0.10 "how hard corpses are to shoot through compared to walls" set g_ballistics_penetrate_clips 1 "allow ballistics to pass through weapon clips" -set g_ballistics_solidpenetration_exponent 0.25 "how fast damage falls off when bullets pass through walls - 1 means linear, lower values mean slower initial falloff but faster once there's little solidpenetration left (damage_fraction = solidpen_fraction^exp for solidpen_fraction between 0 and 1)" +set g_ballistics_solidpenetration_exponent 1 "how fast damage falls off when bullets pass through walls - 1 means linear, lower values mean slower initial falloff but faster once there's little solidpenetration left (damage_fraction = solidpen_fraction^exp for solidpen_fraction between 0 and 1)" sv_status_show_qcstatus 1 "Xonotic uses this field instead of frags" set g_full_getstatus_responses 0 "this currently breaks qstat" -- 2.39.2