I'm making an FPS game using the MV3D plugin. I couldn't use an ABS plugin to handle the combat, so I had to do a workaround using a plugin that checks if the player is facing an event it makes the shots increase the 'damage' variable, and on the enemy event it has a condition on page 2 if the 'damage' variable is => 2, but if i do it this way, all enemies on the map will die, i don't know how to make it work properly, and this plugin needs the specific enemy event ID, and the game have a lot of enemies, so how can i make this gunplay work?
I already have the animation and sprites working, I just need to know how i can make the combat.
I'm probably overcomplicating it because I'm dumb, so yea, pls help xd
I would not recommend creating an FPS with RPG Maker, but if you really, really want to go through with it, I've encountered a similar issue in my game, so I'll share my experience.
How are you managing the enemy's health? Are you using a single variable, or do you have a separate variable for each enemy? You could be using a single variable for every enemy, and that's the reason every enemy dies at the same time
Details are too vague to give a conclusive answer, so if you wanna send some screenshots maybe I can help
If you are just struggling to set up enemy health pools, there are a couple of ideas that come to mind right off the top of my head.
Option 1, if you have a low enemy density per map, and don't mind enemies respawning on map change, you could allocate a block of variables to be enemy health pools.
Then every time you load the map, run an autorun event that will set the health pool variables appropriately for the different enemies on the map.
This will get more tedious to set up the more enemies per map. I'd honestly say 10 - 15 at most would be my limit before this method becomes too impractical to keep track of and set up.
Option 2, while I have never used Yanfly's Self Switch & Variable plugin, I do think this might be a useful case, where events can have self-variables specific to that event. You'd need to do your own research on this one.
Well I think part of the problem is right on the tin...the software is called "RPG Maker" after all, and not "FPS Maker".
It's not technically impossible, of course, but the engine is obviously going to put a lot of roadblocks in the way that I would say you would need to be engine savvy enough and/or JS savvy enough to overcome those hurdles.
I don't know what your prior experience is with this engine, but if you are new to the engine, might I recommend trying to use the engine for its intended purpose before trying to bend it into a weird shape?