Jump to content

A brief inquiry about lights and config files


Spark Plug

Recommended Posts

Hi all. I want to mess around with some of the B9 aerospace utility parts, to be specific I want to speed up the activation of their lights.

I'm guessing that the .cfg parameters in question are the ones below, but correct me if I'm wrong.


MODULE
{
name = ModuleLight
lightName = light_N2
useAnimationDim = true
lightBrightenSpeed = 1
lightDimSpeed = 1
resourceAmount = 0.01
animationName = B9_Utility_Light_N2
useResources = true
}

What I want to know is how the value for "lightBrightenSpeed" there is related to the time it takes for the light to intensify from being in its off state. Will increasing this value speed up the light turning on or slow it down instead? I can't tell from my outsider's perspective on configs and modules whether the relationship is directly proportional or inversely proportional.

Link to comment
Share on other sites

I would only assume it is how fast the light turns on. The module plays the unity animation which animates a light object on the model that actually produces the light. They also can use an emissive texture for the bulb and animate both with the module. The dim speed is how fast the light fades to off I would assume.

Test it and see for yourself. I'd say 80% of mods I've made so far I've had to figure it out on my own my trial and error.

Link to comment
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.

×
×
  • Create New...