Raised This Month: $51 Target: $400
 12% 

[TF2] Third Person (Non-sv_cheats Edition)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2921
Plugin Version:
2.1.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    639 
    Plugin Description:
    Allows players to use third person view without enabling client-side cheats.
    Unapprover:
    Reason for Unapproving:
    Undocumented public commands: https://forums.alliedmods.net/showpost.php?p=2528084
    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 - 38888 views - 2.3 KB)
    __________________

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



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 05:45.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode