Projectile hit detection theory

Heya! so I may have found a way to check for a player getting hit by a sentry projectile.

so here is my theory, basically you know pseudo projectiles? they have a kind of system to track when they hit a player. now how does that relate to what we need? Well, my theory is, what if we managed to get a sentry’s firing rate, aiming direction, and the speed of the projectile, and put those values into a pseudo projectile, and fire them both at the same time, then we could know when a player is hit by a projectile!

of course this is all theory, I haven’t tested it yet due to me not know how to get the directions QUITE yet.
but if this works this could open a lot of possibilities!

8 Likes

I believe it’s virtually impossible to detect when exactly a sentry fires.
I did attempt once when I was trying to make a drum set using sentry projectile sounds, but no matter what I did, I couldn’t get the sentry to fire on command at the same time consistently.

They do not.

Nope.

Brother, did you read the original post all the way through?

2 Likes

If it’s possible to detect when a player takes damage, you could make a game overlay that when pressed in tandem with taking damage replenishes the lost hp and deals damage to the attacking enemy. Although I’m not the best with the pseudo stuff.
Also, you’re fooling no one with the fancy name we all know it’s V1 parry :laughing:

I believe when you spawn in a sentry, then sentry will instantly start attacking if you are in range, so if you activate and deactivate quickly?? idk

oh, maybe if you instantly spawn in the target instead? (I forgot)

unimportent

Currently the only way to detect if a player has been hit (besides your theoretical one) is if, fragility is enabled, and the Knockback more then twice as strong as the player speed at which a player can move (or moving in the directions are being knocked back). But even then it is going to be unreliable due to the inaccuracies of measuring the distance travels in a certain period of time, velocity. (Because coordinate devices can only measure position within a block). So it is possible to detect a player being hit, but with a lot of caveats that make it not very useful. I’ve thought about detecting player being hit by projectiles a lot. (This is not the theoretical, I have made the system).

What you’re thinking of is theoretically possible, but only if the sentry’s accuracies is set to perfect. And research goes into the AI of sentry aiming. I think sentry’s AI depends on target’s velocity, meaning we have to measure velocity (which, as I said above is glitching and inaccurate).

I did read the post. Also, why did you include fragility? What does that have to do with anything? They didn’t talk about fragility or health?!

Yes, that’s correct. They didn’t talk about that.

What they’re saying is that you could theoretically simulate a projectile that was shot by a sentry. I haven’t really disproved this theory, and it hasn’t been disproven before.
What you were saying was just kinda irrelevant, and the claim that there was no other way to detect hits hadn’t been backed up with reasoning.

As for the quote, I just needed some part of your post to refer to. I didn’t really wanna quote the whole thing.

I apologize for arguing with strangers on the internet. Please do dump a bucket of water on me if you find my reply to be offensive.