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

SimpleConditions - Easy AddCond and RemoveCond


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TSG
Junior Member
Join Date: Jan 2018
Plugin ID:
5980
Plugin Version:
1.1.1
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    30 
    Plugin Description:
    Easy AddCond and RemoveCond
    Old 01-10-2018 , 16:22   SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #1

    SimpleConditions v1.1.1

    NOTICE: This plugin does not require sv_cheats to be set to 1!

    Description
    • An easy to use conditions system for TF2

    Commands
    Console
    • sm_addcond <target> <condition> - Adds the specified condition to the specified target
    • sm_removecond <target> <condition> - Removes the specified condition from the specified target
    • sm_sc_ver - Lists the currently installed version of SimpleConditions
    Chat
    • /addcond <target> <condition> - Adds the specified condition to the specified target
    • /removecond <target> <condition> - Removes the specified condition from the specified target

    Changelogs
    1.1
    1.1.1

    To-Do
    • Change the message from Applied/Removed Condition! to Applied/Removed condition <condition> to/from <target>.
    • Remove sdktools as an include, as tf2_stocks already includes this.

    Other Info
    I created this plugin as I felt the need for this on my server. I hope anyone else will find a need for this.
    Attached Files
    File Type: sp Get Plugin or Get Source (simpleConditions.sp - 1609 views - 3.5 KB)
    __________________
    TheSwitchGuy

    Last edited by TSG; 01-13-2018 at 09:46. Reason: Create an sv_cheats notice
    TSG is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 01-10-2018 , 16:29   Re: SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #2

    You can just include the file 'tf2_stocks' and it will include everything you need for 'tf2' as well and besides that, the plugin is good.

    Cheers.
    Drixevel is offline
    TSG
    Junior Member
    Join Date: Jan 2018
    Old 01-10-2018 , 16:30   Re: SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #3

    Quote:
    Originally Posted by Drixevel View Post
    You can just include the file 'tf2_stocks' and it will include everything you need for 'tf2' as well and besides that, the plugin is good.

    Cheers.
    I'll be sure the change that in version 1.1.1!
    __________________
    TheSwitchGuy

    Last edited by TSG; 01-10-2018 at 16:35. Reason: Change from v1.2 to v1.1.1 because of such a minor change
    TSG is offline
    TSG
    Junior Member
    Join Date: Jan 2018
    Old 01-10-2018 , 16:33   Re: SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #4

    Version 1.1

    Changes
    • Changed internal name from Simple Conditions to SimpleConditions
    • Added ConVar sm_sc_ver
    • Changed loading prefix from SimpleCond to SimpleConditions

    You can download version 1.1 from the attachment on this post. (Also updated the attachment on the main post)
    Attached Files
    File Type: sp Get Plugin or Get Source (simpleConditions.sp - 974 views - 3.5 KB)
    __________________
    TheSwitchGuy
    TSG is offline
    TSG
    Junior Member
    Join Date: Jan 2018
    Old 01-10-2018 , 16:37   Re: SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #5

    Version 1.1.1

    Changes
    You can download version 1.1.1 from the attachment on this post. (Also updated the attachment on the main post)
    Attached Files
    File Type: sp Get Plugin or Get Source (simpleConditions.sp - 995 views - 3.5 KB)
    __________________
    TheSwitchGuy
    TSG is offline
    TheMildGatsby
    Junior Member
    Join Date: Jan 2018
    Old 01-12-2018 , 19:52   Re: SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #6

    Does this require sv_cheats 1 ?
    TheMildGatsby is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    Old 01-12-2018 , 20:02   Re: SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #7

    Quote:
    Originally Posted by TheMildGatsby View Post
    Does this require sv_cheats 1 ?
    Nope. I'm looking at the source code and there are no lines containing stock console commands that require the sv_cheats cvar.
    __________________
    Psyk0tik is offline
    TSG
    Junior Member
    Join Date: Jan 2018
    Old 01-13-2018 , 09:38   Re: SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #8

    Quote:
    Originally Posted by Crasher_3637 View Post
    Nope. I'm looking at the source code and there are no lines containing stock console commands that require the sv_cheats cvar.
    I can indeed confirm that sv_cheats is not required for the use of my plugin!
    __________________
    TheSwitchGuy
    TSG is offline
    TheMildGatsby
    Junior Member
    Join Date: Jan 2018
    Old 01-14-2018 , 21:32   Re: SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #9

    Quote:
    Originally Posted by TSG View Post
    I can indeed confirm that sv_cheats is not required for the use of my plugin!
    Thank you for the confirmation, but I ended up going with Tylerst's "TF2 Add Condition" plugin because yours does not allow for duration to be set for the effects.
    https://forums.alliedmods.net/showthread.php?t=200410
    TheMildGatsby is offline
    NopeMan
    New Member
    Join Date: Jun 2023
    Old 07-04-2023 , 00:30   Re: SimpleConditions - Easy AddCond and RemoveCond
    Reply With Quote #10

    it good plugin
    NopeMan 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 06:46.


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