Main Menu
  • Welcome to The RPG Maker Resource Kit.

Lighting effects or scripts

Started by shadow-man, March 16, 2012, 12:43:44 PM

0 Members and 2 Guests are viewing this topic.

shadow-man

i am looking for a good lighting effect/script.

is there anyone that can point me in the right direction?

Capua Aelita

This should point you in the right direction.
Sometimes I wonder if I need psychiatric help :'(

shadow-man

thanks but i am google-ing it and youtubeing it so thanks for the sarcasm, but i thought this website was to help point people to a script.

I found this
http://www.hbgames.org/forums/viewtopic.php?t=21314

but i am not sure how to implement it.

D&P3

What maker are you using first of all?
(XP, VX, Ace)
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

shadow-man


AbsoluteIce

Quote from: shadow-man on March 16, 2012, 01:32:28 PM
Oh sorry I am using Xp
Why don't you try searching for Ccoa's Weather Script?
It's in both XP and VX.
なんでやねん

shadow-man

weather script?
i need something for street lighting,fire etc

AbsoluteIce

なんでやねん

shadow-man

that is not bad, but i dont want to seem ungrateful but is there another script or method of making a lighting effect that looks more like a real light.
something like this but with a bigger effect area?

http://media.photobucket.com/image/rpg%20maker%20xp%20candle%20effect/BabyPinkFireFly/brighterlights.png

Zylos

#9
This can actually be done rather simply without a script. I'm sure there are tutorials for it somewhere around in the tutorials board.

The effect can be done with custom fogs and picture effects. For simpler lights or shadows that follow around you, you can do this very easily with a simple gradient picture. Just find or make a glowing gradient ball like this, and use the show picture command in a parallel process event for where you want the light to be. Or, if you want it so that the light follows you around, you can set up a parallel process  common event to check the player's location via two variables (check the control variables command, look at player's screen x/y) and move the picture to those coordinates.

For more detailed shading, pretty much what you do is you take a screenshot of the entire map that you want to play with, and copy that over to your favorite image editing program (anything that uses multiple layers, like GIMP or Photoshop). Create a transparent layer over top of it, and use the gradient tool to make the effects you want in specific locations. Rays that come from windows, glows from some flares on the ground, the light of a lamp on a desk, use your imagination. When you've got all the effects that you want, you then simply remove the first layer (the screenshot layer) so that the image is transparent, and you save it to your game's fog folder. After that, all you have to do is put the fog onto the map you want, and you've got instant shading effects.


If you'll pardon me using examples from my own game here:

[spoiler=Picture Only]

This is an example of the picture effect from the first paragraph. It's an inverse gradient, where the rest of the picture is black EXCEPT for the transparent gradient effect on the player. This picture will follow the player wherever he goes thanks to a common event that is always checking the player's X,Y coordinates.[/spoiler]

[spoiler=Custom Fog]

Maybe not the best of examples, but you see those glows around the flares? That's from a custom fog map inserted above the whole map. The best part is that you can mess with the zoom of the fog to give them a bit of a flicker effect. It's not easy to make sometimes, but it can be worth it for the end effect.[/spoiler]




shadow-man

zylos! did you get me message? good to hear from you again  :zwink: