punteroo / TF2-Item-Plugins

SourceMod plugins for TF2 that allow players to manage their weapons (australium, festivizer, unusuals, spells, war paints) and cosmetics (unusuals, paints, spell paints, halloween spells). Now with SQLite support.
GNU General Public License v3.0
31 stars 4 forks source link

Wrong Positions for Specific Effects #2

Closed LifeDreamer24 closed 3 years ago

LifeDreamer24 commented 3 years ago

Bug Description Some of the unusual effects aren't in the right place. Which are either attached too low, (on the neck / under the head) or even on the waist (rotating around the torso or so)...

To Reproduce Steps to reproduce the behavior:

  1. Enter 'sm_unu' or any command to bring up the menu.
  2. Equip yourself a specific hat. (on my side i tried the 'Antarctic Eyewear' or the 'Bat Hat' which made the bug)
  3. Select the 'Circling TF Logo' if you have the 'Bat Hat' or the 'Divine Desire' if you equipped the 'Antarctic Eyewear'.
  4. See error

Additional Notes Thoses bugs can sometimes happen with simillar effects e.g. 'Subatomic' or 'Atomic' for the neck bug but i did not found some effects that cause the bug related to the waist bug with the 'Circling TF Logo'.

Screenshots bugreport1 bugreport2

Hope this can help/be useful. /Simon ;)

punteroo commented 3 years ago

Hello, thank you for reporting this issue!

This happens because of certain hats' equip region. The engine just doesn't know which bone the effect must be attached to, so it does this. I'll try to implement a fix where players would be able to "adjust" their unusual effects' height just like if you were inside the loadout tab, and probably implement some sort of validation system to automatically re-attach the effect (will take quite some time to research).

I'll mark this issue and keep you updated on progress. If resolved, I'll push a new release.

punteroo commented 3 years ago

Performed some tests on my real Unusual hat and attributes that control the effects' position are particle_effect_use_head_origin and particle_effect_vertical_offset (IDs 520 and 519 respectively).

I'll try to implement these on the Unusuals plugin for a dynamic fix.

punteroo commented 3 years ago

Confirmed to be malfunctioning with The Bat Hat

Wrong Position

punteroo commented 3 years ago

This has been fixed on the latest v2.3.2 release.

Thanks for reporting this issue! I'll close it now.