alexustas

[0.90] Stack Inline Lights 0.7 [update 07/04/2015]]

Recommended Posts

19 minutes ago, Jiraiyah said:

oh yah, it shows two lights and apparently both work in vab but in launch only the second one works !

so if i remove bulb section from the part would it fix the issue? although i don't have bulb installed !

2474c5b20bc64ec08a13419976d2086c.png

GOD DAMN I AM IN LOOOOOVE :D never saw a kerbal's face with any other light than white till now :D another question, if i install both bulb and surface light in game, what would happen? would they interfere with each other or not?

I tried it and just both buttons work the lights but I could change the color with surface light mod maybe i got a old one will check again you make sure

Share this post


Link to post
Share on other sites
24 minutes ago, Jiraiyah said:

hmm i have a better idea, i will add a little MM patch to choose between different settings will give you the result to test by yourself

O~K this may look dirty but I am not pro in MM patches, can you make it cleaner than this? I first remove both modules from all parts then add them back based on the plugin

  Reveal hidden contents

@PART[dockBRIGHT]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTjr]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTsr]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL020625mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02125mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt300]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt3K]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02375mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}

@PART[dockBRIGHT]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[dockBRIGHTjr]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[dockBRIGHTsr]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL020625mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL02125mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL0225mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL0225mRGBbatt300]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL0225mRGBbatt3K]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL02375mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}

@PART[dockBRIGHT]:NEEDS[BULB]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[dockBRIGHTjr]:NEEDS[BULB]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[dockBRIGHTsr]:NEEDS[BULB]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL020625mRGB]:NEEDS[BULB]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL02125mRGB]:NEEDS[BULB]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL0225mRGB]:NEEDS[BULB]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL0225mRGBbatt300]:NEEDS[BULB]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL0225mRGBbatt3K]:NEEDS[BULB]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL02375mRGB]:NEEDS[BULB]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}

 

 

Some how I must have grab a older surface light  made sure to get the new and all works now and if both are installed bulb will not work and you mind if add that to the part cfg  or you want them to get it from your link ?

Share this post


Link to post
Share on other sites

here you go, take a look at this patch now, i wonder if @PART[SIL*] would find all the parts at once or not if so, that would reduce the length of the patch

Spoiler

 

@PART[dockBRIGHT]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTjr]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTsr]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL020625mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02125mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt300]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt3K]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02375mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}

@PART[dockBRIGHT]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[dockBRIGHTjr]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[dockBRIGHTsr]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL020625mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL02125mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL0225mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL0225mRGBbatt300]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL0225mRGBbatt3K]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL02375mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}

@PART[dockBRIGHT]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[dockBRIGHTjr]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[dockBRIGHTsr]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL020625mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL02125mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL0225mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL0225mRGBbatt300]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL0225mRGBbatt3K]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL02375mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}

Add it to the mod if you want to, I changed it so that bulb module would only add IF surface light is not there. thanks for your help sir, also, do you think the original dev would mind if you guys add this to spacedock? after all you can give him the author ability i think?

Edited by Jiraiyah

Share this post


Link to post
Share on other sites
5 minutes ago, Jiraiyah said:

here you go, take a look at this patch now, i wonder if @PART[SIL*] would find all the parts at once or not if so, that would reduce the length of the patch

  Reveal hidden contents

 

@PART[dockBRIGHT]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTjr]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTsr]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL020625mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02125mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt300]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt3K]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02375mRGB]
{
    !MODULE[ModuleLight] {}
    !MODULE[ModuleColoredLensLight] {}
}

@PART[dockBRIGHT]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[dockBRIGHTjr]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[dockBRIGHTsr]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL020625mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL02125mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL0225mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL0225mRGBbatt300]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL0225mRGBbatt3K]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}
@PART[SIL02375mRGB]:NEEDS[SurfaceLights]:FINAL
{
    MODULE
    {
          name = ModuleColoredLensLight
          lightName = SIL0225DCLS
          useAnimationDim = true
          lightBrightenSpeed = 2.5
          lightDimSpeed = 2.5
          resourceAmount = 0.02
          animationName = SIL0225turnON
          useResources = true
          lightR = 1.0
          lightG = 0.9
          lightB = 0.8
    }
}

@PART[dockBRIGHT]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[dockBRIGHTjr]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[dockBRIGHTsr]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL020625mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL02125mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL0225mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL0225mRGBbatt300]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL0225mRGBbatt3K]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}
@PART[SIL02375mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    MODULE
    {
        name = ModuleLight
        lightName = SIL0225DCLS
        useAnimationDim = true
        lightBrightenSpeed = 2.5
        lightDimSpeed = 2.5
        animationName = SIL0225turnON
        resourceAmount = 0.0010
        useResources = true
    }
}

Add it to the mod if you want to, I changed it so that bulb module would only add IF surface light is not there. thanks for your help sir, also, do you think the original dev would mind if you guys add this to spacedock? after all you can give him the author ability i think?

Think of just taking the MODULE's out that way could shorten the part and just add it to the cfg pretty sure.

Share this post


Link to post
Share on other sites

here we go sir

Spoiler

@PART[dockBRIGHT]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[dockBRIGHTjr]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[dockBRIGHTsr]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL020625mRGB]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL02125mRGB]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL0225mRGB]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL0225mRGBbatt300]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL0225mRGBbatt3K]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL02375mRGB]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}

@PART[dockBRIGHT]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTjr]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTsr]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL020625mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02125mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt300]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt3K]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02375mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}

 

Share this post


Link to post
Share on other sites
14 minutes ago, Jiraiyah said:

here we go sir

  Hide contents

@PART[dockBRIGHT]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[dockBRIGHTjr]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[dockBRIGHTsr]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL020625mRGB]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL02125mRGB]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL0225mRGB]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL0225mRGBbatt300]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL0225mRGBbatt3K]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}
@PART[SIL02375mRGB]:NEEDS[SurfaceLights]:FINAL
{
    !MODULE[ModuleLight] {}
}

@PART[dockBRIGHT]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTjr]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[dockBRIGHTsr]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL020625mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02125mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt300]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL0225mRGBbatt3K]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}
@PART[SIL02375mRGB]:NEEDS[BULB,!SurfaceLights]:FINAL
{
    !MODULE[ModuleColoredLensLight] {}
}

 

Does MM look for the mod fold or the plugin name ?

Share this post


Link to post
Share on other sites

It looks for the part names in any folder and then the module names so if you want you can simply drop that patch right under your game data folder in a .cfg file but if you want to republish this mod somewhere, it's better to keep it's patches inside it's folder to prevent file name duplication and over writes

Edited by Jiraiyah

Share this post


Link to post
Share on other sites

I am not that familiar with licensing, please some one tell me, do we have the permission to take this mod and integrate it with other mods or should we wait for a permission from developer himself?

Share this post


Link to post
Share on other sites
17 minutes ago, Jiraiyah said:

I am not that familiar with licensing, please some one tell me, do we have the permission to take this mod and integrate it with other mods or should we wait for a permission from developer himself?

OP is still an active user.  

Share this post


Link to post
Share on other sites

looks like the developer is not around? can some one guide me about the copyright and how can i redistribute this mod?

Share this post


Link to post
Share on other sites

Just wondering if anyone has gotten the inline lighted docking port to work (actually dock) with the stock Clamp-O-Tron Sr.?
Or *any* other modded 2.5m port? vOv

 

Share this post


Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.