DRVeyl / RealAntennas

KSP Mod to add better antenna / link calculations to CommNet.
29 stars 22 forks source link

No power loss from data transfer. #80

Closed Aebestach closed 1 year ago

Aebestach commented 2 years ago

Hi, when I played in the original environment I found that transferring research data did not consume power. video

Aebestach commented 2 years ago

I tried it in RSS and found the same lack of power consumption. Is this the way the mod is set up?

DRVeyl commented 2 years ago

Probably working as intended. Looking in the PAW, you see Idle power draw of 11.7W and active of 13.9W. 1W is configured as 0.001EC/s. You're always paying the idle cost, and the displayed active cost is total, not in addition. It is likely charging you, it's just rounding error compared to other things going on.

It would be more noticable at lower tech levels. I assume you're in sandbox, so you're at the maximum tech level, and you haven't had to turn the antenna's power up. The balance for stock is way off. The balance for RSS+RO is where I have supporting documentation.

Aebestach commented 2 years ago

I understand, thank you.

Aebestach commented 1 year ago

Hi, I would like to ask, if I want to change this 0.001, do I change it in the source code or do I need to change the cfg file?

DRVeyl commented 1 year ago

In cfg. The TechLevel data starts here: https://github.com/DRVeyl/RealAntennas/blob/master/GameData/RealAntennas/RealAntennasCommNetParams.cfg#L100

Of course, strongly recommend you use ModuleManager patching rather than trying to edit the files as shipped.

@RealAntennasCommNetParams:FINAL
{
  @TechLevelInfo[TL9]
  {
    @BasePower = 1
  }
}
Aebestach commented 1 year ago

thanks