diff --git a/GameData/Bumblebee/Assets/bb_Aeroshell.mu b/GameData/Bumblebee/Assets/bb_Aeroshell.mu index 4f38873..296b589 100644 Binary files a/GameData/Bumblebee/Assets/bb_Aeroshell.mu and b/GameData/Bumblebee/Assets/bb_Aeroshell.mu differ diff --git a/GameData/Bumblebee/Assets/bb_Core.mu b/GameData/Bumblebee/Assets/bb_Core.mu index 8300f59..e2700be 100644 Binary files a/GameData/Bumblebee/Assets/bb_Core.mu and b/GameData/Bumblebee/Assets/bb_Core.mu differ diff --git a/GameData/Bumblebee/Assets/bb_HGA.mu b/GameData/Bumblebee/Assets/bb_HGA.mu index 03bbfb5..fdfafe1 100644 Binary files a/GameData/Bumblebee/Assets/bb_HGA.mu and b/GameData/Bumblebee/Assets/bb_HGA.mu differ diff --git a/GameData/Bumblebee/Assets/glow.dds b/GameData/Bumblebee/Assets/glow.dds new file mode 100644 index 0000000..f2b8386 Binary files /dev/null and b/GameData/Bumblebee/Assets/glow.dds differ diff --git a/GameData/Bumblebee/Parts/bb_Core.cfg b/GameData/Bumblebee/Parts/bb_Core.cfg index 395d9e5..231a59e 100644 --- a/GameData/Bumblebee/Parts/bb_Core.cfg +++ b/GameData/Bumblebee/Parts/bb_Core.cfg @@ -157,6 +157,38 @@ PART { SASServiceLevel = 3 } MODULE + { + name = ModuleColorChanger + moduleID = lightColor + useMaterialsList = true + materialsNames = glow2 + animRate = 1 + useRate = False + shaderProperty = _TintColor + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 0 + key = 1 0 + } + greenCurve + { + key = 0 0.05 + key = 1 .5 + } + blueCurve + { + key = 0 .2 + key = 1 1 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE { name = ModuleB9PartSwitch moduleID = meshSwitchCover @@ -170,6 +202,25 @@ PART { primaryColor = #c7c7c7 secondaryColor = #707070 transform = meshWhite + MATERIAL + { + baseTransform = LED1 + baseTransform = LED3 + COLOR + { + shaderProperty = _TintColor + color = #00ff00 + } + } + MATERIAL + { + baseTransform = LED2 + COLOR + { + shaderProperty = _TintColor + color = #0066ff + } + } } SUBTYPE { @@ -177,6 +228,25 @@ PART { primaryColor = #2d2d2d secondaryColor = #d9b358 transform = meshBlack + MATERIAL + { + baseTransform = LED1 + baseTransform = LED3 + COLOR + { + shaderProperty = _TintColor + color = #00ff00 + } + } + MATERIAL + { + baseTransform = LED2 + COLOR + { + shaderProperty = _TintColor + color = #0066ff + } + } } } MODULE @@ -209,6 +279,6 @@ PART { uiGroupName = CoreData uiGroupDisplayName = Internal Antenna } - } + } diff --git a/GameData/Bumblebee/Parts/bb_Prop.cfg b/GameData/Bumblebee/Parts/bb_Prop.cfg index c040d1a..4c0e2fd 100644 --- a/GameData/Bumblebee/Parts/bb_Prop.cfg +++ b/GameData/Bumblebee/Parts/bb_Prop.cfg @@ -53,13 +53,21 @@ PART { } unitScalar = .1 } + MODULE + { + name = MultiModeEngine + primaryEngineID = BBProp + primaryEngineModeDisplayName = Full Power + secondaryEngineID = LowPower + secondaryEngineModeDisplayName = Low Power + } MODULE { name = ModuleEnginesFX engineID = BBProp thrustVectorTransformName = thrustTransform exhaustDamage = False - ignitionThreshold = 0.1 + ignitionThreshold = 0 minThrust = 0 maxThrust = 2 heatProduction = 0 @@ -92,7 +100,6 @@ PART { key = 0 1000 0 0 } - // Jet params atmChangeFlow = True useVelCurve = True useAtmCurve = True @@ -111,7 +118,71 @@ PART { } atmCurve { - key = 0 0 0.33 0 + key = 0 0 0.33 .6 + key = 0.4 0.2 1 1.166 + key = 1 1 1.4 1.4 + key = 2 1.8 0.6 0.6 + key = 10 5 0.2 0 + } + } + MODULE + { + name = ModuleEnginesFX + engineID = LowPower + thrustVectorTransformName = thrustTransform + exhaustDamage = False + ignitionThreshold = 0 + minThrust = 0 + maxThrust = .5 + heatProduction = 0 + useEngineResponseTime = true + engineAccelerationSpeed = 15 + engineDecelerationSpeed = 10 + fxOffset = 0, 0, 0 + engageEffectName = null + disengageEffectName = null + spoolEffectName = power + runningEffectName = speed + powerEffectName = null + engineSpoolIdle = 0.0 + engineSpoolTime = 6 + EngineType = Electric + PROPELLANT + { + name = ElectricCharge + ratio = 10 + DrawGauge = True + } + PROPELLANT + { + name = IntakeAir + ratio = 1 + DrawGauge = False + } + atmosphereCurve + { + key = 0 1000 0 0 + } + + atmChangeFlow = True + useVelCurve = True + useAtmCurve = True + flameoutBar = 0.02 + flowCapMult = 1.0 + machLimit = 0.85 + machHeatMult = 25 + velCurve + { + key = 0 0.95 0 1 + key = 0.1 1 -0.25 -0.25 + key = 0.2 0.9 -1.66 -1.66 + key = 0.5 0.25 -1.5 -1.3 + key = 0.9 0.05 -0.5 -0.5 + key = 1 0 0 0 + } + atmCurve + { + key = 0 0 0.33 .6 key = 0.4 0.2 1 1.166 key = 1 1 1.4 1.4 key = 2 1.8 0.6 0.6 @@ -250,6 +321,24 @@ PART { uiGroupDisplayName = Control } } + MODULE + { + name = ModuleSurfaceFX + thrustProviderModuleIndex = 2 + fxMax = 0.05 + maxDistance = 3 + falloff = 8 + thrustTransformName = thrustTransform + } + MODULE + { + name = ModuleSurfaceFX + thrustProviderModuleIndex = 3 + fxMax = 0.02 + maxDistance = 2 + falloff = 10 + thrustTransformName = thrustTransform + } EFFECTS { power diff --git a/GameData/Bumblebee/Parts/bb_PropSingle.cfg b/GameData/Bumblebee/Parts/bb_PropSingle.cfg index b8b06f4..489e5d6 100644 --- a/GameData/Bumblebee/Parts/bb_PropSingle.cfg +++ b/GameData/Bumblebee/Parts/bb_PropSingle.cfg @@ -13,7 +13,7 @@ PART { manufacturer = Hummingbird RC Models and Drones tags = Bumblebee Dragonfly bee impossible prop rotor wing propeller fly buzz cck-rovers description = A single propeller version of the Bumblebee propeller, for when you only need about half as much power. - attachRules = 1,0,1,1,0 + attachRules = 1,1,1,1,0 mass = 0.004 dragModelType = default maximum_drag = 0.2 @@ -23,6 +23,7 @@ PART { breakingForce = 200 breakingTorque = 200 maxTemp = 1700 + node_attach = 0, 0.11, 0, 0, -1, 0, 1, 0, 1, 0 MODEL { model = Bumblebee/Assets/bb_Prop position = 0, 0, 0 @@ -53,13 +54,21 @@ PART { } unitScalar = .1 } + MODULE + { + name = MultiModeEngine + primaryEngineID = BBProp + primaryEngineModeDisplayName = Full Power + secondaryEngineID = LowPower + secondaryEngineModeDisplayName = Low Power + } MODULE { name = ModuleEnginesFX engineID = BBProp thrustVectorTransformName = thrustTransform exhaustDamage = False - ignitionThreshold = 0.1 + ignitionThreshold = 0 minThrust = 0 maxThrust = .8 heatProduction = 0 @@ -92,7 +101,6 @@ PART { key = 0 1000 0 0 } - // Jet params atmChangeFlow = True useVelCurve = True useAtmCurve = True @@ -111,7 +119,71 @@ PART { } atmCurve { - key = 0 0 0.33 0 + key = 0 0 0.33 0.6 + key = 0.4 0.2 1 1.166 + key = 1 1 1.4 1.4 + key = 2 1.8 0.6 0.6 + key = 10 5 0.2 0 + } + } + MODULE + { + name = ModuleEnginesFX + engineID = LowPower + thrustVectorTransformName = thrustTransform + exhaustDamage = False + ignitionThreshold = 0 + minThrust = 0 + maxThrust = .2 + heatProduction = 0 + useEngineResponseTime = true + engineAccelerationSpeed = 15 + engineDecelerationSpeed = 10 + fxOffset = 0, 0, 0 + engageEffectName = null + disengageEffectName = null + spoolEffectName = power + runningEffectName = speed + powerEffectName = null + engineSpoolIdle = 0.0 + engineSpoolTime = 6 + EngineType = Electric + PROPELLANT + { + name = ElectricCharge + ratio = 10 + DrawGauge = True + } + PROPELLANT + { + name = IntakeAir + ratio = 1 + DrawGauge = False + } + atmosphereCurve + { + key = 0 1000 0 0 + } + + atmChangeFlow = True + useVelCurve = True + useAtmCurve = True + flameoutBar = 0.02 + flowCapMult = 1.0 + machLimit = 0.85 + machHeatMult = 25 + velCurve + { + key = 0 0.95 0 1 + key = 0.1 1 -0.25 -0.25 + key = 0.2 0.9 -1.66 -1.66 + key = 0.5 0.25 -1.5 -1.3 + key = 0.9 0.05 -0.5 -0.5 + key = 1 0 0 0 + } + atmCurve + { + key = 0 0 0.33 0.6 key = 0.4 0.2 1 1.166 key = 1 1 1.4 1.4 key = 2 1.8 0.6 0.6 @@ -229,6 +301,24 @@ PART { uiGroupDisplayName = Control } } + MODULE + { + name = ModuleSurfaceFX + thrustProviderModuleIndex = 2 + fxMax = 0.03 + maxDistance = 3 + falloff = 8 + thrustTransformName = thrustTransform + } + MODULE + { + name = ModuleSurfaceFX + thrustProviderModuleIndex = 3 + fxMax = 0.01 + maxDistance = 2 + falloff = 10 + thrustTransformName = thrustTransform + } EFFECTS { power diff --git a/GameData/Bumblebee/Patches/Hullcam.cfg b/GameData/Bumblebee/Patches/Hullcam.cfg new file mode 100644 index 0000000..5eac6b7 --- /dev/null +++ b/GameData/Bumblebee/Patches/Hullcam.cfg @@ -0,0 +1,13 @@ +@PART[bb_Core]:NEEDS[HullCameraVDS] +{ + MODULE + { + name = MuMechModuleHullCameraZoom + cameraName = FrontCam + cameraForward = 0, 0, 1 + cameraUp = 0, 1, 0 + cameraPosition = 0.0, 1.08, 0.0 + cameraFoVMax = 60 + cameraFoVMin = 20 + } +} \ No newline at end of file diff --git a/GameData/Bumblebee/Patches/IndicatorLights.cfg b/GameData/Bumblebee/Patches/IndicatorLights.cfg new file mode 100644 index 0000000..eaf7bea --- /dev/null +++ b/GameData/Bumblebee/Patches/IndicatorLights.cfg @@ -0,0 +1,60 @@ +@PART[bb_Core]:NEEDS[IndicatorLights] +{ + MODULE + { + name = ModuleControllableEmissive + target = Plane1 + renderType = tint + emissiveName = ECindicator + } + MODULE + { + name = ModuleControllableEmissive + target = Sphere1 + emissiveName = ECindicator + } + MODULE + { + name = ModuleControllableEmissive + target = Plane3 + renderType = tint + emissiveName = Commandindicator + } + MODULE + { + name = ModuleControllableEmissive + target = Sphere3 + emissiveName = Commandindicator + } + + MODULE + { + name = ModuleResourceLevelIndicator + resourceName = ElectricCharge + } + + MODULE + { + name = ModuleResourceEnabledIndicator + resourceName = ElectricCharge + enabledColor = ModuleResourceLevelIndicator + disabledColor = blink(ModuleResourceLevelIndicator, 900, $Off, 300) + emissiveName = ECindicator + } + // MODULE { + // name = ModuleBooleanIndicator + // controllerName = commandstate + // input = controllevel(FULL, PARTIAL_UNMANNED, NONE) + // activeColor = if(controllevel(FULL), #00FF00, if(controllevel(PARTIAL_UNMANNED), #FFFF00, #FF0000)) + // inactiveColor = $Off + // } + MODULE { + name = ModuleBooleanIndicator + controllerName = commandhib + input = hibernation@ModuleCommand + activeColor = #003300 + inactiveColor = #00FF00 + emissiveName = Commandindicator + } + +} \ No newline at end of file diff --git a/GameData/Bumblebee/Patches/NFE.cfg b/GameData/Bumblebee/Patches/NFE.cfg index fc1e00d..2eaac9b 100644 --- a/GameData/Bumblebee/Patches/NFE.cfg +++ b/GameData/Bumblebee/Patches/NFE.cfg @@ -19,7 +19,7 @@ ChargeRate = .5 DischargeRate = 10 MaximumCharge = 2000 - //ModuleID = lightColor + ModuleID = lightColor } @MODULE[ModuleB9AssignUiGroups] {