Skip to content

Commit

Permalink
Added RA support for three mods
Browse files Browse the repository at this point in the history
Add support for RA to HabTech2, Tantares, TantaresSP. The author of Tantares suggested that I submit it here 
Tantares/Tantares#123 (comment)
  • Loading branch information
Aebestach authored Aug 15, 2024
1 parent d8e6dda commit 6811436
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 0 deletions.
34 changes: 34 additions & 0 deletions GameData/RealAntennas/Parts/HabTech2.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// FR-1 Deployable UHF Antenna
@PART[ht2_UHF_antenna]:NEEDS[HabTech2]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 1.0 }
}

// IP-W Wireless External Transceiver Assembly (WETA)
@PART[ht2_WETA]:NEEDS[HabTech2]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 1.5 }
}

// SG-A5 Relay Antenna
@PART[ht2_SGANT_dish]:NEEDS[HabTech2]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 2.85 }
}

// IP-SB S-band Antenna
@PART[ht2_S-band]:NEEDS[HabTech2]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 1.8 }
}

// J-ICS Inter-orbit Communication System
@PART[ht2_JEM_ICS]:NEEDS[HabTech2]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 2.0 }
}
83 changes: 83 additions & 0 deletions GameData/RealAntennas/Parts/Tantares.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
// Aquila Low Gain Antenna A||Aquila Low Gain Antenna B
@PART[aquila_low_gain_antenna_srf_1|aquila_low_gain_antenna_srf_2]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 1.0 }
}

// Atria High Gain Antenna (Fixed)||Atria High Gain Antenna (Folding)||Atria High Gain Antenna (Extending)
@PART[atria_high_gain_antenna_srf_1|atria_high_gain_antenna_srf_2|atria_high_gain_antenna_srf_3]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna]{ %antennaDiameter = 0.8}
}

// Atria Low Gain Antenna (Fixed)||Atria Low Gain Antenna (Folding)||Atria Low Gain Antenna (Extending)
@PART[atria_low_gain_antenna_srf_1|atria_low_gain_antenna_srf_2|atria_low_gain_antenna_srf_3]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 1.0 }
}

// Lepus High Gain Antenna (Fixed)||Lepus High Gain Antenna (Folding)
@PART[lepus_high_gain_antenna_srf_1|lepus_high_gain_antenna_srf_2]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 1.0 }
}

// Lepus Low Gain Antenna (Fixed)||Lepus Low Gain Antenna (Folding)
@PART[lepus_low_gain_antenna_srf_1|lepus_low_gain_antenna_srf_2]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 1.0 }
}

// Vela High Gain Antenna
@PART[vela_high_gain_antenna_srf_1]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 1.0 }
}

// Eridani Low Gain Antenna A||Eridani Low Gain Antenna B
@PART[eridani_low_gain_antenna_srf_1|eridani_low_gain_antenna_srf_2]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 1.0 }
}

// Eridani High Gain Antenna
@PART[eridani_high_gain_antenna_srf_1]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 0.8 }
}

// Atria-Octans Basic High Gain Antenna
@PART[octans_basic_high_gain_antenna_srf_2]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 0.5 }
}

// Octans High Gain Antenna A||Octans High Gain Antenna B
@PART[octans_high_gain_antenna_srf_1|octans_high_gain_antenna_srf_2]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 1.5 }
}

// Octans Whip Antenna A||Octans Whip Antenna B
@PART[octans_whip_antenna_srf_1|octans_whip_antenna_srf_2]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 0.5 }
}

// Andromeda Low Gain Antenna
@PART[andromeda_low_gain_antenna_srf_1]:NEEDS[Tantares]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 0.8 }
}
55 changes: 55 additions & 0 deletions GameData/RealAntennas/Parts/TantaresSP.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Opal High Gain Antenna
@PART[1mv_high_gain_antenna_srf_1]:NEEDS[TantaresSP]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 2.0 }
}

// Beryl High Gain Antenna
@PART[3mv_high_gain_antenna_srf_1]:NEEDS[TantaresSP]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 2.5 }
}

// Amethyst High Gain Antenna
@PART[4mv_v_high_gain_antenna_srf_1]:NEEDS[TantaresSP]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 1.8 }
}

// Quartz Low Gain Antenna
@PART[ye2a_low_gain_antenna_srf_1]:NEEDS[TantaresSP]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 0.8 }
}

// Quartz Low Gain Ribbon Antenna
@PART[ye2a_low_gain_ribbon_antenna_srf_1]:NEEDS[TantaresSP]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 2.0 }
}

// Emerald High Gain Antenna
@PART[ye8_high_gain_antenna_srf_2]:NEEDS[TantaresSP]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 1.85 }
}

// Emerald Low Gain Antenna A||Emerald Low Gain Antenna B||Emerald Low Gain Antenna C
@PART[ye8_low_gain_antenna_srf_1|ye8_low_gain_antenna_srf_2|ye8_low_gain_antenna_srf_3]:NEEDS[TantaresSP]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %referenceGain = 1.0 }
}

// Pearl Size 0 High Gain Antenna
@PART[1f_high_gain_antenna_s0_1]:NEEDS[TantaresSP]:FOR[RealAntennas]
{
!MODULE[ModuleDataTransmitter] {}
%MODULE[ModuleRealAntenna] { %antennaDiameter = 1.25 }
}

0 comments on commit 6811436

Please sign in to comment.