Skip to content
Merged
Show file tree
Hide file tree
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions GameData/ROEngines/Compatibility/ROE-TexturesUnlimited.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ KSP_MODEL_SHADER:NEEDS[!zzz_Deferred]
model = ROEngines/Assets/BDB/Titan/bluedog_LR87_11
model = ROEngines/Assets/BDB/Titan/bluedog_LR87_11_Single
model = ROEngines/Assets/BDB/Titan/bluedog_LR87_11_Vac
model = ROEngines/Assets/BDB/Titan/bluedog_LR91_3
model = ROEngines/Assets/BDB/Titan/bluedog_LR91_5
model = ROEngines/Assets/BDB/Titan/bluedog_LR91_11
model = ROEngines/Assets/BDB/Titan/bluedog_LR91_3_SingleVernier
model = ROEngines/Assets/BDB/Titan/bluedog_LR91_5_FourVernier
model = ROEngines/Assets/BDB/Titan/bluedog_LR91_11_FourVernier
model = ROEngines/Assets/BDB/Titan/bluedog_LR87_LH2_SL
model = ROEngines/Assets/BDB/Titan/bluedog_LR87_LH2_V

Expand Down
232 changes: 232 additions & 0 deletions GameData/ROEngines/PartConfigs/LR91_4V_BDB.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
PART
{
module = Part
name = ROE-LR91-4V
author = Cobaltwolf, Pap

ROESetEngineDefaults = LIQUID_ENGINE

// ============================================================================
// Update Below
// ============================================================================

MODEL
{
model = ROEngines/Assets/BDB/Titan/bluedog_LR91_3
}
MODEL
{
model = ROEngines/Assets/BDB/Titan/bluedog_LR91_5_FourVernier
}
MODEL
{
model = ROEngines/Assets/BDB/Titan/bluedog_LR91_11_FourVernier
}

scale = 1.0
rescaleFactor = 1.6
node_stack_top = 0.0, 0.6379, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -0.8625, 0.0, 0.0, -1.0, 0.0, 2

node_stack_interstage = 0.0, 0.3716, 0.0, 0.0, -1.0, 0.0, 2
// stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0

title = LR91 Series (4 Vernier)
manufacturer = Aerojet
description = The LR91 powered the second stage of Titan launchers. Exhaust from the gas generator provided roll control.

tags = titan, lr91, lr-91, lr, 91

engineType = LR91

MODULE
{
name = ModuleEnginesRF

THRUST_TRANSFORM
{
name = thrustTransform
multiplier = 0.99135
}

THRUST_TRANSFORM
{
name = vernierTransform
multiplier = 0.0021625 //one quarter the thrust of the single vernier?
}
}

MODULE
{
name = ModuleGimbal
gimbalTransformName = gimbalTransform
}

MODULE
{
name = ModuleSurfaceFX
thrustProviderModuleIndex = 0
fxMax = 0.8
maxDistance = 80
falloff = 2
thrustTransformName = thrustTransform
}

MODULE
{
name = ModuleB9DisableTransform
transform = Titan1
transform = Titan2
transform = Titan3
transform = fairing
transform = Fairing
transform = Shroud_1p5m
transform = Shroud_1p875m
}

MODULE
{
name = ModuleB9PartSwitch
moduleID = nozzle
switcherDescription = Nozzle
switcherDescriptionPlural = Nozzles (auto-switched)
affectDragCubes = True
affectFARVoxels = True
SUBTYPE
{
name = AJ3
transform = ROEngines/Assets/BDB/Titan/bluedog_LR91_3(Clone)
NODE
{
name = bottom
position = 0.0, -0.8344, 0.0
}
}
SUBTYPE
{
name = AJ5
transform = ROEngines/Assets/BDB/Titan/bluedog_LR91_5_FourVernier(Clone)
}
SUBTYPE
{
name = AJ11
transform = ROEngines/Assets/BDB/Titan/bluedog_LR91_11_FourVernier(Clone)
NODE
{
name = bottom
position = 0.0, -0.9625, 0.0
}
}
}

MODULE
{
name = FXModuleLookAtConstraint

CONSTRAINLOOKFX
{
targetName = pivot_1_Upper
rotatorsName = pivot_1_Lower
}
CONSTRAINLOOKFX
{
targetName = pivot_1_Lower
rotatorsName = pivot_1_Upper
}
CONSTRAINLOOKFX
{
targetName = pivot_2_Upper
rotatorsName = pivot_2_Lower
}
CONSTRAINLOOKFX
{
targetName = pivot_2_Lower
rotatorsName = pivot_2_Upper
}
}

MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}

