What are the note tags to put in a specific tint for a map?
Lighting and Time Editor - Continued!
● ARCHIVED · READ-ONLY
-
-
Hey, I edited LNM_GameEditorCore.js to add in an option to disable "tab" functionality. Is there another way to do this? If not I recommend adding it, it's really easy:
Code:* @param Enabled * @desc Enables or disables "tab" functionality. * Set this to false before release. * @default true
Code:GameEditor.TOOLS.Enabled = JSON.parse(GameEditor.Parameters["Enabled"] || false);
Code://----------------------------------------------------------------------------- // Graphics._onKeyDown // // Toggle the editor by pressing Tab. Graphics._callEditor_onKeyDown = Graphics._onKeyDown; Graphics._onKeyDown = function(event) { if (GameEditor.TOOLS.Enabled && !event.ctrlKey && !event.altKey) { [...]
I made the parsing default "false" so developers don't accidentally release the game with the editor enabled because of a typo, while making the normal default "true" for better flow for developers when they're first checking out the plugin. -
I recently added these plugins to my project, but have some questions about the plugins and how to achieve my lighting goals.
My main goal is to just have a simple torch toggle where the player can use a Torch item, and it activates the Player Torch. This would be relevant in dark areas such as caves or dungeons and possibly also during combat. Currently, I'm modifying the screen tint for those dark areas using events.
With these plugins, my idea was to suspend the time tint when the player was in the dark areas, but the screen tint events I have already setup use a gray factor, whereas the time tint configurations do not. I also found the the time tints seemed very overpowering (for example, at midnight everything was almost solid blue), and I don't see an alpha configuration that allows me to control how dominant the time tints are.
So then I thought that I could just disable the time plugin so I could just use the lighting with my existing screen tints, but after I set the time feature flag to false, the player torch no longer seemed to function. Does the lighting only work with the tint effects that originate from these plugins?
Any insight would be appreciated. -
You can change the time tint for each hour in the plugin settings. Not sure about an alpha option, don't think I saw one. But 255,255,255 is the same as no tint at all IIRC, but with this plugin, you're pretty much surrendering your tints to the plugin while it's enabled I believe.
As for your torch issue, I haven't implemented lamps yet so I don't have something I can just jot down real quick and I'm sure someone here (or a previous post) can help you.
Edit: FeelZor has been away since November. I'll likely be making some changes to this plugin, albeit minor, but if I do, I'll submit them here so others can use them. -
Hello,
first of all: Thanks for this plugin. Excellent work.
I have just two questions that hopefully you can answer.
1.) When pressing TAB ingame nothing happens. No onscreen editor, nothing. Not even in the demo. What do I do wrong?
2.) How can I define new hue lights via event?-> Okay, found it in the original thread.
Thanks so much.
Best regards
Kaito
Edit: Another question: Is it possible to use different playertorches? I mean: Normal (little) sight without item and increased sight with lantern, torch, eg. Of course I know I can switch on and off the playerlight, but when being in a dungeon I would like the option of having at least a little area of sight even without an item. -
Hello,
first of all: Thanks for this plugin. Excellent work.
I have just two questions that hopefully you can answer.
1.) When pressing TAB ingame nothing happens. No onscreen editor, nothing. Not even in the demo. What do I do wrong?
2.) How can I define new hue lights via event?-> Okay, found it in the original thread.
Thanks so much.
Best regards
Kaito
Edit: Another question: Is it possible to use different playertorches? I mean: Normal (little) sight without item and increased sight with lantern, torch, eg. Of course I know I can switch on and off the playerlight, but when being in a dungeon I would like the option of having at least a little area of sight even without an item.
1. No idea how that can happen, are you sure you have all 3 plugins enabled and in order? Do you get any errors?
2. Awesome!
3. Not sure, but you might be able to attach a light to an event, and have it mimic player movements. I'm not 100% sure on that idea, but I believe it should work.
I hope this helps! -
Thanks for your answer.1. No idea how that can happen, are you sure you have all 3 plugins enabled and in order? Do you get any errors?
2. Awesome!
3. Not sure, but you might be able to attach a light to an event, and have it mimic player movements. I'm not 100% sure on that idea, but I believe it should work.
I hope this helps!
Regarding 1.) I even tried it with the demo. Didn't work at all. :( Maybe because of my german keyboard layout? I didn't have any error notification.
2.) Thanks. :D
3.) I was thinking of this, too. But I am not sure if this is possible in a way to make it even look good. I was even trying to configure another player torch via the javascript, but this didn't work at all. Is it maybe possible to change the parameters of the player torch ingame via event? This would maybe help.
Best regards
Kaito -
Thanks for your answer.
Regarding 1.) I even tried it with the demo. Didn't work at all. :( Maybe because of my german keyboard layout? I didn't have any error notification.
2.) Thanks. :D
3.) I was thinking of this, too. But I am not sure if this is possible in a way to make it even look good. I was even trying to configure another player torch via the javascript, but this didn't work at all. Is it maybe possible to change the parameters of the player torch ingame via event? This would maybe help.
Best regards
Kaito
1. Hmm I haven't tried with very many layouts so that could be the issue! Usually the error console (F12) has something. I'm really not sure, I'm just a user and it's been working for me!
3. It doesn't appear to be possible to change player torch via in-game event (unless someone programs the feature in). Is it choppy if you use an event that mirrors the user? I haven't tried it myself yet, that was just the first idea I had. I recommend you keep playing with the Javascript if you can't do in-game events.
I might take up development of this plugin but only in a minor capacity. I still hope the developer comes back.
Sorry I couldn't be of more help :). -
Hi, im using himework custom page conditions and im trying to make an event that appear only when the time is 6:00, so i need a script call for the game time, and i dont know what to put.
this is my event page.
<page condition>
if : Script $gameTime(6:00) <------------- This is only an example, i really dont know what to put here.
plugin comand: activate_page
end
</page condition>
help me pls,ty :) -
1. No error visible in the console. Pressing Tab just does nothing. :(1. Hmm I haven't tried with very many layouts so that could be the issue! Usually the error console (F12) has something. I'm really not sure, I'm just a user and it's been working for me!
3. It doesn't appear to be possible to change player torch via in-game event (unless someone programs the feature in). Is it choppy if you use an event that mirrors the user? I haven't tried it myself yet, that was just the first idea I had. I recommend you keep playing with the Javascript if you can't do in-game events.
I might take up development of this plugin but only in a minor capacity. I still hope the developer comes back.
Sorry I couldn't be of more help :).
3. Actually I am pretty good with using events. But a mirror to the user seems a bit difficult and maybe slows game even down.
I found your answer very helpful. So thank you. I think, the players of my actual game should just be ok with the fact that the world is very dark, when they don't collect torches then. ^^
Best regards
Kaito -
Hi, im using himework custom page conditions and im trying to make an event that appear only when the time is 6:00, so i need a script call for the game time, and i dont know what to put.
this is my event page.
<page condition>
if : Script $gameTime(6:00) <------------- This is only an example, i really dont know what to put here.
plugin comand: activate_page
end
</page condition>
help me pls,ty :)
See first post:
Time SAVE hour_var minutes_var
Saves the current time in the specified variables.
eg: Time SAVE 2 3 will save the hours in the variable #0002 and the minutes in the variable #0003.
Before doing check, run that plugin command to save the time to variables, then check those. -
I try with save time,and the event now have this page condition.
<page condition>
if : Variable hour = 6
plugin comand: activate_page
end
</page condition>
But the variable dont change
automatically,and the event dont disappear at the 6am. Help TnT. -
I intend to create my game with only two times: day and night. Just to simplify things. Is there any way to configure this plugin to make it have only two times of day instead of a dynamic clock, and do a screen fade out then fade in when the time of day changes (to account for NPCs moving)? I really want the ease of placing lights like in the video rather than going through every event and customizing it, but my game does not have this dynamic clock.
Worst case, I'll change the game to accommodate this plugin though, because it's pretty amazing being able to place lighting effects like that. -
I intend to create my game with only two times: day and night. Just to simplify things. Is there any way to configure this plugin to make it have only two times of day instead of a dynamic clock, and do a screen fade out then fade in when the time of day changes (to account for NPCs moving)? I really want the ease of placing lights like in the video rather than going through every event and customizing it, but my game does not have this dynamic clock.
Worst case, I'll change the game to accommodate this plugin though, because it's pretty amazing being able to place lighting effects like that.
Yeah you can simply use plugin commands to set the time with an event that does the fades when you want, or even let the time run normally, and have an event run at a certain time. You can also configure the colours for each time of day. My game I keep time paused at all times, and advance it after the player triggers certain events that advance the day.
Hope that helps, good luck! -
Oh I see, so you just keep it paused until a certain condition is met and then manually change it, awesome! It'll be much easier to set up a time system that way, right now I'm doing it with just eventing.
Now I just have to figure out how to make my game not freeze while a parallel process event throws out a wait command if it's a common event rather than a normal event put on every single map. -
Hey, this plugin looks perfect for what I need, but im having a weird problem. The TAB button won't bring up the editor. I noticed that the game has a slightly darker hue, which makes me think it's properly installed, but I can't actually access the editor itself. I've installed the jvs. and images properly, i believe, so im not sure what the issue is.
-
Hey, this plugin looks perfect for what I need, but im having a weird problem. The TAB button won't bring up the editor. I noticed that the game has a slightly darker hue, which makes me think it's properly installed, but I can't actually access the editor itself. I've installed the jvs. and images properly, i believe, so im not sure what the issue is.
One other user has this issue and I'm not sure why (just a few posts up). If you're not already set for it, try setting your keyboard layout to USA, and make sure you're pressing tab while in-game.
If I could reproduce this issue, I could fix it, or at least support it. Unfortunately I just don't see what's wrong. -
Now, I'm not sure if this helps anyone, but I just tried using Yanfly's Grid Free Dudads, and encountered the same problem. So the issue seems to be with in game editors in general. My keyboard is set to USA, so I'm not sure what the issue is. Curious.
-
I have really a Problem. Dont know what happened but i cant acces the ingame light tool . Nothing happens if i press TAB.
The Lights that i already made working without Problems.
Edit: I have read that the user above me have the same problem. but i never updated i think . its really strange a real big problem. My Game is based on the Light Engine.
Edit2: tried the way with the keyboard layout... nothing..
and even in the demo the tab dos nothing.. i dont get because it worked perfectly... -
Very strange, thanks for the information guys! Nobody has any errors in the console? I'll keep investigating, but currently, I've made no progress tracking down the root cause of the issue.