cfg: Remove technically-incorrect comments
cfg: Remove technically-incorrect comments

--- a/ARConfiguration.cs
+++ b/ARConfiguration.cs
@@ -23,6 +23,7 @@
 		private const string FIXED_POWER_KEY = "fixedPowerCost";
 		private const string PRETTY_LINES_KEY = "drawPrettyLines";
 		private const string UPDATE_DELAY_KEY = "updateDelay";
+		private const string USE_ADDITIVE_KEY = "useAdditiveRanges";
 
 		private const string TRACKING_STATION_RANGES_KEY = "TRACKING_STATION_RANGES";
 		private const string RANGE_KEY = "range";
@@ -82,6 +83,12 @@
 			private set;
 		}
 
+		public static bool UseAdditiveRanges
+		{
+			get;
+			private set;
+		}
+
 		/// <summary>
 		/// Gets Kerbin's relay range based on the current tracking station level.
 		/// </summary>
@@ -158,6 +165,8 @@
 			ARConfiguration.PrettyLines = this.LoadConfigValue(PRETTY_LINES_KEY, true);
 
 			ARConfiguration.UpdateDelay = this.LoadConfigValue(UPDATE_DELAY_KEY, 16L);
+
+			ARConfiguration.UseAdditiveRanges = this.LoadConfigValue(USE_ADDITIVE_KEY, true);
 
 			this.updateDelayStr = ARConfiguration.UpdateDelay.ToString();
 
@@ -314,6 +323,17 @@
 
 			GUILayout.BeginHorizontal();
 
