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

[TF2 | Mapping & Gameplay] AreaCond


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Pootis Spencer Ere
Junior Member
Join Date: Nov 2011
Plugin ID:
3283
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Based off of Panzer's "AddCond" plugin
    Old 10-10-2012 , 11:01   [TF2 | Mapping & Gameplay] AreaCond
    Reply With Quote #1

    AreaCond is a plugin based from Panzer's "AddCond" plugin

    it works just like the above plugin, except it only adds a player condition(s) while they're inside the trigger zone and automatically removes the condition(s) when the player leaves the trigger zone.

    here's the best part: you can add/remove multiple conditions from a single trigger_multiple brush!
    since the effects are to be in affect while the client is in the area, a preset time is not required and allows for multiple conditions to be specified.

    How to use:
    1) Add this plugin to your server
    2) Make your map in hammer, add a trigger_multiple brush entity, name it "areacond X"
    >> X is the condition number (see list below)
    >> multiple conditions can be added to the same brush by adding more X conditions separated by a space.
    3) Try it out! your client will gain addcond effects while inside the triggerzone and removecond upon exit.


    Condition effects are as follows:
    0 or lower: Slowed (as in when revving Minigun or zooming in with Sniper Rifles). Places the player in the reference pose.
    1: Sniper Rifle zoom/scope (Crashes game unless your active weapon can scope).
    2: Disguise smoke.
    3: Disguise donning.
    4: Cloak effect.
    5: Medi Gun invulnerability effect. Will drop as soon as the user starts to receive continuous healing from a Dispenser, Payload cart or Medic's secondary healing gun. Also drops from a Medic as soon as he activates or comes to the end of his own ÜberCharge. Not affected by a Medic's self-healing.
    6: Teleporter dust.
    7: Intended to be taunting. Does nothing via addcond, but can be used with removecond to immediately stop taunting.
    8: ÜberCharge expiration effect, if the player is ÜberCharged.
    9: Intended to be flickering effect if Cloaked. Removed immediately if added.
    10: Intended to be condition for Teleporting. Does nothing via addcond.
    11: Crit boost (Kritzkrieg, Revenge crits).
    12: Intended to be a temporary damage buff. Does nothing.
    13: Dead Ringer Cloak defense buff, works with any watch as Spy.
    14: Bonk! Atomic Punch effect.
    15: Intended to be the Stunned effect. Can be used with removecond to remove a stun.
    16: Buff Banner effect.
    17: Chargin' Targe effect. While the charging yell sound will play, charging will only work on the Demoman, and will expire when the charging meter is empty.
    18: Intended to be the glowing eye effect associated with the Eyelander's head-taking capability. Can be used with removecond to remove such a glow.
    19: Crit-a-Cola effect.
    20: Medicating Melody effect (does not heal).
    21: Intended to be the effect associated with any kind of continuous healing. Can be used with removecond to remove such an effect.
    22: Ignite reaction (sound and speech, but no fire). Can be used with removecond to remove afterburn.
    23: Intended to indicate Overhealing. Does not work with either addcond or removecond.
    24: Jarate effect.
    25: Intended to be the Bleeding effect. Can only be used with removecond to remove bleeding.
    26: Battalion's Backup effect.
    27: Mad Milk effect.
    28: Quick-Fix visual effects + knock back/movement immunity (no healing). Will drop under the same conditions as addcond 5.
    29: Concheror effect.
    30: Fan o' War effect (marked for death).
    31: All attacks are mini-crits (no effect or fire sounds, crit hit sounds play). Player cannot be healed in any way.
    32: Disciplinary Action effect.
    33: Halloween pumpkin crit boost.
    34: Canteen crit boost.
    35: Misc crit boost effect with sound effects similar to Chargin' Targe or Kritzkrieg.
    36: Hype mini-crits.
    37: First blood crit boost.
    38: Winning team crit boost.
    39: Intelligence capture crit boost.
    40: Crit boost from crit-on-kill weapons (Killing Gloves of Boxing, Cleaner's Carbine).
    41: Cannot switch away from melee weapon (as for Buffalo Steak Sandvich).
    42: Player takes 35% less damage, gains team-colored buff rings.
    43: "Reprogrammed". Swaps the player from BLU to RED for the duration of the condition. Removal of this condition causes the player to swap from RED to BLU. Adds sparks to player's head. Automatically adds condition 15 and slows the player for 5 seconds.
    44: Mmmph crit boost.
    45: Mmmph activation defense buff.
    46: Focus effect.
    47: Causes the Enforcer to lose its 20% damage bonus, as when firing it to remove a disguise.
    48: Self marked for death (as for Gloves of Running Urgently).
    49: Crouching causes the player to appear to be a Dispenser of the enemy team to enemy players. As a side effect, forces the player's speed to 450 Hammer Units/second (diagonal movement is at 520 HU/s). Swapping weapons while in this state will cause the player to temporarily stop moving, then return to 450 HU/s.
    50: Adds a sparking effect to the player's head (associated with sapping a Robot in Mann vs. Machine).
    51: "Hidden" ÜberCharge (player sees their arms as ÜberCharged, but their appearance is not ÜberCharged unless they are hit by a source of damage, after which the player appears ÜberCharged for several seconds).
    52: Canteen ÜberCharge.
    53: Player emits a short puff of smoke from their back. Listed as "Rocket Pack".


    Requires SDKHooks
    Download attached SMX; online compile will fail
    Attached Files
    File Type: sp Get Plugin or Get Source (areacond.sp - 440 views - 1.8 KB)
    File Type: smx areacond.smx (3.9 KB, 412 views)
    __________________
    Common Aliases: Xyphos, [poni] Shutterfly, Pootis Spencer Ere

    Mapping & Gameplay: AddCond | AreaCond | TrapKill | TriggerHappy

    SlapTheStackers

    Last edited by Pootis Spencer Ere; 10-16-2012 at 12:00.
    Pootis Spencer Ere is offline
    Phoenixf129
    Junior Member
    Join Date: Aug 2011
    Old 11-04-2012 , 20:10   Re: [TF2 | Mapping & Gameplay] AreaCond
    Reply With Quote #2

    Is there any way this can be modified to run from Co-Ords? Like a Bounding Box.

    You could make it send a string to the client's chatbox and notify them of their Condition changes too.
    Phoenixf129 is offline
    waylaidwanderer
    SourceMod Donor
    Join Date: Aug 2012
    Old 12-07-2012 , 03:14   Re: [TF2 | Mapping & Gameplay] AreaCond
    Reply With Quote #3

    I tested this a while ago and it doesn't seem to work. I used areacond 11 and areacond 41 and it seems to do nothing.
    waylaidwanderer is offline
    salsav91
    Senior Member
    Join Date: Aug 2012
    Location: Where Lollichops sleep
    Old 01-06-2013 , 04:03   Re: [TF2 | Mapping & Gameplay] AreaCond
    Reply With Quote #4

    Quote:
    Originally Posted by waylaidwanderer View Post
    I tested this a while ago and it doesn't seem to work. I used areacond 11 and areacond 41 and it seems to do nothing.
    Same result here. I really would like to see this working.
    __________________


    Check out my pony animations. http://www.youtube.com/salsav91
    salsav91 is offline
    nineteeneleven
    Veteran Member
    Join Date: Nov 2010
    Old 01-04-2013 , 16:14   Re: [TF2 | Mapping & Gameplay] AreaCond
    Reply With Quote #5

    if you add a team filter will it work?
    __________________
    nineteeneleven is offline
    nineteeneleven
    Veteran Member
    Join Date: Nov 2010
    Old 01-07-2013 , 08:41  
    Reply With Quote #6

    Yea I used 51, didn't work either.
    __________________
    nineteeneleven is offline
    minimoney1
    SourceMod Donor
    Join Date: Dec 2010
    Old 01-07-2013 , 09:54   Re: [TF2 | Mapping & Gameplay] AreaCond
    Reply With Quote #7

    At the moment this plugin does not even use SDKHooks...
    The attached version does, however.
    Attached Files
    File Type: sp Get Plugin or Get Source (areacond.sp - 820 views - 2.2 KB)
    __________________
    Need help? PM me or add me on Steam.
    My Steam




    Quote:
    Originally Posted by Rp.KryptoNite View Post
    For some reason his Plugin never worked for me ,
    @credits were added
    im not stealing any plugins dude its my THING

    Last edited by minimoney1; 01-07-2013 at 09:58.
    minimoney1 is offline
    xDeRpYx
    Member
    Join Date: May 2012
    Location: New York
    Old 08-13-2013 , 20:17   Re: [TF2 | Mapping & Gameplay] AreaCond
    Reply With Quote #8

    Quote:
    Originally Posted by minimoney1 View Post
    At the moment this plugin does not even use SDKHooks...
    The attached version does, however.
    Can you attach the plugin instead of the .sp, the web compiler doesn't work.
    xDeRpYx is offline
    blablubde
    Member
    Join Date: Sep 2010
    Old 09-10-2013 , 12:40   Re: [TF2 | Mapping & Gameplay] AreaCond
    Reply With Quote #9

    Quote:
    Originally Posted by xDeRpYx View Post
    Can you attach the plugin instead of the .sp, the web compiler doesn't work.

    the actual plugin download can be found in post #7.
    in the case, its not working for some reason, i'll attach it as sp and smx. (i did not create the files neither do i own them, they are the same as in #7 just reuploaded)

    and for melee-only, to get it to work, you may want to take a look at original thread.
    for some reason the author has left out a few lines / words in the description of this thread.

    Quote:
    How to use:
    ...
    2) make your map in hammer, Add a trigger_multiple brush-based entity in hammer, name it "addcond X Y"
    >> X is the condition number (see list below)
    >> Y is the duration (in seconds) the condition should last.
    ...
    areacond.zip
    areacond.smx
    areacond.sp
    blablubde is offline
    Pala4
    Senior Member
    Join Date: Dec 2007
    Old 06-07-2020 , 10:23   Re: [TF2 | Mapping & Gameplay] AreaCond
    Reply With Quote #10

    Quote:
    Originally Posted by blablubde View Post
    the actual plugin download can be found in post #7.
    in the case, its not working for some reason, i'll attach it as sp and smx. (i did not create the files neither do i own them, they are the same as in #7 just reuploaded)

    and for melee-only, to get it to work, you may want to take a look at original thread.
    for some reason the author has left out a few lines / words in the description of this thread.



    Attachment 125655
    Attachment 125656
    Attachment 125657
    With your fix, the server crashes.

    L 06/07/2020 - 17:08:09: [SM] Exception reported: Client index 122 is invalid
    L 06/07/2020 - 17:08:09: [SM] Blaming: areacond.smx
    L 06/07/2020 - 17:08:09: [SM] Call stack trace:
    L 06/07/2020 - 17:08:09: [SM] [0] IsClientInGame
    L 06/07/2020 - 17:08:09: [SM] [1] Line 47, areacond.sp::OnStartTouch
    L 06/07/2020 - 17:08:09: [SM] Exception reported: Client index 122 is invalid
    L 06/07/2020 - 17:08:09: [SM] Blaming: areacond.smx
    L 06/07/2020 - 17:08:09: [SM] Call stack trace:
    L 06/07/2020 - 17:08:09: [SM] [0] IsClientInGame
    L 06/07/2020 - 17:08:09: [SM] [1] Line 47, areacond.sp::OnStartTouch
    L 06/07/2020 - 17:08:09: [SM] Exception reported: Client index 122 is invalid
    L 06/07/2020 - 17:08:09: [SM] Blaming: areacond.smx
    L 06/07/2020 - 17:08:09: [SM] Call stack trace:
    L 06/07/2020 - 17:08:09: [SM] [0] IsClientInGame
    L 06/07/2020 - 17:08:09: [SM] [1] Line 47, areacond.sp::OnStartTouch
    L 06/07/2020 - 17:08:09: [SM] Exception reported: Client index 122 is invalid
    Pala4 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 01:43.


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