Skip to content

Commit

Permalink
Add a speculative gimballess lr101 (#188)
Browse files Browse the repository at this point in the history
* Add a speculative gimballess lr101

* lr101fixed tweaks

- rename for consistency
- fix CoM
- nicer-looking base
- a baseless variant
  • Loading branch information
lpgagnon authored Nov 5, 2023
1 parent 5fd26d7 commit 1391dad
Showing 1 changed file with 62 additions and 1 deletion.
63 changes: 62 additions & 1 deletion GameData/ROEngines/PartConfigs/LR101_BDB.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 1391dad

Please sign in to comment.