Hey man, sorry about the bug. I'm just finishing up a support task and will look into it right away; I'll release an update soon with some improvements as well.
Thank you! Also another bug I found if you set the enable knife parameter to false in the plugin settings, the game will crash if you right click once you close the menu, it gives me a "TypeError Cannot read property 'position' of null", although it sometimes doesn't crash, it does crash frequently when you right click a lot of times while getting hit by enemy projectiles. Also, do you plan add explosive projectiles like grenades?
I hadn't replied sooner because I was already working on this. In addition to necessary fixes, the new version includes a parameter to disable the right mouse button, in case you don't have it mapped to the knife, and adds throwing knives with knockback and stun options, as well as bazookas and grenades. Please download the new version of the plugin; I also recommend downloading the DEMO file again to understand how the new settings for these weapon types work. Let me know if you have any questions!
https://kadajah.itch.io/kadajahs-hotline/devlog/1634576/update-explosions-throwa...
Thank you much for the update, great work! However, I did encounter some bugs. For example, the stun effect seems to only affect 'thrown' weapons, I haven't fully tested the knockback effect on non-explosive weapons but I hope that works on others. It would be very useful for it to affect all weapon types in order to create variety of different weapons that have different functions, for example if I want to create a 'flashbang' grenade that deals 0 damage but stuns enemies for 10 seconds or a melee weapon that knocks back enemies or a 'taser' that deals little damage but stuns enemies. Another thing, would you consider adding a body armor system? You could make it so it functions like a second HP source which will protect your real HP until the armor is gone first. The armor could be linked to the 'MP' stat that Rpg Maker Mz already uses. I am honestly impressed with your work, thank you so much, I wish you success in your future projects! :)
Good point.
I had originally created the knockback system but intentionally disabled its classes. It involves a bit of a challenge regarding trajectory calculations, determining where a shot originates to push the enemy in the opposite direction, or pushing them away from the center of an explosion. I ran into some collision issues while testing it, but I’d rather deal with those problems than sacrifice the functionality.
As for the vest, it’s straightforward: just duplicate all the classes and functions that handle HP and bind them to MP instead.
Regarding the taser, you’ll have to get creative, try creating a slower projectile and increasing its size to cover a few meters. I’m going to add an option to play an animation on impact, so you could create a small-scale lightning animation to simulate the electrocution effect.
All your observations are valid; I’m already working on these fixes, and it should be ready soon.
Edit: https://kadajah.itch.io/kadajahs-hotline/devlog/1635144/the-gore-armor-update-en...
Thanks so much for the changes! You're the best, man! However could you allow grenades and bazookas to use the stun effect aswell, please? It only seems to work on non-explosives weapons. Also could you be able to adjust the points the player gets via event notes so that different enemies give different points and not just 100 points only? Also is it possible to make enemies drop their weapons/items/loot? I'm sorry if I am asking for too much... it's just I really need these features for my video game project. Thank you so much for everything!
I can adjust the bazooka and grenade to cause a stun effect and tweak the points awarded per tag, that’s not a problem. However, I do not intend to implement item drops for characters in this plugin; it falls outside the original scope. Adding item-handling classes complicates support due to the various edge cases that often arise with that type of class and interactions with other plugins, making it commercially unviable at the price point I charge for this solution.
Thank you so much for the wonderful update! But I did notice a small bug in which enemies with explosives like bazookas and grenades will hurt themselves if they shoot close to themselves, they also do friendly fire againts other enemies, would it be possible to prevent them from hurting themselves and their allies by their own projectiles? Also could you enable the stun effect to also affect the player?