Raised This Month: $168 Target: $400
 42% 

[TF2] Spy Improvements (v1.3)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Matheus28
Senior Member
Join Date: Aug 2009
Plugin ID:
2070
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Gives some improvements for the spy class
    Old 11-13-2010 , 16:43   [TF2] Spy Improvements (v1.3)
    Reply With Quote #1

    Introduction
    This plugin gives some improvements for the spy class:
    • They walk faster when they are cloaked
    • They can press R when they are disguised with a slower class to use their normal speed

    I am planning to add more features yet. If I have time, some day, in the future, or maybe never

    ConVars
    • sm_spyi_admin "0" - If 1, only admins with with access to sm_spyi will be able to use the improvements
    • sm_spyi_cloaked_speed "350" - Spy speed when he is cloaked, 300 = Disabled
    Attached Files
    File Type: sp Get Plugin or Get Source (spyimprovements.sp - 1119 views - 2.7 KB)

    Last edited by Matheus28; 01-31-2011 at 10:11.
    Matheus28 is offline
    max42
    Member
    Join Date: Nov 2009
    Old 11-13-2010 , 17:11   Re: [TF2] Spy Improvements
    Reply With Quote #2

    looks good anyway to make this admin only thou ?
    max42 is offline
    Matheus28
    Senior Member
    Join Date: Aug 2009
    Old 11-13-2010 , 17:13   Re: [TF2] Spy Improvements
    Reply With Quote #3

    Quote:
    Originally Posted by max42 View Post
    looks good anyway to make this admin only thou ?
    Okay, wait a minute

    EDIT: Done

    Last edited by Matheus28; 11-13-2010 at 17:18.
    Matheus28 is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 01-31-2011 , 09:09   Re: [TF2] Spy Improvements (v1.2)
    Reply With Quote #4

    @ Matheus28

    Your player loop is skipping the last client slot on line 47. Should loop through <= MaxClients instead of just <.

    Also, CheckCommandAccess should be used instead of hardcoding an admin flag check.
    psychonic is offline
    Matheus28
    Senior Member
    Join Date: Aug 2009
    Old 01-31-2011 , 09:56   Re: [TF2] Spy Improvements (v1.2)
    Reply With Quote #5

    Okay, I am a little busy these days, no time to fix some other plugins.

    Should I create a command so admins can override or simply use CheckCommandAccess to check the Reservation flag?
    Matheus28 is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 01-31-2011 , 10:02   Re: [TF2] Spy Improvements (v1.2)
    Reply With Quote #6

    Quote:
    Originally Posted by Matheus28 View Post
    Okay, I am a little busy these days, no time to fix some other plugins.

    Should I create a command so admins can override or simply use CheckCommandAccess to check the Reservation flag?
    You can give CheckCommandAccess a command string as a parameter. The command doesn't have to exist; it will just be used for admin_overrides.

    Edit: and actually, if overrides were supported, you wouldn't even need the adminonly cvar. Users can handle that through the overrides file as well. "" for all or "flag(s)" for whatever flag or flags they want it available to.

    Last edited by psychonic; 01-31-2011 at 10:09.
    psychonic is offline
    Matheus28
    Senior Member
    Join Date: Aug 2009
    Old 01-31-2011 , 10:12   Re: [TF2] Spy Improvements (v1.3)
    Reply With Quote #7

    Updated.

    Edit: Thanks

    Last edited by Matheus28; 01-31-2011 at 10:17.
    Matheus28 is offline
    mrjelle88
    New Member
    Join Date: Mar 2013
    Old 03-15-2013 , 10:00   Re: [TF2] Spy Improvements (v1.3)
    Reply With Quote #8

    Hi,

    I know this is an old thread, but if you ever decide to update this plugin I have one feature I would love to see in the update. I'm not sure whether this is possible to add or not, but I'd like to see auto godmode in cloak (except when people walk into you because then the spy becomes visible).

    Other then that I love your plugin
    mrjelle88 is offline
    CuriousG
    Senior Member
    Join Date: Feb 2012
    Old 03-15-2013 , 13:24   Re: [TF2] Spy Improvements (v1.3)
    Reply With Quote #9

    Quote:
    Originally Posted by mrjelle88 View Post
    Hi,

    I know this is an old thread, but if you ever decide to update this plugin I have one feature I would love to see in the update. I'm not sure whether this is possible to add or not, but I'd like to see auto godmode in cloak (except when people walk into you because then the spy becomes visible).

    Other then that I love your plugin
    If anything they should be more susceptible to damage when cloaked and not the other way around.
    CuriousG 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 02:23.


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