(MV Version only) Do you think canvas fall-back for this plugin is neccesary?


  • Total voters
    38
  • Poll closed .
Joined
Jun 2, 2023
Messages
6
Reaction score
2
First Language
English
Primarily Uses
RMMZ
View attachment 269355If you want the flashlight to work only when the player actually has the "Flashlight" item, it's even simpler than that! Make an item in the Database (mine is called Torch, since I'm Australian :p). Set it up to be a key item, and add the note [flashlight].

What this does is place the "flashlight" light on the player if they have this item in their inventory, and removes the light if they lose the item. To setup the "flashlight" settings, check the -ShoraLighting- plugin settings again, and look for a setting called [Lights: Custom]. In that setting there should be a light called flashlight that you can adjust the settings for. If the list of custom lights is empty, you can double-click empty space to make a new one (you will need to call it flashlight), or copy the ones from the -ShoraLighting- example project.
Respectfully and professionally, I could kiss you on the mouth. You have solved all my problems.
 
Joined
Jun 2, 2023
Messages
6
Reaction score
2
First Language
English
Primarily Uses
RMMZ
View attachment 269355If you want the flashlight to work only when the player actually has the "Flashlight" item, it's even simpler than that! Make an item in the Database (mine is called Torch, since I'm Australian :p). Set it up to be a key item, and add the note [flashlight].

What this does is place the "flashlight" light on the player if they have this item in their inventory, and removes the light if they lose the item. To setup the "flashlight" settings, check the -ShoraLighting- plugin settings again, and look for a setting called [Lights: Custom]. In that setting there should be a light called flashlight that you can adjust the settings for. If the list of custom lights is empty, you can double-click empty space to make a new one (you will need to call it flashlight), or copy the ones from the -ShoraLighting- example project.
Fun new problem (less of a problem and more of a challenge):Screenshot 2023-07-13 at 10.36.13 PM.png Do you know a work around/solution?
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,243
Reaction score
3,515
First Language
Dutch
Primarily Uses
RMMV
the light like that is an easy fix if you set the x,y offset correctly.
not sure if its in the parameter or by scriptcall, as I think you could
do it in he parameters.

y-24 or less should work, but play with the numbers :)
 

LyraVultur

Non-binary Catbat
Regular
Joined
Apr 24, 2021
Messages
78
Reaction score
138
First Language
English
Primarily Uses
RMMZ
Is the problem that the flashlight isn't centred on the player? Try editing the "flashlight" custom light settings and playing with the section marked [Advanced: Offset].

If that fails, try making a copy of the image that the light uses (/img/lights/flashlight.png, from memory), and editing it so that the light is centred more how you'd like it.

Edit: ninja'd
 

Sarandiel

Villager
Member
Joined
Oct 26, 2018
Messages
7
Reaction score
5
First Language
Swedish
Primarily Uses
RMMV
I'm experiencing some issues with the plugin. Whenever an event/player with a light effect moves, the graphics become distorted, expanding into a large circle. Does anyone have insight into the possible cause of this problem? I'm at a loss here and would appreciate any help I could get :)
 

blakerjaker

Villager
Member
Joined
Jun 15, 2022
Messages
7
Reaction score
1
First Language
english
Primarily Uses
RMMV
how do you add offset to the comment tags?
example I have a light called [light beamN] I want to move it 16 pixels to the left, but only for this particular event (I don't want to change the plugin setting for this custom light overall). is this possible? if so, what is the syntax required? thanks.
 

Dark--Paladin

Villager
Member
Joined
Jun 4, 2023
Messages
14
Reaction score
7
First Language
Filipino
Primarily Uses
RMMV
Hi, I found a conflict about the plugin with MV3D plugin. Is there any fix for this? If not, is there anyway to disable the plugin using notes, plugin command or script? Anyway, I think your plugin is amazing and thank you.
edit: Also, I found [lighting off] a way to disable the plug in on map notetag. But does it work also using event?
 

Attachments

  • 132435344678.png
    132435344678.png
    27.3 KB · Views: 8
Last edited:

ephesus

Regular
Regular
Joined
Dec 10, 2015
Messages
181
Reaction score
93
Primarily Uses
Just an FYI, OCRam's Lighting plugin uses MULTIPLY instead of ADD, not sure why, but the results look about the same for lighting overlap, so who knows, haha. ;)
Hey, maybe way old news but the light pngs (in img\lights folder) used for the plugin are all tinted, even the white looking ones are actually a little blue. This would effect the light colors. for total control of color they should be completely desaturated.
 

Shora

Regular
Regular
Joined
Apr 12, 2020
Messages
108
Reaction score
241
First Language
Vietnamese
Primarily Uses
RMMZ
how do you add offset to the comment tags?
example I have a light called [light beamN] I want to move it 16 pixels to the left, but only for this particular event (I don't want to change the plugin setting for this custom light overall). is this possible? if so, what is the syntax required? thanks.
You can try [beamN -x -16]

Hi, I found a conflict about the plugin with MV3D plugin. Is there any fix for this? If not, is there anyway to disable the plugin using notes, plugin command or script? Anyway, I think your plugin is amazing and thank you.
edit: Also, I found [lighting off] a way to disable the plug in on map notetag. But does it work also using event?
Yes, you can use the Plugin Command for MZ, or use the script "$gameLighting.disable()". You can enable the plugin again in the same way. As for MV3D, this plugin is not intended to work with any plugin that change the way the game rendered (such as from 2D to 3D).
 

Nightshade

Regular
Regular
Joined
Oct 26, 2015
Messages
862
Reaction score
163
First Language
English
Primarily Uses
RMMV
party member is a light source powered by oil once you run out of oil party member turns lights off.
is there a way for this system to only turn the light source on if said party member has a specific item in the inventory
 

Aandel

Regular
Regular
Joined
May 30, 2012
Messages
56
Reaction score
6
First Language
Portugues
Primarily Uses
RMMV


Hello! After 40 maps I decided to add a lighting plugin and yours was the best received by my project! But unfortunately due to some incompatibility with some possible plugins that I use to do Parallax or any other that I haven't identified yet, when I activate the lighting plugin, the camera stops following the Character and becomes static.



So anyway congratulations and thank you very much!

Another thing, could you tell me where I can dynamically see the light effect, like in the gif you posted?


(sorry for my english via google translator)
 
Last edited:

0hKay

Villager
Member
Joined
Feb 22, 2022
Messages
9
Reaction score
7
First Language
English
Primarily Uses
RMVXA
Hello!! I tried to use custom lights with the fluorescent lighting from your example, but when I set it up, it didn't work despite putting it in custom lighting with [light fluorescent] as its name and fluorescent.png as the image and doing the comment change. Any advice?
 

Shora

Regular
Regular
Joined
Apr 12, 2020
Messages
108
Reaction score
241
First Language
Vietnamese
Primarily Uses
RMMZ
party member is a light source powered by oil once you run out of oil party member turns lights off.
is there a way for this system to only turn the light source on if said party member has a specific item in the inventory
Since you can use plugin command/scripts to add/remove lighting for your player, you can achive what you want by simply integrate that with some other items controlling plugin that fire a scripts when a item is added/removed. I'm pretty sure there are plenty of these.



Hello! After 40 maps I decided to add a lighting plugin and yours was the best received by my project! But unfortunately due to some incompatibility with some possible plugins that I use to do Parallax or any other that I haven't identified yet, when I activate the lighting plugin, the camera stops following the Character and becomes static.



So anyway congratulations and thank you very much!

Another thing, could you tell me where I can dynamically see the light effect, like in the gif you posted?


(sorry for my english via google translator)

Thanks for you kind words! Can you tell me which plugin it is incompatible of? If it a general usage plugin like for parallax mapping, I will try to fix the incompatibility.
As for the GUI, I'm working on a better one right now for directly editing light into the map, so stay tuned! The one in the GIF is to only demonstrate which effect the light can have (and it is very old).

Hello!! I tried to use custom lights with the fluorescent lighting from your example, but when I set it up, it didn't work despite putting it in custom lighting with [light fluorescent] as its name and fluorescent.png as the image and doing the comment change. Any advice?
You need to register the lighting in the plugin command. The image is just a source material, you can use one image for many different lighting type, which could have different radius, rotation, or color/tint.
 

Pearsona

absolute creature
Regular
Joined
Nov 12, 2013
Messages
141
Reaction score
61
First Language
English
Primarily Uses
RMMV
The link to the 'getting started' guide isn't working. Can anyone help me find it?
 

Pearsona

absolute creature
Regular
Joined
Nov 12, 2013
Messages
141
Reaction score
61
First Language
English
Primarily Uses
RMMV
Sorry about the double post, but I decided to try and figure some stuff out while I'm still looking for the tutorial and... well that was a mistake. I've got no idea what I just broke.

IMG_2971.jpg


(phone pic because not even Gyazo wanted to touch this one)

Can anyone help me figure out what happened here? D: It happened when I hit 'new game' to try a test map.
 

bortolonio

Villager
Member
Joined
Nov 18, 2020
Messages
8
Reaction score
0
First Language
french
Primarily Uses
RMMV
Hey Shora! I keep loving this plugin and the work you are actively putting in to updating it.
I think I've found a small possible bug!

When using a transfer player command and transfer the player to the same map they are on, it doesn't show the lighting until the player takes a step.
I am experiencing the exact same issue. Is there any update on this?
 

Aandel

Regular
Regular
Joined
May 30, 2012
Messages
56
Reaction score
6
First Language
Portugues
Primarily Uses
RMMV
Oh very grateful for the attention!

Well, I guess I'm the plugin freak! I must have more than 100 plugins in my project(!!!!)

The main ones that mess with Parallax are:

►Galv_LayerGraphics

However, I have numerous other plugins that somehow deal with pictures and the screen.

PS :. I currently use LightningCommunity, however it creates a dark layer that hides my pictures

Below is the complete list of them! (Sorry for the size)

 
Last edited:

Pearsona

absolute creature
Regular
Joined
Nov 12, 2013
Messages
141
Reaction score
61
First Language
English
Primarily Uses
RMMV
Scratch both of my previous posts, I've done more investigating and I've figured out the problem, and it's more bizarre than I ever could've imagined. The plugin doesn't work if both Yanfly Party System + Yanfly Item Core are both active. When it's just one or the other, it works fine! But when it's both... my head hurts @-@

Here's a link to my help thread if anyone has any ideas as to what sort of digital spirit I could've possibly offended for my game to fall apart in such a weirdly specific and terrible way:
 

BoneCollectors

Dino Hazard: Chronos Blackout Dev
Regular
Joined
Dec 6, 2017
Messages
68
Reaction score
15
First Language
Portuguese-BR
Primarily Uses
RMMV
Scratch both of my previous posts, I've done more investigating and I've figured out the problem, and it's more bizarre than I ever could've imagined. The plugin doesn't work if both Yanfly Party System + Yanfly Item Core are both active. When it's just one or the other, it works fine! But when it's both... my head hurts @-@

Here's a link to my help thread if anyone has any ideas as to what sort of digital spirit I could've possibly offended for my game to fall apart in such a weirdly specific and terrible way:

It works for me even with those 2 YEP plugins activated in the same project.
 

Latest Threads

Latest Posts

Latest Profile Posts

ItAintEasyBeinCheesy.gif
Some people have accused Knight Shift of being too cheesy for them, but I think they're just afraid.
So in my SRPG, when kill monsters, they leave an aura that grants +20% Crit, +20% PDMG MDMG. Aura lasts only for 1 turn, it forces players when and where to last hit.

1702177938686.png
So frustrating when you just wanna work on your game but people want to do stuff in RL... :p
Day #9 of Advent is all ready in one spot! Do you prefer doing your shopping way before Xmas, or…do you like the chaos? Are you done shopping and/or crafting for Xmas?

Forum statistics

Threads
136,889
Messages
1,271,082
Members
180,663
Latest member
brendancamarillo
Top