Alexustas / Props-requests

6 stars 1 forks source link

Interior Lamp #9

Open DeputyLOL opened 8 years ago

DeputyLOL commented 8 years ago

How to get lamp to illuminate area around it when it is activated.

Alexustas commented 8 years ago

What can you say about this?

https://youtu.be/1kixB3-btoE

DeputyLOL commented 8 years ago

Looks nice, like the dimming ability

Is there someway to make the cockpit dark when there is no light source. I think my problem is that the cockpit space I'm using is already 'illuminated' without any other light source. I'm using SXT cockpit.

Alexustas commented 8 years ago

the name of the cabin you are using as a source?

DeputyLOL commented 8 years ago

I'm going to look it up. The cabin itself is called kossak

DeputyLOL commented 8 years ago

I'm not sure, but do you think it would be a good idea to use a different cockpit?

Alexustas commented 8 years ago

??

DeputyLOL commented 8 years ago

http://forum.kerbalspaceprogram.com/threads/79542-0-23-5-LLL-Lack-Luster-Labs-LLL-Full-12-2-10MAY2014-SXT-16a-21JUN2014

Its called the MRBL-8

Alexustas commented 8 years ago

put this config file in the \GameData\ASET\ASET_Props\Control\SwitchTumble\ https://www.dropbox.com/s/iuf50whfasb8swr/swTumbleKOSSAKintLights.cfg?dl=0

and then add it to your internals. default state - OFF.

Alexustas commented 8 years ago

so you will be able turn on/off build-in cabin light. this is the same thing I did to the stock cockpit

DeputyLOL commented 8 years ago

... wow. I didn't know that was a thing!. I'll see if it works!

Alexustas commented 8 years ago

i've open internals model in the Blender app and found a light object name. for "Kossak" cabin this name is "lightSpott"

Alexustas commented 8 years ago

and then i'v edit my config file for stock cockpit, change "internalLightName" string:

 internalLightName = lightSpott
Alexustas commented 8 years ago

and edit my CUSTOM_ variable. what's all!

DeputyLOL commented 8 years ago

... wow. wish I knew how to do that

DeputyLOL commented 8 years ago

testing now

Alexustas commented 8 years ago

If don't want to use buil-in cabin light at all, just place this switcher in some hidden place )) light will be permanently diasbled

Alexustas commented 8 years ago

i didn't test it because i don't have this mod installed for now. but it should work. i hope )

DeputyLOL commented 8 years ago

ok, ill see what it looks like.

DeputyLOL commented 8 years ago

WOW. Looks amazing now!

DeputyLOL commented 8 years ago

Thanks for telling me about this

Alexustas commented 8 years ago

you're welcome ) this is my personal invention

DeputyLOL commented 8 years ago

I am starting to think about a new cockpit however. The SXT model is good but there are limitations and somethings that really bug me about it.

DeputyLOL commented 8 years ago

and the cockpit interior windows don't match the exterior windows

Alexustas commented 8 years ago

So, i've made 5 groups of interior lights (props):

Alexustas commented 8 years ago

All lights are maded in 4 variations:

Alexustas commented 8 years ago

so, you can combine all that lamp as you need

DeputyLOL commented 8 years ago

ok thanks

Alexustas commented 8 years ago

and yes, i wish to includ this lights set in may ASET_props pack

DeputyLOL commented 8 years ago

cool I think its gonna be great

Alexustas commented 8 years ago

Dimmers (B-Knob model) DL: https://www.dropbox.com/s/zn7gxk6hhbwt5wy/ASET_B-Knob-LightDimmer.zip?dl=0

Lamp props: DL: https://www.dropbox.com/s/6l4egdkoy5ntoo3/InternaLights.zip?dl=0

Alexustas commented 8 years ago

If you found what additional groups or light types are required. I'll add it to.

DeputyLOL commented 8 years ago

ok, ill let you know

Alexustas commented 8 years ago

But remember, lights - real fps killer ))

Alexustas commented 8 years ago

NOTICE, knobs named "_CP_CMD", "_CP_LEFT" and "_CP_PORT" - absolutly the same. all the difference in switcher name only. The same goes for "_CP_FO", "_CP_RIGHT" and "_CP_STARBOARD"

and also "FLOOD" and "DOME" do the same thing

DeputyLOL commented 8 years ago

ok

Alexustas commented 8 years ago

