More lights

This commit is contained in:
Chris Adderley 2020-04-23 20:59:56 -07:00
parent a930b09165
commit 8807a536fc
41 changed files with 229 additions and 3 deletions

View File

@ -40,7 +40,7 @@
shaderProperty = _TintColor
animRate = 0.8
animState = false
useRate = true
useRate = false
toggleInEditor = false
toggleInFlight = false
unfocusedRange = 5
@ -130,6 +130,44 @@
}
}
}
@MODULE[ModuleColorChanger]
{
moduleID = hullLightColor
}
MODULE
{
name = ModuleRestockLinkedColorChanger
parentModuleID = hullLightColor
moduleID = fresnelLightColor
shaderProperty = _TintColor
animRate = 0.8
animState = false
useRate = false
toggleInEditor = false
toggleInFlight = false
unfocusedRange = 5
toggleAction = false
redCurve
{
key = 0 0 0 3
key = 1 1 0 0
}
greenCurve
{
key = 0 0 0 1
key = 1 1 1 0
}
blueCurve
{
key = 0 0 0 0
key = 1 0.7 1.5 0
}
alphaCurve
{
key = 0 1
}
}
}
// Mk1-3 Pod
@ -192,6 +230,44 @@
}
}
}
@MODULE[ModuleColorChanger]
{
moduleID = hullLightColor
}
MODULE
{
name = ModuleRestockLinkedColorChanger
parentModuleID = hullLightColor
moduleID = fresnelLightColor
shaderProperty = _TintColor
animRate = 1.6
animState = false
useRate = false
toggleInEditor = false
toggleInFlight = false
unfocusedRange = 5
toggleAction = false
redCurve
{
key = 0 0 0 3
key = 1 1 0 0
}
greenCurve
{
key = 0 0 0 1
key = 1 0.95 1 0
}
blueCurve
{
key = 0 0 0 0
key = 1 0.62 1.5 0
}
alphaCurve
{
key = 0 1
}
}
}
// Mk1 Lander Can
@ -208,6 +284,44 @@
scale = 1,1,1
rotation = 0, 0, 0
}
@MODULE[ModuleColorChanger]
{
moduleID = hullLightColor
}
MODULE
{
name = ModuleRestockLinkedColorChanger
parentModuleID = hullLightColor
moduleID = fresnelLightColor
shaderProperty = _TintColor
animRate = 0.8
animState = false
useRate = false
toggleInEditor = false
toggleInFlight = false
unfocusedRange = 5
toggleAction = false
redCurve
{
key = 0 0 0 3
key = 1 1 0 0
}
greenCurve
{
key = 0 0 0 1
key = 1 1 1 0
}
blueCurve
{
key = 0 0 0 0
key = 1 0.7 1.5 0
}
alphaCurve
{
key = 0 1
}
}
}
// Mk2 Lander Can
@ -248,4 +362,42 @@
}
}
}
@MODULE[ModuleColorChanger]
{
moduleID = hullLightColor
}
MODULE
{
name = ModuleRestockLinkedColorChanger
parentModuleID = hullLightColor
moduleID = fresnelLightColor
shaderProperty = _TintColor
animRate = 0.8
animState = false
useRate = false
toggleInEditor = false
toggleInFlight = false
unfocusedRange = 5
toggleAction = false
redCurve
{
key = 0 0 0 3
key = 1 1 0 0
}
greenCurve
{
key = 0 0 0 1
key = 1 1 1 0
}
blueCurve
{
key = 0 0 0 0
key = 1 0.7 1.5 0
}
alphaCurve
{
key = 0 1
}
}
}

View File

@ -42,7 +42,7 @@
shaderProperty = _TintColor
animRate = 0.8
animState = false
useRate = true
useRate = false
toggleInEditor = false
toggleInFlight = false
unfocusedRange = 5
@ -69,7 +69,6 @@
}
}
}
// Hitchhiker
@PART[crewCabin]:HAS[~RestockIgnore[*]]:FOR[ReStock]
@ -98,4 +97,42 @@
scale = 1,1,1
rotation = 0, 0, 0
}
@MODULE[ModuleColorChanger]
{
moduleID = hullLightColor
}
MODULE
{
name = ModuleRestockLinkedColorChanger
parentModuleID = hullLightColor
moduleID = fresnelLightColor
shaderProperty = _TintColor
animRate = 0.8
animState = false
useRate = false
toggleInEditor = false
toggleInFlight = false
unfocusedRange = 5
toggleAction = false
redCurve
{
key = 0 0 0 3
key = 1 1 0 0
}
greenCurve
{
key = 0 0 0 1
key = 1 1 1 0
}
blueCurve
{
key = 0 0 0 0
key = 1 0.7 1.5 0
}
alphaCurve
{
key = 0 1
}
}
}

View File

@ -202,6 +202,7 @@
{
name = ModuleColorChanger
shaderProperty = _EmissiveColor
moduleID = hullLightColor
animRate = 0.8
animState = false
useRate = true
@ -234,6 +235,42 @@
key = 0 1
}
}
MODULE
{
name = ModuleRestockLinkedColorChanger
parentModuleID = hullLightColor
moduleID = fresnelLightColor
shaderProperty = _TintColor
animRate = 0.8
animState = false
useRate = false
toggleInEditor = false
toggleInFlight = false
unfocusedRange = 5
toggleAction = false
redCurve
{
key = 0 0 0 3
key = 1 1 0 0
}
greenCurve
{
key = 0 0 0 1
key = 1 1 1 0
}
blueCurve
{
key = 0 0 0 0
key = 1 0.7 1.5 0
}
alphaCurve
{
key = 0 1
}
}
}
}
// 1.25m radial attach point