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 2:06 AM - Updated 19th Oct 2008 at 11:18 PM by Numenor : v.2.1: improvements and update to Apartment Life
219 Comments / replies (Who?) - 25 Feedback 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.

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

Sims 2
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: 14,299 · 15th Mar 2007
1.7 KB 14,299 15th Mar 2007
GlobalHack_Smarter-Lights_AllGames.rar

Size: 1.7 KB · Downloads: 69,575 · 4th Sep 2006
1.7 KB 69,575 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 1 of 9
Forum Resident
#2 Old 4th Sep 2006 at 2:11 AM
Excellent job! Looks very nice. Thank you, numenor!
Slacker of Immense Slackness
retired moderator
#3 Old 4th Sep 2006 at 2:11 AM
Woot great thank you! I am so happy to see outdoor light support and further enhancements to this great game mod =)

<:3))~~ Loverat
"In some cultures what I do is considered normal"

www.loverat.net Check it out for other recolours & lot uploads =D
Scholar
#4 Old 4th Sep 2006 at 2:16 AM
Nice job! But arent you on vacation? Im confused

Call me Paco!
Rhymes with Taco

I'm currently taking requests until August 12th.
Lab Assistant
#5 Old 4th Sep 2006 at 2:26 AM
Ya! I have the smarter lights, just got it a few days ago and i'm like whoa! An update of it already ... okie doke i'll stop rambling, but thanks! :D

Smooch the Grey Hound!:
here
Forum Resident
#6 Old 4th Sep 2006 at 2:45 AM
Thank you soo much for this!

Quid agis, medice?

My nickname is Purple Ginger
My nickname's nickname is Ping
Mad Poster
#7 Old 4th Sep 2006 at 3:06 AM
I really needed something like this today! Thank you!
Lab Assistant
#8 Old 4th Sep 2006 at 3:20 AM
As one who uses Gunmod's Lighting and gets frustrated by that twilight/sunrise time of mid-darkness as well as the pitch black bathrooms in the middle of the house that Sims stumble around in... THANK YOU! THANK YOU!
This is the perfect companion to that beautiful lighting mod!
Lab Assistant
#9 Old 4th Sep 2006 at 3:24 AM
Thank you

Visit my AVON Website.Shipped direct to your door:http://www.youravon.com/kathrynsmith
Stop the Junk, save a trunk :
http://www.USJunkMail.com/overview....er=KATHRYNS0136
Lab Assistant
#10 Old 4th Sep 2006 at 3:50 AM
Thanks, I wasn't really happy with how all those lights were on in the house in the middle of the night - even when sims were sleeping... This should add some realism to the game.

I have been retired from Simming for years now. I actually can't believe my work is still up after about 8 years and being downloaded. Lots of memories from the game and this website; these creations are a snapshot of a time in my life. Please continue downloading and enjoy.
Test Subject
#11 Old 4th Sep 2006 at 3:50 AM
Wow. The Modfather has done it again! Thanks!

Im megas3300 and I approve this message.
Lab Assistant
#12 Old 4th Sep 2006 at 3:52 AM
this makes the game much better w/Gunmod's Lighting, thank you very much

Thanks 4 sharing ur Hard work of art w/us.
Field Researcher
#13 Old 4th Sep 2006 at 4:50 AM
Oh thank you so much! I hate having to turn on/off individual lights...drives me nuts...lol.
Test Subject
#14 Old 4th Sep 2006 at 5:44 AM
Thank you sooo much! Your hacks are so useful and really enhance the game! I use GunMod's lighting and I was also bothered that I always had to turn on the lights when it was 6 pm. Thanks!! :D
Test Subject
#15 Old 4th Sep 2006 at 5:54 AM
Thanks! The best thing about this site has got to be finding amazing mods like this one.
Test Subject
#16 Old 4th Sep 2006 at 9:13 AM
I'm assuming this is compatible with GunMod's "Radiance Light System," so I'll give it a try!
Test Subject
#17 Old 4th Sep 2006 at 10:44 AM
Funny, I was just yesterday thinking that I really want that kind of outdoor light system, when the vampire grandfather of one of my families was tending the garden an the lights turned themselves off at 2am...

Thank you so much for this
Field Researcher
#18 Old 4th Sep 2006 at 1:20 PM
This all makes so much more sence then what the game originally does with the lighting. I'm so glad that both you and Dizzy cared enough to look into this.
Greatly appreciated!!
Instructor
#19 Old 4th Sep 2006 at 2:47 PM
I'm still not using Gunmod's mod (too dark), but I appreciate this mod nonetheless.
The way outdoor lighting works in the base game has always annoyed me.
Scholar
#20 Old 4th Sep 2006 at 2:52 PM Last edited by debwilldo : 4th Sep 2006 at 2:59 PM.
I have fallen in love with your mind.
Thank you for this and for everything else that you've shared with MTS2.


ps- this will go well w/GunMod's lighting which I really like. I read a post where someone thought radience lighting too dark; indoors (w/o lamps,etc.) on the east coast in fall/winter can get dark quickly. For me, GunMod's hack adds realism.

"What we say is good for nothing, if we say nothing for good.".
MTS2 Hot Pepper
#21 Old 4th Sep 2006 at 5:00 PM
I will try it!
Thanks!

Currently playing Sims 4 full collection. (and fixing my mods folder)
Be like the 22nd elephant with heated value in space- Bark!
retired moderator
#22 Old 4th Sep 2006 at 5:53 PM
Numenor, if this is what you come up with when you are on vacation then we are going to have to give you holidays more often! Thankyou so much, I loved Dizzy's Smart lights and I'm going to love this too!

I will choose a path that's clear- I will choose free will
-RUSH- -RADIO- -RADIO- -ARCHIVES-
Simpeople and Me Archive- -11Dots Archive- My Sims World Archive
Field Researcher
#23 Old 5th Sep 2006 at 7:19 PM
this guy are an hero of our time :D
The ModFather
retired moderator
Original Poster
#24 Old 5th Sep 2006 at 7:32 PM
Max, I'm not sure that the on/off timing is the one you requested, but it's a good approximation, anyway

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Lab Assistant
#25 Old 5th Sep 2006 at 10:09 PM
this mod is great. I love it. thank you :-)

I use the radiance light system 2.2

and its all much darker now.....when my sims enter a dark room during the day time the lights are not turned on when they come into the dark room and I cannot see anything at all.

is this because of this mod of cos of the radiance light system 2.2 ? hm ?!?

so during the day time I have to turn on many of the lights manually cos its too dark in most of the rooms even in rooms with window.

but at the evening everything works fine with the smart lights. I also love how you managed the outside lights :-) thank you
Page 1 of 9