Skip to content

Instantly share code, notes, and snippets.

@Kerbas-ad-astra
Created December 4, 2014 19:02
Show Gist options
  • Save Kerbas-ad-astra/5b99ab9e8fbcc8918c4f to your computer and use it in GitHub Desktop.
Save Kerbas-ad-astra/5b99ab9e8fbcc8918c4f to your computer and use it in GitHub Desktop.
@PART[US_R200_EVA_EVAX]:FOR[AntennaRange]{
%MODULE[ModuleLimitedDataTransmitter] {
name = ModuleLimitedDataTransmitter
nominalRange = 5000
maxPowerFactor = 8
maxDataFactor = 4
packetInterval = 0.3
packetSize = 1
packetResourceCost = 3.0
requiredResource = ElectricCharge
}
}
@toadicus
Copy link

toadicus commented Dec 4, 2014

You don't need the "%" operator or the [ModuleLimitedDataTransmitter] specifier on the MODULE node, unless you're assuming that someone else has added a ModuleLimitedDataTransmitter during a previous MM pass. You should be good to just specify a bare MODULE node ala any old part file inside your @part[...] {} node.

Where does this get its ElectricCharge? Are you using TACLS or a similar mod that adds ElectricCharge to EVAs? Is that a safe assumption?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment