PC Is there an RPG "factor" when shooting zombies?

Jost Amman

Well-known member
I've always wondered if, when shooting zombies with a bow/gun, there is also a "Hit Chance" check like in traditional RPGs.

I ask this question because many times I've heard people complaining about shooting a zombie right in the head, also from afar, and missing it, even if they were sure they were spot on targeting the hit-box.

Some say it's just the wonky hit-boxes not working as they should.

Others say even if you hit the hit-box you still have the game check the hit against your "skill" in (e.g.) bows or the gun.

Others think it's a "lag" issue (but this also sometimes happens in SP, so...).

Can anyone confirm this from an official source or know the answer?

Thanks

@faatal @Kinyajuu @Roland @schwanz9000

 
I'm not official, but I've specifically tested the weapons aplenty. There is no skill check.

The point of aim travels within the area defined by the cross hairs, that seems to be the only official source of "chance" in aiming.

The hit boxes are often iffy, zed boxes are pretty good atm, but partially see-thru blocks are sometimes made with bulletproof air. Lag may be an issue, I don't play MP that often and when I do I host..

Slap on a laser and learn to use it, 100% hit rate - or a better understanding of why you missed at least.. :)

 
There's been plenty of reports, however, of people clearly hitting what should have been the "hit-box" (often the head) but having arrows or bullets shoot through.

That can't be explained with not being good with aiming. That's why I ask for an "insider info" (be it given by a dev, or by a very expert modder).

 
There's been plenty of reports, however, of people clearly hitting what should have been the "hit-box" (often the head) but having arrows or bullets shoot through.
I see plenty of "you what?!" from JaWoodle, but his experiences can be explained with a horrible aim. I have seen some really weird looking issues on video, but practically never in my actual testing. These are usually somewhat strained streaming systems, but I can't say anything for sure of course.

I've shot enough for testing to guess that if there was a constant miss chance above 1%, I'm sure I'd have an intuitive feel for it by now. And anything below that wouldn't be worth the implementation time - for having no impact on the game. But I'm not against hearing an official word about it either ... :)

 
There is definitely a bug with aim on the primitive bow but I've only ever encountered it at point blank range. If I shoot a zombie in the chest who's right in front of me the arrow will often go through them. It never happens at range and doesn't happen with guns or melee.

 
There is definitely a bug with aim on the primitive bow but I've only ever encountered it at point blank range. If I shoot a zombie in the chest who's right in front of me the arrow will often go through them. It never happens at range and doesn't happen with guns or melee.
I wonder if this occurs for any/other "projectile" ammo types. As far as I'm aware, as opposed to bullets, projectile ammo (arrows, throwables, rockets, nails, etc) are physically represented in the world when fired and have collision meshes. I'm also assuming that those projectiles don't exist in the world until fired/thrown (i.e. the arrow represented in your bow is not the actual projectile that is fired). It's possible there are some collision detection issues when a zombie is so close that the two collision meshes (zombie and projectile) occupy the same space when the player fires/throws.

I want to do some testing now...

 
The testing on one single computer/configuration would be just anecdotal, at the most, so I don't know how much we can find out by ourselves.

That's why I was hoping for someone who can look "behind the curtain" to explain.

 
It wouldn't be anecdotal if it could be reliably repeated. I've never tried to test it for reliability myself, but if I messed with it enough I could probably find the exact situations in which it triggers. I do have a feeling it would always trigger against standard-sized zombies at a given range but I'm not planning to test it myself given the like 8 minute load times on the overhaul I have currently installed.

 
It's anecdotal but I've experienced what I think is the 'seems to go through the target' effect and it's only happened with bows and thrown spears, and only at close range. I speculate it could possibly be something to do with the projectile being created on the wrong side of the hit box and thus never connecting.

I'm fairly certain a large proportion of the 'I missed a certain shot so there must be a 'to hit' roll' reports come from the human tendency to assume low failure chances are zero when they are not. Any shot where even a tiny proportion of the area inside the cross hairs isn't on part of the target can be a miss. As noted above, spending some time with a laser sight turned on is a great way to see where your shots are actually going.

This effect is probably also why folks find early shotguns underwhelming when they don't have the skills or weapon mods to tighten the spread. They go for headshots and the target's head looks prominant in your cross hairs, but actually the target is only making up a modest proportion of the possible hit zone (compounded by the tendency for our eyesight to naturally overestimate the relative areas covered by a single large object compared with lots of smaller spaces around it). Every now and again you'll get a shot where many, or even all, pellets don't connect, and you actually end up doing way less damage than a much safer body shot.

 
That is fixed for spears in A21...
Hah! Strictly speaking it's not going to be fixed, but the incidence of situations where it might occur will be reduced to zero.

Assuming A21 is removing spear throwing completely, which I'm 100% in favour of as power attacks are so much more valuable.

 
I've always wondered if, when shooting zombies with a bow/gun, there is also a "Hit Chance" check like in traditional RPGs.

I ask this question because many times I've heard people complaining about shooting a zombie right in the head, also from afar, and missing it, even if they were sure they were spot on targeting the hit-box.

Some say it's just the wonky hit-boxes not working as they should.

Others say even if you hit the hit-box you still have the game check the hit against your "skill" in (e.g.) bows or the gun.

Others think it's a "lag" issue (but this also sometimes happens in SP, so...).

