summaryrefslogtreecommitdiff
path: root/src/game/tremulous.h
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 12:53:17 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:18 +0000
commit62f641bdf7426059d665f2c7f6ccc55d43179eb2 (patch)
tree0098ccf3803e5f0f6d2de709a2bce70adb9d337b /src/game/tremulous.h
parent72556ac402ef88fc116c6174602d8db45e5ae588 (diff)
Zone BP updates, and a minor bug fix
* Add g_humanRepeaterAllowOverlap defaulting to 1 * Add a build error message when building a repeater would cause a power zone to overlap * Lower DC range from 10,000 -> 1,000 * Repeaters will suicide if they are *inside* of another power zone * Unpowered buildables no longer take away BP from the main reactor zone * Repeaters will only power the BP that can be built from them * Repeaters can now be moved * Don't set s.misc anymore since BP is calculated server-side * Fix G_IsDCCBuilt( ) so that it can return true even if a DC is built farther than DC_RANGE units from position 0, 0, 0
Diffstat (limited to 'src/game/tremulous.h')
-rw-r--r--src/game/tremulous.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/tremulous.h b/src/game/tremulous.h
index b71db8ae..776f9835 100644
--- a/src/game/tremulous.h
+++ b/src/game/tremulous.h
@@ -586,7 +586,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define DC_SPLASHRADIUS 100
#define DC_ATTACK_PERIOD 10000 // how often to spam "under attack"
#define DC_HEALRATE 3
-#define DC_RANGE 10000
+#define DC_RANGE 1000
#define DC_VALUE HBVM(DC_BP)
#define ARMOURY_BP 10
@@ -669,6 +669,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define DEFAULT_HUMAN_REPEATER_BUILDPOINTS "20"
#define DEFAULT_HUMAN_REPEATER_QUEUE_TIME "7000"
#define DEFAULT_HUMAN_REPEATER_MAX_ZONES "3"
+#define DEFAULT_HUMAN_REPEATER_ALLOW_OVERLAP "1"
#define DEFAULT_HUMAN_STAGE2_THRESH "4000"
#define DEFAULT_HUMAN_STAGE3_THRESH "8000"
#define DEFAULT_HUMAN_MAX_STAGE "2"