Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better docking ports #156

Merged
merged 2 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
217 changes: 217 additions & 0 deletions GameData/ROCapsules/Assets/BDB/APAS/B10_APASv2.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
//Used with permission from Benjee10
//Removed if Benjee's mods are detected, will not break crafts in such situations
PART:NEEDS[!Benjee10_sharedAssets]
{
name = B10_APASv2
module = Part
author = Benjee10

node_stack_top = 0.0, 0.159423, 0.0, 0.0, 1.0, 0.0, 1

rescaleFactor = 1
TechRequired = specializedConstruction
entryCost = 6400
cost = 280
category = Coupling
subcategory = 0
title = C-100 Androgynous Docking Mechanism
manufacturer = HabTech Consortium
description = This intermediate-sized docking mechanism is great for bringing people together.
attachRules = 1,0,1,0,0
mass = 0.06
dragModelType = default
maximum_drag = 0.25
minimum_drag = 0.25
angularDrag = 0.5
crashTolerance = 10
maxTemp = 2000 // = 3400
bulkheadProfiles = size1, srf
tags = HabTech, habitation, dock, coupler, port, ISS, station, docking port, apas, orion, redirect, shuttle
stagingIcon = DECOUPLER_VERT

MODEL
{
model = Bluedog_DB/Parts/APAS/B10_APASv2
}
scale = 1
rescaleFactor = 1

NODE
{
name = nodeBottom
transform = nodeBottom
size = 1
}

MODULE
{
name = ModuleDockingNode
referenceAttachNode = top
nodeType = B10_APAS
stagingEnabled = False
}

MODULE
{
name = ModuleAnimateGeneric
animationName = APAS_deploy
actionGUIName = Toggle Soft Capture Ring
startEventGUIName = Extend Soft Capture Ring
endEventGUIName = Retract Soft Capture Ring
}

MODULE
{
name = ModuleB9PartSwitch
moduleID = thermalCover
switcherDescription = Outer Variant
SUBTYPE
{
name = White
title = White
primaryColor = white
TEXTURE
{
texture = Bluedog_DB/Parts/APAS/APAS_01_diff
currentTexture = APAS_01_diff
transform = APAS_main_A
transform = APAS_main_B
}
}
SUBTYPE
{
name = Black
title = Black
primaryColor = black
TEXTURE
{
texture = Bluedog_DB/Parts/APAS/APAS_01_diffB
currentTexture = APAS_01_diff
transform = APAS_main_A
transform = APAS_main_B
}
}
SUBTYPE
{
name = Grey
title = Grey
primaryColor = grey
TEXTURE
{
texture = Bluedog_DB/Parts/APAS/APAS_01_diffC
currentTexture = APAS_01_diff
transform = APAS_main_A
transform = APAS_main_B
}
}
}

MODULE
{
name = ModuleB9PartSwitch
moduleID = variant2
switcherDescription = Inner Variant
SUBTYPE
{
name = White
title = White
primaryColor = white
TEXTURE
{
texture = Bluedog_DB/Parts/APAS/APAS_01_diff
currentTexture = APAS_01_diff
transform = APAS_internal
}
}
SUBTYPE
{
name = Orange
title = Orange
primaryColor = BloodOrange
TEXTURE
{
texture = Bluedog_DB/Parts/APAS/APAS_01_diffB
currentTexture = APAS_01_diff
transform = APAS_internal
}
}
SUBTYPE
{
name = Blue
title = Blue
primaryColor = Azure
TEXTURE
{
texture = Bluedog_DB/Parts/APAS/APAS_01_diffC
currentTexture = APAS_01_diff
transform = APAS_internal
}
}
}

MODULE
{
name = ModuleB9PartSwitch
moduleID = greebles
switcherDescription = Sensors
SUBTYPE
{
name = On
title = On
primaryColor = white
secondaryColor = grey
transform = APAS_main_A
}
SUBTYPE
{
name = Off
title = Off
primaryColor = black
secondaryColor = grey
transform = APAS_main_B
}
}

MODULE
{
name = ModuleB9PartSwitch
moduleID = hatch
switcherDescription = Hatch
SUBTYPE
{
name = white
title = White
primaryColor = white
transform = APAS_hatch
TEXTURE
{
texture = Bluedog_DB/Parts/APAS/APAS_hatch_diff
currentTexture = APAS_hatch_diff
transform = APAS_hatch
}
}
SUBTYPE
{
name = orange
title = Orange
primaryColor = BloodOrange
transform = APAS_hatch
TEXTURE
{
texture = Bluedog_DB/Parts/APAS/APAS_hatch_diffB
currentTexture = APAS_hatch_diff
transform = APAS_hatch
}
}
SUBTYPE
{
name = Off
title = Off
primaryColor = black
secondaryColor = grey
}
}



}
Binary file added GameData/ROCapsules/Assets/BDB/APAS/B10_APASv2.mu
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
19 changes: 19 additions & 0 deletions GameData/ROCapsules/Localization/en-us.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ Localization
// Generic
// ============================================================================

