I wasn't thinking of the first one, but both would be nice to add to the gameplay. Thanks for the idea
Khas Awesome Light Effects
RGSS3 Scripts (RMVX Ace)I think that can already be done withe the proximity script, just have their proximity match their light area.
@oddball
This is a pretty cool idea! I will try to do a quick "plugin" script after the new one is released to add this feature.
This is a pretty cool idea! I will try to do a quick "plugin" script after the new one is released to add this feature.
I have actually done some common eventing that can turn on and off both the flashlight and glow area at the will of the player if you would like to see it(note, it's in the current build of a free game I've been working on.
Yea, thanks. My brain is already buzzing with idea's about how to use this
I'm having a weird issue.
http://i.imgur.com/bYz5AYU.png
And when I walk around, this happens...
http://i.imgur.com/4hvY0jR.png
It follows me around. It's looks pretty funny, but as you can imagine, that's not what I'm trying to accomplish.
Any help is appreciated. Thank you!
http://i.imgur.com/bYz5AYU.png
And when I walk around, this happens...
http://i.imgur.com/4hvY0jR.png
It follows me around. It's looks pretty funny, but as you can imagine, that's not what I'm trying to accomplish.
Any help is appreciated. Thank you!
@cooldoode325
Are you using a custom resolution script?
If so, use CTRL+F to search for "544" and "416". Replace these numbers by your custom resolution.
Are you using a custom resolution script?
If so, use CTRL+F to search for "544" and "416". Replace these numbers by your custom resolution.
Should've guessed that lol. Thank you! It looks great now!
Ok, I'm a bit confused...
In the script it says it's for non-commercial projects, but it doesn't say so in the terms of use you linked to. So which is it?
In the script it says it's for non-commercial projects, but it doesn't say so in the terms of use you linked to. So which is it?
The terms on my blog are the latest: http://arcthunder.blogspot.com.br/p/terms-of-use.html
Apparently, I'm having the most noobish problem of all...
every time i try to start the game with the script in it i get a "Cannot find graphic light" Error....
every time i try to start the game with the script in it i get a "Cannot find graphic light" Error....
Sorry for the double post...
My computer was lagging and i clicked post again thinking it didn't register the post
My computer was lagging and i clicked post again thinking it didn't register the post
Did you follow the instructions in the script about putting in the graphics for the lights? they aren't that procedural, you still need the base graphic for the area that the lights cover, the graphic then gets cut into for going around corners and such(this cutting is done by the script, you just need the base graphics for stuff).
I have been trying for the past FOURTEEN STRAIGHT HOURS to implement a working clock - night / day system alongside KHAS "awesome" lighting script to no avail.
If I have a night/day tinting script working, the lamps only light up as far as the tinted screen allows, making everything look too dark at night.
If I set up a time of day system with variables and switches to call upon the script to light the areas instead of tinting, it only halfway works. I either get frozen screens when trying to avoid erasing the event after tinting, OR it only tints once and only as I enter the map. I've tried everything from forcing the player to squeeze through 'below characters' events every few paces with conditional branches to blend into night colors if the TimeOfDay variable =1900hrs or later, to creating conditional branched events autorunning that tint the screen using the script based on TimeOfDay on each map. I can't continue this game until I get past this.
All I want is a game where after the in-game 'clock' reaches certain points, to have lamps and lanterns turn on AND SHOW at night. I don't want to change maps to increase time, I want to see night colors fade in, and see the lamps come on at night without having to change maps. Is that too much to ask? Or is this script incapable of working like that? What should I do? HELP!
If I have a night/day tinting script working, the lamps only light up as far as the tinted screen allows, making everything look too dark at night.
If I set up a time of day system with variables and switches to call upon the script to light the areas instead of tinting, it only halfway works. I either get frozen screens when trying to avoid erasing the event after tinting, OR it only tints once and only as I enter the map. I've tried everything from forcing the player to squeeze through 'below characters' events every few paces with conditional branches to blend into night colors if the TimeOfDay variable =1900hrs or later, to creating conditional branched events autorunning that tint the screen using the script based on TimeOfDay on each map. I can't continue this game until I get past this.
All I want is a game where after the in-game 'clock' reaches certain points, to have lamps and lanterns turn on AND SHOW at night. I don't want to change maps to increase time, I want to see night colors fade in, and see the lamps come on at night without having to change maps. Is that too much to ask? Or is this script incapable of working like that? What should I do? HELP!
@Atomchild
Calm down. It isn't the script's fault that you are not getting your custom system to work. So, let's review what you are doing. If this day/night script is using the default tint command, it won't work with my lighting script because it darkens the screen with another method. I may make both scripts compatible if you send me the link to this day/night system you are using.
Calm down. It isn't the script's fault that you are not getting your custom system to work. So, let's review what you are doing. If this day/night script is using the default tint command, it won't work with my lighting script because it darkens the screen with another method. I may make both scripts compatible if you send me the link to this day/night system you are using.
Evgenij's Time and Period System can make it.
Vlue's Time System can do it too.
Both have compatibility with Khas' script.
You are not doing it right if you can't manage to do it.
I haven't used Vlue's Time System since a long time, but I did use Evgenij's, and it is easy to do it with that one if you have some experience with script usage and switch usage (the latter is more about eventing than scripting).
You can make a switch activate once the time reaches a period. You should activate the lamp switch at the "dusk" or "night" period (just examples), and deactivate it at "dawn" or "morning" period.
And once you did this, the only thing you need to do is to make 2 paged events for your lamps using the same switch you have setup for your periods, one is for "dusk"/"night" time, and one is for "dawn"/"morning" time.
Last time I tried it, it worked for me without any issue.
Vlue's Time System can do it too.
Both have compatibility with Khas' script.
You are not doing it right if you can't manage to do it.
I haven't used Vlue's Time System since a long time, but I did use Evgenij's, and it is easy to do it with that one if you have some experience with script usage and switch usage (the latter is more about eventing than scripting).
You can make a switch activate once the time reaches a period. You should activate the lamp switch at the "dusk" or "night" period (just examples), and deactivate it at "dawn" or "morning" period.
And once you did this, the only thing you need to do is to make 2 paged events for your lamps using the same switch you have setup for your periods, one is for "dusk"/"night" time, and one is for "dawn"/"morning" time.
Last time I tried it, it worked for me without any issue.
Done! This little code should make my script compatible with Evgenij's Time and Period System.
Just place it after both scripts!
Just place it after both scripts!
Code:
class Light_Surface def initialize @ta = @a = 255 @tr = @r = 0 @tg = @g = 0 @tb = @b = 0 @va = @vr = @vg = @vb = 0.0 @timer = 0 end endclass Game_Troop def set_screen_tone(tone, time) $game_map.effect_surface.change_color(time,255 + tone.red,255 + tone.green,255 + tone.blue) end endclass Game_Map def set_screen_tone(tone, time) $game_map.effect_surface.change_color(time,255 + tone.red,255 + tone.green,255 + tone.blue) end end
@Khas
I had to scratch the old night/day script because it was incompatible with yours. Once I set up Advanced Game Time + Night/Day v1.5.2 by V.M of D.T.. (Is that Vlue?) , and after some tweaking, I managed to call both scripts for lighting and everything works perfectly:
While indoors, lamps and torches illuminate an otherwise slightly darkened room, while outside, the screen tint changes based on the hour of the day, and viola! outdoor lamps and torches begin to show only at night! YESSSS!
Now for a tricky and interesting thought...
What about outside light sources while you're indoors - the light that shines in from windows - changing based on time of day? Is that possible using these two scripts?
I had to scratch the old night/day script because it was incompatible with yours. Once I set up Advanced Game Time + Night/Day v1.5.2 by V.M of D.T.. (Is that Vlue?) , and after some tweaking, I managed to call both scripts for lighting and everything works perfectly:
While indoors, lamps and torches illuminate an otherwise slightly darkened room, while outside, the screen tint changes based on the hour of the day, and viola! outdoor lamps and torches begin to show only at night! YESSSS!
Now for a tricky and interesting thought...
What about outside light sources while you're indoors - the light that shines in from windows - changing based on time of day? Is that possible using these two scripts?
Scripts are confusing to me. However, I'm going to try to solve the problem myself before asking for help
@atomchild
That's awesome! I'm glad you got your system running well 😀
About the outside light sources emitting light inside, this is not possible with the Awesome Light Effects. However, the Ultra Lighting (my new script - will be released very soon) allows light groups, so you can set different "opacities" (does this word exists? lol) for different groups.
@oddball
Don't worry, you will get used to them over time. Feel free to ask any questions!
That's awesome! I'm glad you got your system running well 😀
About the outside light sources emitting light inside, this is not possible with the Awesome Light Effects. However, the Ultra Lighting (my new script - will be released very soon) allows light groups, so you can set different "opacities" (does this word exists? lol) for different groups.
@oddball
Don't worry, you will get used to them over time. Feel free to ask any questions!
Original thread: https://forums.rpgmakerweb.com/threads/khas-awesome-light-effects.4917/