StrataSource / Portal-2-Community-Edition

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

Portal 2 Bug: Portalgun hold animation can be broken thanks other weapon #1383

Open MyGamepedia opened 1 year ago

MyGamepedia commented 1 year ago

Describe the bug

In Portal 2 portalgun hold animation can be broken thanks other weapon, it's also can glitch the hold sounds. This can be achieved in 3 ways.

First way: hold something thanks portalgun, use other weapon (can be achieved with bug_swap, phys_swap, lastinv, use weapon_name).

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/b10c21e5-5c6d-4de6-9a6b-659e57837ade

Second way: hold something thanks portalgun, pick up weapon that have higher priority than portalgun.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/f4daa8e1-939f-404e-be91-b7cda49799dc

Third way: hold something with any weapon (it's not should be portalgun), save and load.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/1613d73b-1536-4442-a750-3ca183410ef3

This all also relevant to Portal, where this problem meeting regularly in mods that use Half Life 2 weapons. This problems still in P2CE. Should be fixed because of Half Life 2 weapons support and opportunity to add custom weapons. It's should often meeting now.

To Reproduce

  1. Open any map.
  2. Repeat the ways from the description.

Operating System

Any.

MyGamepedia commented 1 year ago

I only now saw that I mixed up the videos and the way, fixed.