View Single Post
Author Message
Theme97
Senior Member
Join Date: Mar 2009
Old 03-17-2009 , 00:40   [TF2] Intel Timer
Reply With Quote #1

A feature that has been requested numerous times was having the HUD display how much time is left on the intel before it is reset. Now it's there, and although it's just a number above the flag status bar (screenshot), it's both an accurate and effective means of providing such information to the players.

Cvars
  • inteltimer_version (1.1) — The version of the plugin.
  • inteltimer_enabled (1) — Enables/disables the timers. (They will only display when the flag is dropped while this is set to 1.)

Installation
Simply place the plugin in addons/sourcemod/plugins/ and the plugin will work whenever a flag is dropped.

Changelog

1.1 (17 March 2009)
  • Each team's intel timer now runs on its own SourceMod timer
  • Removed inteltimer_redraw since each timer runs independently
  • Intel timers are now positioned in between the flag status icons
  • Utilized HUD synchronization objects rather than hard-coded "game_text" entities
  • Fixed a bug where the timer would go to the wrong team when a player switched teams and dropped the other intel

1.0 (16 March 2009)
  • Release!
Attached Files
File Type: sp Get Plugin or Get Source (IntelTimer.sp - 2922 views - 3.9 KB)

Last edited by Theme97; 06-24-2009 at 17:50.
Theme97 is offline