View Single Post
Author Message
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 05-03-2013 , 18:19   [TF2] Humiliation Conditions
Reply With Quote #1

[TF2] Humiliation Conditions

v1.0.0

Description:
Applies various conditions to players during the humiliation round. Condition codes:

Quote:
1 = UberCharged
2 = UberCharge Fading (requires 1 to be set for any effect)
4 = Teleported sparkle
8 = Buff Banner (Rings + Glowing)
16 = Battalion's Backup (Rings + Glowing)
32 = Mini-Crits (Crit-a-Cola)
64 = Jarated
128 = Mad Milked
256 = Quick-Fix MegaHeal
512 = Marked for Death
1024 = Speed Buff (Disciplinary Action)
Cvars:
  • humiliation_conditions_version - plugin version
  • humiliation_conditions_auto_update - enables automatic updating (has no effect if Updater is not installed), defaults to 1
  • humiliation_conditions_winning_team - sum of condition codes to be applied to winning team
  • humiliation_conditions_losing_team - sum of condition codes to be applied to losing team
  • humiliation_conditions_winning_team_admin - sum of condition codes to be applied to admins on the winning team
  • humiliation_conditions_losing_team_admin - sum of condition codes to be applied to admins on the losing team

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:
  • v1.0.0 (5/3/13)
    • Initial release

Download Plugin (humiliationconditions.smx)
View Source (humiliationconditions.sp)


Requires updater.inc and mckayupdater.sp to compile.
__________________

Last edited by Dr. McKay; 07-14-2020 at 04:35.
Dr. McKay is offline