// ============================================================================
// BDB APAS
// ============================================================================
// ROC-APAS8995Av2
#rocAPAS8995ATitle = APAS 89/95 Active Docking Port
#rocAPAS8995ADesc = Androgynous Peripheral Attach System developed for the Shuttle-Mir program and ISS. This is the active variant, with a deployable capture ring to align the ports and dampen the impact.
// ============================================================================
// ROC-APAS8995Av2
#rocAPAS8995PTitle = APAS 89/95 Passive Docking Port
#rocAPAS8995PDesc = Androgynous Peripheral Attach System developed for the Shuttle-Mir program and ISS. This is the passive variant, useful for permanent fixtures that won't have to form the active docking partner, such as berthing ports on station modules.

// ============================================================================
// DECQ Apollo
// ============================================================================
Expand Down Expand Up @@ -100,6 +111,14 @@ Localization
// ============================================================================
// BDB Apollo Block 3+
// ============================================================================
// ROC-ApolloCADSActive
#rocApolloCADSActiveTitle = Apollo Block IV CADS Active Docking Port
#rocApolloCADSActiveDesc = Common Androgynous Docking Port. Developed to eliminate the limitations of the gendered Apollo docking system, as well as provide a larger passageway for delivering cargo. Equipped with a deployable capture ring to dampen impact. Permanent station ports can use the passive version, which is simpler and lighter.
// ============================================================================
// ROC-ApolloCADSPassive
#rocApolloCADSPassiveTitle = Apollo Block IV CADS Passive Docking Port
#rocApolloCADSPassiveDesc = Common Androgynous Docking Port. Developed to eliminate the limitations of the gendered Apollo docking system, as well as provide a larger passageway for delivering cargo. Equipped with a deployable capture ring to dampen impact. Permanent station ports can use the passive version, which is simpler and lighter.
// ============================================================================
// ROC-ApolloCMBDBBlockIII
#rocApolloCMBDBBlockIIIDesc = Significant changes were made to better adapt Apollo to its new role as a crew shuttle for LEO, and the internal volume was modified to fit 5 crew for reentry. Be sure to bring extra living space by attaching the Mission Module to dock with after orbiting. By only using the Command Module, you will have resources for 5 crew for 72 hours. FICTIONAL (Eyes Turned Skyward)
#rocApolloCMBDBBlockIIITitle = Apollo Block III+ Command Module (CM)
Expand Down
5 changes: 3 additions & 2 deletions GameData/ROCapsules/PartConfigs/APAS/APAS_Active.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ PART
attachRules = 1,0,1,0,1

RSSROConfig = True
RODeprecated = True //replaced by Benjee10 APAS model

TechRequired = standardDockingPorts
entryCost = 2000
cost = 3500
category = Coupling
subcategory = 0
title = APAS 89/95 Active Docking Port
title = APAS 89/95 Active Docking Port (Deprecated)
manufacturer = RKK Energia
description = Androgynous Peripheral Attach System developed for the Shuttle-Mir program and ISS. This is the active variant, with a deployable capture ring to align the ports and dampen the impact.
description = Please do not use this part, it will be removed in the future.

// --- standard part parameters ---
mass = 0.286
Expand Down
Loading