New version (1.2.8) now available
http://mvplugins.com/plugin/Terrax/Terrax%20Lighting%20System
Added :
1) Fix for NPC with flashlight, the flashlight now moves even if the NPC is only changing direction.
2) Improved the tile-block option so it no longer blocks the intire square, but a smaller or larger part can be blocked with a square of oval.
Terrax where are you? We need support... i found that if you shake the screen, even if you add more resolution, the screen shake and you can see the borders with no Light.... Is there a solution?
I can't seem to reproduce the error, shaking the screen looks fine if i use it in my demo. Do you use a big map or is paralax on maybe, i need to be able to reproduce the bug to fix it.
Question!
Is there a way to make it so that when the events look left, and look right, the flashlight follows the direction they're looking? I've tried everything, and while it seems to move with the character, it doesn't appear to be able to notice when they check their surroundings.
Thanks~
Fixed it
Hello, I have some problems, the plugin works, but in a note map when i write "DayNight hour 16 30" Doesn't works , Only work "DayNight" help
To change the hours of the day you have to create an event that calles a plugin-command like this: "Plugin Command : Daynight hour 16 30",
you can find it in the last tab of the events pages. You cannot use the note-tag to set the hour, the note-tag is just for activating the daynight cycle on a map.
Hi to all, is it possible to create events according to the hours of the day? Like opening some shops..
Thanks.
Yes, the first step is to activate a global variable you can read with a script, this is done in the options of the script. Use the setting "DayNight hour" and set it to 10 (for example). This will update game variable 10 with the current time. Then you can read it in a script. There is an example of this in the demo if you take the right portal.
First of All, thank you so much for this plugin Terrax, it will help me a lot in my project.
However, I have 2 doubt, the first one is about the light player radius, where I put he command to it works?
And the second is how I change the lightcolor?
Create an event and put in the Plugin-command : Light radius 100 #FFFFFF
100 changes the player-radius to 100
#FFFFFF is the color of the players light.
I love this plugin and I use it for the majority of my game... There is only one thing I would love to see added to it. The ability to recognize transparency. Right now when you use the TileBlock 1 On command the light is blocked on that tile completely... Even it the item is nothing more than a pole. I have a more than a few pillars on some of my maps, when I mark them with the light blocking number [1 in my case] the pillar is blocked but so is the ground behind it. I would be nice if the tile block could recognize the alpha channel of the tile and only block the pixels that have something on them. It would allow the creator to make more dynamic looking maps.
I cannot read the tiles alpha channel, but i added an option to manualy set the shape (square or circle) and dimensions of the blocked area. In other words, you would can provide the x1,y1,x2,y2 of the area that has to be blocked (check out the demo for examples)