MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Smarter Lights (Enhanced version of Dizzy2's "SmartLights") *v.2.1 (19 OCT 2008)*

by Numenor Posted 4th Sep 2006 at 1:06 AM - Updated 19th Oct 2008 at 10:18 PM by Numenor : v.2.1: improvements and update to Apartment Life
219 Comments / replies (Who?) - 10 Feedback Posts, 10 Thanks Posts
Picked Upload! This is a picked upload! It showcases some of the best talent and creativity available on MTS and in the community.
Global Mod: SMARTER LIGHTS *v.2.1*
(Enhanced version of Dizzy2's "SmartLights")
19 oct 2008: Improved and updated to AL! Smarter and smarter!




-----------------------------------------------------------------------

TOO LONG TO READ IT ALL? LOOK AT LEAST TO THE MARKS!

-----------------------------------------------------------------------


IMPORTANT!
This mod includes (and therefore is NOT compatible with) the following hacks, that MUST BE REMOVED from the Downloads:
  • smart-lights.package (by Dizzy2)
  • poollightsfix.package (by JM Pescado)
  • commlightson.package (by JM Pescado)

WARNING: this is a Global Mod, i.e. it affects all your lots in all your neighborhoods. This hack might be exported along with your lots: be sure to clean your lots with the Clean Installer before uploading them anywhere!

-----------------------------------------------------------------------

HISTORY and CHANGE LOG

19 OCT 2008: Version 2.1 released
  • Internal code improvement: in order to relieve the burden of the processor, the many checks that the routine performs continuously have been reduced and optimized.
  • Turn-off delay: when moving from a room to another, the game had to turn on some lamps while turning off other lamps (causing a visible lag in the game); now the turn-off occurs with a 7-second delay. This is mostly appreciable in Dorms, when the rooms are continuously entered and exited by many people (less turn on/off are triggered). As a positive side effect, when a couple sleeps in the double bed, the light doesn't go off until the sims move to the "embrace" position (I always hated how the light went off, then on, then off again! )
  • Full management of Hotels, Secret Lots (Vacation, Hobby, Witch) and Apartments: see the "Features" section for details.
15 MAR 2007: Version 2.0 released - Huge Update - Full management for Residential lots, Community lots, Dorms, Greek Houses, Secret societies, Downtown lots and Business lots.

17 SEPT 2006: UPDATE - Included Pescado's fix for pool lights ("poollightfix"). Also, tweaked the residential oudoor lights: now the street lights will stay always on from 6PM to 7AM (always off during the day); the garden lamps will stay always on from 6PM to 2AM; for the rest of the night (until 7AM) will auto-turn on only when there is an awake sim outdoor.
11 SEPT 2006: UPDATE - The lamps in community lots are now always on (same as Pescado's "commlightson" hack). This will ensure that strobo-lights and fire-lights in the Nightlife disco pubs never turn off, as well as the lamps in the OFB shops and other community lots.
04 Sept 2006: version 1.0 released.
--------------------------------------------------------


THE SMARTER LIGHTS IN BRIEF

Many of you already know and appreciate the beautiful "Smart Lights" by Dizzy2. This is an enhanced version of that very useful hack. I've greatly improved this mod, so to obtain the most "natural" light management possible. The purpose of this mod is to automatically turn the light on and off, depending of the type of the lot, the time of the day and what the sims are doing.
The Smarter Lights work at best in conjunction with GunMod's "Radiance Light System", though it absolutely NOT required for the SmarterLights to work.


GAME COMPATIBILITY
The "AllGame" version of Smarter Lights works in any game configuration; while being fully compatible with the base game alone, the mod will automatically benefit of the installed EPs, from UNI to AL, *including Pets*.
PETS owners, however, have a second option: in the special "Pets" version of the Smarter Lights, the pets can trigger the lights on and off, just like humans.


FEATURES

Notes: "Awake sims" include NPCs and visitors (and optionally pets). "Street Lights" are the lamps located in catalog in the section "Lamps / Misc" (therefore, the "City Dweller Dims" is included, as well as any existing and future clone of the "Misc" lamps.
  1. Residential lots / Greek houses (UNI)
    • All lamps, during the day (7AM to 6PM): The lights are always off; rooms without windows are automatically lit whenever a sim (pet) enters it.
    • Indoor lamps, from 6PM to Midnight: All the lights are on, except the room where there is a sim (pet) sleeping; if everyone in the lot is sleeping, the indoor lights go completely off.
    • Indoor lamps, from Midnight to 7AM: The indoor lamps are all off, except the single room where is an awake sim.
    • Outdoor lamps, from 6PM to 2AM: always on, even if all the sims (pets) are sleeping.
    • Outdoor lamps, from 2AM to 7AM: the street lights stay lit; the garden lights go off, unless there is an awake sim (pet) outside.

  2. Community lots / Secret Societies (UNI) / Downtown lots (NL) / Business lots (OFB) / Secret Vacation lots (BV), Secret Hobby lots (FT), Secret Witch lots (AL)
    • Indoor lamps, at any hour (day and night): always on.
    • Outdoor lamps: During the day (7AM to 6PM), always off; then, from 6PM to 7AM, always on. PLEASE NOTE that this means that some special outdoor lights (in particular the "Fire Jet" from Nightlife) need to be manually put to "always on".

  3. Dorms (UNI)
    • All lamps, during the day (7AM to 6PM): The lights are always off; rooms without windows are automatically lit whenever a sim (pet) enters it.
    • "Common" rooms, from 6PM to 1AM: All the lights are on, except the room where there is a sim (pet) sleeping; the lights never go completely off, because of the barista (who lives between 1AM and 2AM).
    • "Common" rooms, from 1AM to 7AM: The lamps are all off, except the single rooms where is an awake sim.
    • Private bedrooms: the light is always off, unless it's night and there is an awake sim (pet) in the room.
    • Outdoor lamps: identical to Residential lots (again, the Street Lamps never go off during at nighttime).
    • SPECIAL FEATURE for Dorms only: when all the playable sims are away or are sleeping, the game runs at max speed, while there are many sims on the lot. In order to prevent lights from being turned on and off very fast (which is useless and only slower down the game), all the autolight features are suspended, as long as the game speed is at max. This "suspension" works also if you manually set the game to max speed.
  4. Hotels (BV)
    • Suites (plus public bathrooms and small "service" rooms): the lights are always off, unless there's an awake sim in the room. During daytime the lights never turn on, unless it's a windowless room.
    • Reception, restaurants and common areas (except bathrooms and small "service" rooms): just like in Dorms, all lights go ON at 6PM and stay on until 1AM; from 1AM to 7AM, only rooms with an awake sim are lit (note: the NPC Bellboy and the Maitre force the Reception and the Restaurant to stay lit all night long).
  5. Apartment lots (AL)
    • Private areas: lights are turned on and off exactly like any Residential lot (see above).
    • Common areas: lights go on and off like in Dorms and Hotels.
  6. Overall code improvements:
    • (v.2.0) The code has been cleaned up and better tweaked to reduce the strain on the graphic processor. For example, turning on a light that is already on forces the game to a useless redrawing of the scene: this has been prevented. Or the check for awake/sleeping sim is performed only if strictly necessary.
    • (v.2.0) The old version caused an oddity "inherited" by the original SmartLights by Dizzy2; if the sim was going for instance from room A to room B, passing through a corridor, the corridor didn't light up (because the sim was considered "en route": his destination was not in the corridor but in Room B). Now the light is turned on in every room where there is a sim, whether he is only passing by or he is going to stay there.
    • (v.2.1) When searching for sleeping/awake sims and pets, the scan ends as soon as a "relevant" sim is found (previously, all the sims were always checked).
    • (v.2.1) The turn-offs have been delayed by 7 seconds, so to avoid continuosly switches, and to relieve the game from turning lamps on and off at the same time.


INSTALLATION: extract the package from the chosen rar (either the AllGames *OR* the Pets version: NOT both!) and put it into your Downloads folder. Be sure to remove Dizzy2's mod, first! This hack is NOT compatible with the original SmartLight by Dizzy2, nor with the hacks by JM Pescado listed at the beginning of this post.
On the other hand, this hack IS compatible with GunMod's "Radiance Light System".

UNINSTALLATION
Remove the file "Numenor(Dizzy2)_GlobalHack_Smarter-Lights_AllGames.package" from your Downloads folder. If you have chosen to install the special "Pets" version, the file to remove is named "Numenor(Dizzy2)_GlobalHack_Smarter-Lights_Pets.package".

CREDITS to Dizzy2 for the original SmartLights mod (thank you also for having put it in the public domain: my work has been much easier! ).
Credits to J.M. Pescado for the "commlightson" and "poollightsfix" hack, included in this mod.

REDISTRIBUTION POLICY
Unlike my other creations, the "Smarter Lights" mod is put in the Public Domain, i.e. anyone can do whatever he wants with it ; but if you modify it in any way, I'd appreciate to know it: we could implement the various features into one single mod. In any case, if you post a modified version of this mod, please declare it not compatible with my version.

Type:
      Global Mods: Mods that change the way the game works without requiring any user intervention.

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
GlobalHack_Smarter-Lights_Pets.rar

Size: 1.7 KB · Downloads: 15,430 · 15th Mar 2007
1.7 KB 15,430 15th Mar 2007
GlobalHack_Smarter-Lights_AllGames.rar

Size: 1.7 KB · Downloads: 75,035 · 4th Sep 2006
1.7 KB 75,035 4th Sep 2006
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:

1. Download: Click the download link to save the .rar or .zip file(s) to your computer.

2. Extract the zip, rar, or 7z file.

3. Place in Downloads Folder: Cut and paste the .package file(s) into your Downloads folder:
  • Origin (Ultimate Collection): Users\(Current User Account)\Documents\EA Games\The Sims™ 2 Ultimate Collection\Downloads\
  • Non-Origin, Windows Vista/7/8/10: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads\
  • Non-Origin, Windows XP: Documents and Settings\(Current User Account)\My Documents\EA Games\The Sims 2\Downloads\
  • Mac: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads
  • Mac x64: /Library/Containers/com.aspyr.sims2.appstore/Data/Library/Application Support/Aspyr/The Sims 2/Downloads
Need more information?
 
219 Comments / Replies (Who?) - 203 Feedback Posts, 10 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 9 of 9
Test Subject
#201 Old 7th Apr 2010 at 10:54 PM Last edited by Nimil : 7th Apr 2010 at 10:56 PM. Reason: found my answer
never mind found a comment that fixed my problem. love this mod its a must have <3
Forum Resident
#202 Old 23rd Aug 2010 at 2:44 AM
Thank you very much for sharing this great mod Numenor. Keep up the good work.
Forum Resident
#203 Old 17th Sep 2010 at 4:27 AM
smarter lights is a gret hack Numenor just like your other work. Thanks a lot for sharing your hard work. Keep up the good work.
Test Subject
THANKS POST
#204 Old 30th Sep 2010 at 10:25 AM
thank you so much!!!!
Test Subject
#205 Old 25th Sep 2011 at 4:37 AM
The All Game Version can be used even if you don't have at least one EP. I do not have Seasons installed to preserve performance. I'm trying to begin to film a movie, just can't install Seasons right now till I release it on YouTube. Thanks.
Lab Assistant
#206 Old 14th Oct 2011 at 3:13 AM
It is neat of how the room detection works in apartment life, I din't think that was possible with the way the game is Hard-Coded

Please be advised that a noticeable taste of blood is not part of any test protocol but is an unintended side effect of the Aperture Science Material Emancipation Grill, which may, in semi-rare cases, emancipate dental fillings, crowns, tooth enamel, and teeth.
Lab Assistant
#207 Old 25th Nov 2012 at 5:25 AM
please help i am having problems the lights wont turn off i have installed this mod but they wont turn off i dont have dizzy2 old version
Lab Assistant
THANKS POST
#208 Old 13th Mar 2013 at 7:04 AM
Thanks! I definitely needed something like this!
Test Subject
THANKS POST
#209 Old 18th Jun 2013 at 11:29 AM
Finally! I had lost the hack and now I'm fighting with the lights always on, even during the night, and the "automatic" function not working! Pfff ... Thanks, Numenor!
Field Researcher
THANKS POST
#210 Old 26th Oct 2013 at 11:41 PM
Fantastic mod. It really makes the lights smart.
Test Subject
THANKS POST
#211 Old 1st May 2014 at 4:10 PM
It truly is annoying when every light in the house is on besides the bedroom(s) where sims are sleeping. Thanks for this hack!
Field Researcher
THANKS POST
#212 Old 28th May 2014 at 12:56 AM
this is awesome! thanks!
Field Researcher
THANKS POST
#213 Old 3rd Jul 2014 at 5:00 AM
This doesn't mention Mansion & Garden anywhere, assuming that's because it was released a long time after this was created. I hope that it's compatible.
Field Researcher
#214 Old 3rd Jul 2014 at 5:27 AM Last edited by Thax : 3rd Jul 2014 at 6:47 AM.
Edit: Nevermind, I found out I'd ruined the lighting file myself.
Top Secret Researcher
THANKS POST
#215 Old 26th Jul 2014 at 12:15 AM
Call me silly, but which version do I install when using the Ultimate Collection?

Do I use the All version because I have it all, or Pets because I also have pets? ._.
Test Subject
#216 Old 6th Sep 2014 at 3:20 AM
Quote:
Originally Posted by siletka
Call me silly, but which version do I install when using the Ultimate Collection?

Do I use the All version because I have it all, or Pets because I also have pets? ._.


All......
Lab Assistant
THANKS POST
#217 Old 29th Aug 2015 at 12:12 PM
This only makes sense, I ended up turning off all lights manually during night because it bothered me to have them always on, Great mod!
Test Subject
THANKS POST
#218 Old 10th Mar 2016 at 5:03 AM
thanks
Test Subject
#219 Old 20th May 2017 at 6:30 PM
Default A Little Too Late
Can you set the mod to work at 7pm to 6am. Because 12.00AM is a little too late for me. The Mod only works in midnight, and its kind of bothering me.
Test Subject
#220 Old 21st May 2017 at 4:22 PM
Quote:
Originally Posted by matt43
Can you set the mod to work at 7pm to 6am. Because 12.00AM is a little too late for me. The Mod only works in midnight, and its kind of bothering me.

If anyone knows how to change the time of when the mod is active please share!
Page 9 of 9