opps... found a mistake in config (( please, re-download Dimmers pack https://www.dropbox.com/s/zn7gxk6hhbwt5wy/ASET_B-Knob-LightDimmer.zip?dl=0

Alexustas commented 8 years ago

I have not had chance to test all the new props yet. so maybe you will find an error

DeputyLOL commented 8 years ago

I having issues with the lights.... some things are just disappearing. and they don't work

Alexustas commented 8 years ago

hmm ((
i need more info, please

DeputyLOL commented 8 years ago

can you see anything wrong with this.

Switch: //Cabin DOME lightning

PROP { name = B-Knob_LD_DOME

// Switcher action setup ----------------------------------------------------------------

MODULE { name = JSINumericInput perPodPersistenceName = LD_FLOODInput defaultValue = 0 stepSize = 1 minValue = 0 maxValue = 10 reverse = false

loopInput = false

USERINPUTSET
{
    switchTransform = KnobColliderPlus
    increment = 1
    switchSound = ASET/ASET_Avionics/ModernPack/Sounds/BKnob
    switchSoundVolume = 1
}
USERINPUTSET
{
    switchTransform = KnobColliderMinus
    increment = -1
    switchSound = ASET/ASET_Avionics/ModernPack/Sounds/BKnob
    switchSoundVolume = 1
}

}

// Labels -------------------------------------------------------------------------------

MODULE
{
    name = JSIVariableLabel
    transformName = TopNameTextObj
    fontSize = 0.012
    refreshRate = 100
    labelText = [#<=0:333333;FF0000;AAAAAA=>]       DOME $&$ CUSTOM_ALCOR_POWEROFF
    //oneshot = true
}

// Switcher Animation -------------------------------------------------------------------------------

MODULE
{
    name = JSIVariableAnimator
    refreshRate = 1     

    VARIABLESET 
    {       
        controlledTransform  = KnobGrp
        localRotationStart = 0,-143.5,0 
        localRotationEnd  = 0,143.5,0
        variableName = PERSISTENT_LD_FLOODInput
        scale = 0,10
        longPath = yes
        maxRateChange = 5.0
    }
}

// Backlight -------------------------------------------------------------------------------

MODULE
{
    name = JSIVariableAnimator
    refreshRate = 10    

    VARIABLESET 
    {   
        coloredObject = LabelObj
        passiveColor = 0,0,0,255
        activeColor = 180,180,180,255
        variableName = CUSTOM_ALCOR_BACKLIGHT_ON
        scale = 0,1
        threshold = 0.1,1.1

    }   
    VARIABLESET 
    {
        coloredObject = MarkObj
        passiveColor = 0,0,0,255
        activeColor = 180,180,180,255
        variableName = CUSTOM_ALCOR_BACKLIGHT_ON
        scale = 0,1
        threshold = 0.1,1.1
    }   
}

}

// Lights brightness setup

RPM_MATH_VARIABLE { name = FLOODLIGHT_BRIGHTNESS operator = MULTIPLY

sourceVariable = PERSISTENT_LD_FLOODInput sourceVariable = CUSTOM_POWERTOGGLE }

Light: //Flood omni. Range 1m

PROP { name = IntOmniLight_1m-FLOOD

MODULE
{
    name = JSIVariableAnimator
    refreshRate = 5

    VARIABLESET 
    {   
        animationName = InternalOmniLightAnim
        variableName = MATH_FLOODLIGHT_BRIGHTNESS
        scale = 0,10
    }
}

}

Also my heading display vanished. I have no idea why, its just not there anymore. Its still in unity

DeputyLOL commented 8 years ago

well, my game just crashed. So i'll reload it and see if magically fixed itself!

Alexustas commented 8 years ago

In the meantime, please describe in detail: what you want to get what you did for it and you what got at the end of

DeputyLOL commented 8 years ago

I wanted: A small light on the top of the MCP that would light it up. Like in the picture. image Attempt 1: JSIRPM FAILED TO INITIALISE: CHECK CONFIGURATION Non of the gauges or screens worked. But some switches were still working. The brightness switch wasn't loaded. Attempt 2: Screens still didn't work. Brightness switch had loaded, but didn't control the light. Most buttons came back to life. Attempt 3: Everything back to normal except that the heading display had disappeared. And the light still wasn't working. In the End: Game crashed.

Alexustas commented 8 years ago

very strange.

i've make a little break on job and do quick test. I've added to my internals one "IntOmniLight_1m-FLOOD" prop and one "ASET_B-Knob_LD_DOME" prop. starts ksp... and it's all work just fine

Alexustas commented 8 years ago

I looked configs that you placed there and found no obvious errors. and only one difference - I use a variable "CUSTOM_ALCOR_POWERON" and you are using the variable "CUSTOM_POWERTOGGLE"

DeputyLOL commented 8 years ago

yeah, that's my battery switch. If its off, nothing works. I just loaded it in again, heading display is still missing?!?!?! and the light doesn't work.

Alexustas commented 8 years ago

are you using "CUSTOM_ALCOR_BACKLIGHT_ON" for back lightning props?

DeputyLOL commented 8 years ago

no, I just left that there as it was only controlling the label

DeputyLOL commented 8 years ago

i use CUSTOM_BACKLIGHTLABEL

DeputyLOL commented 8 years ago

would that affect it?