[TF2] Intelligence Protector
2 Attachment(s)
[TF2] Intelligence Protector Description: When enabled, this plugin will disable the intelligence and force any player carrying it to drop it. If a player is carrying the intel when the plugin is activated, he will be forced to drop it, and the intel will disappear. Upon reactivation, the intelligence will re-appear at its last known location, with its timer being reset. Known issue : after being teleported back, the circular intelligence timer won't be visible. Even though it is not visible, it is still working and the intel will eventually get back to its base. Each use of the command !intelp is logged. Screenshot : http://img825.**************/img825/5...protector2.png Command:
ConVars:
Note: If a player was carrying the intelligence when an admin enabled this plugin, the briefcase will disappear but the "intelligence timer" will stay visible until intelligence protection is disabled by another admin. Credits: - Matthias Vance, for his plugin "[TF2] Intelligence Timer" that gave me some ideas on how to work with intelligence timers. Version history: 1.1.2 (12/28/2010) : 1.0 (12/26/2010) : |
Re: [TF2] Intelligence Protector
In which situation would one use this plugin? Just curious..
|
Re: [TF2] Intelligence Protector
Quote:
|
Re: [TF2] Intelligence Protector
Quote:
Code:
|
Re: [TF2] Intelligence Protector
Quote:
I've updated the plugin to disable the intelligence instead of forcing players to drop it. To make it fair for players who might be carrying the intel when an admin enables this plugin, I've added a feature to avoid losing the intelligence once dropped. What it does basically : it alters the current intel timer value and add 20 minutes (default value) to it. Once disabled the original intel timer value is restored. If you don't want to use this feature, just set sm_intelp_delay to 0. |
Re: [TF2] Intelligence Protector
Quote:
|
Re: [TF2] Intelligence Protector
This plugin overlaps a lot with [TF2] Disable the Flag.
The tf2.inc already contains a reference to the two teams in TF2: TFTeam_Red and TFTeam_Blue. The 'delay before returning' bit is kinda useless when you could just tell the flag entity the "ForceReset" input and it will auto-drop and auto-return. |
Re: [TF2] Intelligence Protector
Quote:
Quote:
Quote:
|
Re: [TF2] Intelligence Protector
|
Re: [TF2] Intelligence Protector
Quote:
Basically I want the intel to stay where it was dropped, until I re-enable it. ForceReset will only bring it back to the intel room. If anyone can think of a cleaner solution beside altering the intelligence timer, feel free to post it. Anyway, I've just updated the plugin with the consts fix. |
All times are GMT -4. The time now is 01:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.