Skip to content

Commit

Permalink
CLS support (again) (#136)
Browse files Browse the repository at this point in the history
Restore CLS support to ROCapsules parts
  • Loading branch information
Capkirk123 authored Dec 3, 2022
1 parent ba41d2f commit 496fb01
Show file tree
Hide file tree
Showing 42 changed files with 273 additions and 8 deletions.
6 changes: 6 additions & 0 deletions GameData/ROCapsules/PartConfigs/APAS/APAS_Active.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,10 @@ PART
endEventGUIName = Retract Docking Ring
actionGUIName = Toggle Docking Ring
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
6 changes: 5 additions & 1 deletion GameData/ROCapsules/PartConfigs/APAS/APAS_Passive.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,9 @@ PART
undockEjectionForce = 0.1 // 10
}
MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
6 changes: 6 additions & 0 deletions GameData/ROCapsules/PartConfigs/Apollo D2/D2CommandModule.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,12 @@ PART
charModuleName = shieldChar
}
MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
// ============================================================================
// Animations and Textures
// ============================================================================
Expand Down
6 changes: 6 additions & 0 deletions GameData/ROCapsules/PartConfigs/Apollo D2/D2DockDrogue.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,10 @@ PART
minDistanceToReEngage = 0.25 // 1.0
undockEjectionForce = 0.1
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
6 changes: 6 additions & 0 deletions GameData/ROCapsules/PartConfigs/Apollo D2/D2DockProbe.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,10 @@ PART
minDistanceToReEngage = 0.25 // 1.0
undockEjectionForce = 0.1
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,10 @@ PART
maxAmount = 15000
}
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,12 @@ PART
maxAmount = 15000
}
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
passable = True
}
}
6 changes: 6 additions & 0 deletions GameData/ROCapsules/PartConfigs/Apollo D2/D2Parachute.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ PART
dragModifier = 4
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}

// Heatshield specs handled by RO Heatshield pass
RESOURCE
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,10 @@ PART
actionGUIName = Toggle Probe
allowAnimationWhileShielded = False
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ PART
{
name = ModuleConnectedLivingSpace
passable = true
impassablenodes = para, para2, bottom
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
impassablenodes = para, para2
}
MODULE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,15 @@ PART
key = 0 1
}
}


MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}
}

+PART[ROC-ApolloMissionModule]:FIRST
Expand Down
4 changes: 3 additions & 1 deletion GameData/ROCapsules/PartConfigs/Apollo/ApolloCM(Dprct).cfg
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@ PART
{
name = ModuleConnectedLivingSpace
passable = true
impassablenodes = para, para2, bottom
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
impassablenodes = para, para2
}
MODULE
Expand Down
9 changes: 9 additions & 0 deletions GameData/ROCapsules/PartConfigs/CST/CSTCM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,15 @@ PART
}
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}


MODULE
{
name = ModuleFuelTanks
Expand Down
6 changes: 6 additions & 0 deletions GameData/ROCapsules/PartConfigs/CST/CSTNDSActive.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ PART
undockEjectionForce = 0.1
stagingEnabled = False
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}

@PART[ROC-CSTNDSActive]:AFTER[FerramAerospaceResearch]
Expand Down
6 changes: 6 additions & 0 deletions GameData/ROCapsules/PartConfigs/CST/CSTNDSPassive.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ PART
undockEjectionForce = 0.1
stagingEnabled = False
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}

@PART[ROC-CSTNDSPassive]:AFTER[FerramAerospaceResearch]
Expand Down
6 changes: 6 additions & 0 deletions GameData/ROCapsules/PartConfigs/CST/CSTParachute.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ PART
dragCubeName = SEMIDEPLOYED
dragModifier = 15
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}

@PART[ROC-CSTParachute]:AFTER[zzzRealismOverhaul]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ PART
cost = 1
category = Structural
subcategory = 0
CrewCapacity = 1
title = Dynasoar Aft Bay
manufacturer = Boeing
description = The aft bay and adapter for Dynasoar, containing liquid hydrogen and liquid oxygen for the fuel cells, space for extra supplies and equipment, and a crew tube. Rated for high altitude hypersonic flight, but decouple before reentry.
Expand Down Expand Up @@ -69,6 +70,14 @@ PART
toggleFlight = true
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}

MODULE
{
name = ModuleFuelTanks
Expand Down
10 changes: 10 additions & 0 deletions GameData/ROCapsules/PartConfigs/DynasoarMoroz/DynaBayMoroz.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ PART
nodeInnerAftID = rearInner
}

//Strictly this shouldn't be passable, but the crew tube mounts to the bay, so this needs to be passable for the crew tube
MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}
MODULE
{
name = ModulePartVariants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ PART

tags = X20 x-20 dynasoar equipment compartment fuel cell service aircraft dynamic soarer

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}

MODULE
{
name = ModuleFuelTanks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,14 @@ PART
}
}


MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}

MODULE
{
name = ModuleFuelTanks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ PART
}
}
MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}
//Nothing mentions a HTP tank in the nose, but there's a lot of empty space there
//And something is needed to balance out rear HTP tanks to keep CoM shift less than 0.9%
MODULE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ PART
bulkheadProfiles = mk2
tags = X20 x-20 dynasoar crew docking aircraft dynamic soarer

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}

MODULE
{
name = ModulePartVariants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,15 @@ PART
textureQuadName = flagTexture
}
MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}
MODULE
{
name = ModuleB9PartSwitch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,10 @@ PART
actionGUIName = Toggle Umbilicals
allowAnimationWhileShielded = True
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,11 @@ PART
bulkheadProfiles = size1p2, size1p5
tags = MOL MOS Gemini leo docking adapter structural ferry

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,10 @@ PART
transform = MOL_Hatch
}
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,10 @@ PART
transform = MOL_Hatch
}
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,9 @@ PART
allowAnimationWhileShielded = False
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ PART
name = crewCabinInternals
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
passableWhenSurfaceAttached = true
surfaceAttachmentsPassable = true
}

MODULE
{
name = ModuleFuelTanks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ PART
}
}

MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = True
}

RESOURCE
{
name = PSPC
Expand Down
Loading

0 comments on commit 496fb01

Please sign in to comment.