From 8984c48f6db7d5705af9cdf7eeeb2ffce6ca1a21 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 1 Apr 2001 02:38:15 +0000 Subject: Added hivemind and associated infacstructure --- src/game/bg_misc.c | 48 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 41 insertions(+), 7 deletions(-) (limited to 'src/game/bg_misc.c') diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c index a96cc0d9..ca39fcef 100644 --- a/src/game/bg_misc.c +++ b/src/game/bg_misc.c @@ -771,6 +771,22 @@ TA: droid defense item "" //sounds }, +/*QUAKED team_droid_hivemind (0 0 1) (-16 -16 -16) (16 16 16) +TA: droid build limitation item +*/ + { + "team_droid_hivemind", + "sound/items/holdable.wav", + { "models/powerups/instant/invis.md3", 0, 0, 0 }, + "icons/teleporter", //icon + "Droid Hivemind", //pickup + 0, + IT_BUILDABLE, + BA_D_HIVEMIND, + "", //precache + "" //sounds + }, + /*QUAKED team_human_spawn (0 0 1) (-16 -16 -16) (16 16 16) TA: human spawn item */ @@ -931,12 +947,12 @@ buildableAttributes_t bg_buildableList[ ] = "team_droid_spawn", { -15, -15, -15 }, { 15, 15, 15 }, - 0, + 100, 1000, 50, 50, 200, - MOD_ASPAWN, + MOD_DSPAWN, BIT_DROIDS, EV_ITEM_GROW, 100, @@ -949,18 +965,36 @@ buildableAttributes_t bg_buildableList[ ] = "team_droid_def1", { -15, -15, -15 }, { 15, 15, 15 }, - 0, + 80, 1000, 50, 20, 50, - MOD_ASPAWN, + MOD_DSPAWN, BIT_DROIDS, EV_ITEM_GROW, 100, qtrue, qfalse }, + { + BA_D_HIVEMIND, + "hivemind", + "team_droid_hivemind", + { -15, -15, -15 }, + { 15, 15, 15 }, + 0, + 1000, + 50, + 20, + 50, + MOD_DSPAWN, + BIT_DROIDS, + EV_ITEM_GROW, + -1, + qfalse, + qtrue + }, { BA_H_SPAWN, "replicator", @@ -990,7 +1024,7 @@ buildableAttributes_t bg_buildableList[ ] = 50, 20, 50, - MOD_ASPAWN, + MOD_HSPAWN, BIT_HUMANS, EV_NONE, 50, @@ -1363,10 +1397,10 @@ int BG_FindCreepTestForBuildable( int bclass ) /* ============== -BG_FindReactorTestForBuildable +BG_FindUniqueTestForBuildable ============== */ -int BG_FindReactorTestForBuildable( int bclass ) +int BG_FindUniqueTestForBuildable( int bclass ) { int i; -- cgit