TTT2 icon indicating copy to clipboard operation
TTT2 copied to clipboard

Featurerequest: Death Cam / Spectator Rework

Open TimGoll opened this issue 6 months ago • 1 comments

[Taken from Misc TTT tweaks and fixes]

Clients can choose to disable the first-person deathcam to use a third-person view of their corpse instead. client cvar: ttt_deathcam_firstperson 1

Clients can choose to disable being forcibly teleported to "spectator spawns" after their deathcam. This stops the annoying thing where you'll be watching the action happening around where you died but then your view is suddenly cut to miles away outside the map. client cvar: ttt_deathcam_gotospecspawn 0

This is something that annoyed me forever. The cam should never be moved to worldspawn, but stay at the exact position it was when orbiting the dead player. This should also be not a convar as I consider the curent implementation a bug. (Probably the spec player has to be teleported to a position that is the corpse position + rotation radius combined with the angles so that the position is seamless)

Also it would be neat if pressing ctrl while orbiting your corpse would instantly leave the death cam and allow you to freely move your spec cam. There should probably also be an API interface that indicates if a player currently is in the death cam that addons such as round info (the killer info popup) can use to display/hide the HUD element.

Probably the deathcam should also have some sort of visual indication that it is a deathcam and not the normal spec mode. No idea how though, it is not that important for this issue

TimGoll avatar Dec 12 '23 17:12 TimGoll