jacob404 / promod-future

GNU General Public License v3.0
7 stars 1 forks source link

Improve or remove Smoker's tongue autoaim #57

Open MattNF opened 9 years ago

MattNF commented 9 years ago

Have the Survivor you are aiming at and will pull as Smoker have a red glow, to make it easier to see who you are pulling to avoid the autoaim pulling the wrong target

Or just remove it.

jbzdarkid commented 9 years ago

Do we know exactly how the auto-aim works? I'm pretty sure it's:

  1. Consider all valid survivors (Within max tongue range)
  2. Find survivor with minimum screen distance to center of reticle
  3. Pull survivor

The "improve" option would be (to me) to pull the nearest survivor, or to write some value function which is (distance to smoker)+(distance to reticle) or smth

MattNF commented 8 years ago

That sounds about right. And yeah, pulling the nearest survivor is usually the better option. I've had many situations where I go to pull a guy who's close but instead the game chooses the survivor very far away.

Could it be possible to add a special glow to the survivor you're about to pull, so you know who the autoaim is currently targeting? Just like how a survivor who is boomed gets a colored glow.

Attano commented 8 years ago

What you just said there is literally the second reason why I started getting into Sourcemod roughly 4 years ago, with the first one being the Tank name print on round start. My planned implementation was exactly how you described.

Back then I was still too green to export my desires into code though. By the time I had reached the necessary level, I was already focused on things of a completely different caliber, such as the very first edition of the serverside addons disabler.