+			bool useAdditive = GUITools.Toggle(ARConfiguration.UseAdditiveRanges, "Use Additive Ranges");
+			if (useAdditive != ARConfiguration.UseAdditiveRanges)
+			{
+				ARConfiguration.UseAdditiveRanges = useAdditive;
+				this.SaveConfigValue(USE_ADDITIVE_KEY, useAdditive);
+			}
+
+			GUILayout.EndHorizontal();
+
+			GUILayout.BeginHorizontal();
+
 			bool prettyLines = GUITools.Toggle(ARConfiguration.PrettyLines, "Draw Pretty Lines");
 			if (prettyLines != ARConfiguration.PrettyLines)
 			{

--- a/AntennaRelay.cs
+++ b/AntennaRelay.cs
@@ -203,7 +203,7 @@
 			// double nearestRelaySqrDistance = double.PositiveInfinity;
 			// double bestOccludedSqrDistance = double.PositiveInfinity;
 
-			double maxTransmitSqrDistance = double.NegativeInfinity;
+			// double maxTransmitSqrDistance = double.NegativeInfinity;
 
 			double nearestRelaySqrQuotient = double.PositiveInfinity;
 			double bestOccludedSqrQuotient = double.PositiveInfinity;
@@ -277,8 +277,18 @@
 				log.Append("\n\tgetting best vessel relay");
 
 				log.Append("\n\tgetting max link distance to potential relay");
-				double maxLinkSqrDistance = this.maxTransmitDistance * potentialBestRelay.maxTransmitDistance;
-				log.AppendFormat("\n\tmax link distance: {0}", maxTransmitSqrDistance);
+				double maxLinkSqrDistance;
+
+				if (ARConfiguration.UseAdditiveRanges)
+				{
+					maxLinkSqrDistance = this.maxTransmitDistance * potentialBestRelay.maxTransmitDistance;
+				}
+				else
+				{
+					maxLinkSqrDistance = this.maxTransmitDistance * this.maxTransmitDistance;
+				}
+
+				log.AppendFormat("\n\tmax link distance: {0}", maxLinkSqrDistance);
 
 				double potentialSqrQuotient = potentialSqrDistance / maxLinkSqrDistance;
 
@@ -296,7 +306,7 @@
 					
 					log.AppendFormat("\n\t\t\tpotentialSqrDistance: {0}", potentialSqrDistance);
 					log.AppendFormat("\n\t\t\tbestOccludedSqrQuotient: {0}", bestOccludedSqrQuotient);
-					log.AppendFormat("\n\t\t\tmaxTransmitSqrDistance: {0}", maxTransmitSqrDistance);
+					log.AppendFormat("\n\t\t\tmaxTransmitSqrDistance: {0}", maxLinkSqrDistance);
 
 					if (
 						(potentialSqrQuotient < bestOccludedSqrQuotient) &&
@@ -413,8 +423,18 @@
 			double kerbinSqrDistance = this.vessel.DistanceTo(Kerbin) - Kerbin.Radius;
 			kerbinSqrDistance *= kerbinSqrDistance;
 
-			double kerbinSqrQuotient = kerbinSqrDistance /
-				(this.maxTransmitDistance * ARConfiguration.KerbinRelayRange);
+			double kerbinSqrQuotient;
+
+			if (ARConfiguration.UseAdditiveRanges)
+			{
+				kerbinSqrQuotient = kerbinSqrDistance /
+					(this.maxTransmitDistance * ARConfiguration.KerbinRelayRange);
+			}
+			else
+			{
+				kerbinSqrQuotient = kerbinSqrDistance /
+					(this.maxTransmitDistance * this.maxTransmitDistance);
+			}
 
 			log.AppendFormat("\n{0} ({1}): Search done, figuring status.", this.ToString(), this.GetType().Name);
 			log.AppendFormat(
@@ -441,7 +461,7 @@
 				{
 					log.AppendFormat("\n\t\tCan transmit to nearby relay {0} ({1} <= {2}).",
 						this.nearestRelay == null ? "null" : this.nearestRelay.ToString(),
-						nearestRelaySqrQuotient, maxTransmitSqrDistance);
+						nearestRelaySqrQuotient, 1d);
 
 					this.KerbinDirect = false;
 					this.canTransmit = true;
@@ -452,7 +472,7 @@
 				{
 					log.AppendFormat("\n\t\tCan't transmit to nearby relay {0} ({1} > {2}).",
 						this.nearestRelay == null ? "null" : this.nearestRelay.ToString(),
-						nearestRelaySqrQuotient, maxTransmitSqrDistance);
+						nearestRelaySqrQuotient, 1d);
 
 					this.canTransmit = false;
 
@@ -562,7 +582,7 @@
 					if (kerbinSqrQuotient <= 1d)
 					{
 						log.AppendFormat("\n\t\t\tCan transmit to Kerbin ({0} <= {1}).",
-							kerbinSqrDistance, maxTransmitSqrDistance);
+							kerbinSqrQuotient, 1d);
 
 						this.canTransmit = true;
 						this.KerbinDirect = true;
@@ -573,7 +593,7 @@
 					else
 					{
 						log.AppendFormat("\n\t\t\tCan't transmit to Kerbin ({0} > {1}).",
-							kerbinSqrDistance, maxTransmitSqrDistance);
+								kerbinSqrQuotient, 1d);
 
 						this.canTransmit = false;
 

--- a/GameData/AntennaRange/AntennaRange.cfg
+++ b/GameData/AntennaRange/AntennaRange.cfg
@@ -37,13 +37,12 @@
 // maxDataFactor:	The multipler on packetSize that defines the maximum data bandwidth of the antenna.
 // 
 
-// Maximum distance 51696km, about 10% past Minmus
 @PART[longAntenna]:FOR[AntennaRange]:NEEDS[!RemoteTech2]
 {
 	@MODULE[ModuleDataTransmitter]
 	{
 		@name = ModuleLimitedDataTransmitter
-		nominalRange = 18277500
+		nominalRange = 169706
 		maxPowerFactor = 8
 		maxDataFactor = 4
 	}
@@ -59,14 +58,12 @@
 	}
 }
 
-// Maximum distance 37152180km, about 5% past Duna
-// Bonus data transmission when at short range
 @PART[mediumDishAntenna]:FOR[AntennaRange]:NEEDS[!RemoteTech2]
 {
 	@MODULE[ModuleDataTransmitter]
 	{
 		@name = ModuleLimitedDataTransmitter
-		nominalRange = 18576090000
+		nominalRange = 1130000000
 		maxPowerFactor = 4
 		maxDataFactor = 8
 	}
@@ -82,14 +79,13 @@
 	}
 }
 
-// Maximum distance 224770770km, about 75% past Eeloo.
 @PART[commDish]:FOR[AntennaRange]:NEEDS[!RemoteTech2]
 {
 	@MODULE[ModuleDataTransmitter]
 	{
 		@name = ModuleLimitedDataTransmitter
 		@packetResourceCost /= 1.414213
-		nominalRange = 56192692500
+		nominalRange = 5125000000
 		maxPowerFactor = 16
 		maxDataFactor = 2
 	}
@@ -107,16 +103,16 @@
 
 TRACKING_STATION_RANGES
 {
-	range = 51696576
-	range = 37152180000
-	range = 224770770000
+	range = 48000000
+	range = 226000000000
+	range = 7120000000000
 }
 
 EVA_MODULE
 {
 	name = ModuleLimitedDataTransmitter
 
-	nominalRange = 5000
+	nominalRange = 52
 	maxPowerFactor = 1
 	maxDataFactor = 1
 

--- a/RelayExtensions.cs
+++ b/RelayExtensions.cs
@@ -132,13 +132,20 @@
 		/// </summary>
 		public static double NominalLinkDistance(this IAntennaRelay relay)
 		{
-			if (relay.KerbinDirect)
-			{
-				return Math.Sqrt(relay.nominalTransmitDistance * ARConfiguration.KerbinNominalRange);
+			if (ARConfiguration.UseAdditiveRanges)
+			{
+				if (relay.KerbinDirect)
+				{
+					return Math.Sqrt(relay.nominalTransmitDistance * ARConfiguration.KerbinNominalRange);
+				}
+				else
+				{
+					return Math.Sqrt(relay.nominalTransmitDistance * relay.targetRelay.nominalTransmitDistance);
+				}
 			}
 			else
 			{
-				return Math.Sqrt(relay.nominalTransmitDistance * relay.targetRelay.nominalTransmitDistance);
+				return relay.nominalTransmitDistance;
 			}
 		}
 
@@ -147,13 +154,20 @@
 		/// </summary>
 		public static double MaxLinkDistance(this IAntennaRelay relay)
 		{
-			if (relay.KerbinDirect)
-			{
-				return Math.Sqrt(relay.maxTransmitDistance * ARConfiguration.KerbinRelayRange);
+			if (ARConfiguration.UseAdditiveRanges)
+			{
+				if (relay.KerbinDirect)
+				{
+					return Math.Sqrt(relay.maxTransmitDistance * ARConfiguration.KerbinRelayRange);
+				}
+				else
+				{
+					return Math.Sqrt(relay.maxTransmitDistance * relay.targetRelay.maxTransmitDistance);
+				}
 			}
 			else
 			{
-				return Math.Sqrt(relay.maxTransmitDistance * relay.targetRelay.maxTransmitDistance);
+				return relay.maxTransmitDistance;
 			}
 		}