Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement defensive behavior for fighting elements #155

Open
Loomie opened this issue Oct 10, 2021 · 0 comments · May be fixed by #157
Open

Implement defensive behavior for fighting elements #155

Loomie opened this issue Oct 10, 2021 · 0 comments · May be fixed by #157
Labels
feature A completely new feature
Projects

Comments

@Loomie
Copy link
Collaborator

Loomie commented Oct 10, 2021

Basic idea/big picture
When fighting the attacker not only shoots at the enemey. The attacked element can be in different states that make it harder or easier to be hit. They may be standing still or moving quickly. They can stand in the open or hide behind barricades. This should be considered when calculating if a shot hits something.

Technical background
There needs to be an attribute that holds the current state that is relevant for the defense. Maybe it can be infered from other attributes like moving. For the beginning not all imaginable situations must be modeled (movement, cover, terrain, maneuverability and so on). A simple stance might be sufficient for the start. Later the commander can tell elements which stance to use by a command.

The hit calculation should use percentages to reduce the chance of a hit further for better cover. Absolute values can easily lead to impossible to achieve values.

Related issues/Prerequisites
Continues #79

@Loomie Loomie added the feature A completely new feature label Oct 10, 2021
@Loomie Loomie added this to the v0.2.0 Fighting elements milestone Oct 10, 2021
@Loomie Loomie added this to Backlog in pltcmd via automation Oct 10, 2021
@Loomie Loomie moved this from Backlog to Up next in pltcmd Oct 10, 2021
@Loomie Loomie linked a pull request Oct 14, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A completely new feature
Projects
pltcmd
  
Up next
Development

Successfully merging a pull request may close this issue.

1 participant