Some general fixes

This commit is contained in:
Chris Adderley
2019-03-07 10:12:35 -08:00
parent 74f5a852ba
commit a229b0ac91
11 changed files with 130 additions and 4 deletions

View File

@ -0,0 +1,35 @@
// Allows rotation of lights via a tweakable
// Spotlight
@PART[spotLight1]
{
MODULE
{
name = ModuleAnimateGeneric
animationName = RestockSpotLight_Rotate
startEventGUIName = #LOC_RestockPlus_light_rotate_on
endEventGUIName = #LOC_RestockPlus_light_rotate_off
actionGUIName = #LOC_RestockPlus_light_rotate_toggle
allowDeployLimit = true
revClampDirection = false
revClampSpeed = true
revClampPercent = true
}
}
// Floodlight
@PART[spotLight2]
{
MODULE
{
name = ModuleAnimateGeneric
animationName = RestockFloodLightRotate
startEventGUIName = #LOC_RestockPlus_light_rotate_on
endEventGUIName = #LOC_RestockPlus_light_rotate_off
actionGUIName = #LOC_RestockPlus_light_rotate_toggle
allowDeployLimit = true
revClampDirection = false
revClampSpeed = true
revClampPercent = true
}
}