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

TF2 Third Person v1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DiscoBBQ
Veteran Member
Join Date: Jan 2005
Location: Clemson, South Carolina
Plugin ID:
501
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Multiple Third Person View Commands
    Unapprover:
    Reason for Unapproving:
    Reported not working
    Old 08-10-2008 , 22:24   TF2 Third Person v1.0
    Reply With Quote #1

    Due To Requests: TF2 Third Person v1.0

    This only works with TF2

    Description:
    -Until I can figure out how to bypass the valve server execute restrictions, this plugin disables all cheat commands except the camera cheats, i.e., "thirdperson"
    -Enables various third person view commands for clients and admins.

    Installation:
    -Download TF2ThirdPerson.smx and place it in your addons/sourcemod/plugins folder.
    -Install 1.0.4 SM snapshot

    Usage:
    -The default taunt bind will toggle between first and third person if it is enabled.
    -Admin Command: sm_forcetpv <0|1> - This toggles the forcing of third person view for all clients. If enabled all players at all time will be in third person.
    -Admin Command: sm_enabletpv <0|1> - This toggles the access of third person views by clients, if disabled clients taunt bind will not work.
    -Admin Command: sm_thirdperson <Name> - Toggles thirdperson on a client, overrides sm_enabletpv but not sm_forcetpv.


    Changelog:
    v1.0:
    -Release

    Screenshot:

    (Switching between all of the snipers weapons)

    Notes:
    -If third person is enabled on a client, it will be in effect at all times except for the sniper rifle, This is the only exception.
    -The cvar sv_cheats is enabled, but all cheat commands are fully blocked 110% to my knowledge, this is includes case sensative exploits and the impulse commands.
    -This was not my preffered way of scripting this, but valve has it scripted so that if sv_cheats is disabled there is no way to render certain things such as the localplayer's weapon, muzzleflash origin, shell origin, and ability to change weapons. I have a partially working script for a disabled sv_cheats third person plugin, if anyone would want the sourcecode to continue it just send me a private message or post here.
    Attached Files
    File Type: sp Get Plugin or Get Source (TF2ThirdPerson.sp - 4707 views - 10.0 KB)
    File Type: smx TF2ThirdPerson.smx (2.4 KB, 2085 views)
    __________________
    "Every man is guilty of all the good he did not do"

    Last edited by DiscoBBQ; 06-03-2009 at 16:46.
    DiscoBBQ is offline
    ThatGuy
    Senior Member
    Join Date: Nov 2007
    Old 08-10-2008 , 22:42   Re: TF2 Third Person v1.0 by Pinkfairie
    Reply With Quote #2

    I love you!!

    Is it suppose to toggle the view for them or just allow it for them to use it?
    __________________

    Last edited by ThatGuy; 08-10-2008 at 22:52.
    ThatGuy is offline
    DiscoBBQ
    Veteran Member
    Join Date: Jan 2005
    Location: Clemson, South Carolina
    Old 08-10-2008 , 22:49   Re: TF2 Third Person v1.0 by Pinkfairie
    Reply With Quote #3

    Read the usage, im not sure what your trying to do.
    If your trying it on local, taunt bind dosn't register correctly use "sm_forcetpv 1" instead.
    __________________
    "Every man is guilty of all the good he did not do"

    Last edited by DiscoBBQ; 08-10-2008 at 22:56.
    DiscoBBQ is offline
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 08-10-2008 , 23:25   Re: TF2 Third Person v1.0 by Pinkfairie
    Reply With Quote #4

    Sorry mate, but...this plugin is completely unsafe to use
    • Clients will be able to change a shitload of client cvars, they would be normally unable to use because they are cheats (ie mat_wireframe).
    • This plugin doesn't block cheat impulses (even tho if Pinkfairie is 110% sure about that). You can't block the impulse command that easy, and have you ever thought about how a player sprays a spraylogo eh ?
    • It also removes command flags that on the server that shouldn't be removed, it sets every cheat command on the server to FCVAR_SPONLY.
    I was able to crash the server with using impulse 201 (for removing entities), and spawning skulls with impulse 83 was also fun, or filling up my ammo with impulse 101
    berni is offline
    DiscoBBQ
    Veteran Member
    Join Date: Jan 2005
    Location: Clemson, South Carolina
    Old 08-10-2008 , 23:39   Re: TF2 Third Person v1.0 by Pinkfairie
    Reply With Quote #5

    Well when they're SPONLY they cant execute them live. mat_wireframe did work for some reason, though the impulse commands still didn't execute on a live server. It blocks spraying too. The problem is that server can't execute commands on client, and until i can find a way around it I ask the approvers to not approve this.
    __________________
    "Every man is guilty of all the good he did not do"
    DiscoBBQ is offline
    ThatGuy
    Senior Member
    Join Date: Nov 2007
    Old 08-11-2008 , 00:25   Re: TF2 Third Person v1.0 by Pinkfairie
    Reply With Quote #6

    thanks for trying atleast hehe
    __________________
    ThatGuy is offline
    ShellShock
    Member
    Join Date: Jul 2008
    Old 08-11-2008 , 00:27   Re: TF2 Third Person v1.0 by Pinkfairie
    Reply With Quote #7

    Wait does it work?

    Last edited by ShellShock; 08-11-2008 at 00:29.
    ShellShock is offline
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 08-11-2008 , 00:42   Re: TF2 Third Person v1.0 by Pinkfairie
    Reply With Quote #8

    Quote:
    Originally Posted by Pinkfairie View Post
    Well when they're SPONLY they cant execute them live. mat_wireframe did work for some reason, though the impulse commands still didn't execute on a live server. It blocks spraying too. The problem is that server can't execute commands on client, and until i can find a way around it I ask the approvers to not approve this.
    But you are removing all the other command flags this way too... when you unload the plugin, all the flags+commands are gone forever and there is no way to restore them again.
    And impulse commands are still working for me with this plugin. That's why my cheatcontrol plugin needs an own extension for handling impulse, because it isn't a normal command.
    + any client cheat cvars work, not just mat_wireframe.

    Last edited by berni; 08-11-2008 at 00:49.
    berni is offline
    DiscoBBQ
    Veteran Member
    Join Date: Jan 2005
    Location: Clemson, South Carolina
    Old 08-11-2008 , 00:44   Re: TF2 Third Person v1.0 by Pinkfairie
    Reply With Quote #9

    Hmm maybe when I figure out how to bypass the the restriction I'll ask you about using your extension to handle it, Berni. Valve is so frustrating. I don't think it actually saves the command flags, does it?
    __________________
    "Every man is guilty of all the good he did not do"
    DiscoBBQ is offline
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 08-11-2008 , 00:56   Re: TF2 Third Person v1.0 by Pinkfairie
    Reply With Quote #10

    Using SendConVarValue and replicating sv_cheats 1 to the clients to make them think sv_cheats is on would be much easier and at least eliminate the impulse commands usage But client cheat cvars would still work...
    berni is offline
    Reply



    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 07:03.


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