[TF2] Humiliation Conditions
[TF2] Humiliation Conditions v1.0.0 Description: Applies various conditions to players during the humiliation round. Condition codes: Quote:
Admins are defined by the "a" flag. The admin flag can be overridden by overriding "humiliation_conditions_admin". Plugin creates and loads cfg/sourcemod/plugin.humiliationconditions.cfg. Installation: Put humiliationconditions.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load humiliationconditions" into your console or rcon. Auto Update: Install Updater. The plugin will be auto-updated according to your Updater settings. It'll work without Updater. Changelog:
Download Plugin (humiliationconditions.smx) View Source (humiliationconditions.sp) Requires updater.inc and mckayupdater.sp to compile. |
Re: [TF2] Humiliation Conditions
Doesn't ubercharge not work for the losing team?
In addition, it might be more flexible to parse a string containing a list of comma-separated cond numbers (saving the list every time it's changed so you don't have to parse it every time you want to apply conds) instead of defining a set list of conds, so any cond can be used. Naturally, you'd block unsafe conds like cond 1. |
[TF2] Humiliation Conditions
Quote:
I did some testing and there's actually a very small list of conditions that can be applied (and work) with TF2_AddCondition. Plus in the future I'm planning on adding "conditions" that aren't true TF2 conditions, such as merging my Humiliation Glow plugin with this one. |
Re: [TF2] Humiliation Conditions
There's 65 conditions right now, and nearly all of them work with the native (in particular, the ones that DON'T are healing, overhealed, inhealradius, bleeding, onfire; cloakflicker gets added and is removed a frame later if the relevant player isn't a cloaked spy touching an enemy/out of CnD cloak; similar restrictions are on 'disguising' but not 'disguised').
At the very least, cond 43 (reprogrammed) seems like a thing that would be interesting for this plugin; however, using string parsing and identifiers for your custom conditions would be far more flexible (yes, string parsing is generally considered clunky but with cvars you don't really have much choice so why not). |
[TF2] Humiliation Conditions
Quote:
I suppose a comma-delimited list might work better. Numbers get pretty large pretty quick when doing bitwise |
Re: [TF2] Humiliation Conditions
The Crit-a-Cola one is useful mainly because it causes players to take minicrits, which takes effect for afterburn, bleeding, and sentry guns. I suppose that's a reason you can leave it in.
In addition, if random crits are disabled, then players that respawn during humiliation don't deal winning crits, as they lose the winningcrit cond on respawn but can't crit. Even in stock TF2, it's possible to respawn during humiliation by changing classes if you're on the winning team, as long as your respawn timer has expired. |
Re: [TF2] Humiliation Conditions
Is it possible and when yes how to us multiple Conditions? Like "humiliation_conditions_winning_team 1,1024 " ?
|
[TF2] Humiliation Conditions
Quote:
|
Re: [TF2] Humiliation Conditions
Valve's increased the number of conditions to 71, so that system for that cvar may not be ideal if you want to add any more conds.
|
All times are GMT -4. The time now is 00:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.