12,028 Commits over 2,527 Days - 0.20cph!
Show death and sleeping UI if the player being first person spectated is dead or asleep
Merge from FirstPersonSpectate
Added a button to spectate a player in the player info panel of the server admin F1 tab
Merge from first person spectate
Add support for the title field of hero ads to use a url (500x500)
Update head look flag to fix merge conflict
Improve camera angles when entering/exiting parent volumes (still not quite perfect, but a bit better now)
Potential fix for snowball leaked entities
Added support for alt look while spectating (added a new model state flag to track when a player is alt looking)
Rename EntitySpectateAware -> LocalOrSpectatePlayer
Update RPC overloads
Fixed third person mode when spectating
Make all FirstPersonSpectatorMode variables private
Added LocalPlayer.SpectatePlayer that will return the player being spectated and null otherwise, this should be used when there is specific behaviour that is required when in spectate mode (not in regular gameplay)
Remove some redundant spectator checks
Simplify access to first person spectator state, remove IsFirstPersonSpectating and IsLocalPlayerSpectateAware
Check against the actual values instead (FirstPersonSpectatorMode.FirstPersonSpectatePlayer and LocalPlayer.EntitySpectateAware
Fixed vm getting orphaned when entering debug cam
Fixed event NRE when spectating in a demo
Added a skin redirect editor (Tools/Skins/New redirect skin) that creates relevant prefab variants and makes standard changes required to get the redirect working (item names, pickup, repair, shortnames, etc)
Fixed crossbow vm loaded state
Remove all client side mounted references for instruments
Better spectate entity name
Potential NRE fix in LateClientCycle
Add stat for a player shredding a car
Add stat for hands won in poker
Fixed team UI not updating when spectated player leaves a team
Fixed guns not showing the correct ammo count when spectating
Hit marker should now play when the player being spectated gets a headshot
Fixed metabolism, team UI, hot, cold, water and directional damage overlays not working in spectator mode
Added ClientRPCPlayerSpectatorAware which is the same as ClientRPCPlayer but also sends the rpc to the spectator client
Expose bear, boar and chicken population values in admin UI
Increased scroll speed of server info and convar lists
Update DryWetMidi plugin to fix .net version
Fixed incorrect animation event handling while first person spectating
Fixed scopes not opening their UI overlay when first person spectating
Player icon on map view now faces correct direction when first person spectating
Fixed nametag of player being spectated appearing when the spectated player looks down
Possible OnViewModeChanged NRE fix
Fixed player model appearing distorted when switching to debug cam while first person spectating
Fixed camera position lerping when first person spectating a player in a vehicle (still some rotation lerping happening, but not as bad)
Improved handling of disconnected/sleeping players