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

Kenode

Veteran
Veteran
Joined
Jun 17, 2018
Messages
68
Reaction score
26
First Language
Spanish
Primarily Uses
RMMV
Found in on his website:
If you want to use this plugin with a free RPG Maker game, you can do it for free and there's no need to contact me. I only ask you to give credit to "Khas" or "Khas Custom Scripts" somewhere in your game. You may include my blog url if you want.

This plugin is NOT FREE for COMMERCIAL use. If you want to use it on a commercial title (any game that you may sell), you must pay a one-time $15 USD fee (payable via PayPal only - please send me an e-mail, see Contact page on my blog). This license covers commercial use for your current and future projects, and it allows you to use all my plugins.
What about it? If you mean why we're trying to get in touch with Khas, it's because we want to purchase a license to release games commercially.
If you're asking what the license agreement means, it means if you are going to make any money while using his plugins, you have to purchase a license for his plugins. If you aren't making any money in any games that use his plugins, all you have to do is credit him instead.

Here's the problem, we want to purchase the license, but he isn't to be found anywhere. I've tried contacting him via e-mail, like he asks in his website, but he isn't responding. I hope he's okay at least.
 

JamesRyan

Game Designer
Veteran
Joined
Sep 13, 2014
Messages
697
Reaction score
218
First Language
Vietnamese
Primarily Uses
RMMV
Found in on his website:
If you want to use this plugin with a free RPG Maker game, you can do it for free and there's no need to contact me. I only ask you to give credit to "Khas" or "Khas Custom Scripts" somewhere in your game. You may include my blog url if you want.

This plugin is NOT FREE for COMMERCIAL use. If you want to use it on a commercial title (any game that you may sell), you must pay a one-time $15 USD fee (payable via PayPal only - please send me an e-mail, see Contact page on my blog). This license covers commercial use for your current and future projects, and it allows you to use all my plugins.

He did not reply the email. It is like he has disappeared from the internet, and the only way to deal with this is to meet him in person, which is most likely unable for us.
 

Leon_Artmann

Veteran
Veteran
Joined
Jan 23, 2019
Messages
49
Reaction score
7
First Language
Portuguese
Primarily Uses
RMMV
Could anyone help me out with something that I'm not really sure if it's possible? I would bet that it isn't, but it' worth a try:

in 4.2, Can I make the shadows that are created by regions look pixelated? I've used a pixelate effect in the "torch.png" file and I like the result, but I realize that the shadows created by regions use a different system, I guess

I appreciate any feedback here
 

Attachments

  • khas shadows.png
    khas shadows.png
    346.9 KB · Views: 50
Last edited:

keizz

