StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
148 stars 3 forks source link

NPCs shoot at player legs and not at head #1426

Open MyGamepedia opened 1 year ago

MyGamepedia commented 1 year ago

Describe the bug

For some reason in P2CE NPCs shoot at player legs, while in Half Life 2 (and Portal) they always try to shoot at head, for give as much damage as possible (player have head hitbox which does more damage if bullet hit it). Half Life 2.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/b8b5b4bd-24ea-496d-af11-7c48a3b9a5e4

P2CE.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/6b2c2563-33e5-4574-be82-614d19c58069

Issue Map

Any.

To Reproduce

  1. Open any map with Half Life 2 NPCs that hate you and that can use guns (d1_canals01a for example).
  2. Find an enemy.
  3. Pay attention he shoots it at the legs.

Operating System

Any.