Hi to all, is it possible to create events according to the hours of the day? Like opening some shops..
Thanks.
Terrax Lighting system
● ARCHIVED · READ-ONLY
-
-
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
-
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~ -
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) -
Thank you, Terrax!
Changing the plugin so the events can point the flashlight in the direction they're looking, saved me countless hours of playing with events, and the same for tricks to make it work.
Thank you so much, a thousand times thank you! -
What is with my problem? as described above.
please help -
What is with my problem? as described above.
please help
Your question is a litte hard to understand, but you can alway deactivate the light right before you call the 'game over' with
plugin command : Light deactivate
then you can activate it again when you start a game with
plugin command : Light activate. -
My computer thinks that there's malware in the download, any help?
-
My computer thinks that there's malware in the download, any help?
The download just contains the game (js and data directory) for the demo and the script. Since everything is made in java-script your malware detector probably flags it as something that could contain mallware. I know some games made with RPG maker are realy realy awful, but i would not concider them malicious.
Terrax -
Sorry to bother you, Terrax. Even more-so should this question have already been answered once before.
When the light is attached to an event note, and I use that event to also hold an item that the player can collect, the light turns down when the player tries to collect that item. I have attempted direction fix, and putting that the light is facing left in the note.
Included is a screenshot of the above error.
-
When the light is attached to an event note, and I use that event to also hold an item that the player can collect, the light turns down when the player tries to collect that item. I have attempted direction fix, and putting that the light is facing left in the note.
I might have a sollution, but want to know if that works for you. The direction of the flashlight will only be changed if the NPC/event moves (from one square to another) at least once. If the NPC stays fixed in the same position, the flashlight will keep pointing in the position you set it to.
Will that work? -
I might have a sollution, but want to know if that works for you. The direction of the flashlight will only be changed if the NPC/event moves (from one square to another) at least once. If the NPC stays fixed in the same position, the flashlight will keep pointing in the position you set it to.
Will that work?
The NPC in question never moved. It is the lights to the vehicle. As seen below. When the player talks to the event tile that has the light on it, it moves. (The player is collecting their bags)
-
The NPC in question never moved. It is the lights to the vehicle. As seen below. When the player talks to the event tile that has the light on it, it moves. (The player is collecting their bags)
I updated the plugin (didn't increase the version number, just a little quick fix)
Download it again and see if it fixes the problems. -
I updated the plugin (didn't increase the version number, just a little quick fix)
Download it again and see if it fixes the problems.
Yup, the fix worked.
Thank you, Terrax.
-
-
My computer thinks that there's malware in the download, any help?
Most PCs see JavaScript files (.js files) as malware, as JavaScript isn't something that is generally downloaded and is sometimes used as a way to deliver malware, so most PCs and antimalware will just blanket all .js files as bad. -
-
Sorry, for bother you again Terrax
I forgot to mention another problem. Everytime when I create a torch or something like that all the rest of the map get dark. Why it happens?
Regarding to the player radius plugin comand, it is correct what I did?
It is correct behavior for the map to get dark.. you cannot create light without darkness ;)
If you want the rest of the map to be less dark, put the following command in an event and let it execute once :
Plugin command : Tint set #333333 ( try diffent colors for different kinds of light/shade)
To change the player radius use : Plugin command : Light radius 100 #FFFFFF
The light no longer follows the character. it remains in one place.
a few updates ago, no problems.
the problem was beginning in the first update 1.2.8, followed the light not equal. slowly afterwards.
Try downloading the plugin again, i made a small patch yesterday that could solve the problem (didn't upgrade the version number).
Let me know if that helps. -
i have already the second update from 1.2.8. (small patch) that is the problem. nothing
( the problem was beginning in the first update 1.2.8, followed the light not equal. slowly afterwards. ) -
i have already the second update from 1.2.8. (small patch) that is the problem. nothing
( the problem was beginning in the first update 1.2.8, followed the light not equal. slowly afterwards. )
I didn't change much is the 1.2.8 patch, i just added some changes to directions of flashlights. Everything seems to work fine in the demo,
are you sure you didn't install another plugin that overwrites the same script. You can test this by disabling other scripts and see if the problem remains.
If you find a plugin that causes a problem, i can look for a fix.
Terrax