I'm having two issues with this awesome script.
Issue 1:
When I leave from one map to another the lighting in both rooms gets messed up as well as the shadows, by messed up I mean the lighting is either brighter than before or the shadows aren't correct in the fact that it treats a wall as a floor instead of a wall.
Issue 2:
I'm using FenixFyreX's In-Depth Maps script which allows ceiling tiles to be placed over the character. But when I simulate lighting either by changing the surface color or by flashing the screen the character briefly appears above the ceiling tiles not sure how to fix that other than to get rid of the lightning (can do it but I like the effect it gives).
Other than these issues it's an awesome script.
slkjdfv
Issue 1:
In order to solve this you must check your tile tags (for the correct shadows) and also your event commands.
There's must be some event interfering with the brightness.
Issue 2:
Shadows won't work well with the script you said. The geometry is calculated assuming that the light source isn't behind tiles, and I can't change this :/
Thought I'd ask quickly, say I wanted guards patrolling around a town at night, how would you gear them with a light as if they were holding a lantern, I tried chopping around and giving them the comment command to have a light but the light source remains on the spot while the guard moves away.
So I fixed my overhead ceiling issue. The error was on my part I was enabling a switch that was bound to the ceiling script. That's what was causing the player to briefly appear, I just bound the script to another switch, How ever I'm still having an issue with the shadows. It seems to be in only one of the rooms. I don't have any events changing the lighting or anything when switching from one room to the next yet when I go back to the first room it gets brighter then when I re-enter the other room its walls have now become floors and have shadows. I'm sure I'll figure it out eventually. And yes I have them marked correctly within the tilesets cause when I first enter the room the shadows ARE how they are supposed to be its just when I leave and go back that this issue occurs. Thanks again for the help. I can post a screen shot if you need it.
Skurge
This script only has support for one lantern. If you want to give lanterns to events you may want to use my newer script, the Ultra Lighting.
essen46
Unfortunately I can't make this compatible for lack of time reasons, but if you know RGSS, you can set the zoom_x and the zoom_y of the $game_map.light_surface. You may set the ox and the oy to center the image too.
slkjdfv
That's really weird. If you post the screenshot we may figure what's happening!
If you study rgss a bit and study the Sprite class methods, you should be able to do it 😀
Is the colour light only exclusive for the ultra light script? I have a few rooms that have dark red tints and such and instead of having a red orb emitting a white/yellowy light I find a faint red one to accompany it might look nicer.
@Khas
Hello!
I'm not sure if it's a bug, but lights stay in the same spot once they are put on the map. Even if I use move route or set event location, the light stays on the same spot u.u
Is there a way to fix it? =)
Thanks in advance
slkjdfv
Oh, so I think it is the ceiling script. Have you tried disabling it?
Skurge
You can make colored lights with this script, you just need to use a colored graphic. But Ultra Lighting has advanced color blending/composition, so it will look nicer! eaffeijij
Kizami
Moving lights will only work with my new script (ultra lighting). This one doesn`t have support for moving lights with shadows.
I've tired making an event much like the other ones that call for a light effect using a red light graphic but it still shows the same normal one even though the text is different.
How would you get past this?
Wait... The script is $24..? 🙁
I guess I might upgrade eventually. 🙁
coticka
Thanks!
Is the lantern active on this scene?
This is really weird and unexpected!
Don't use parallel process events for setting a lantern/making a surface change.
Just use an autorun event and place an erase event command at the end of the event.
If you really need to use a parallel process event, you can still do the same, just put an erase event at the end, or else it will run constantly, and that is not needed.
And remove the lantern script calls from the first event. I guess, that is that light on the upper corner.
coticka
Oh, just remove the script call from your fire event. The script commands are meant to control the player's lantern.