]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add description of sv_q3compat_changehitbox and remove a debug print
authorbones_was_here <bones_was_here@yahoo.com.au>
Mon, 20 Jul 2020 08:44:33 +0000 (18:44 +1000)
committerbones_was_here <bones_was_here@yahoo.com.au>
Mon, 20 Jul 2020 08:44:33 +0000 (18:44 +1000)
qcsrc/server/autocvars.qh
qcsrc/server/g_world.qc
xonotic-server.cfg

index 3dac0d4b65394c1600b51b2e65e9864f95210cbe..16a8b91aa4bb218eae56c3a40f9ab40e06494747 100644 (file)
@@ -532,4 +532,4 @@ bool autocvar_sv_showspectators;
 bool autocvar_g_weaponswitch_debug;
 bool autocvar_g_weaponswitch_debug_alternate;
 bool autocvar_g_allow_checkpoints;
-bool autocvar_sv_q3compat_changehitbox = false;
+bool autocvar_sv_q3compat_changehitbox;
index c2dd00e8247bb63236e4503549d30c108597eb75..d5b7f069f5c5929746a0901f4d5b982fad2e6ee7 100644 (file)
@@ -885,7 +885,6 @@ spawnfunc(worldspawn)
 
        q3compat = BITSET(q3compat, BIT(0), fexists(strcat("scripts/", mapname, ".arena")));
        q3compat = BITSET(q3compat, BIT(1), fexists(strcat("scripts/", mapname, ".defi")));
-       LOG_INFO("CHECKED FOR: scripts/", mapname, ".arena and scripts/", mapname, ".defi, q3compat set to ", ftos(q3compat));
 
        if(whichpack(strcat("maps/", mapname, ".cfg")) != "")
        {
index 82219f04ec9d9ee0bcbe949e7d50a49f4d0898e9..69db7322d16904cd61cfae3640d09fdf67a643f0 100644 (file)
@@ -495,6 +495,8 @@ sv_gameplayfix_consistentplayerprethink 1
 sv_gameplayfix_gravityunaffectedbyticrate 1
 sv_gameplayfix_nogravityonground 1
 
+set sv_q3compat_changehitbox 0 "use Q3 player hitbox dimensions and camera height on Q3 maps (maps with an entry in a .arena or .defi file)
+
 set g_movement_highspeed 1 "multiplier scale for movement speed (applies to sv_maxspeed and sv_maxairspeed, also applies to air acceleration when g_movement_highspeed_q3_compat is set to 0)"
 set g_movement_highspeed_q3_compat 0 "apply speed modifiers to air movement in a more Q3-compatible way (only apply speed buffs and g_movement_highspeed to max air speed, not to acceleration)"