Raox2 / sunrust-issues

A place for bugs and the like.
2 stars 0 forks source link

[ZS] Client animations still loop even if you don't render the player #18

Closed ghost closed 6 years ago

ghost commented 6 years ago

Update: Engine issue, also happens in other gamemodes. https://github.com/Facepunch/garrysmod-issues/issues/3498


Test 1

Tested with 63 bots. zs_transparencyradius n does cut down client animations a lot. However, there are issues where in certain circumstances, the client is still processing client animations, which if solved would improve client performance.

20180605103810_1 Area portals only cut off a tiny bit from client animations (I closed the area portal for purposes of testing) 20180605103816_1 Going outside of the map/out of pvs cuts down on client animations cost considerably. 20180605103826_1


Test 2

Spawned 63 Human bots. 20180605110852_1 Stripped them. 20180605110859_1 zs_transparencyradius 2048 20180605110908_1 Slayed them, see the animation cost. 20180605110920_1 Animation cost looking away from the dead humans. 20180605110925_1

To see what is actually happening, I had to install an addon, hitbox renderer, it shows that the player bot is still playing the last animation it was looping before it died. 20180605112733_1

I tested the same, with zs_transparencyradius 2048, the issue is the same there in regards to animations. It's safe to assume the following, the last animation that was played is always looped and:

ghost commented 6 years ago

https://github.com/Facepunch/garrysmod-requests/issues/1029