Closed lunatixxx closed 3 years ago
Yes, so the camera had set view properties of all players on the server during finale sequence, and on team swap only non-spectator players had their view reset. Invoking input "Disable" on all camera related entities would fix this behavior (kept it as early as on event round_start_pre_entity to prevent map logic be involved).
I've added a source code for sourcepawn plugin to get rid of bugs that you would experience (mentioned and not).
I'll think of a better way of distrubution when (and if) there will be more to think on. Right now it's located at extra/camera_round_reset.sp file in this repo (scripting/camera_round_reset.sp in artifacts).
So this will fix it when watching live sourcetv, but will not on demos ? I don't think demos loads plugins of the server.
Plugin will fix bugs mentioned by you on newly recorded demo files, on a broadcast and if you're just spectating (on a server with said plugin active),
Broadcast and demo footage are coming from the same source ("point of view" of SourceTV bot).
I only tested on one demo but the plugin seems to have fixed it.
Glad it helped.
Just a heads up. Moved an optional plugin into its own repository.
At the finale map after the first team escaped in the vehicle, for the second team when i was in FPS view the crosshair and the weapon totally disappeared. I'm guessing this is what caused it (the escape), i also did some alt tab but i don't think this is related.