Skip to content

Commit

Permalink
Decoupler variants
Browse files Browse the repository at this point in the history
and indicator lights update for new version
  • Loading branch information
Rodg88 committed Jul 2, 2020
1 parent 821ae85 commit e7c6ae7
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 10 deletions.
Binary file modified GameData/Bumblebee/Assets/Diffuse.dds
Binary file not shown.
Binary file modified GameData/Bumblebee/Assets/bb_Decoupler.mu
Binary file not shown.
43 changes: 42 additions & 1 deletion GameData/Bumblebee/Parts/bb_Decoupler.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PART {
title = Bumblebee Decoupler
manufacturer = Hummingbird RC Models and Drones
tags = Bumblebee Dragonfly bee decouple release bees cck-rovers
description = 0.625m Truss decoupler for the Bumblebee core, attaches to the top of the core, and the inside of the aeroshell.
description = 0.625m Truss decoupler for the Bumblebee core, attaches to the top of the core, and the inside of the aeroshell. Decouples at bottom node. Includes variants for 0.625m or 1.25m mounts.
attachRules = 1,0,1,1,0
mass = 0.025
dragModelType = default
Expand Down Expand Up @@ -44,6 +44,14 @@ PART {
method = FIXED_JOINT
crossfeed = True
rigid = False
}
NODE {
name = bottom2
transform = node_bottom2
size = 1
method = FIXED_JOINT
crossfeed = True
rigid = False
}
MODULE
{
Expand All @@ -59,4 +67,37 @@ PART {
toggleEditor = true
toggleFlight = true
}
MODULE
{
name = ModuleB9PartSwitch
moduleID = meshSwitch
switcherDescription = Truss Style
switcherDescriptionPlural = Truss Styles
affectDragCubes = False
affectFARVoxels = False
SUBTYPE
{
name = Bumblebee
primaryColor = #c7c7c7
secondaryColor = #c7c7c7
transform = DecouplerBB
node = bottom
}
SUBTYPE
{
name = 0.625m
primaryColor = #c7c7c7
secondaryColor = #707070
transform = DecouplerSm
node = bottom2
}
SUBTYPE
{
name = 1.25m
primaryColor = #c7c7c7
secondaryColor = #2d2d2d
transform = DecouplerLg
node = bottom2
}
}
}
25 changes: 16 additions & 9 deletions GameData/Bumblebee/Patches/IndicatorLights.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,26 @@
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 = commandstate
input = controlLevel(FULL, PARTIAL_UNMANNED, NONE)
activeColor = if(controlLevel(FULL), #00FF00, if(controlLevel(PARTIAL_UNMANNED), #FFFF00, #FF0000))
inactiveColor = $Off
}
MODULE {
name = ModuleBooleanIndicator
controllerName = commandstatedim
input = controlLevel(FULL, PARTIAL_UNMANNED, NONE)
activeColor = if(controlLevel(FULL), #003300, if(controlLevel(PARTIAL_UNMANNED), #003300, #333300))
inactiveColor = $Off
}
MODULE {
name = ModuleBooleanIndicator
controllerName = commandhib
input = hibernation@ModuleCommand
activeColor = #003300
inactiveColor = #00FF00
activeColor = commandstatedim
inactiveColor = commandstate
emissiveName = Commandindicator
}

Expand Down

0 comments on commit e7c6ae7

Please sign in to comment.