Hello! Due to the ambiguous nature of this request, I have chosen not to post it in Script Support. If this is an issue, I can ask for it to be moved. The request can be fulfilled by either creating a script from scratch, or by heavily modifying an existing one, or even by creating an add-on script.
My project is in need of a lighting script... Okay, great. I'm using Zeus81's Lights and Shadows currently, and I enjoy the look of it, though it is missing a couple of needed features, namely dynamic shadows for terrain as well as events.
These two features, dynamic event shadows, and dynamic environment shadows, are the two halves of this request, with compatibility being an important side objective. Edit: A potential script for dynamic event shadows has been found! See bottom of post.
The second choice for editing or add-ons here is Khas Awesome Light Effects. Though it has most of the features I need, it is very resource intensive on my project, and would require at minimum some compatibility work. While this script has dynamic shadows for terrain, this is designed with tiles in mind. Due to my project having an unusual mechanic of rotating the map's perspective, the environment is created entirely with parallax mapping, collision maps, and events. Thus, the script must be able to make light "collide" in some way. (Else the light will pass through walls, and everything else.)
I've been pondering this for some time now, and I've come up with a couple of ideas. The first is using Galv's Layer Graphics, linked above. I have a layer included at the bottom of this post that consists of the top of every wall on the map. Hypothetically, a script could be made to "detect" this layer, and not display light on or past it. This, unlike the other solution, would allow the walls to be lit without major issue; however, there might be cases where they are lit incorrectly due to angle. Still, this is my preferred option, if even possible.
The second idea is very similar. Tsukihime's Collision Maps, linked above, allows you to use a .png file to determine what is and is not passable, using color. Usage of this for lighting would solve the issue of light passing through everything. However, the walls would not be lit at all, which seems like a massive headache to fix.
The third idea is simply making an entirely new script for what I need. This would probably be more trouble than it's worth.
As for the dynamic shadows on events, I know I would want them to be shaped as the event is, but I don't know enough on this area to really have much of a say. Edit: See below.
Any help, as always, would be appreciated. This is a tall order, and I completely understand if you can't help.
Edit: Forgot to include the images! Oops!
Edit 2: While I've been waiting for mod approval, I've been looking through my list of bookmarked scripts, and found one that does dynamic shadows on events! Assuming I can get it working properly, this script should solve that part! All we need to worry about is compatibility.
My project is in need of a lighting script... Okay, great. I'm using Zeus81's Lights and Shadows currently, and I enjoy the look of it, though it is missing a couple of needed features, namely dynamic shadows for terrain as well as events.
These two features, dynamic event shadows, and dynamic environment shadows, are the two halves of this request, with compatibility being an important side objective. Edit: A potential script for dynamic event shadows has been found! See bottom of post.
The second choice for editing or add-ons here is Khas Awesome Light Effects. Though it has most of the features I need, it is very resource intensive on my project, and would require at minimum some compatibility work. While this script has dynamic shadows for terrain, this is designed with tiles in mind. Due to my project having an unusual mechanic of rotating the map's perspective, the environment is created entirely with parallax mapping, collision maps, and events. Thus, the script must be able to make light "collide" in some way. (Else the light will pass through walls, and everything else.)
I've been pondering this for some time now, and I've come up with a couple of ideas. The first is using Galv's Layer Graphics, linked above. I have a layer included at the bottom of this post that consists of the top of every wall on the map. Hypothetically, a script could be made to "detect" this layer, and not display light on or past it. This, unlike the other solution, would allow the walls to be lit without major issue; however, there might be cases where they are lit incorrectly due to angle. Still, this is my preferred option, if even possible.
The second idea is very similar. Tsukihime's Collision Maps, linked above, allows you to use a .png file to determine what is and is not passable, using color. Usage of this for lighting would solve the issue of light passing through everything. However, the walls would not be lit at all, which seems like a massive headache to fix.
The third idea is simply making an entirely new script for what I need. This would probably be more trouble than it's worth.
Any help, as always, would be appreciated. This is a tall order, and I completely understand if you can't help.
Edit: Forgot to include the images! Oops!
Edit 2: While I've been waiting for mod approval, I've been looking through my list of bookmarked scripts, and found one that does dynamic shadows on events! Assuming I can get it working properly, this script should solve that part! All we need to worry about is compatibility.