Allow the sun to illuminate the station
Created by: dylanstrategie
To break it down :
- The sun currently rotates around the station, but it's just a datum with some basic position calculation to be used by the -very- physical solar panels
- As we all know, suns have a tendency to illuminate what is in the way of their light rays
- But strangely enough, if you blow every single light on station, the entire station will be pitch dark, even the areas with huge window bays "facing the sun" (where solars would output)
Suggestion :
- Make it so that the sun outputs light, so that if a window bay is facing directly to the sun's current position it gets illuminated
- If Vampires bathe into sunlight, fuck their shit up. Remove generic "hurt in space" and replace it with "specifically exposed by sunlight", give them an ample warning to tell them to get the fuck out of here before shit gets really bad
Since the sun is a pure datum, that might be a tad hard, but on the paper this idea seems pretty fantastic. I would personally suggest this method for coding it in :
- Assign an obj/sun to the sun itself, that is moved with the sun itself, is always on the world borders and is completely invisible (might be a bit hard and hacky)
- Code in a very special light that uses the sun's coordinates (more advanced, and allows one to tune it to hurt vampires)
- Just make the light something like 500 luminosity (would make everything in sunlight fullbright, but it would work fine. And normally not lag since the sun updates slowly)
- Use more advanced pathfinding and fall-off so that sunlight penetrates a few tiles through the window bays (10 or so) until fully fading out. More beautiful and less lighting-controller expensive if coded properly, but complicated