From: Martin Taibr Date: Sun, 12 Jan 2020 11:00:47 +0000 (+0100) Subject: linear solpen falloff again X-Git-Tag: xonotic-v0.8.5~1105^2~25^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ea1a4384af5b080cc0e658cc16f688233ff962a8;p=xonotic%2Fxonotic-data.pk3dir.git linear solpen falloff again --- diff --git a/qcsrc/server/autocvars.qh b/qcsrc/server/autocvars.qh index a8195451f..8213aadde 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 cb39b2a10..8b3f70a94 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 25c7b7484..6e040d5b0 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"