Can anyone confirm this from an official source or know the answer?

Thanks

@faatal @Kinyajuu @Roland @schwanz9000


I view the hit circle as the RPG type factor because the size and the speed it diminishes are both controlled by RPG-values.

 
I wonder if this occurs for any/other "projectile" ammo types. As far as I'm aware, as opposed to bullets, projectile ammo (arrows, throwables, rockets, nails, etc) are physically represented in the world when fired and have collision meshes. I'm also assuming that those projectiles don't exist in the world until fired/thrown (i.e. the arrow represented in your bow is not the actual projectile that is fired). It's possible there are some collision detection issues when a zombie is so close that the two collision meshes (zombie and projectile) occupy the same space when the player fires/throws.

I want to do some testing now...
Im maintaining a mod (yeah, i know its a tiny bit outside this discussion) that i didn't create that adds "rebar bolts" as ammo for the crossbow. They "go through" zeds quite a bit when fired from close range. I thought it was a bug with the mod/rebar mesh but it sounds like this explanation makes a lot more sense since vanilla assets are having this issue.

Anyway, I'm not sure it would help anyone, but if they really really wanted to try to decompile the rebar bolt assets in my mod, maybe it would have some values/data in it that could be extrapolated to vanilla and would help confirm its mesh collision issues (as the rebar bolts do it a lot, so it might be easier to reproduce/validate?). I don't know enough about the unity assets used and do not have the source :(  anyway, its on mu mods page if anyone wants to mess with it.

 
There's been plenty of reports, however, of people clearly hitting what should have been the "hit-box" (often the head) but having arrows or bullets shoot through.
In that thread nearby, titled something descriptive about car crashes, I ended up doing a little test shooting. I won't repeat myself here, link below.

But, I kinda wanted to come back to the idea of an actual mechanic being/not being there. If it's a real thing, the BEST way to see it is to take plenty of shots at a stationary target. In a lag free game, self hosted and whatnot - the more stable the game, the better. When the game works as it should, you should see it and kinda know you saw it.

If it's a bug, or a group of bugs, that's when you see it on laggy servers and straining machines.

The test set I did below.. could also be such a mechanic. Which is why I repeated it enough to get several consecutive ones, the likelihood for a triple RPG-miss would be abysmal - if the mechanic was of low enough chance not to be observed regularly. The likelihood of me having actually found a wonky frame in the idle animation is kinda tiny as well, but it seems I did; that's what I'm assuming for now.




 
I know from experience that really close ranged bow shots miss pretty often even when it should hit them square in the torso. It makes me wonder where the bow/arrow is starting. If the bow and arrow extend into the hit box on prior to release, it can't then hit the hit box in flight.

 
In that thread nearby, titled something descriptive about car crashes, I ended up doing a little test shooting. I won't repeat myself here, link below.

But, I kinda wanted to come back to the idea of an actual mechanic being/not being there. If it's a real thing, the BEST way to see it is to take plenty of shots at a stationary target. In a lag free game, self hosted and whatnot - the more stable the game, the better. When the game works as it should, you should see it and kinda know you saw it.

If it's a bug, or a group of bugs, that's when you see it on laggy servers and straining machines.

The test set I did below.. could also be such a mechanic. Which is why I repeated it enough to get several consecutive ones, the likelihood for a triple RPG-miss would be abysmal - if the mechanic was of low enough chance not to be observed regularly. The likelihood of me having actually found a wonky frame in the idle animation is kinda tiny as well, but it seems I did; that's what I'm assuming for now.


Phil did a bug report, but he did not read the explanation what info to provide, did not write how to reproduce. And worst of all he wrote it happens at distance as well so the testers will likely assume he does not know about the hit circle.

Since you have found a good way to reproduce it you could add that to the bug report: https://community.7daystodie.com/a20-bug-database/bug-pool/collision-detection-r812/

 
Since you have found a good way to reproduce it you could add that to the bug report
A proper report would require video, I don't have an account to upload such.. I'll throw in a text description, but I'm not sure if I should bother QA with a goose hunt over the idle animation ... :)

I might try to OBS it anyway and see if I can pull frames from that.

 
A proper report would require video, I don't have an account to upload such.. I'll throw in a text description, but I'm not sure if I should bother QA with a goose hunt over the idle animation ... :)

I might try to OBS it anyway and see if I can pull frames from that.


Why should it need video? The steps to reproduce are very clear to describe in text. Just say something like this for steps to reproduce:

1) spawn a zombie without AI

2) go to him as close as possibe

3) shoot at his face with an arrow

4) the shot goes through (in my test x% of shots went right through without doing damage)

If you have anything else that needs to be said, add it to that list, but generally that is so clear even I could reproduce it with my two left hands 😉. For good measure you probably should use the template they provide.

 
Last edited by a moderator:
Why should it need video?
Because even with knowing the frame to hit, my success rate was around 15-30% for the general case; only shooting several in a row from the same setup was markedly easier. Without video it's going to be "can't repro" in no time. With a video the tester can at least see it happened (or see I'm just tripping), and know exactly what was done. There's plenty I won't be able to describe, and plenty I don't even know, some good evidence gathers a lot of that.

It's not mandatory, sure, but in this kind of case it's a lot more useful than the template they want you to fill... :)

 
Last edited by a moderator:
Back
Top