mastercomfig / tf2-patches

Team Fortress 2, but with a lot of fixes, QoL improvements and performance optimizations!
Other
218 stars 27 forks source link

Halloween NPCs have choppy animations (with non-vanilla interp settings) #480

Open Platina6978 opened 3 years ago

Platina6978 commented 3 years ago

Description

Any halloween boss (HHH, Merasmus, Monoculus) or any of the skeletons appear to have very choppy animations. I have been informed this is a result of using interp settings different from the vanilla ones but I am not very well informed about the cause here. ### Checklist

Reproduction

  1. Play any halloween map / Play any halloween map with a boss on it
  2. Use a spell to summon skeletons / Get the boss to appear
  3. Observe

Screenshots

Setup Details

Client Settings

ghost commented 3 years ago

I've noticed Sentries also experience this issue, but I've only seen it at higher ping than normal, and don't seem to be as sensitive to interp than Halloween entities. (i.e smooth Sentry animations on the same server as a stuttering HHHH.)

Platina6978 commented 3 years ago

It has come across me that the command "nb_update_frequency" may be a possible venue to fix these issues. This command defaults to a value of 0.1 but a value of 0.01 makes the animations a lot smoother (source at around 10:38). Hope this can be of any help! Edit: This appears to be a server convar, thus I'm not sure if this is something that can be changed through this project.

agrastiOs commented 3 years ago

According to Moonly Days (founder of creators.tf which hosts servers with fixed animations for NPCs), 0.01 translates to 60 FPS. In comparison, 0.02 is 30 FPS.

Margen67 commented 3 years ago

cl_interp_npcs convar does nothing.