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

Add a speculative gimballess lr101 #188

Merged
merged 2 commits into from
Nov 5, 2023
Merged
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
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
}
}

Loading