NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
https://neotokyorebuild.github.io/
Other
24 stars 13 forks source link

Broken/incorrect observer mode in dead spec #797

Open Rainyan opened 3 weeks ago

Rainyan commented 3 weeks ago

Build Info

v10.0-prealpha

Description

Sometimes, when spectating players whilst yourself dead, in the first person mode, their weapon viewmodel is not visible. It also seems some other props in the vicinity sometimes get culled away in strange ways, as if you were in a different PVS leaf (spotted occurring in close corridor hallways etc). This might be an issue with the incorrect observer mode enum being set, but I'm unsure.

It doesn't seem to happen consistently, sometimes it works, but other times not. Possibly related to the auto-obstarget choosing behaviour when you (your your current observer target) dies.

To Reproduce

Expected behavior

Able to spectate in the first-person view correctly, and the spectated player's weapon viewmodel is visible.

Actual behavior

The spectated player's viewmodel is invisible.

Operating System

Version/Distro

Linux Mint 21.3 Cinnamon

Machine's CPU

AMD Ryzen 5 7600

Machine's GPU

AMD RX 580

GPU's driver

Mesa 23.2.1-1ubuntu3.1~22.04.2

Build's compiler

No response

Additional context and Screenshots

Note how the viewmodel breaks when auto-switching to the new spectating target when your previous spec target dies:

vmbug.webm

Rainyan commented 3 weeks ago

Similar issue, but unknown if related: #803