diff --git a/GameData/ROEngines/Assets/Al2Me6/g1.mu b/GameData/ROEngines/Assets/Al2Me6/g1.mu new file mode 100644 index 00000000..d16d933d Binary files /dev/null and b/GameData/ROEngines/Assets/Al2Me6/g1.mu differ diff --git a/GameData/ROEngines/Assets/Al2Me6/g1_diff.dds b/GameData/ROEngines/Assets/Al2Me6/g1_diff.dds new file mode 100644 index 00000000..9781b65c Binary files /dev/null and b/GameData/ROEngines/Assets/Al2Me6/g1_diff.dds differ diff --git a/GameData/ROEngines/Assets/Al2Me6/g1_emit.dds b/GameData/ROEngines/Assets/Al2Me6/g1_emit.dds new file mode 100644 index 00000000..096dc00b Binary files /dev/null and b/GameData/ROEngines/Assets/Al2Me6/g1_emit.dds differ diff --git a/GameData/ROEngines/Assets/Al2Me6/g1_met.dds b/GameData/ROEngines/Assets/Al2Me6/g1_met.dds new file mode 100644 index 00000000..248ea085 Binary files /dev/null and b/GameData/ROEngines/Assets/Al2Me6/g1_met.dds differ diff --git a/GameData/ROEngines/Assets/Al2Me6/g1_nrm.dds b/GameData/ROEngines/Assets/Al2Me6/g1_nrm.dds new file mode 100644 index 00000000..143fd7e2 Binary files /dev/null and b/GameData/ROEngines/Assets/Al2Me6/g1_nrm.dds differ diff --git a/GameData/ROEngines/PartConfigs/G1_Al2Me6.cfg b/GameData/ROEngines/PartConfigs/G1_Al2Me6.cfg new file mode 100644 index 00000000..64077d47 --- /dev/null +++ b/GameData/ROEngines/PartConfigs/G1_Al2Me6.cfg @@ -0,0 +1,167 @@ +PART +{ + name = ROE-G1 + module = Part + author = Al2Me6 + ROESetEngineDefaults = LIQUID_ENGINE + + MODEL + { + model = ROEngines/Assets/Al2Me6/g1 + } + scale = 1 + rescaleFactor = 1 + + node_stack_top = 0.0, 0.155, 0.0, 0.0, 1.0, 0.0, 1 + node_stack_bottom = 0.0, -1.630, 0.0, 0.0, -1.0, 0.0, 1 + bulkheadProfiles = size1 + + title = fixme + manufacturer = fixme + description = fixme + tags = fixme + + attachRules = 1,1,1,1,0 + + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.2 + angularDrag = 2 + + heatConductivity = 0.06 + skinInternalConductionMult = 4.0 + emissiveConstant = 0.8 + + engineType = G1 + + MODULE + { + name = ModuleEnginesRF + thrustVectorTransformName = thrustTransform + } + + MODULE + { + name = ModuleGimbal + gimbalTransformName = gimbal + } + + MODULE + { + name = ModuleSurfaceFX + thrustProviderModuleIndex = 0 + fxMax = 0.3 + maxDistance = 30 + falloff = 1.7 + thrustTransformName = thrustTransform + } + + MODULE + { + name = ModuleB9PartSwitch + moduleID = model + switcherDescription = Model (auto-switched) + SUBTYPE + { + name = g1 + } + SUBTYPE + { + name = g1a + transform = nozzle_ext + NODE + { + name = bottom + position = 0, -2.150, 0 + } + } + } + + MODULE + { + name = FXModuleLookAtConstraint + CONSTRAINLOOKFX + { + targetName = actuator_upper_0 + rotatorsName = actuator_lower_0 + } + CONSTRAINLOOKFX + { + targetName = actuator_lower_0 + rotatorsName = actuator_upper_0 + } + CONSTRAINLOOKFX + { + targetName = actuator_upper_1 + rotatorsName = actuator_lower_1 + } + CONSTRAINLOOKFX + { + targetName = actuator_lower_1 + rotatorsName = actuator_upper_1 + } + } + + MODULE + { + name = FXModuleThrottleEffects + fxModuleNames = throttleColor + responseSpeed = 1.0 + dependOnEngineState = True + dependOnThrottle = True + } + + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + 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 + } + } +} + +@PART[ROE-G1]:AFTER[RealismOverhaulEngines] +{ + @MODULE[Module*EngineConfigs] + { + @CONFIG[G-1] { %LinkB9PSModule[model] { subtype = g1 } } + @CONFIG[G-1A] { %LinkB9PSModule[model] { subtype = g1a } } + } +} + +KSP_MODEL_SHADER +{ + name = ROE-G1 + model = ROEngines/Assets/Al2Me6/g1 + + MATERIAL + { + shader = TU/Metallic + texture = _MainTex, ROEngines/Assets/Al2Me6/g1_diff + texture = _BumpMap, ROEngines/Assets/Al2Me6/g1_nrm + texture = _MetallicGlossMap, ROEngines/Assets/Al2Me6/g1_met + texture = _Emission, ROEngines/Assets/Al2Me6/g1_emit + } +} diff --git a/GameData/ROEngines/Waterfall/Fluorine/G1.cfg b/GameData/ROEngines/Waterfall/Fluorine/G1.cfg new file mode 100644 index 00000000..d680d1bb --- /dev/null +++ b/GameData/ROEngines/Waterfall/Fluorine/G1.cfg @@ -0,0 +1,33 @@ +@PART[ROE-G1]:BEFORE[ROWaterfall]:NEEDS[Waterfall] +{ + ROWaterfall + { + template = waterfall-rf-hydroflourine-upper + audio = pressure-fed-1 + defaultMainPlumeVariantName = g1 + transform = thrustTransform + position = 0,0,0 + rotation = 0, 0, 0 + scale = 0.84, 0.84, 0.84 + glow = ro-rfstock-fluorine + + MainPlumeVariant:NEEDS[B9PartSwitch] + { + name = g1a + template = waterfall-rf-hydroflourine-upper + transform = fxTransformExt + position = 0,0,0 + rotation = 0, 0, 0 + scale = 1.01, 1.01, 1.01 + recomputeGlowSize = true + } + } + + @MODULE[ModuleEngineConfigs]:NEEDS[B9PartSwitch] + { + @CONFIG[G-1A] + { + %rowaterfallVariant = g1a + } + } +} diff --git a/README.md b/README.md index d0e0b62e..053feb84 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ I understand that some of you may want these other versions of engines back, so * E-1 (Bluedog Design Bureau by Zorg) * F-1 (Bluedog Design Bureau by CobaltWolf) * F-1B (Bluedog Design Bureau by CobaltWolf) + * G-1 (Astral Manufactures by Al2Me6) * Gamma-2 (CRE by Beale) * Gamma-8 (CRE by Beale) * Gamma-301 (CRE by Beale)