[TF2] Third Person
(Non-sv_cheats Edition)
Version 2.1.0
Description:
I got tired of looking at all the hacky third-person plugins that screw with client sv_cheats.
So I wrote one that doesn't.
What does this do?Allows players to use third-person view.
What doesn't this do?Enable client-side cheats
Why should I care about client-side cheats?When enabled, they prevent players from earning achievements.
When enabled, they allow players to use client-only cheat commands (eg, r_drawothermodels).
Commands:- sm_thirdperson
- tp
- sm_firstperson
- fp
By default,
all players have access to the above commands.
To restrict access to only authorized players, see
Overriding Command Access.
Cvars:
Install Instructions:
- Place ThirdPerson.smx into your addons/sourcemod/plugins/ folder.
Notes:Credits to:
- Ce_Rire for mentioning the m_bIsReadyToHighFive netprop which I promptly pounced on.
- Hi Nephyrin.
- PonyTaloma
ToDo:
- Add a cvar to enable/disable/enforce the third-person command.
Version History:
- V1.0.0
- V1.0.1
- Needed more OnClientDisconnect
- V1.0.5
- Fixes plugin not enabling third-person after a player changes class.
- Fixes food items not being eatable with +attack.
- Fixes taunting issues with nearby players (mostly).
- V1.0.6
- Fixes an error caused if a player has no active weapon while in IN_ATTACK.
- V2.0.0
- Updated to use the SetForcedTauntCam input
- V2.1.0
- Added shorter command names
- Now also toggles third person/first person on dead players
Total downloads as prior to last edit: 762