Skip to content

Commit b01d0a7

Browse files
committed
Fix #516: add missing bottom hatch to vertical hub node from planetside
1 parent e3235e3 commit b01d0a7

9 files changed

Lines changed: 44 additions & 2 deletions

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* Add support for ReStockPlus spherical pod parts when Making History is not installed
2828
* Fix incorrect part name for orbital engine cluster from Near Future Spacecraft
2929
* Fix issues with B9PSConditionalProp when applied to hatches. Props are now deleted instead of deactivated if their subtype is not active.
30+
* Add missing bottom hatch to vertical hub node from Planetside
3031

3132

3233
## 0.2.20.2 - 2025-10-24

GameData/FreeIva/MMSEV/Configs/base_node_vertical.cfg

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,47 @@
110110
}
111111
}
112112

113+
// Add bottom hatch if it appears to be missing
114+
@INTERNAL[Benjee10_MMSEV_base_node_vertical_IVA]:HAS[!PROP[htProps_HatchCBM]:HAS[@MODULE[HatchConfig]:HAS[#attachNodeId[node_stack_bottom]]]]:FOR[FreeIva]
115+
{
116+
PROP
117+
{
118+
name = htProps_HatchCBM
119+
position = 0, 0, 0.624999762
120+
rotation = 0.707106888, 0, 0, -0.70710665
121+
MODULE
122+
{
123+
name = HatchConfig
124+
attachNodeId = node_stack_bottom
125+
cutoutTargetTransformName = Circle.009
126+
airlockName = hatchBottomA
127+
}
128+
129+
MODULE
130+
{
131+
name = B9PSConditionalProp
132+
moduleID = bottom
133+
subtype = Bare
134+
}
135+
}
136+
137+
// copy the hatch and configure it for the other airlock
138+
+PROP[htProps_HatchCBM]:HAS[@MODULE[B9PSConditionalProp]:HAS[#moduleID[bottom]]]
139+
{
140+
@MODULE[HatchConfig]
141+
{
142+
@airlockName = hatchBottomB
143+
-cutoutTargetTransformName = // remove the cutout so it doesn't happen twice
144+
}
145+
146+
@MODULE[B9PSConditionalProp]
147+
{
148+
@subtype = Endcap
149+
subtype = EndcapB
150+
}
151+
}
152+
}
153+
113154
// set up the base internal with some common defaults
114155
@INTERNAL[Benjee10_MMSEV_base_node_vertical_IVA]:HAS[!MODULE[InternalModuleFreeIva]]:FOR[FreeIva]
115156
{
@@ -184,7 +225,7 @@
184225
}
185226
186227
// the partswitch for the top node has different airlocks
187-
@PROP[htProps_HatchCBM]
228+
@PROP[htProps_HatchCBM]:HAS[!MODULE[HatchConfig]]
188229
{
189230
MODULE
190231
{
@@ -203,7 +244,7 @@
203244
}
204245
205246
// copy the hatch and configure it for the other airlock
206-
+PROP[htProps_HatchCBM]
247+
+PROP[htProps_HatchCBM]:HAS[@MODULE[B9PSConditionalProp]:HAS[#moduleID[top]]]
207248
{
208249
@MODULE[HatchConfig]
209250
{
120 Bytes
Binary file not shown.
120 Bytes
Binary file not shown.
120 Bytes
Binary file not shown.
120 Bytes
Binary file not shown.
120 Bytes
Binary file not shown.
120 Bytes
Binary file not shown.
-482 KB
Binary file not shown.

0 commit comments

Comments
 (0)