From 62f641bdf7426059d665f2c7f6ccc55d43179eb2 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 12:53:17 +0000 Subject: 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 --- src/cgame/cg_servercmds.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cgame') diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index 2d9b7038..7fa21530 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -686,6 +686,12 @@ void CG_Menu( int menu, int arg ) type = DT_BUILD; break; + case MN_H_RPWCAUSEOVRL: + longMsg = "This repeater would cause a power zone to overlap."; + shortMsg = "This repeater would cause a power zone to overlap"; + type = DT_BUILD; + break; + case MN_H_NOSLOTS: longMsg = "You have no room to carry this. Please sell any conflicting " "upgrades before purchasing this item."; -- cgit