Dynamic lighting in XP

Hi all.
Have a student at school who I am mentoring who is having a problem with being able to create ambient lighting to light up areas of interest in rooms to guide the player.
We are using XP and not familiar with how to use scripts but we think that's going to be the only way to do this.
We have tried to use graphics we made ourselves but they are not transparent so you cannot see anything under the light.

Any thoughts or help would be greatly appreciated.
Mr Wyatt
You need to use a program like GIMP or paint/NET (both free) to create overlays which have transparency, or are only semi-opaque. Not all image programs can handle transparency.

The simplest way of doing this is to have a graphic the same size as your map, put a shadow colour (e.g. darkish brown) over the whole thing at an opacity of e.g. 30%. You might need to experiment on the opacity to get the level you want for the atmosphere of that particular place. Cut away the areas that need to be lighter. You could fill those areas with a suitable lighter colour (depending on whether it is a candle, a window, a fire burning, these will all vary), use Gaussian Blur to soften the edges of those cut out areas. Import it into XP, folder Pictures, and use it with the Show Picture command.
There are two ways to tackle this.

One would be to use a script. Heretic's Dynamic Lighting is good, but it takes a bit of configuring. He doesn't have it as a separate script, but instead a demo with a variety of other scripts: https://forum.chaos-project.com/index.php/topic,13682.0.html

The other method is to do it graphically by setting an image the exact same size of the map as a fog graphic (not a picture). The only real good way to do this is to have an image version of the map in editing software like GIMP/Photoshop and creating a layer above it to test it out. This is a lot of work. You can also get a really nice effect by using blues and greens and using "Subtract" blending on top (which will create reddish shadows). Be sure to set the opacity appropriately, either on the graphic itself or in the fog settings in RMXP.

Note that if you use "Show Picture" like Kes suggested, this will only show a picture over the screen. The graphic will move with the player, instead of being tied to the map itself. This is better suited for effects like a "torch" or "lantern" where you create a vignette around the player, but not for marking particular events or areas of interest on the map.

Original thread: https://forums.rpgmakerweb.com/threads/dynamic-lighting-in-xp.112980/