Khas Advanced Lighting v4.2 Ultra (now with real-time shadows!)

● ARCHIVED · READ-ONLY
Started by Khas 437 posts Page 21 of 22 View original ↗
  1. @ddblue Oh, yes! That the same "requestAnimationFrame" thing.

    @MikaTeapot ?

    UPD. Is anyone interested in hiring a scripter to fix the issue?
    I'm ready to spend up to $20-30 on the solution, but I'm afraid it won't be enough :(

    I'm getting the bug even after turning all the other plugins off. Not sure what's the issue here.

    UPD. I've actually used this plugin before and I didn't get any lags. Just tested the old game of mine, and it's running 60 FPS despite having real-time shadows :(

    LAST IMPORTANT UPDATE!
    After a few hours of testing, I found the issue. It seems like the plugin has issues with scaled-up images bound to the map. Basically, both normal parallaxes and plugin parallaxes will produce a lag if images are scaled up.
  2. I personally gave up on the plugin because of it which was unfortunate. I didn't replace it with anything just changed the couple of dungeons I wanted lighting in.
  3. KotoYama said:
    LAST IMPORTANT UPDATE!
    After a few hours of testing, I found the issue. It seems like the plugin has issues with scaled-up images bound to the map. Basically, both normal parallaxes and plugin parallaxes will produce a lag if images are scaled up.

    Interesting. Yeah, now that you mention it my stuff was scaled up.
    So if things are shrunk to their regular size, it just works?
  4. @ddblue Yep. I'm now talking to OcRam in case he could update the MV version of the plugin. Alternatively, I'm gonna have to search for a scripter :)
  5. I showed it to 2 friends (not RPG Maker community folks, though) and they were not able to do anything about it. IF you were able to find someone willing and able to fix it, I would chip some money in for such an endeavor.
  6. Would it be possible to decrease the refresh rate of variation change? Preferably permanently on every single event.
    I'm trying to make a fireplace that emits light, so I want the variety of light strength in my plugin but the way it currently works makes it look worse than a static light. It's way too epileptic.
  7. Are you talking about flickering?
  8. Yes, I called it that way because of how the setting is called in the custom lights.
  9. I think you need to change the code. But Khas has been gone since 2018 so if you absolutely need it to be less epileptic, then you should move to Terrax lighting system or the Community Lighting (this is like a better version of Terrax lighting as a lot of the forum members are working on it) or Ocram's lighting system. Or maybe you can ask someone to make an edit to this plugin.
  10. Hyouryuu-Na said:
    I think you need to change the code. But Khas has been gone since 2018 so if you absolutely need it to be less epileptic, then you should move to Terrax lighting system or the Community Lighting (this is like a better version of Terrax lighting as a lot of the forum members are working on it) or Ocram's lighting system. Or maybe you can ask someone to make an edit to this plugin.
    yeah, i read trough the entire topic to check if anyone had the same issue as me. I already looked trough the code but my JS knowledge is too poor to do anything about it. If there was an existing value to change, I'd find it by now.

    I did see Terrax's this plugin. It looks nice but Khas' looks better imo. Ocram's also looks pretty neat with all the configuration options and it looks lightweight but I didn't see the shadow options.

    In the end, I decided to change all the 'variations' to 0, and add an event with sprite of glow in size of 3x3 beneath the light source with the stepping animation. It looks like fire is now emitting light that varies from time to time, and while it's not as various as the plugin's would be, it looks pretty nice.

    Thanks for the info, have a nice day!
  11. Hello! Good to see that the plugin continue to bring comments until now!
    I have a question, do anyone know how i alter the light sizes of my battlers?
    I'm using the default lights (didn't customize any).
    The demo lacks a bit in info on how to use the lights, so is the tutorial on the website...
  12. Hey folks, I know this thread has been around a while.
    Have a question regarding this plugin. I'm attempting to make a flashlight for the player that needs a certain armor/equipment attached to generate the light (in this case a shoulder lamp).
    Initially I tried adding the [light flashlight] to the notes section of the light ( in the database entry for the light). This didn't seem to work.
    Next I tried making a common event that says:
    If: Michaels has equipped Shoulder Lamp
    Plugin Command : Player lantern flashlight
    Else:
    Plugin Command : PlayerLantern OFF
    End

    I also used the above event with the Comment : [light flashlight] first in the contents, tried both variations as a trigger: none and Trigger: Parcelle.

    I know in previous versions of this script (VXAce), you could set it as an event you walk into that triggers the flashlight, but it's lost when you go to a new map.

    Does anyone have any idea how i can equip a certain item and have it function as a flashlight, until it's unequipped?
  13. It is one of the best light plugins I have seen. thanks for you work is amazing!!
  14. DAE lightning system is based on khas, but much better and dynamic shadows.
    Shora Lightning is also a nice alternative with dynamic shadows like khas
    Community_Lightning is a good choice but no dynamic shadows,
    but improved version of Terrax.
    Ocram_Lights has a nice features as well, similair to DAE, but
    even so, Ocram_Lights dont have dynamic shadows as well.

    whatever you choose and fit (as for compability with your plugins)
    there are enough choices.

    if none goes fit your game you want it, you can try to commission one,
    this plugin rather it is good, you cannot use it commercially anymore more,
    just free games, if your game IS commercial, search for an alternative.
  15. Hey all, strange issue here - on some maps, some of the lights will kind of blink. For instance, on one map here, I have 2 [light yellow] events, one to either side of the door, and a 3rd [light broken] event a couple tiles north of that. The broken light event flickers as it should, but all 3 lights will blink in unison roughly once per second. The blink stops when my character moves parallel to the broken light event or any further north. Walking east (the only other direction available on this map) does not cause the blinking to stop. There are other light events further north that don't seem to have this problem. Returning to any point south of the broken light event causes the blink to start back up again. As I said, I have noticed this on other maps as well. Any idea what might be causing it?

    Quick edit after some additional testing - moving the broken light event south a couple tiles has no effect - I still have to walk parallel to the original location of that event in order to get the blink to stop. Also, entering this map from the north doesn't produce the blinking with any of the visible lights near that entrance. I've tried changing the lights, removing 1 to 2 of the lights, nothing changes.
  16. @Sacrifyx there are more minor issues in and not solved.
    even if it's does it job nicely in most cases, the minor issues can
    be an issue.

    I mentioned a few plugins 1 post back that can fit.
    DAE lightning plugin made a small change for someone to use Khas
    scriptcalls and comments as it could be easy to replace if you have
    a bunch, if you just started, try considering testing another plugin :)

    otherwise, it need some changes in order to fix your issues.
  17. Yeah I saw the post about the DAE plugin, can I simply replace Khas' plugin with this and all my lights will continue to work with no changes? Because otherwise it's not something I'd want to do. I was able to work around this issue by downsizing the map. There was a lot of unused space in it anyways so it isn't a major issue, but if DAE can read ALL the Khas plugin commands AND doesn't have this weird issue, I'll grab it today and swap it out. Another quick question about the DAE plugin if you know the answer, between the 4.0 and 4.2 versions of Khas' plugin, the ability to change a light over time seems to have been broken. Does DAE restore that capability?
  18. I would try to reach DAE first, and maybe he still got the copy of khas
    scriptcalls that was used to swap easely, as the default for download
    isn't that way.

    ask him first :)
  19. ShadowDragon said:
    I would try to reach DAE first, and maybe he still got the copy of khas
    scriptcalls that was used to swap easely, as the default for download
    isn't that way.

    ask him first :)
    They seem to be AFK these days, I'll just soldier on with Khas' plugin.
  20. My plugin stopped working with the new RPG Maker MV update. Has anyone had this happen and any luck getting it to work again?