Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spy disguise weapons not updating when swapping disguises to spy from another class [TF2items Manager] #12

Open
kingofings opened this issue Feb 15, 2021 · 0 comments

Comments

@kingofings
Copy link

If a spy is on the other team and uses a revolver with modified attributes he will not be able to change the disguise weapon to that revolver. This also causes the weapons not to update. E.g. When disguised as a demoman and swapping disguise to spy the Grenade launcher will still render on the spy. If all of the spies weapons have modified attributes he is not able to change disguise weapons at all.

If your first disguise is a spy with the above conditions you will not be able to swap to any of the modified disguise weapons, and will only have a sapper. On some cases the disguise will fallback to a random players weapons like a rocket launcher and show as a T Pose.

This only affects spy disguises!

Steps to reproduce the behavior of the first issue:

  1. Modify any attributes of a spy weapon and let an enemy spy equip it (eg revolver)
  2. Disguise as any class except spy
  3. Swap disguise to spy

Steps to reproduce the behavior of the second issue:

  1. Modify any attributes of a spy weapon and equip it (eg revolver)
  2. Disguise as spy with an enemy spy with modified attributes

Expected behavior
Swap disguise weapons as normal, Don't render previous disguise weapons

Screenshots
grafik

Environment

  • Sourcemod 1.10.0.6502
  • Metamod 1.11.0-dev+1144
  • Ubuntu 20.04.2 LTS
@kingofings kingofings changed the title Spy disguise weapons not updating when swapping disguises to spy from another class Spy disguise weapons not updating when swapping disguises to spy from another class [TF2items Manager] Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant