Skip to content

Commit

Permalink
Add Star 13D and Star 17 (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
Capkirk123 authored Jun 19, 2024
1 parent 35b4f5d commit 78fba64
Show file tree
Hide file tree
Showing 14 changed files with 330 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions GameData/ROEngines/Compatibility/ROE-TexturesUnlimited.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -359,13 +359,24 @@ KSP_MODEL_SHADER
model = ROEngines/Assets/BDB/Solids/UpperSolids/bluedog_UpperSolids_Star37BV
model = ROEngines/Assets/BDB/Solids/UpperSolids/bluedog_UpperSolids_Star37FMV
model = ROEngines/Assets/BDB/Solids/UpperSolids/bluedog_UpperSolids_Star48BV
model = ROEngines/Assets/BDB/ProbeExpansion/Explorer/bluedog_Explorer_Star17
model = ROEngines/Assets/BDB/ProbeExpansion/AIMP/bluedog_AIMP_Star13

MATERIAL
{
shader = TU/Metallic

excludeMesh = SkinnedMeshes

//Star-17A has matte white finish
excludeMesh = Star17_Shroud
excludeMesh = Star17A_Shroud
excludeMesh = Star17A_Mesh_Capless
excludeMesh = Star17A_Mesh

excludeMesh = innerGlow
excludeMesh = innerGlow 1

PROPERTY
{
name = _Color
Expand Down
8 changes: 7 additions & 1 deletion GameData/ROEngines/PartConfigs/STAR13_BDB.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ PART
maximum_drag = 0.3
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
stagingIcon = SOLID_BOOSTER

engineType = Star-13
Expand Down Expand Up @@ -226,3 +225,10 @@ PART
@name = ROE-Star13A
@engineType = Star-13A
}

//Star-13D has the same external dimensions, just clone it
+PART[ROE-Star13]:BEFORE[RealismOverhaul]
{
@name = ROE-Star13D
@engineType = Star-13D
}
262 changes: 262 additions & 0 deletions GameData/ROEngines/PartConfigs/STAR17_BDB.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
PART
{
name = ROE-Star17
module = Part
author = Invaderchaos

category = Engine
subcategory = 0

crashTolerance = 7
//Titanium
skinTempTag = Titanium
internalTempTag = Titanium
fuelCrossFeed = false
breakingForce = 10000
breakingTorque = 10000

MODEL
{
model = ROEngines/Assets/BDB/ProbeExpansion/Explorer/bluedog_Explorer_Star17
}
rescaleFactor = 1.6073
scale = 1.0
node_stack_top = 0.0, -0.088603, 0.0, 0.0, 1.0, 0.0, 0
node_stack_top2 = 0.0, 0.138418, 0.0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -0.286098, 0.0, 0.0, -1.0, 0.0, 0
node_stack_bottom2 = 0.0, -0.097762, 0.0, 0.0, -1.0, 0.0, 0
node_attach = 0.0, -0.088603, 0.0, 1.0, 0.0, 0.0, 0
// stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,1,0

title = abc
manufacturer = abc
description = abc

tags = (star solid upper kick RAE apogee kick motor lunar insertion star 17 17A

mass = 0.003

dragModelType = default
maximum_drag = 0.3
minimum_drag = 0.2
angularDrag = 2
stagingIcon = SOLID_BOOSTER

engineType = Star-17

EFFECTS
{
running_solid
{
AUDIO
{
channel = Ship
clip = Waterfall/Sounds/KW/sound_srbloop
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 1.0
pitch = 1.0 1.5
loop = true
}
}
engage
{
AUDIO
{
channel = Ship
clip = Waterfall/Sounds/KW/sound_srb3
volume = 0.8
pitch = 1.0
loop = false
}
}
disengage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
}

MODULE
{
name = ModuleEnginesRF
thrustVectorTransformName = thrustTransform
runningEffectName = running_solid
}

MODULE
{
name = ModuleSurfaceFX
thrustProviderModuleIndex = 0
fxMax = 0.75
maxDistance = 50
falloff = 1.8
thrustTransformName = thrustTransform
}

MODULE
{
name = FXModuleAnimateThrottle
animationName = UpperSolid_Heat_Emit
dependOnEngineState = True
responseSpeed = 0.1
}

MODULE
{
name = ModuleJettison
jettisonName = Fairing
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.03
jettisonForce = 5
jettisonDirection = 0 0 1
}

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

MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.025
shaderProperty = _EmissiveColor
excludedRenderer = innerGlow
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 1 1 1 1
key = 1 1 1 1
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
}
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
}
}

MODULE
{
name = ModuleB9DisableTransform
transform = Star17A
transform = Shroud_17A
}

MODULE
{
name = ModuleB9PartSwitch
moduleID = meshSwitchTop
switcherDescription = Top Adapter
switcherDescriptionPlural = Top Adapters
affectDragCubes = True
affectFARVoxels = True
SUBTYPE
{
name = Submerged Mount
transform = Default
transform = Default_17A
node = top
}

SUBTYPE
{
name = Top Mount
transform = Alternate
transform = Alternate_17A
node = top2
}
}
}

