From: bones_was_here Date: Mon, 7 Nov 2022 13:44:27 +0000 (+1000) Subject: sv_q3compat_changehitbox: change the values to exactly match the Q3 sources X-Git-Tag: xonotic-v0.8.6~302 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=ead859bab7cbd97dea819ac023599c10a3bb017c;p=xonotic%2Fxonotic-data.pk3dir.git sv_q3compat_changehitbox: change the values to exactly match the Q3 sources The box dimensions and camera position relative to the box are unchanged. The origin is raised 4u relative to the box and camera. --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index f148a4afe..22a16e7d5 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -65,12 +65,12 @@ void Physics_UpdateStats(entity this) } bool q3hb = q3compat && autocvar_sv_q3compat_changehitbox; - STAT(PL_MIN, this) = (q3hb) ? '-15 -15 -20' : autocvar_sv_player_mins; - STAT(PL_MAX, this) = (q3hb) ? '15 15 36' : autocvar_sv_player_maxs; - STAT(PL_VIEW_OFS, this) = (q3hb) ? '0 0 30' : autocvar_sv_player_viewoffset; - STAT(PL_CROUCH_MIN, this) = (q3hb) ? '-15 -15 -20' : autocvar_sv_player_crouch_mins; - STAT(PL_CROUCH_MAX, this) = (q3hb) ? '15 15 20' : autocvar_sv_player_crouch_maxs; - STAT(PL_CROUCH_VIEW_OFS, this) = (q3hb) ? '0 0 16' : autocvar_sv_player_crouch_viewoffset; + STAT(PL_MIN, this) = q3hb ? '-15 -15 -24' : autocvar_sv_player_mins; + STAT(PL_MAX, this) = q3hb ? '15 15 32' : autocvar_sv_player_maxs; + STAT(PL_VIEW_OFS, this) = q3hb ? '0 0 26' : autocvar_sv_player_viewoffset; + STAT(PL_CROUCH_MIN, this) = q3hb ? '-15 -15 -24' : autocvar_sv_player_crouch_mins; + STAT(PL_CROUCH_MAX, this) = q3hb ? '15 15 16' : autocvar_sv_player_crouch_maxs; + STAT(PL_CROUCH_VIEW_OFS, this) = q3hb ? '0 0 12' : autocvar_sv_player_crouch_viewoffset; // old stats // fix some new settings