TPW HOUSELIGHTS - Ambient house lighting
Author: tpw
Requires: Community Base Addons for Arma 3
Compatibility: SP, MP client

Description
-----------
Altis and Stratis may have power for working streetlights, but it looks like someone stole all of the lightbulbs from the houses along with all of the furniture. TPW HOUSELIGHTS aims to remedy that theft by adding lighting to the habitable civilian houses (basically the white houses with intact doors and windows) on these islands.  

TPW HOUSELIGHTSis a total rewrite of TPW HOUSELIGHTS for A2, requiring Arma 3 specific assets and scripting commands, and utilising the beautiful dynamic lighting system of Arma 3 to allow for much more realistic and believable ambient house lighting. In fitting with the futuristic and fully electrified islands of A3, there are no flickering lanterns or candles, only simulated lightbulbs that blend in with the existing lighting and help further the illusion of inhabitation (particularly if used in conjunction with TPW CIVS. 

Features
--------
	- Automatically spawn lights into houses within 50m of player at night
	- Lights only spawned into intact civilian houses (not sheds/shops/slums/stonehouses/damaged/unfinished/military etc)
	- Lights are spawned at ceiling height
	- Lights use dynamic lighting and flare to simulate lightbulbs in appearance and illumination
	- Lights are removed once a player moves > 50m from them

Known issues
------------
	- TPW HOUSELIGHTSis written for SP, but will probably function OK in MP client. It won't run on a dedicated server.
	- I have spent a lot of time tweaking the light settings to simulate lightbulbs that don't bleed too badly through walls, and have thus imposed my will for the time being as to their appearance. There are no hpp configuration options for the lights, but you can of course try changing the script. 
	- Using the default settings should spawn no more than 10-15 dynamic lights around the player, which should be within the engine's ability to cope with. You may however notice lights flickering or suddenly coming on, particularly if there are several nearby streetlights or vehicle headlights.

Thanks
------
Bashka: class based house detection tips	
Spliffz: A2 OA house classnames