From c38539157d33d5383ceac5202fbc6ca5d4e95e6e Mon Sep 17 00:00:00 2001 From: MaeJong Date: Mon, 22 May 2017 15:43:54 +0200 Subject: Buff the hive, and debug lazy devs' fuckery - Lower BP cost from 12 to 10 - Increase range from 300 to 400 (read bugfix section) - Increase swarm speed from 240 to 320 (sprint or hide behind walls to avoid) Bug fix: - The hive code relied on ACIDTUBE_RANGE (300) instead of HIVE_RANGE (400) --- src/game/g_buildable.c | 2 +- src/game/tremulous.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index f6a98f6..593c68c 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -1217,7 +1217,7 @@ Think function for Alien Hive void AHive_Think( gentity_t *self ) { int entityList[ MAX_GENTITIES ]; - vec3_t range = { ACIDTUBE_RANGE, ACIDTUBE_RANGE, ACIDTUBE_RANGE }; + vec3_t range = { HIVE_RANGE, HIVE_RANGE, HIVE_RANGE }; vec3_t mins, maxs; int i, num; gentity_t *enemy; diff --git a/src/game/tremulous.h b/src/game/tremulous.h index 2631e48..871b21f 100644 --- a/src/game/tremulous.h +++ b/src/game/tremulous.h @@ -263,7 +263,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define ACIDTUBE_REPEAT 3000 #define ACIDTUBE_K_SCALE 1.0f -#define HIVE_BP 12 +#define HIVE_BP 10 #define HIVE_BT 20000 #define HIVE_HEALTH ABHM(125) #define HIVE_REGEN 10 @@ -274,7 +274,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define HIVE_REPEAT 5000 #define HIVE_K_SCALE 1.0f #define HIVE_DMG 50 -#define HIVE_SPEED 240.0f +#define HIVE_SPEED 320.0f #define HIVE_DIR_CHANGE_PERIOD 500 #define TRAPPER_BP 8 -- cgit