summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaeJong <mewiceclair@gmail.com>2017-05-22 15:43:54 +0200
committerMaeJong <mewiceclair@gmail.com>2017-06-28 14:03:36 +0200
commitc38539157d33d5383ceac5202fbc6ca5d4e95e6e (patch)
treebdb19a0ed1c8e9304b180f8280c5b394cff264bb
parent41a47746bec6964405a3506fc1f8fd3ea6147c8e (diff)
Buff the hive, and debug lazy devs' fuckerygame/hive
- 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)
-rw-r--r--src/game/g_buildable.c2
-rw-r--r--src/game/tremulous.h4
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