Yes! I've seen those pictures. I don't use the RPG Maker crude shadows because they often mismatch with the rest of the graphics. Occlusion looks much better and also sounds like it doesn't require much maintenance (it automatically detects walls & ceilings using Terrain Tags, right?)
What is missing in the development of Occlusion? Is it performance?
Anyways, great job. I already use your older script on my game. Keep it up!
Occlusion is generated automatically from region tags. So, if you set Ultra Lighting to generate shadows, ambient occlusion is a plug and play add-on! It cost a bit of performance, but the player is able to toggle it on/off on the graphics settings, if needed.
The code is currently a prototype, I need to write the definitive code and add it to KGL.
Thanks! Your game looks amazing btw 😀
Yo Khas!
I've just bought KUL to upgrade from your previous lighting solution. So far I'm unable to make it work. A few simple questions: Can I enable the light on the player by enabling it from a common event? Can I note tag an armor/weapon etc or is it "only" the items that can be note tagged?
Thank you for your incredible work on this! I'm soooo looking forward to the speed increase and the additional fun I can do with this!
Cheers ^-^
Thanks man!
1. Yes! There's script calls for that, similar to my previous script. You can find them inside the commands pdf.
2. Actually I think only items can be notetagged. But extending this functionality to weapons and armors is a good idea! I'm without a computer for some days, but I can add this on the future.
3. There's a setting inside the Khas Graphics Library script for setting a custom resolution!
Let me know if you have any more questions! Good luck 😀
I just wondered if it would be possible to vary the offset established in the main script by using a script call? I know that I could set up yet another custom light with the alternative offset in the UL script, but I'm already up to 13 additional lights and I've barely started, and I can see this spiraling into silly numbers.
Thanks
On top of what @ksjp17 asked for, a script call for fading in and out the lights would also be great.
@KanaX
Have you tried using the script call to change the opacity up and down? I would have thought that would do it. You'll find it on page 2 of the User Commands.pdf file.
EDIT
Though having said that, it looks like it's for all lights, so that wouldn't work if you wanted it only for specific lights. Maybe do an opacity change for the individual light via Set Move Route command? I'm already using Iavra's Animate Everything script, so I'd be tempted to use that instead of the normal opacity change command. I used it for fading lights in and out in A Timely Intervention and it's excellent for that.
@ksjp17 I haven't bought the script yet, I didn't know I could change the opacity through a script call. However, I would like to avoid having to go through "opacity (200) wait(2) opacity (175) wait(2)..." when I could get a smooth fadeout on the number of frames that I want from a script call.
In the existing script call, you can set the length of time you want the fade in/out to take, so it will be smooth.
I haven't tried that particular feature yet, so I cannot be certain that it is all the lights on the particular map, but that's the way it looks to me. If it is like that, and if it is not possible to do individual lights and if it is individual lights that you want, then Iavra's script (free for commercial) might be what you need. You set how long you want the animation (in this case fade in or out) to take and it does it smoothly.
@ksjp17 Ah, excellent. If I can control individual lights I'll be set. I might get Iarva's script of many more reasons now that I think about it.
Request:
I want to configure the event to become invisibility when there is not the event under the lights. Could you take care of like this add-on?
Thanks for making the marvelous script!
The framerate boosts alone make this worth the price. It was so aggravating with the old version to have even a remotely complex map drop to 10 FPS, even with a high-end i7 crunching the numbers.
That said, having some tricky business. Dynamic shadows aren't getting cast, no matter what I do. I've poured over all possible settings in the demo project to compare, everything is identical. I've checked all my scripts, and even disabling all the ones that might possibly have an effect, I'm still not getting shadows. Lights are drawing fine, but that's it. Things are definitely looking better, just this one problem, heh.
EDIT: Another glitch that seems to have arisen. Whatever map I start the game in, the lights are rendered. But once I switch to another map, it completely stops. Even if I go back to the original. Is there any kind of function from another script that might be interfering? I'm trying to track it down and turn them off to see if any are blocking it, but none are really having any impact. I'll try fiddling with it a little more.
Ah! You finally launched KUL. Been waiting for this thing to come out for months now.
Loved the work you've done with all the other lighting systems for VX Ace. Instant purchase.
is it possible for me to change what regions this script uses as so far it so instead of region 1-16 i can use regions 16-32.
reson being is the regions this script is using are allready being used by other scripts, i dont mind fiddling with the code if thats what it takes but i couldnt seem to find anything in there
Saw this, watched the video, and my eyes nearly popped out of my skull... 😀 A couple of questions, if I may:
1. How customizable is the color of the light?
2. Do characters taller than one block have their heads go under the shadow of the block above them, like it did in the old version?
Hi!
Awesome job here ! I will certainly use it, but I still need to wait more addons.
There is also one thing I will need, I don't know if it's makable or already included is about the height. Actually the shadow don't take the height if the light is coming from upper (screen below with the old lighting system), because rmvx don't care about this anymore (it was on all previous version, ty downgrade).
[IMG]http://img110.xooimage.com/files/3/0/3/light-4c8ed6b.png[/IMG]
But with some script it's back. But is Khas Lighting can be compatible / adaptable with this ?
(Let me know if it's not clear)
And is it possible to change the region used ? (Already asked by someone else, but I also want to know 🙂
Thanks!
Hey!
It's me again, so I bought the new version to try to do some things.
And I notice a long list of bugs/problems that need to be fixed.
1. $game_map.shadows.set_color is actually not working at all. (no information on the doc about the value so I tried on 0 to 255 & more but it's not doing anything)
2. $game_map.shadows.set_opacity is really unstable, I tried to create a day/night system so the opacity need to change with very long transition. I first set a value then determine a new one with variables and set it with a long transition, this bring this error really oftenly (with crash) :
[IMG]http://img110.xooimage.com/files/2/b/a/screenshot---31_0...23_06_08-4c92828.png[/IMG]
3. We can't really change the region, but it's okay I changed them in the other scripts. But the 16 should be the max region used right ? (modifiable) It seems not working, I put like a region 26 (or whatever upper than 16) on a wall, it litterally affect the light/shadow :
[IMG]http://img110.xooimage.com/files/4/7/a/problem3-4c92888.png[/IMG]
4. The z value avec the 'lighting' layer is 50 by default but it's relative to what ? I mean I've some bitmap set on 400 in z (to be really at the top) but the lighting is still passing on the top (which was not the case with the old version)
5. Changing the size of the lighting in the option is a problem if we used custom light sprite because it will simply reduce them so it's not pixel perfect / aligned correctly anymore.
7. Is there a way to create a light without an event and place it in x & y position on the map where we want ? (not in the documentation & it will be useful to create dynamic light)
8. If we are setting an event with one page & a light and we put a condition of activation, the light will not work (and the event too) But it can be a rpg maker VX problem. Using 2 page (one empty) it's working fine.
9. The height problem I said previously is still true even if I found a way to trick (just put the region a bit lower) but the light are passing in front of the ceil (could be fix with the 4)
10. If the camera is slow and has acceleration/deceleration (with a script like Smooth Camera) the layer of lighting is jittering / moving a bit.
11. He don't care if we have [lighting off] on the map and the we set an opacity. He will activate the lighting & everything.
Good points 🙂 :
Performance are quiet great, this is really cool!
The overhaul render is really awesome! (blending between colors <3)
The possibility to activate/deactivate, make some variations etc...
Can't wait to see more & the ambiant occlusion look great!
Good luck with all this & thanks for you work !
About number 7, it would be nice if this has or will have a feature to "create" lightings on designated positions; that way we can use a single event to set up the lighting of the whole map.. That's how I did it on my script btw.
I was just wondering if there is any answer yet about script calls to vary the opacity of individual lights, not just all lights and also to vary the offset via a script call?
Thanks.