Jump to content

How can you change objects in day-night? (Creation Kit)


samv96UK

Recommended Posts

Hello,

 

I'm currently working on a new mod, in which I am making a city.

 

In this city I have streetlamps and windows with a glow from the inside of them. I also have light effects around these objects.

 

As you can probably imagine, it looks a bit silly to hve streetlamps and glowing windows on during the day, so I was wondering, does anyone know how to change an object so that is is different from day-night?

 

For example, could you change a lantern with candles to a lantern without candles during the day? Or could you make a light turn off when it gets to daytime?

 

Thanks

Link to comment
Share on other sites

I have found that the weather lighting affects things, as in if the ambient light level (or more the point, shade / colour) was set to a high amount then gaurds wouldn't get out their torches regardless of time of day. Same if you set the ambient to a low value, they'll be walking around with torches in the middle of the day!

 

So go into creation kit, think its under world data section, then weather. Open a weather type, and in first window you'll look at top left and you'll see a RGB colouring section, use the drop-down list and the top one is ambient. Don't know the exact cutoff for lights or no lights, but on a grey-scale its somewhere around 1/4 to a 1/3 (from bottom).

 

Dunno if this affects anything else tho, and dunno if there's a better way, but is all I know.

Link to comment
Share on other sites

There are lit and unlit lantern meshes, and you should be able to enable/disable them at a certain time of day using a script. Something like this script: http://www.creationkit.com/Light_Switch

 

Another solution might be setting the External Emittance on some of the lights. This site has some info on emittance: http://www.creationkit.com/Bethesda_Tutorial_Lights_and_FX

Setting an external emittance will make a single light source change appearance depending on the time of day. I haven't played around too much with this, but I think I remember seeing a few that were set to cycle opposite the sunlight (so they would be brightest at night and dim or non-existent during the day).

Link to comment
Share on other sites

Thanks for the replies guys, I'll give both of them a try!

 

Okay, I believe i've sorted out the situation with the actual lights, but I'm still stuck on the objects. What I would like to happen would be, as an example, the object is "CandleLanternwithCandle" but changes to "Lantern" in the day (CandleLanternwithCandle being the object with the candle on, Lantern without).

 

Any ideas how I could tweak that script on the CK site to make it work for this?

Edited by samv96UK
Link to comment
Share on other sites

You shouldn't need to change anything. Place the script on a single light or parent reference, and then link all your other lights up to that one parent reference. Just do the same thing with your two lanterns. You should be able to use the same parent reference that you're using for the lights. The only difference will be that for the "Lantern" (the daytime version), you'll want to check the box on the Enable Parent tab to set the enable state to opposite of parent. Edited by kryptopyr
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...