Skip to content

Commit 1391dad

Browse files
authored
Add a speculative gimballess lr101 (#188)
* Add a speculative gimballess lr101 * lr101fixed tweaks - rename for consistency - fix CoM - nicer-looking base - a baseless variant
1 parent 5fd26d7 commit 1391dad

File tree

1 file changed

+62
-1
lines changed

1 file changed

+62
-1
lines changed

GameData/ROEngines/PartConfigs/LR101_BDB.cfg

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,71 @@ PART
164164
}
165165
}
166166

167-
@PART[ROE-LR101Inline|ROE-LR101]:AFTER[FerramAerospaceResearch]
167+
168+
169+
+PART[ROE-LR101Inline]:FIRST
170+
{
171+
// A LR101 without gimbal assembly.
172+
@name = ROE-LR101Fixed
173+
%specLevel = speculative # was never actually used this way?
174+
175+
// http://heroicrelics.org/info/lr-101/lr-101.html
176+
// > The LR-101's thrust chamber weighed only about 15 pounds; in its -NA-15 configuration, the mount
177+
// > and bearing assembly added another 27 pounds.
178+
//
179+
// Let's assume that's optimistic and take away 9kg, not 12. It still needs _some_ sort of mount
180+
// Actual mass ends up between 15kg (-na-3) and 12kg (-na-15)
181+
%massOffset = -0.009
182+
183+
// model's CoM is up in the base, which would leave it floating above this part
184+
CoMOffset = 0.0, -0.3, 0.0
185+
186+
// hide gimbal assembly, hide base or move it down (player's choice!),
187+
// move top node down to close the gap
188+
@node_stack_top = 0.0, -0.169, 0.0, 0.0, 1.0, 0.0, 1
189+
MODULE
190+
{
191+
name = ModuleB9DisableTransform
192+
transform = YawGimbalMesh
193+
}
194+
MODULE
195+
{
196+
name = ModuleB9PartSwitch
197+
moduleID = moveTheBase
198+
SUBTYPE
199+
{
200+
name = Default
201+
transform = Base
202+
TRANSFORM
203+
{
204+
name = Base
205+
// move base down since the gimbal is gone
206+
positionOffset = 0.0, -0.22, 0.0
207+
// and stretch it to cover some piping gaps, since the pipes don't have their own transform to delete them
208+
scaleOffset = 0.75, 1.8, 0.75
209+
}
210+
}
211+
SUBTYPE
212+
{
213+
// maybe someone will prefer the ugly pipes. this variant will just hide the base
214+
name = Bare
215+
}
216+
}
217+
}
218+
219+
@PART[ROE-LR101Fixed]:AFTER[RealismOverhaulEngines]
220+
{
221+
@title ^= :$: (fixed):
222+
@description ^= :$: This lighter version lacks a gimbal assembly.:
223+
!MODULE[ModuleGimbal] {}
224+
}
225+
226+
227+
@PART[ROE-LR101Inline|ROE-LR101|ROE-LR101Fixed]:AFTER[FerramAerospaceResearch]
168228
{
169229
@MODULE[GeometryPartModule]
170230
{
171231
%forceUseColliders = True
172232
}
173233
}
234+

0 commit comments

Comments
 (0)