+PART[ROE-Star17]:BEFORE[RealismOverhaul]
{
@name = ROE-Star17A
@engineType = Star-17A

@node_stack_top = 0.0, 0.007132, 0.0, 0.0, 1.0, 0.0, 0
@node_stack_top2 = 0.0, 0.193105, 0.0, 0.0, 1.0, 0.0, 0
@node_stack_bottom = 0.0, -0.337259, 0.0, 0.0, -1.0, 0.0, 0
@node_stack_bottom2 = 0.0, -0.00529, 0.0, 0.0, -1.0, 0.0, 0
!MODULE[ModuleB9DisableTransform],* {}

MODULE
{
name = ModuleB9DisableTransform
transform = Star17
transform = Shroud_17
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!PART:HAS[~name[ROE-*]&#engineType[Star-17]&#category[Engine]]:BEFORE[zzzTagCleanup] {}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!PART:HAS[~name[ROE-*]&#engineType[Star-17A]&#category[Engine]]:BEFORE[zzzTagCleanup] {}
18 changes: 18 additions & 0 deletions GameData/ROEngines/PatchManager/ROE-PatchManager.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,24 @@ PatchManager
installedWithMod = True
}
PatchManager
{
modName = ROEngines
srcPath = ROEngines/PatchManager/PluginData/Star-17.cfg
patchName = Star-17
shortDescr = Star-17
longDescr = Removes the duplicated Star-17 engines from other mods.
installedWithMod = True
}
PatchManager
{
modName = ROEngines
srcPath = ROEngines/PatchManager/PluginData/Star-17A.cfg
patchName = Star-17A
shortDescr = Star-17A
longDescr = Removes the duplicated Star-17A engines from other mods.
installedWithMod = True
}
PatchManager
{
modName = ROEngines
srcPath = ROEngines/PatchManager/PluginData/Star-37.cfg
Expand Down
2 changes: 1 addition & 1 deletion GameData/ROEngines/Waterfall/SRM/STAR13.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@PART[ROE-Star13|ROE-Star13A]:BEFORE[ROWaterfall]:NEEDS[Waterfall]
@PART[ROE-Star13|ROE-Star13A|ROE-Star13D]:BEFORE[ROWaterfall]:NEEDS[Waterfall]
{
ROWaterfall
{
Expand Down
27 changes: 27 additions & 0 deletions GameData/ROEngines/Waterfall/SRM/STAR17.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@PART[ROE-Star17]:BEFORE[ROWaterfall]:NEEDS[Waterfall]
{
ROWaterfall
{
template = rowaterfall-srm-vac-1
audio = srm-1
position = 0,0,0
rotation = 0, 0, 0
scale = 0.082, 0.082, 0.082
useRelativeScaling = true
glow = ro-srm
}
}

@PART[ROE-Star17A]:BEFORE[ROWaterfall]:NEEDS[Waterfall]
{
ROWaterfall
{
template = rowaterfall-srm-vac-1
audio = srm-1
position = 0,0,0.053
rotation = 0, 0, 0
scale = 0.082, 0.082, 0.082
useRelativeScaling = true
glow = ro-srm
}
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ I understand that some of you may want these other versions of engines back, so
* S-IVB Ullage Motor (Bluedog Design Bureau by CobaltWolf)
* Star-5D (NicheParts by MockingBird)
* Star-8 (NicheParts by MockingBird)
* Star-13 (Bluedog Design Bureau by MockingBird)
* Star-13/13A/13D (Bluedog Design Bureau by MockingBird)
* Star-17/17A (Bluedog Design Bureau by Invaderchaos)
* Star-37 (Bluedog Design Bureau by CobaltWolf)
* Star-37E (Bluedog Design Bureau by CobaltWolf)
* Star-37FM (Bluedog Design Bureau by CobaltWolf)
Expand Down

0 comments on commit 78fba64

Please sign in to comment.