Skip to content

Commit 00baeaf

Browse files
committed
version 3.6 > 3.7, fix to antennas idle EC consumption
1 parent a0cc328 commit 00baeaf

File tree

9 files changed

+23
-14
lines changed

9 files changed

+23
-14
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## v3.7 for all versions of KSP from 1.5.0 to 1.9.x
2+
3+
- 2020-02-21
4+
5+
### Changes since the last release
6+
7+
* Reverted antennas idle EC consumption to pre-3.6 levels : factor changed from 0.2 to 0.04
8+
* Removed logging calls from other threads
9+
110
## v3.6 for all versions of KSP from 1.5.0 to 1.9.x
211

312
- 2020-02-18

GameData/Kerbalism/Kerbalism.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"URL": "https://raw.githubusercontent.com/Kerbalism/Kerbalism/master/GameData/Kerbalism/Kerbalism.version",
44
"DOWNLOAD": "https://github.com/Kerbalism/Kerbalism/releases",
55
"CHANGE_LOG_URL": "https://github.com/Kerbalism/Kerbalism/blob/master/CHANGELOG.md",
6-
"VERSION": {"MAJOR": 3, "MINOR": 6, "PATCH": 0, "BUILD": 0},
6+
"VERSION": {"MAJOR": 3, "MINOR": 7, "PATCH": 0, "BUILD": 0},
77
"KSP_VERSION": {"MAJOR": 1, "MINOR": 8, "PATCH": 0},
88
"KSP_VERSION_MIN": {"MAJOR": 1, "MINOR": 5, "PATCH": 0},
99
"KSP_VERSION_MAX": {"MAJOR": 1, "MINOR": 9, "PATCH": 9}

GameData/Kerbalism/VersionConfig.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The values defined here will be propagated to :
1414
Kerbalism major and minor version numbers
1515
-->
1616
<KerbalismVersionMajor>3</KerbalismVersionMajor>
17-
<KerbalismVersionMinor>6</KerbalismVersionMinor>
17+
<KerbalismVersionMinor>7</KerbalismVersionMinor>
1818
<!--
1919
Must match the `include=XXXX` of a KBinVersionConstant item,
2020
used to determine the lowest and highest supported KSP version in the Kerbalism.version KSP-AVC file.

GameData/KerbalismConfig/Settings.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Kerbalism
2222
ScienceDialog = true // keep showing the stock science dialog
2323

2424
// comms
25-
DataRateDampingExponent = 6 // stock commnet: exponent by which antenna bandwidth decreases with distance. higher value = lower bandwidth.
25+
DataRateDampingExponent = 6 // stock commnet: exponent by which antenna bandwidth decreases with distance. higher value = lower bandwidth.
2626
// systems that have been scaled up or down should change this value accordingly
27-
DataRateDampingExponentRT = 6 // same as above, but for RemoteTech
27+
DataRateDampingExponentRT = 6 // same as above, but for RemoteTech
2828
TransmitterActiveEcFactor = 1.5 // factor to the nominal ec consumption rate while antenna is active (transmitting)
29-
TransmitterPassiveEcFactor = 0.2 // factor to the nominal ec consumption rate while antenna is inactive (idle/receiving)
29+
TransmitterPassiveEcFactor = 0.04 // factor to the nominal ec consumption rate while antenna is inactive (idle/receiving)
3030
DataRateMinimumBitsPerSecond = 1.0 // as long as there is a control connection, the science data rate will never go below this.
31-
31+
3232

3333
// reliability settings
3434
QualityScale = 4.0 // scale applied to MTBF for high-quality components

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Kerbalism is a mod for Kerbal Space Program that alters the game to add life sup
88

99
### Frequently Asked Questions: [FAQ]
1010

11-
## Current version: 3.6
11+
## Current version: 3.7
1212

1313
**What's new** : [New and Noteworthy]
1414
**Download** : **[Github releases]** - **[CKAN]**

src/Kerbalism/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
//
2424
// You can specify all the values or you can use the default the Revision and
2525
// Build Numbers by using the '*' as shown below:
26-
[assembly: AssemblyVersion("3.6")]
27-
[assembly: AssemblyFileVersion("3.6")]
26+
[assembly: AssemblyVersion("3.7")]
27+
[assembly: AssemblyFileVersion("3.7")]

src/Kerbalism/System/Settings.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static void Parse()
5252
DataRateDampingExponentRT = Lib.ConfigValue(cfg, "DataRateDampingExponentRT", 6.0f);
5353
DataRateSurfaceExperiment = Lib.ConfigValue(cfg, "DataRateSurfaceExperiment", 0.3f);
5454
TransmitterActiveEcFactor = Lib.ConfigValue(cfg, "TransmitterActiveEcFactor", 1.5);
55-
TransmitterPassiveEcFactor = Lib.ConfigValue(cfg, "TransmitterPassiveEcFactor", 0.2);
55+
TransmitterPassiveEcFactor = Lib.ConfigValue(cfg, "TransmitterPassiveEcFactor", 0.04);
5656

5757
// science
5858
ScienceDialog = Lib.ConfigValue(cfg, "ScienceDialog", true);

src/Kerbalism/UI/Planner/ResourceSimulator.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -697,10 +697,10 @@ void Process_datatransmitter(ModuleDataTransmitter mdt)
697697
switch (mdt.antennaType)
698698
{
699699
case AntennaType.INTERNAL:
700-
Resource("ElectricCharge").Consume(mdt.DataResourceCost * mdt.DataRate, "communications (control)");
700+
Resource("ElectricCharge").Consume(mdt.DataResourceCost * mdt.DataRate * Settings.TransmitterPassiveEcFactor, "communications (idle)");
701701
break;
702702
default:
703-
Resource("ElectricCharge").Consume(mdt.DataResourceCost * mdt.DataRate, "communications (transmitting)");
703+
Resource("ElectricCharge").Consume(mdt.DataResourceCost * mdt.DataRate * Settings.TransmitterActiveEcFactor, "communications (transmitting)");
704704
break;
705705
}
706706
}

src/KerbalismBootstrap/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("3.6.*")]
35-
[assembly: AssemblyFileVersion("3.6")]
34+
[assembly: AssemblyVersion("3.7.*")]
35+
[assembly: AssemblyFileVersion("3.7")]

0 commit comments

Comments
 (0)