Veteran
Veteran
Joined
Oct 28, 2015
Messages
57
Reaction score
17
First Language
English
Primarily Uses
RMMV
I wonder if we make commercial game without buy license from Khas (Because we can't contact him) it will any problem ?

So give me some advice or any idea please.
 

Kenode

Veteran
Veteran
Joined
Jun 17, 2018
Messages
68
Reaction score
26
First Language
Spanish
Primarily Uses
RMMV
I wonder if we make commercial game without buy license from Khas (Because we can't contact him) it will any problem ?

So give me some advice or any idea please.
I've been wondering the same thing. Not that I am in a rush to release a game or anything right now since I still have a lot of things to do, but we don't know if he's completely gone from the internet or if he'll be coming back anytime soon...
 

DarkHunter

Veteran
Veteran
Joined
Nov 9, 2017
Messages
92
Reaction score
70
First Language
English
Primarily Uses
RMMV
I wonder if we make commercial game without buy license from Khas (Because we can't contact him) it will any problem ?

So give me some advice or any idea please.

I think you can create lightning's plugin for sharing us?
Also need work with Orange Overlay and Mog Time System too if you can do! i believe in you! :)
 

Leon_Artmann

Veteran
Veteran
Joined
Jan 23, 2019
Messages
49
Reaction score
7
First Language
Portuguese
Primarily Uses
RMMV
EDIT: Let me chage my question yet again. Is it possible for me to use the plugin command that changes ambientlight tint AND the plugin command that changes ambientlight intensity at the same time, but not instantly? For example:

Plugin Command: Ambientlight FF5D00 120
Plugin Command: Ambient light 30 120

I want both of these commands to run at the same time (because the "wait" command between them kinda ruin things), but if I leave like this, the second AmbientLight command cuts the first one, so I get a darker screen, but no color change. Any ideas?
 
Last edited:

sstalker80

Villager
Member
Joined
Oct 16, 2012
Messages
5
Reaction score
0
First Language
english
Primarily Uses
@Kenode Well that did fix that issue. Thank you. Now it seems I have another issue.
I have all of these in order. They are all active. Lights folder is in "Img" folder of my game. My current issue is that I am following Khas's advanced light tutorial to the T, but I cannot get the ambient light to work either way that he suggests. I don't know what else to do. http://arcthunder.blogspot.com/p/tutorial-advanced-lighting.html Also, WebGL is permitted and active on my PC/browser if that matters at all.
One thing Khas didn't specify is you need images in the lights folder specific to his plugin; download his demo, copy that lights folder, and slap it in your img folder. I literally just ran through that. Hope it helps!
 

Hahasea

Veteran
Veteran
Joined
Jul 4, 2019
Messages
151
Reaction score
17
First Language
English
Primarily Uses
RMMV
Hey guys, would love some help, I think it's pretty simple, not sure what I'm doing wrong.

I can't seem to get the size of the player light to change. I have a parallel run event with:

Plugin Command : PlayerLantern halogen
Comment : [light_size 200]

The initial PlayerLantern command works great, but the light size comment doesn't seem to work. What am I doing wrong here?

Thanks (and if Khas ever sees this, thanks! The plugin is great!)
 

Espilonarge

Veteran
Veteran
Joined
Apr 24, 2016
Messages
143
Reaction score
67
First Language
English
Primarily Uses
The initial PlayerLantern command works great, but the light size comment doesn't seem to work. What am I doing wrong here?
Comments generally only work for the "event" itself rather than applying it to "player" lights. Instead, you can modify any-and-all lights (and add new ones) in the KhasUltraLighting.js plugin file after line 173 (I suggest getting something like Notepad++ when making modifications). For example...

flashlight2: {
fileName: "flashlight",
intensity: 100, variation: 0, size: 200,
offset_x: {2: 0, 4: 0, 6: 0, 8: 0 }, offset_y: {2: 0, 4: 0, 6: 0, 8: 0 },
syncWithDirection: true
},

The "size" modifier is based on a percentage scale. A value of 200 will "double" the lights size while a value of 50 will be "half" instead (I would suggest to avoid using obsurd values like 1000 or more as someone might accidentally think Gondor is calling for aid).
 

Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
41
Reaction score
4
Hello everyone,
I have a problem with the Plugin, when I transfer my hero from one card to another, while loading a flash appears with the lights. I can not delete them.

I need help please.
 

Attachments

  • Capture.PNG
    Capture.PNG
    271.8 KB · Views: 18

Hyouryuu-Na

Very very lazy
Veteran
Joined
Jun 15, 2017
Messages
1,048
Reaction score
2,440
First Language
Not English
Primarily Uses
RMMV
@Roult It happens to me too. How about showing a black image after the transfer? The image can hide the lights. After a wait if like 200 frames, remove the image.

Edit: I haven't tried it. If images don't work, try tinting/fadinv to black.
 
Last edited:

Oddball

Veteran
Veteran
Joined
Sep 4, 2014
Messages
1,944
Reaction score
542
First Language
English
Primarily Uses
N/A
Wait. Can i attach lighting to a state with this? I have a state called illuminate and think this would be great for it
 

Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
41
Reaction score
4
Thank for your answer @Hyouryuu-Na, I tested fadein/fadeout in black or white or nothing, and place a black picture but nothing resolve the problem :/
 

Veno

Veteran
Veteran
Joined
Sep 8, 2017
Messages
67
Reaction score
124
First Language
English
Primarily Uses
RMMV
The issue with that is it doesn't look right when switching maps, as for a split second then you lose your lighting entirely.

Originally, I had paid for a fix for this. And it was working for a long time, but now I have issues when loading the game that the issue still occurs (but this seems to help fix it in many occasions for map switches)

For reference, my original fix was


What that did was hide the "lights" layer until it was finished loading. But it doesn't appear to work entirely now... Anyways, the line that is removed seemed to be a cover for this exact purpose, but was never finished and doesn't do anything.

Again, it sure does help, but doesn't entirely solve the problem, specifically for loading the game from a saved state, but helps during map transfers.

Hopefully someone who's a better coder can help with this.
 

Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
41
Reaction score
4
@Veno thank for your answer,
unfortunately I'm not good at coding yet, my solution work perfectly without editing plugin (my game is not finished yet).
It's a pity that Khas has disappeared, do you have any news? I would like to buy the plugin for a sales my game
 

Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
41
Reaction score
4
it's unfortunate, how to pay for the rights of the plugin, I also use the Fog.
I think marketing anyway by making a message, I pay him when I have an answer.
 

Latest Threads

Latest Posts

Latest Profile Posts

Chilling out while toodling around someone's painstaking Minecraft recreation of Disneyland. It is mind-boggling and probably as close as I'll ever be to going.
>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3

Forum statistics

Threads
107,807
Messages
1,032,351
Members
139,953
Latest member
soicaukubetim
Top