]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Bot waypoints: slightly increase height of the typical start point for the jump;...
authorterencehill <piuntn@gmail.com>
Fri, 30 Mar 2018 14:17:12 +0000 (16:17 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 30 Mar 2018 14:17:12 +0000 (16:17 +0200)
qcsrc/common/triggers/trigger/jumppads.qc
qcsrc/server/bot/default/waypoints.qh

index fde6e1fb9d6cf58e091ead371e1705dab06fbf49..01bcb355d6838aa36a3cb068b415ccd286e11b1a 100644 (file)
@@ -317,7 +317,7 @@ bool trigger_push_test(entity this, entity item)
 {
        // first calculate a typical start point for the jump
        vector org = (this.absmin + this.absmax) * 0.5;
-       org.z = this.absmax.z - PL_MIN_CONST.z - 10;
+       org.z = this.absmax.z - PL_MIN_CONST.z - 7;
 
        if (this.target)
        {
index bea11e9299986ce180765f09a520e37c8295f6de..595c2d058fcc1cd82fa1a082ffd29096f90adc3b 100644 (file)
@@ -6,7 +6,7 @@
 // increase by 0.01 when changes require only waypoint relinking
 // increase by 1 when changes require to manually edit waypoints
 // max 2 decimal places, always specified
-#define WAYPOINT_VERSION 1.00
+#define WAYPOINT_VERSION 1.01
 
 // fields you can query using prvm_global server to get some statistics about waypoint linking culling
 float relink_total, relink_walkculled, relink_pvsculled, relink_lengthculled;