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

[TF2 | Mapping & Gameplay] AddCond


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Pootis Spencer Ere
Junior Member
Join Date: Nov 2011
Plugin ID:
3282
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Lets you set player's conditions through triggers
    Old 10-10-2012 , 10:46   [TF2 | Mapping & Gameplay] AddCond
    Reply With Quote #1

    THIS IS NOT MY PLUGIN

    This plugin belongs to Panzer;
    I just happened to find it included with surf_torrent_V1b map which uses this plugin
    and I'm only posting it here because I found it to be very useful for mappers to define special conditions for players though triggers, but I couldn't find it anywhere on the plugins list or on forums search.

    How to use:
    1) add this plugin to your server.
    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.
    3) to forcefully remove a condition, name the trigger_multiple "removecond X"
    >> X is the condition number

    NOTE: each condition REQUIRES a seprate trigger (in hammer, this can get messy and confusing quick!)

    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 (addcond.sp - 700 views - 1.2 KB)
    File Type: smx addcond.smx (3.5 KB, 738 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:01.
    Pootis Spencer Ere is offline
    11530
    Veteran Member
    Join Date: Sep 2011
    Location: Underworld
    Old 10-10-2012 , 15:50   Re: [TF2 | Mapping & Gameplay] AddCond
    Reply With Quote #2

    I'll have to check this out. Did you receive Panzer's permission to post this plugin?
    __________________
    11530 is offline
    Panzerhandschuh
    Junior Member
    Join Date: Oct 2011
    Old 10-10-2012 , 15:54   Re: [TF2 | Mapping & Gameplay] AddCond
    Reply With Quote #3

    I'm ok with it.
    Panzerhandschuh is offline
    Roundcat
    Senior Member
    Join Date: Feb 2012
    Old 10-12-2012 , 12:10   Re: [TF2 | Mapping & Gameplay] AddCond
    Reply With Quote #4

    After a a lot of work creating the trigger, compiling the map, running buildcubemaps, generating a .nav file and uploading all these to 2 servers...it turns out the plugin does not work.

    At least No.s 49 and 42 didnt work for me.

    Would like to see a video of thsi plugin working - I have my doubts.
    __________________
    I know not my ar*e from its elbow.
    Roundcat is offline
    Pootis Spencer Ere
    Junior Member
    Join Date: Nov 2011
    Old 10-16-2012 , 11:42   Re: [TF2 | Mapping & Gameplay] AddCond
    Reply With Quote #5

    plugin works, not all of the above codes work.
    the code list above is from tf2wiki.

    btw, 49 works, you just can't see yourself as a dispenser, others will.
    to verify that 49 is working, hold W while quickly scrollwheel through your weapons;
    if it's working, you should stop moving. (as mentoned in above list)

    42 should work as a soldier buff.

    I know for a fact that 5 and 11 work. I use those.
    while testing, 12 won't work with any other class except spy
    and 45 doesn't seem to stack with any others.
    __________________
    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 11:46.
    Pootis Spencer Ere is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 10-18-2012 , 21:03   Re: [TF2 | Mapping & Gameplay] AddCond
    Reply With Quote #6

    I think it'd be better to name the plugin addcond_triggers or something, so people won't look in their server folders and see "addcond? whuzzat doing there..." if they ever forget. Just a suggestion.

    A plugin can't be approved without having a version cvar and stuff, so if you ever plan on adding those, you should consider renaming the file/plugin to AddCond Triggers.
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.

    Last edited by FlaminSarge; 10-18-2012 at 21:04.
    FlaminSarge is offline
    Pootis Spencer Ere
    Junior Member
    Join Date: Nov 2011
    Old 10-21-2012 , 17:48   Re: [TF2 | Mapping & Gameplay] AddCond
    Reply With Quote #7

    I can't change this plugin, it's not mine. I'm just posting it here for archive reasons; approved or not.


    ...but I could implement this into the mapping library I'm currently working on...
    __________________
    Common Aliases: Xyphos, [poni] Shutterfly, Pootis Spencer Ere

    Mapping & Gameplay: AddCond | AreaCond | TrapKill | TriggerHappy

    SlapTheStackers
    Pootis Spencer Ere is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 10-22-2012 , 22:30   Re: [TF2 | Mapping & Gameplay] AddCond
    Reply With Quote #8

    You can clearly change this plugin, as you have the source and you've posted it on AlliedMods under that account. Whether you're willing to, of course, is up to you. Why Panzerhandschuh didn't post it, I do not know. Either way, it's still missing a public/version cvar, and I'd still suggest that you rename it to something more clear than "AddCond" (since it doesn't actually add addcond as a command).

    Behavior specifics: If I taunt within a removecond trigger, will it remove my taunting? Or only if I move into a removecond trigger while taunting? If the latter, I'd suggest looking at TF2_OnConditionAdded() and watching whether the client's in the trigger. Same goes for areacond (where, arguably, it'd probably make more sense).
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.

    Last edited by FlaminSarge; 10-22-2012 at 22:33.
    FlaminSarge is offline
    math341c
    Junior Member
    Join Date: Apr 2013
    Old 04-30-2013 , 11:47   Re: [TF2 | Mapping & Gameplay] AddCond
    Reply With Quote #9

    Quote:
    Originally Posted by 11530 View Post
    I'll have to check this out. Did you receive Panzer's permission to post this plugin?
    Can someone please explain how to use this please? Some easier instructions please
    math341c 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 06:11.


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