So, I made a light file, named it light5-1.jpg, as my map's id is Map005, and it just doesn't work.
I'm not using any of the variables for something else, so what's going on?
Please post a link to the script in question + your set-up event if you have one. 🙂
Also, I believe this should go into Script Support as it's for a specific script. Anyway, let the mods handle that one.
Have you checked switches and variables with F9 when playtesting the overlay?
It might be that something switches them off or changes the values without your knowledge.
The switches need to be ON and the light variable set to 1 for your picture to show up.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Please post a LINK to the script. Do not post the entire script here.
The supposed "conflicts" with other scripts is probably because you haven't read the instructions and configured them all correctly.
All switches are on by default. Tried it in a fresh project and again, it just doesn't work.
I can't give a link to the script as his site is dead.
When I checked with F9 the first 4 were on, without me making an event or anything.
I managed to get the ground/parallax to work, but sadly it doesn't work the way I'd like it to, because suddenly my shadowlayer will let people walk over it instead of under it.
Guess I'll have to stick to V's fog, and then find something else for the sunrays / backgrounds.
That is because the script, by default, uses the first 4. You are meant to go and find switches/variables you are NOT using yet, name them so it's clear they're being used by the script, and then go and edit the script to tell it which switches/variables to use.
What's happening is that because you haven't told the script to use new ones, it's using ones that are already used by other events in your game, and they're going to conflict.
So what you need to do is NOW look at the script, see what switches and variables it uses, go and find the same number of switches and variables that you haven't yet used for your game (this, of course, requires that you put a name against them when you DO use them), name them so you don't accidentally use them later for something different, and go and change the switch and variable ids in the script to the ones you've allocated.