View Single Post
Author Message
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 04-22-2012 , 00:54   [TF2] Third Person (Non-sv_cheats Edition)
Reply With Quote #1

[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:
  • thirdperson_version
    • Plugin Version

Install Instructions:

  1. 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
    • Initial Release
  • 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
Attached Files
File Type: sp Get Plugin or Get Source (ThirdPerson.sp - 38904 views - 2.3 KB)
__________________

Last edited by DarthNinja; 04-10-2013 at 18:29.
DarthNinja is offline