This little script is meant as a script to automatically create light entities for all of the mapmodels you have in your map.
It won't place them correctly (as such a thing is impossible currently in Sauerbraten) though! This is also the reason why shadow-casting calclights aren't supposed to be calculated after using Autolight!
Meant to be run only once, and preferably near the end of the development cycle of a map.
And yes, I know my script isn't really optimized.. ;)
Attachment | Size |
---|---|
autolight.jpg | 163.21 KB |