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

[GoldSrc] onlyClientDraw freezes sound listener position #3825

Open
Meetem opened this issue Sep 14, 2024 · 1 comment
Open

[GoldSrc] onlyClientDraw freezes sound listener position #3825

Meetem opened this issue Sep 14, 2024 · 1 comment

Comments

@Meetem
Copy link

Meetem commented Sep 14, 2024

If the mod is using onlyClientDraw = 1, then sound playback origin will "freeze" in the last place where onlyClientDraw was 0.
Probably it is related to the fast exit in the engine rendering code, where check for onlyClientDraw elliminates not only the rendering, but sound setup too.

Setting onlyClientDraw to 0 will catch up new player origin, but will freeze again if onlyClientDraw becomes 1.

@Meetem Meetem changed the title [Engine] onlyClientDraw freezes sound listener position [GoldSrc] onlyClientDraw freezes sound listener position Sep 14, 2024
@Meetem
Copy link
Author

Meetem commented Sep 19, 2024

Apparently viewmodel animations are broken too, seems that they are not transferred from engine to the view entity.
Since engine doesn't render a viewmodel, it just skips the animation setup, which is incorrect, since custom renderer needs them.
Reproducable with r_norefresh = 1, or r_drawentities = 0, or r_drawviewmodel = 0, or onlyClientDraw = 1

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