-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Rational called shots (WIP, comments welome) #37532
Comments
Manually performed called shots sound rather tedious. Imagine fighting swarms of enemies on a regular basis. If I use regular shots, knowing that called shots are generally better, I don't take full advantage of my weapon (because it's tedious otherwise). If I, on the other hand, use called shots, I soon inevitably get bored. The only way I see this feature fit is "automatically delivered" called shots. An algorithm chooses the weakest spot, taking the odds of hitting it into account, and shoots: kinda an attempt of delivering a critical hit without bothering the player. |
I don't think there's any reason for it to cost any more keystrokes than a shot currently takes. Currently the pattern is |
I would tend to prefer a toggle to switch between trying to aim for critical shots and normal shots. We should also think about how/if this system will interact with the pieces of fragmentation from explosives. |
Any CoM shot will still have a chance for a random headshot. We'd just treat fragments and other untargeted attacks as CoM shots. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
This issue has been automatically closed due to lack of activity. This does not mean that we do not value the issue. Feel free to request that it be re-opened if you are going to actively work on it |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
No discussion in more than a year, closing. |
Is your feature request related to a problem? Please describe.
We get a lot of requests for called shots in game. While these aren't a great idea, and center of mass shots are usually the way to go, there are a few good reasons for called shots:
The last reason is why I'm pushing for this to be added as a feature.
Describe the solution you'd like
Actual called shots to head/arm/eyes/groin are pretty ridiculous. However, it would be reasonable in the aim interface to be able to choose to "aim high” or “aim low”, on humanoid targets. Another option would be to “aim for a weak point”, or “aim for a disabling shot”. On humanoid targets these would mostly be synonymous, except that a zombie with full head armour might have a weak point somewhere other than their head.
In this example, a shot aiming low would first determine if it hits pelvis or leg. They have a combined size of 30, so a low shot has 30% of the usual hit chance. The chance of hitting the center of mass becomes
0.2(0.2)+0.1(0.5)
, ie. leg size times leg COM ratio + pelvis size* pelvis COM ratio when you have two possible weak points like this. We assume the movement of the target and the heat of combat mean the player can't really choose to target a leg or a pelvis, they just take whatever shot they can get.(These numbers are dirty quick numbers based on burn area calculation, and not meant to be final values)
With this general aiming schema, the player would just select to aim high or aim low. We might offer a cue for areas with less armour, like in this case because Aim High has a chance of bypassing armour completely, the interface might say:
WIP:
In CDDA, to calculate hit, the target is modeled as concentric circles, we calculate an offset angle from aim point and then translate it to a lateral offset based on the distance, the offset tells us which circle it hits. I will attempt to do an algorithm for how to calculate the called shot hit success chance based on this system. Suggestions welcome in comments in the meantime.
Describe alternatives you've considered
For mainline this system is not strictly needed. There are only a few situations where aiming for a specific target is valuable, and even fewer when you're dealing with mindless undead.
However, I would like C:DDotD to require headshots, and that will in turn require a system that allows headshots. Therefore I do not consider this optional anymore! Plus, for mainline, it will allow for interesting things like weak points on a skeletal juggernaut, or shooting the legs out to give you the opportunity to capture a "live" zombie.
Additional context
Part of my reason for clinging to the "aim high/aim low" concept is that I would like elevation to eventually have some influence here, so if you're shooting down on some zombies, you get an elevated chance of hitting their upper body, probably using pythagorean calculations to see how high you're shooting from.
The text was updated successfully, but these errors were encountered: