From 1391dad7a07630c8147f82c1d49c3c65707deced Mon Sep 17 00:00:00 2001 From: Louis-Philippe Gagnon Date: Sun, 5 Nov 2023 01:44:08 -0500 Subject: [PATCH] Add a speculative gimballess lr101 (#188) * Add a speculative gimballess lr101 * lr101fixed tweaks - rename for consistency - fix CoM - nicer-looking base - a baseless variant --- GameData/ROEngines/PartConfigs/LR101_BDB.cfg | 63 +++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/GameData/ROEngines/PartConfigs/LR101_BDB.cfg b/GameData/ROEngines/PartConfigs/LR101_BDB.cfg index 07d06949..f88a4226 100644 --- a/GameData/ROEngines/PartConfigs/LR101_BDB.cfg +++ b/GameData/ROEngines/PartConfigs/LR101_BDB.cfg @@ -164,10 +164,71 @@ PART } } -@PART[ROE-LR101Inline|ROE-LR101]:AFTER[FerramAerospaceResearch] + + ++PART[ROE-LR101Inline]:FIRST +{ + // A LR101 without gimbal assembly. + @name = ROE-LR101Fixed + %specLevel = speculative # was never actually used this way? + + // http://heroicrelics.org/info/lr-101/lr-101.html + // > The LR-101's thrust chamber weighed only about 15 pounds; in its -NA-15 configuration, the mount + // > and bearing assembly added another 27 pounds. + // + // Let's assume that's optimistic and take away 9kg, not 12. It still needs _some_ sort of mount + // Actual mass ends up between 15kg (-na-3) and 12kg (-na-15) + %massOffset = -0.009 + + // model's CoM is up in the base, which would leave it floating above this part + CoMOffset = 0.0, -0.3, 0.0 + + // hide gimbal assembly, hide base or move it down (player's choice!), + // move top node down to close the gap + @node_stack_top = 0.0, -0.169, 0.0, 0.0, 1.0, 0.0, 1 + MODULE + { + name = ModuleB9DisableTransform + transform = YawGimbalMesh + } + MODULE + { + name = ModuleB9PartSwitch + moduleID = moveTheBase + SUBTYPE + { + name = Default + transform = Base + TRANSFORM + { + name = Base + // move base down since the gimbal is gone + positionOffset = 0.0, -0.22, 0.0 + // and stretch it to cover some piping gaps, since the pipes don't have their own transform to delete them + scaleOffset = 0.75, 1.8, 0.75 + } + } + SUBTYPE + { + // maybe someone will prefer the ugly pipes. this variant will just hide the base + name = Bare + } + } +} + +@PART[ROE-LR101Fixed]:AFTER[RealismOverhaulEngines] +{ + @title ^= :$: (fixed): + @description ^= :$: This lighter version lacks a gimbal assembly.: + !MODULE[ModuleGimbal] {} +} + + +@PART[ROE-LR101Inline|ROE-LR101|ROE-LR101Fixed]:AFTER[FerramAerospaceResearch] { @MODULE[GeometryPartModule] { %forceUseColliders = True } } +