Skip to content

Commit

Permalink
Added RemoteTech integration
Browse files Browse the repository at this point in the history
  • Loading branch information
JDPKSP committed Jan 11, 2015
1 parent fe83750 commit b9c2d8a
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ mesh = model.mu
scale = 1

// --- editor parameters ---
TechRequired = advFlightControl
TechRequired = supersonicFlight
entryCost = 3000
cost = 500
category = Aero
Expand Down
41 changes: 39 additions & 2 deletions GameData/ADVAeronautics/Parts/AeroProbe/AeroProbe_Body/part.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ node_stack_back = 0.0, -1.314055, 0.1144938, 0,0,-1, 0
node_attach = 0.00, 0.00, 0.4982136, 0,0,-1

// --- editor parameters ---
TechRequired = advFlightControl
TechRequired = supersonicFlight
entryCost = 7600
cost = 3800
category = Pods
Expand Down Expand Up @@ -232,6 +232,43 @@ MODULE
MaxDragMinMax = 0,4
MinDragMinMax = 0,4
}
}

// ----- DO NOT EDIT BELOW THIS POINT ------
//In case RemoteTech is installed, RT functionality is added.
@PART[RT_Satellite_AeroProbe]:HAS[!MODULE[ModuleSPU]]:NEEDS[RemoteTech]
{
!MODULE[ModuleDataTransmitter] {}

@MODULE[ModuleAnimateGeneric]
{
%allowManualControl = false
}

%MODULE[ModuleRTAntenna] {
%Mode0OmniRange = 0
%Mode1OmniRange = 2500000
%EnergyCost = 0.13

%DeployFxModules = 0

%TRANSMITTER {
%PacketInterval = 0.3
%PacketSize = 2
%PacketResourceCost = 15.0
}
}

%MODULE[ModuleSPU] {
}

%MODULE[ModuleRTAntennaPassive] {
%TechRequired = unmannedTech
%OmniRange = 3000

%TRANSMITTER {
%PacketInterval = 0.3
%PacketSize = 2
%PacketResourceCost = 15.0
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ mesh = model.mu
scale = 1

// --- editor parameters ---
TechRequired = advFlightControl
TechRequired = supersonicFlight
entryCost = 3000
cost = 500
category = Aero
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ scale = 1


// --- editor parameters ---
TechRequired = advFlightControl
TechRequired = supersonicFlight
entryCost = 3800
cost = 1000
category = Aero
Expand Down
41 changes: 40 additions & 1 deletion GameData/ADVAeronautics/Parts/MicroSat/part.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ node_attach = 0.00, 0.00, 0.25, 0,0,-1

entryCost = 4000
cost = 500
TechRequired = unmannedTech
category = Science
subcategory = 0
title = RemoteTech MicroSat
Expand Down Expand Up @@ -180,4 +181,42 @@ MODULE
explosiveNodeID = srf
staged = False
}
}
}

//In case RemoteTech is installed, RT functionality is added.
@PART[RemoteTechMicroSat]:HAS[!MODULE[ModuleSPU]]:NEEDS[RemoteTech]
{
!MODULE[ModuleDataTransmitter] {}

@MODULE[ModuleAnimateGeneric]
{
%allowManualControl = false
}

%MODULE[ModuleRTAntenna] {
%Mode0OmniRange = 0
%Mode1OmniRange = 2500000
%EnergyCost = 0.13

%DeployFxModules = 0

%TRANSMITTER {
%PacketInterval = 0.3
%PacketSize = 2
%PacketResourceCost = 15.0
}
}

%MODULE[ModuleSPU] {
}

%MODULE[ModuleRTAntennaPassive] {
%OmniRange = 3000

%TRANSMITTER {
%PacketInterval = 0.3
%PacketSize = 2
%PacketResourceCost = 15.0
}
}
}

0 comments on commit b9c2d8a

Please sign in to comment.