From: terencehill Date: Fri, 30 Mar 2018 14:17:12 +0000 (+0200) Subject: Bot waypoints: slightly increase height of the typical start point for the jump;... X-Git-Tag: xonotic-v0.8.5~2174^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=002724a02fcfdfe7ce3fb914b25d90394c0bc65f;p=xonotic%2Fxonotic-data.pk3dir.git Bot waypoints: slightly increase height of the typical start point for the jump; it fixes missing jumppad waypoints in the map Aneurysm; increase WAYPOINT_VERSION to 1.01 so links will be automatically fixed on map start --- diff --git a/qcsrc/common/triggers/trigger/jumppads.qc b/qcsrc/common/triggers/trigger/jumppads.qc index fde6e1fb9..01bcb355d 100644 --- a/qcsrc/common/triggers/trigger/jumppads.qc +++ b/qcsrc/common/triggers/trigger/jumppads.qc @@ -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) { diff --git a/qcsrc/server/bot/default/waypoints.qh b/qcsrc/server/bot/default/waypoints.qh index bea11e929..595c2d058 100644 --- a/qcsrc/server/bot/default/waypoints.qh +++ b/qcsrc/server/bot/default/waypoints.qh @@ -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;