Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Lighting system with default tint screen

GreyWolf

Villager
Xy$
0.00
Hi!
Today I focused my "noob experiments" on the lighting system. I already created a self-made day-night cycle using variables and common events. Now I'm trying to place all the other lighting sources, such as campfires, torches, etc.
I tried using Terrax's plugin and OrangeLighting, but I have the same problem with both of them: When I place a light source using the plugin, a black mask covers everything that's not the light source, overwriting my tint and covering everything in darkness, even in daytime. I know I could use manual lighting effects, but since It's very time consuming, and I also want to add working torches for the player, I was wondering if there was any workaround to this.
 

CT_Bolt

Global Moderator
Staff member
Resource Team
Xy$
0.02
Using OrangeLighting have you tried setting the opacity variable to 0?
(Set "opacityVariable" to the ID of a game variable. Then set that variable to 0.)


This may work... seems to work for me...
I'm not exactly sure how everything works with your custom common event lighting system.
Let me know if this helps, perhaps this is not the solution. (cool)
 

CT_Bolt

Global Moderator
Staff member
Resource Team
Xy$
0.02
Yeah, I tried, but setting that to 0 makes even the lights go transparent...
Oh yes, I do see now. I guess the lighting system really is just making a color mask on every area except the lit up area...

To clarify this a bit better this is below what you want?
  • Use standard event command tinting options and have a "normal lighting" on select events & player flshlight area (with possible flicker effect).

The best that can be achieved with the current scripts is a darkened screen tint (set using the color mask & opacity variable) with lighter areas of the tinted color.

Is this correct?

Perhaps these might work?
https://soulxregalia.wordpress.com/2016/09/14/thomas-edison-mv-rpg-maker-mv-plugin/
https://soulxregalia.wordpress.com/2016/01/26/rmv-lantern-effect/
 
Last edited:

GreyWolf

Villager
Xy$
0.00
I'll give it a try, thanks for your efforts :)

Just out of curiosity: how do you manage lighting in daylight/sunset?
 
Last edited:
Top