Battle field cover?

I have searched around for a while now and come to the conclusion that this idea may not have been thought of yet or developed in MV and such so I was curious to ask anyone here with experience regarding battle field cover? Allow me to elaborate.

Traditionally in RPG Maker settings fights are swords/magic etc and defense is measured by the characters stats and equiptment.
But what if there was objects on the battle field that party members/enemies could choose to take cover behind?
In my project the main function of combat is by firearms/projectiles. Although by standard means enemies and players brace themselves or crouch visually to depict them in a defensive stance, but I feel that this would need heavy adjustment for my project.

What I have in theory is that on the battle field there can be objects in the visual guise of terrain such as parked cars/boxes etc that have there own health bar/phyiscal defence/magical defence- they serve as objects that can help reduce damage from attacks partially or altogether unless completely annihilated of the playing field. Players or enemies could target these defensive barriers to place opposing forces at a disadvantage and expose them to open attacks. They can act as a completely new method of defence rather than the standard bracing for impact move. Thoughts?

Although this is just theory I would absolutely love to see something like this made or even talked about, it would certainly make combat more appealing in my project.
maybe you can start sketching a ray-tracing function by looking at some of the lighting plugins for MV, and trying to copy their method for drawing shadows.
anything inside the shadow area will be in cover.

at code level, their function for tracing a line from point A to point B should be as plain and generic as it comes.... you wouldn't be breaking any copyright laws.
I mean, it should be plain mathematics.
Your topic might be better served in something like Game Mechanics Design, where it will see more discussion about designing and possibly implementing it - unless you are specifically requesting this plugin be created for you (in which case you'd need to be a lot more detailed about how things like movement and taking cover work... and even then I imagine this would be complex enough that it's unlikely anyone will tackle it for free).

I do think this is a very cool idea, though. I wonder what rules we might set for actors moving around (to take cover behind things that are nearby or even things that are faraway), and how much "direction" of the cover versus the enemy versus "proximity" of the target to the cover should play into the equation when determining whether a battler is protected by a covering object.
maybe you can start sketching a ray-tracing function by looking at some of the lighting plugins for MV, and trying to copy their method for drawing shadows.
anything inside the shadow area will be in cover.

at code level, their function for tracing a line from point A to point B should be as plain and generic as it comes.... you wouldn't be breaking any copyright laws.
I mean, it should be plain mathematics.
Sadly I haven't got much of a clue what you mean by this? Although reading over again it sounds like a rather interesting way of executing this..but probably too extreme?
Your topic might be better served in something like Game Mechanics Design, where it will see more discussion about designing and possibly implementing it - unless you are specifically requesting this plugin be created for you (in which case you'd need to be a lot more detailed about how things like movement and taking cover work... and even then I imagine this would be complex enough that it's unlikely anyone will tackle it for free).

I do think this is a very cool idea, though. I wonder what rules we might set for actors moving around (to take cover behind things that are nearby or even things that are faraway), and how much "direction" of the cover versus the enemy versus "proximity" of the target to the cover should play into the equation when determining whether a battler is protected by a covering object.

Absolutely agree, however this was basically a request but theoretical in a sense to see if anyone would provide already made content or ideas upon other plugins.
I would think that cover provided in the battle field would have some cover visually closer to enemy or party that would indicate the available assigned for them. I think that if this was to be executed it would perhaps have the battler teleported/moved to said cover that has the cover object commences a defense buff that can in itself take portions of incoming damage directed at the target or all entirely until cover health expires. Definitely a complex request no doubt about that.
@Matseb2611 did something similar in one battle in City of Chains. There were some crates which could be destroyed in the battle, but which buffed the party via a status effect so long as they were alive. They were classed as an enemy, so you couldn't use target all attacks. I think he also had to event the battle they were in to check if all enemies, apart from the crates, were defeated so the battle could end.
Oh yes exellent point- a battle would conclude if all enemies or party members where defeated, the exception being the inanimate cover terrain/objects.
Although reading over again it sounds like a rather interesting way of executing this..but probably too extreme?

highly depends on your battle system.
if it's designed more towards the isometric style, or plain old top-down view, what you want has been done since Flash came out.
although it only really shines if it is a real-time game, as opposed to a turn-based game.

if it is a side view battle, you'll be better off by simulating the effect as opposed to actually calculating it.
anything that would give you a pause between actions is always a plus for a lot of load you take off the processor.
Well this is aimed for the standard side-view battler screen with just objects other than party members and enemies that take advantage of.
@Skurge Just thought of another way you could pull it off with party members. If you're using MV, you can use Yanfly's taunt plug-in and passive states plug-in, then create some object party members which would join for various battles. The taunt would force enemies to attack these characters before your party, thus simulating some sort of cover\barrier. You could also do the same for enemies, only using an enemy rather than a party member.
Sounds like an interesting take on things, my only question is whether when damaged does the taunt inflict collateral damage if the odd chance an attack makes it past the cover?

I also remember seeing floating around plugin that allowed a 3rd party contender in battles. I.E a 3rd team.
The taunt forces skills\attacks of a certain type (or all attacks) to target the taunter; it does nothing else unless you include the taunt notetag with skills which do something else. You can also have skills which ignore taunts, disable taunts, etc. So, enemies would either have to be given some way of bypassing the cover which is taunting them via a passive state, or destroy it. I'm sure if you worked on it you could refine it. You could have the cover only taunting physical attacks, or magical attacks - magical could be ranged if your game doesn't have magic. That way, ranged enemies would have to shoot at the cover, while melee enemies could ignore the cover and directly attack those behind it.

Oh? That would be a very handy plug-in to have. I'd love to be able to set up a third team in battle - perhaps some sort of neutral side which influences both party and enemies. Cover would fit nicely into this category; not sure how it'd play nice with other plug-ins, though.
Alrighty, tomorrow i'll try to use these plugins mentioned and see what I can come up with 🙂
In the meantime looks like I failed to bookmark the plugin I was referring to that allowed 3rd party battlers :/

I'd love to continuing hearing various ideas how to achieve this 🙂

Original thread: https://forums.rpgmakerweb.com/threads/battle-field-cover.76157/