From c8b46f394b6b2e05a30dbc9177cb02d75bba4d7e Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Fri, 25 Dec 2020 01:45:06 -0800 Subject: [PATCH] Add rotated HG-20 --- .../Communication/restock-relay-radial-2.cfg | 4 +- .../restock-relay-radial-2_v2.cfg | 124 ++++++++++++++++++ Distribution/RestockPlus/changelog.txt | 2 + 3 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2_v2.cfg diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2.cfg index 1b3f4836..7fbe590a 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2.cfg @@ -1,4 +1,5 @@ // 4x radial relay antenna +// NOTE: Soft-deprecated as of KSP 1.11 update PART { name = restock-relay-radial-2 @@ -16,7 +17,8 @@ PART TechRequired = electrics entryCost = 2000 cost = 1000 - category = Communication + category = none + TechHidden = True title = #LOC_RestockPlus_restock-relay-radial-2_title //HG-20 High Gain Antenna manufacturer = #autoLOC_501635 //#autoLOC_501635 = Ionic Symphonic Protonic Electronics description = #LOC_RestockPlus_restock-relay-radial-2_description diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2_v2.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2_v2.cfg new file mode 100644 index 00000000..47f9ccff --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Communication/restock-relay-radial-2_v2.cfg @@ -0,0 +1,124 @@ +// 4x radial relay antenna +PART +{ + name = restock-relay-radial-2_v2 + module = Part + author = Andrew Cassidy + MODEL + { + model = ReStock/Assets/Communication/restock-relay-radial-2 + rotation = 0, 90, 0 + } + rescaleFactor = 1.0 + // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision + attachRules = 1,1,0,0,0 + node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0 + node_stack_bottom = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0 + TechRequired = electrics + entryCost = 2000 + cost = 1000 + category = Communication + title = #LOC_RestockPlus_restock-relay-radial-2_title //HG-20 High Gain Antenna + manufacturer = #autoLOC_501635 //#autoLOC_501635 = Ionic Symphonic Protonic Electronics + description = #LOC_RestockPlus_restock-relay-radial-2_description + // A longer range version of the HG-5 that can handle either direct communications or short range relays, using 4 different dishes. + mass = 0.18 + dragModelType = default + maximum_drag = 0.3 + minimum_drag = 0.3 + angularDrag = 1 + crashTolerance = 8 + maxTemp = 2000 + vesselType = Relay + bulkheadProfiles = srf + tags = #LOC_RestockPlus_restock-relay-radial-2_tags + MODULE + { + name = ModuleDeployableAntenna + showStatus = false + isTracking = false + pivotName = lower pivot + windResistance = 1 + animationName = Deploy + extendActionName = #autoLOC_6002398 //#autoLOC_6002398 = Extend <<1>> + retractActionName = #autoLOC_6002399 //#autoLOC_6002399 = Retract <<1>> + extendpanelsActionName = #autoLOC_6002400 //#autoLOC_6002400 = Toggle <<1>> + } + MODULE + { + name = ModuleDataTransmitter + antennaType = RELAY + packetInterval = 0.35 + packetSize = 2 + packetResourceCost = 40.0 + requiredResource = ElectricCharge + DeployFxModules = 0 + antennaPower = 20000000 + antennaCombinable = True + } + MODULE + { + name = ModulePartVariants + baseVariant = Radial + VARIANT + { + name = Radial + displayName = #LOC_Restock_variant-antenna_radial + themeName = White + primaryColor = #ffffff + secondaryColor = #707070 + GAMEOBJECTS + { + arm_radial = true + arm_radial_reverse = false + arm_axial = false + arm_axial_reverse = false + } + } + VARIANT + { + name = Radial_Reverse + displayName = #LOC_Restock_variant-antenna_radial_reverse + themeName = White + primaryColor = #ffffff + secondaryColor = #707070 + GAMEOBJECTS + { + arm_radial = false + arm_radial_reverse = true + arm_axial = false + arm_axial_reverse = false + } + } + VARIANT + { + name = Axial + displayName = #LOC_Restock_variant-antenna_axial + themeName = White + primaryColor = #ffffff + secondaryColor = #707070 + GAMEOBJECTS + { + arm_radial = false + arm_radial_reverse = false + arm_axial = true + arm_axial_reverse = false + } + } + VARIANT + { + name = Axial_Reverse + displayName = #LOC_Restock_variant-antenna_axial_reverse + themeName = White + primaryColor = #ffffff + secondaryColor = #707070 + GAMEOBJECTS + { + arm_radial = false + arm_radial_reverse = false + arm_axial = false + arm_axial_reverse = true + } + } + } +} diff --git a/Distribution/RestockPlus/changelog.txt b/Distribution/RestockPlus/changelog.txt index 6ec6f67b..4d979f85 100644 --- a/Distribution/RestockPlus/changelog.txt +++ b/Distribution/RestockPlus/changelog.txt @@ -2,6 +2,8 @@ v1.3.0 ------ - New Engine parts - Launch Escape System Jr. (Andrew Cassidy): 0.625m Escape Tower with white and red/black variants. +- Bugfixes and tweaks + - Added a new version of the HG-20 High Gain Antenna matching the orientation of the stock HG-5. The old version has been soft-deprecated. v1.2.2 ------