MODULE
{
name = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _TintColor
includedRenderer = innerGlow
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 0
key = 1 1
}
greenCurve
{
key = 0 0
key = 1 1
}
blueCurve
{
key = 0 0
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
}
// Add the vernier Gimbal afterwards so it is not affected by the global config
@PART[ROE-LR91-4V]:AFTER[RealismOverhaulEngines]
{
@title = LR91 (4 Vernier)
@MODULE[ModuleGimbal]
{
enableRoll = false
enableYaw = true
enablePitch = true
}
MODULE
{
name = ModuleGimbal
gimbalTransformName = vernierGimbal
gimbalRangeXP = 0
gimbalRangeXN = 0
gimbalRangeYP = 35
gimbalRangeYN = 35
useGimbalResponseSpeed = true
gimbalResponseSpeed = 25
enableRoll = true
enableYaw = false
enablePitch = false
}
@MODULE[ModuleEngineConfigs]
{
@CONFIG,*
{
%LinkB9PSModule[nozzle] { subtype = AJ5 }
}
@CONFIG[LR91-AJ-1*],*
{
%LinkB9PSModule[nozzle] { %subtype = AJ11 }
}
@CONFIG[LR91-AJ-1]
{
%LinkB9PSModule[nozzle] { %subtype = AJ3 }
}
@CONFIG[LR91-AJ-3]
{
%LinkB9PSModule[nozzle] { %subtype = AJ3 }
}
}
}
4 changes: 2 additions & 2 deletions GameData/ROEngines/PartConfigs/LR91_BDB.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ PART
THRUST_TRANSFORM
{
name = thrustTransform
multiplier = 0.99
multiplier = 0.99135
}

THRUST_TRANSFORM
{
name = vernierFX
multiplier = 0.01
multiplier = 0.00865 //Based on AJ-5, 865 lbf vernier, 100,000 lbf main chamber
}
}

Expand Down
70 changes: 68 additions & 2 deletions GameData/ROEngines/Waterfall/Hypergolic/LR91.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@PART[ROE-LR91]:BEFORE[ROWaterfall]:NEEDS[Waterfall]
@PART[ROE-LR91|ROE-LR91-4V]:BEFORE[ROWaterfall]:NEEDS[Waterfall]
{
ROWaterfall
{
Expand Down Expand Up @@ -87,7 +87,7 @@
{
%rowaterfallVariant = kerolox25AR
}
@CONFIG[LR91-AJ-?-Kero*]
@CONFIG[LR91-AJ-?-Kero*],*
{
%rowaterfallVariant = kerolox49AR
}
Expand All @@ -109,6 +109,28 @@
}
}
}
//Tweak plumes to fit 4-vernier version properly
@PART[ROE-LR91-4V]:BEFORE[ROWaterfall]:NEEDS[Waterfall]
{
@ROWaterfall
{
@position[2] -= 0.175
@ExtraTemplate,*
{
@transform = vernierTransform
@position = 0,0,0
@scale = 0.75, 0.75, 0.75
}
@MainPlumeVariant,*
{
@position[2] -= 0.175
}
@MainPlumeVariant[kerolox25AR]
{
@position[2] = 0.02
}
}
}

@PART[ROE-LR91]:AFTER[zROWaterfall_Post]:NEEDS[Waterfall,B9PartSwitch]
{
Expand All @@ -132,3 +154,47 @@
}
}
}
@PART[ROE-LR91-4V]:AFTER[zROWaterfall_Post]:NEEDS[Waterfall,B9PartSwitch]
{
@MODULE[ModuleB9PartSwitch]:HAS[#moduleID[rowaterfallMainPlumeSwitch]]
{
@SUBTYPE[kero*],*
{
@MODULE
{
@DATA
{
@TEMPLATE:HAS[#templateName[waterfall-hypergolic-vernier-upper-2]]
{
@templateName = waterfall-kerolox-vernier-2
@position = 0,0,0
@rotation = 0, 0, 0
@scale = 1.35, 1.35, 1.35
}
}
}
}
//for some reason the AJ-3 verniers have numbered vernier transforms, so make sure to get all of them...
@SUBTYPE[kerolox25AR]
{
@MODULE
{
@DATA
{
+TEMPLATE:HAS[#templateName[waterfall-kerolox-vernier-2]]
{
@overrideParentTransform = vernierTransform 1
}
+TEMPLATE:HAS[#overrideParentTransform[vernierTransform?1]]
{
@overrideParentTransform = vernierTransform 2
}
+TEMPLATE:HAS[#overrideParentTransform[vernierTransform?1]]
{
@overrideParentTransform = vernierTransform 3
}
}
}
}
}
}
Loading