Raised This Month: $476 Target: $400
 119% 

[TF2] Third Person (Non-sv_cheats Edition)


Post New Thread Reply   
 
Thread Tools Display Modes
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:
    1509 
    Plugin Description:
    Allows players to use third person view without enabling client-side cheats.
    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 - 27164 views - 2.3 KB)
    __________________

    Last edited by DarthNinja; 04-10-2013 at 18:29.
    DarthNinja is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: United States
    Old 04-22-2012 , 01:20   Re: [TF2] Third Person (Non-terrible Edition)
    Reply With Quote #2

    Wow, the day has come. Nice job =)
    __________________
    ReFlexPoison is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 04-22-2012 , 01:41   Re: [TF2] Third Person (Non-terrible Edition)
    Reply With Quote #3

    Bravo... switching mine out now thanks!
    Horsedick is offline
    11530
    Veteran Member
    Join Date: Sep 2011
    Location: Underworld
    Old 04-22-2012 , 05:35   Re: [TF2] Third Person (Non-terrible Edition)
    Reply With Quote #4

    So for those who have just woken up (probably just me!) can I confirm that you can still get achievements with this plugin, as it doesn't enable client-side cheats?
    __________________
    11530 is offline
    Smarmy
    Senior Member
    Join Date: Mar 2012
    Old 04-22-2012 , 09:00   Re: [TF2] Third Person (Non-terrible Edition)
    Reply With Quote #5

    Noticed a possible bug. When in third person if you move by anyone who is doing the high 5 taunt it will automatically do the taunt. When it does it, it lets you move away though, like you're taunt sliding. Not a big deal, but just thought I'd let you know.
    Smarmy is offline
    serpentine
    I don't have a problem
    Join Date: Feb 2011
    Location: Madison, WI
    Old 04-22-2012 , 09:25   Re: [TF2] Third Person (Non-terrible Edition)
    Reply With Quote #6

    Works a treat, thanks very much.
    __________________
    serpentine is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 04-22-2012 , 13:47   Re: [TF2] Third Person (Non-terrible Edition)
    Reply With Quote #7

    Quote:
    Originally Posted by Smarmy View Post
    Noticed a possible bug. When in third person if you move by anyone who is doing the high 5 taunt it will automatically do the taunt. When it does it, it lets you move away though, like you're taunt sliding. Not a big deal, but just thought I'd let you know.
    Yeah, the only fix to that would be to knock players out of third-person for 0.1 seconds whenever someone in range taunts.
    I have information that something better will be coming in a TF2 update Soon™.
    __________________

    Last edited by DarthNinja; 04-22-2012 at 13:47.
    DarthNinja is offline
    ProTravis
    Junior Member
    Join Date: Feb 2012
    Old 04-22-2012 , 14:16   Re: [TF2] Third Person (Non-terrible Edition)
    Reply With Quote #8

    a bug with this, when changing class you need to taunt to go into thirdperson

    when thirdperson as heavy and a sandwich, you click left mouse button and it does the high five taunt
    taunt works, its just using the attack button that makes it perform the high five, even without a partner

    (taken from my server forums)
    ProTravis is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 04-22-2012 , 14:27   Re: [TF2] Third Person (Non-terrible Edition)
    Reply With Quote #9

    Quote:
    Originally Posted by ProTravis View Post
    a bug with this, when changing class you need to taunt to go into thirdperson

    when thirdperson as heavy and a sandwich, you click left mouse button and it does the high five taunt
    taunt works, its just using the attack button that makes it perform the high five, even without a partner

    (taken from my server forums)
    I believe it's for any class that has consumable weapons (Cola, Sandvich, etc). I am also getting these bugs as well in third person mode.
    Mr. Man is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 04-22-2012 , 16:13   Re: [TF2] Third Person (Non-terrible Edition)
    Reply With Quote #10

    Quote:
    Originally Posted by DarthNinja View Post
    I have information that something better will be coming in a TF2 update Soon™.

    ohh yeah? Don't be holding back on us now
    Horsedick is offline
    Reply


    Thread Tools
    Display Modes

    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 16:44.


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