After getting some time to use the plugin, I've got an update suggestion, that could be neat.
Perhaps there could be a configurable area for a handful of preset light codes in the plugin config. Then, you could use a comment along the lines of <preset:1> to load the light tag of preset 1. I mostly recommend this so that, if someone were to later decide to edit a commonly used light (such as torches or lamp posts), that they wouldn't have to hunt for and edit dozens of events.
OcRam - Lights plugin (MZ/MV)
● ARCHIVED · READ-ONLY
-
-
Thank you for the idea!After getting some time to use the plugin, I've got an update suggestion, that could be neat.
Perhaps there could be a configurable area for a handful of preset light codes in the plugin config. Then, you could use a comment along the lines of <preset:1> to load the light tag of preset 1. I mostly recommend this so that, if someone were to later decide to edit a commonly used light (such as torches or lamp posts), that they wouldn't have to hunt for and edit dozens of events.
I will add this feature in next version of this plugin. -
All OcRam -plugins now available at ocram-codes.net
Please read: Terms of Use
Latest version: Download from here
All my plugins: Check 'em out! -
@OcRam is there now a light blockade for walls? ^^ I asked about it a while ago. :) Unfortunately I couldn't find anything in the current version either. Do you still plan to bring that in?
-
Thank you for the message,@OcRam is there now a light blockade for walls? ^^ I asked about it a while ago. :) Unfortunately I couldn't find anything in the current version either. Do you still plan to bring that in?
I answered then: "Shadows are not in next version. Still figuring how I do it with minimal performance impact."
Now I answer:
With out WebGL calculating shadows for each (moving) event is really slow (you need to calculate them in every frame before light source is drawn). I like to keep this as light-weighted as possible.
But I have not abandoned all hope what it comes to real-time shadows ;) -
To be Continued xDThank you for the message,
I answered then: "Shadows are not in next version. Still figuring how I do it with minimal performance impact."
Now I answer:
With out WebGL calculating shadows for each (moving) event is really slow (you need to calculate them in every frame before light source is drawn). I like to keep this as light-weighted as possible.
But I have not abandoned all hope what it comes to real-time shadows ;)
I think it's great that you put so much emphasis on performance and I really can only hope that you will find a solution despite the hard difficulty :) -
Yeah sorry, I figured it out. Your plugin is amazing, and I'm trying my best to understand it.
I've read the help section multiple times but until now I've only used simple lights systems, yours looks very complete, and I'm sure I can achieve great things with it.
Sorry to bother you with another question but I think I understand your plugin command tints the entire screen with an absolute value rather than a relative one, but is there a workaround for overlays ? My fogs and overlays gets tinted too and I went from this :
Spoiler
To this :
Spoiler
Any news on this ?
Also, is it possible to use your plugin during daytime ? (when light_bg equals #ffffff)
Like this :
I want to use the terrain tag attribute to make this slab glow but I cant if it's day time.
(I'm using another plugin to demonstrate what I want to achieve) -
You'll have to change the default daytime color to something else for the lights to show. I used a very light grey for my daytime tint. You can use a hex color selector online to find an off-white color you like.Any news on this ?
Also, is it possible to use your plugin during daytime ? (when light_bg equals #ffffff)
Like this :
View attachment 149619
I want to use the terrain tag attribute to make this slab glow but I cant if it's day time.
(I'm using another plugin to demonstrate what I want to achieve) -
Hello @OcRam
In my project, the chars turn up yellow, but in your demo they are normal. I updated the libs folder with my project folder (I made a new project), and in your project the chars turned yellow. How to solve?
tnks -
Thank you for the message,Hello @OcRam
In my project, the chars turn up yellow, but in your demo they are normal. I updated the libs folder with my project folder (I made a new project), and in your project the chars turned yellow. How to solve?
tnks
Seems like you got yellow tint or light color hex is yellow.
To solve this use no tint and light source color #ffffffff -
Thank you for the message,
Seems like you got yellow tint or light color hex is yellow.
To solve this use no tint and light source color #ffffffff
I've changed the plugin settings 'other settings -> battle/player data -> color' and changed to #ffffffff and it worked, thank you.
But in the battle, the 'cone' of the light appear wrong, showing herself in the middle of the screen. How can i solve, so that they appear in the middle of the screen (picture attached)?
Btw, I've found a bug in the demo: in the Battle Light event, when I choose 'ALARM!', I got an error.
And in the plugin, 'other settings -> battle data', when I change the degree, I got an error too. -
Thank you for the message,I've changed the plugin settings 'other settings -> battle/player data -> color' and changed to #ffffffff and it worked, thank you.
But in the battle, the 'cone' of the light appear wrong, showing herself in the middle of the screen. How can i solve, so that they appear in the middle of the screen (picture attached)?
Btw, I've found a bug in the demo: in the Battle Light event, when I choose 'ALARM!', I got an error.
And in the plugin, 'other settings -> battle data', when I change the degree, I got an error too.
There is Offset X parameter which allows you to adjust x position for light sources. Note: Battle light "Right light source" will invert offset x parameter.
There was a bug in battle light plugin command and it is now fixed and ready for downloads!
Latest version is now v2.10
I will update demo project in next few weeks. To fix some weather, audio and light bugs. All plugins are always updated and uploaded ASAP. -
Hello @OcRam
After some tests, I changed the offset value to 400 and it worked.
This is something that is 'default' in the plugin? I dont know if is because I copied the plugin from the demo, and the problems affect only me, but I think this options should be default (color #ffffffff and x offset).
I know there is instructions in the plugin (and the demo is for all your pulgins), but I missed some noobie friendly instructions, like some area with a npc showing the commands (ex: for changing the light in the map, use the plugin command light_bg #303040ff 0, and showing the effect - also telling to use the plugin command to change the bg color before using the command to show the light for the player/follower). The 'all' area is a bit confuse for me, at least in the beginning.
Thanks for your work in the plugin and your help. -
You'll have to change the default daytime color to something else for the lights to show. I used a very light grey for my daytime tint. You can use a hex color selector online to find an off-white color you like.
I did everything, I even downloaded the demo project from @OcRam website but I really can't figure out.
How to make lights visible in daytime ? :kaoeh:
People tell me to change abient color, or to modify the daytimecolor, but it seems that it's not enough
Even in the demo project, lights doesn't work in daytime...Am I really missing something obvious ? -
A quite interesting collection of plugin.
-
Sorry to bug but having a conflicting plugin error with the lighting from your plugin the plugin i added before the error was WeightGainSystem.js. I tried moving the plugin I added around to like 10 different spots first but the same error every time. The first pic is the the error message with the line it happened on and the others are my current plugin order.
-
I still can't use your plugin :(
I tried everything to show the lights during daytime, but it seems it isn't possible. Also it messes with my overlays and it looks like I can't make "dark lights" either (e.g : characters with a dark aura that darkens the space around him) -
Hey, sorry I didn't reply sooner. If it helps, for my DayBG Color in the Lighting Plugin, I'm using #F1F1F1FFI still can't use your plugin :(
I tried everything to show the lights during daytime, but it seems it isn't possible. Also it messes with my overlays and it looks like I can't make "dark lights" either (e.g : characters with a dark aura that darkens the space around him)
Color Picker If you run that through the hex color selector, you'll see it's a very light gray, because I don't want the lighting to very strong when in daytime.
This is the color I used for my flames, which is a bright yellow: #FFF72C
Here's the final result in game:
It was intentionally just a subtle glow while it's in the daytime, but you can adjust the colors accordingly using that website I linked you to if you want a darker daytime for example. -
For dark lights around certain characters I don't think you can but for followers you could just us the plugin command light_follower 1 1 400 #0E0B0A and pick the color and pick a follower 1-3.I still can't use your plugin :(
I tried everything to show the lights during daytime, but it seems it isn't possible. Also it messes with my overlays and it looks like I can't make "dark lights" either (e.g : characters with a dark aura that darkens the space around him) -
Thank you for the message,Sorry to bug but having a conflicting plugin error with the lighting from your plugin the plugin i added before the error was WeightGainSystem.js. I tried moving the plugin I added around to like 10 different spots first but the same error every time. The first pic is the the error message with the line it happened on and the others are my current plugin order.
And sorry for late answer ( summer time ;p )
It seems this error comes from WeightGainSystem.js line 749. Page object is undefined which is not handled there.
Thank you for the message,I still can't use your plugin :(
I tried everything to show the lights during daytime, but it seems it isn't possible. Also it messes with my overlays and it looks like I can't make "dark lights" either (e.g : characters with a dark aura that darkens the space around him)
This plugin will create overlay layer which can be set to any color with any opacity. After that plugin will make colored gradients (specified in light sources) with multiply blend mode to overlay layer.
Because of this technique "dark lights" in day time (while overlay is pure white) is not possible to do. As already stated by @Ace of Spades and @Beachsidey0