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

[TF2] Add/Remove Condition


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Plugin ID:
7243
Plugin Version:
2.2.0
Plugin Category:
All
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Adds a condition number with an optional time in seconds on a specific target
    Old 08-06-2020 , 22:57   [TF2] Add/Remove Condition
    Reply With Quote #1

    [TF2] Add/Remove Conditon

    Description
    Add and remove conditions on targets
    This supports the other Team Fortress 2 variants aswell.

    Commands
    1. sm_addcond <target> <condition number id> <time/seconds- Add a condition to the specified target. Optionally in seconds
    3. sm_removecond <target> <condition number id> - Remove a condition from the specified target

    ConVars
    1. sm_addcond_chat - Determine if only the client or everyone can see the condition outputs. Default: 1

    Plans
    1. Merge sm_addcond and sm_addcond2 into one. Planned Version 2.2.0 (Done)
    2. Fix sm_removecond not working properly. Planned Version 2.2.0 (Done)
    3. Clean up the code and work on a include for the plugin. Planned Verison 2.2.0 (Done)
    4. Add translation support.

    TF2 Condition list can be found here

    Dependencies
    You will need sm_addcond.inc file to compile the plugin, found inside the scripting folder in the zip you downloaded.

    Changelog
    Quote:

    Version 2.2.0 - February 22nd, 2021
    + Cleaned up & updated the code.
    + Fixed sm_addcond & sm_removecond to work properly.
    - Removed command sm_addcond2.
    + Merged sm_addcond and sm_addcond2 into one command.
    + Updated to now require sm_addcond include file to compile.

    Version 2.1.0 - August 8th, 2020
    + Updated plugin to new syntax & declarations
    + Cleaned up code
    + Added condition 128 to the condition list

    Version 2.0.3
    + Added a error message that if you remove condition on a target that doesn't have the condition you specify, it will now show a error message

    Version 2.0.2
    + Fixed addcond chat announce
    + Fixed some more dumb errors in the code

    Version 2.0.1
    + Fixed a dumb error in the code

    Version 2.0
    + Loads of changes.
    + Fixed targetting leading to chat spam.
    + Cleaned up the code
    + Added ability to pick @random in target to pick a random target for the specific condition
    + Corrected some of the condition descriptions

    Version 1.1
    + Fixed targetting replying back "this may only work ingame" as if you were server console

    Version 1.0
    + Initial Release

    GitHub Repository | Latest Version
    __________________

    Last edited by Teamkiller324; 03-15-2024 at 16:01.
    Teamkiller324 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 07:18.


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