NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
Other
11 stars 9 forks source link

[BUG] 1st person spectator does not see crosshair and viewmodel ADS offset #393

Closed nullsystem closed 1 week ago

nullsystem commented 1 week ago

Build Info

20240623_bd6db75 (nullsystem:GH-389_neoFovFixRelay)

Description

1st person spectator is missing a crosshair/scoped crosshair, and viewmodel ADS offset when the player its spectating is doing ADS.

Related PR #390 which deals with spectator FOV, this should be done after that one.

To Reproduce

  1. Requires two clients on a running server
  2. One client spectate, the other play as Jinrai/NSF
  3. Server controlling player use sv_cheats 1, then give weapon_srs for SRS to test scoped weapon
  4. Spectating player spectate the player in 1st person mode
  5. Playing player try ADS with a non-scoped weapon EX: srm, and scoped weapon EX: srs
  6. Spectating player look at how the ADS looks while it ADS/un-ADS

Expected behavior

Crosshair/scoped crosshair and viewmodel is offset to ADS values is viewed from the spectator POV.

Actual behavior

No crosshair or scoped crosshair, and viewmodel stays in the normal position from the spectator POV.

Operating System

Version/Distro

Arch Linux

Machine's CPU

No response

Machine's GPU

No response

GPU's driver

No response

Build's compiler

No response

Additional context and Screenshots

Scoped weapon (SRS) aiming in scoped sight from spectator POV: 2024-06-23T132320_screen Non-scoped weapon (milso) aiming in ADS from spectator POV: 2024-06-23T132258_screen