Skip to content

Commit 8fd1716

Browse files
committedJun 9, 2017
Support thrust offset (for engines where some models have verniers and others don't). See especially RD-107/8. @PhineasFreak and @SirKeplan you two do the most global configs yes?
1 parent 18c7385 commit 8fd1716

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
 

‎GameData/RealismOverhaul/Engine_Configs/EngineVariants_Config.cfg

+19
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,24 @@
5151
}
5252
}
5353

54+
// ==================================================
55+
// For engines with verniers where we default to
56+
// configuring one way (e.g. has them) but this one
57+
// lacks them, or vice versa.
58+
// ==================================================
59+
60+
@PART[*]:HAS[#thrustOffset[*]]:AFTER[RealismOverhaulEngines]
61+
{
62+
@MODULE[ModuleEngineConfigs]
63+
{
64+
@CONFIG,*
65+
{
66+
@minThrust += #$../../thrustOffset$
67+
@minThrust += #$../../thrustOffset$
68+
}
69+
}
70+
}
71+
5472
// ==================================================
5573
// Deletes origmass if ignoreMass field is found, use
5674
// it to avoid the engine changing the mass of a part.
@@ -91,5 +109,6 @@
91109
!minActiveEngines = NULL
92110
!useVerniers = NULL
93111
!massOffset = NULL
112+
!thrustOffset = NULL
94113
!ignoreMass = NULL
95114
}

6 commit comments

Comments
 (6)

PhineasFreak commented on Jun 9, 2017

@PhineasFreak
Contributor

Doesn't the useVerniers parameter already take care of that?

NathanKell commented on Jun 9, 2017

@NathanKell
MemberAuthor

Oh tarnation, did I miss an addition and duplicate work? What I get for checking out :D

NathanKell commented on Jun 9, 2017

@NathanKell
MemberAuthor

Also I have typos anyway. Blergh.

NathanKell commented on Jun 9, 2017

@NathanKell
MemberAuthor

Yep, totally a dupe. Removing.

PhineasFreak commented on Jun 9, 2017

@PhineasFreak
Contributor

BTW, something that has been bothering me: the RD-108 engine is specified with a rated VAC thrust of 918 kN. Does this value include the thrust of the verniers (rated VAC thrust of ~38 kN - 152 kN for all 4)? Most sources just reference the value for the "RD-108" and not separately.

I know that they reference the thrust for the complete package but does this package include the verniers? They are separate engines after all.

NathanKell commented on Jun 9, 2017

@NathanKell
MemberAuthor
Please sign in to comment.