After some hard work and determination, and some help from yournamehere (thanks for letting me use your code), finally we have a Crosshair Accurate 3rd Person Camera.
UPDATED TO INCLUDE ECHO
The code is: H1N2S
Sorry the old code had some left overs from testing I didn’t think to fix. This code is merely a “refresh” code, so it doesn’t go away in 6 months. Cheers.
This code was created on 7/31/2020.
Press the INTERACT key to toggle 3rd person on and off.
This 3rd Person Camera is, indeed, crosshair accurate. Point your cursor at your enemy and fire away! It even has world collision (though it doesn’t completely remove your ability to see through walls, but it’s better than literally phasing through them).
Heroes like Ana, Zarya, Orisa, and Hanzo, to name a few, have visual aspects in 3rd person that ARE NOT representative of what you’re actually shooting. These heroes ARE CROSSHAIR ACCURATE, the 3rd person camera simply makes it look off. You can test this by playing Orisa and trying to shoot world objects using the “visual” bullets rather than the crosshair. You’ll find that the bullets don’t do anything, but aiming with your crosshair results in objects or enemies taking damage. This is a bug that is impossible for me to fix unless somehow I magically end up working at Blizzard. Unlikely.
The camera will jitter slightly if you are looking from close to far range quickly, whether it be a wall, prop, or enemy player. This is unavoidable, as the “jitter” is what is allowing you to actually hit your targets. It has to do with something known as “Ray Cast Hit Position.”
Reference yournamehere’s post below:
Spamming the INTERACT key may have some unforeseeable effects that I cannot and/or will not change. Currently, the only one I know of is that sometimes the camera will spawn under the map (or some other, arbitrary location that is not next to your character) if you were already in 3rd person and the lobby loads a new map, but hitting the INTERACT key again or switching Heroes tends to get rid of the problem.
====BUGS THAT ARE FEATURES?====
If you activate the third-person camera and perform an emote, the camera will disable for the emote. However, if you activate the third-person camera, emote, and then activate the camera again, you will be able to view your emote from the shoulder perspective. Neat for sitting/dancing emotes.
All “sniper” characters can be played in third person while scoped, resulting in a completely different gameplay experience. It is important to note though that the camera will become stiff while scoped (I’m assuming because the mouse takes the sensitivity properties you have for being scoped). My personal favorite is Widowmaker; it’s like playing with a scope-less railgun, and I find myself being more accurate than not.
====ECHO SPECIFIC QUIRKS====
Echo herself is done, however, due to the nature of her being able to copy enemy heroes, if you are in 3rd person and copy an enemy like, Roadhog, then you will not use Roadhog’s specific 3rd person camera. I have not developed a way for this camera system to figure out how to change Echo’s camera from hers to the hero you copied, and I have an idea, but it’s an idea that’s going to make the camera even heavier on rules, and I don’t want to do that, or go through the headache.
You are warned, if you play Echo and copy a tank, chances are you won’t be able to see much. You can always dis-able the 3rd person camera using the INTERACT key to get around this until your ultimate has worn off. This also applies to Heroes like Bastion and Doomfist.
Most of the Damage Heroes and Healers will look fine with Echo’s camera and will be crosshair accurate. Even the tanks will be crosshair accurate, you’ll just have a hard time seeing what’s ahead of you. My apologies. Anyone here is welcome to try and develop a method, just be sure to hit me up about it.
None in the foreseeable future. This camera is finished, through and through. Besides maybe adjusting the “Blend” value, which might still need some work, but from the looks of it, that’s not necessary.
====FOR THOSE WANTING TO INCLUDE THIS CAMERA IN THEIR OWN MODES==
Be advised this camera is quite hefty on rules. It takes 50+ rules to make the camera work (a rule per hero + a rule unique hero ability, like Sigma’s Rock throw, all of Doomfist’s abilities besides Uppercut, and sometimes a rule for certain ultimates). The camera isn’t very hard on variable uses though. The camera’s affect on the server load is unknown (I don’t imagine it’s high considering it’s just a camera).
====PLEASE GIVE CREDIT TO MYSELF AND YOURNAMEHERE====
If you’d like to use this 3rd Person camera, please credit yournamehere (main code) and myself (positioning, debugging, various other code).
====COMMENTS FROM ME====
Overwatch has really fallen out of favor with me. I do not enjoy this game much anymore, in almost every aspect besides Archives events. I apologize if I might not be updating this workshop mode in the future “punctually.” Obviously, I did Echo, and I haven’t actually played Overwatch in a month. So I will do future heroes, but it won’t be like, THE DAY THEY COME OUT.