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

[TFC] CTF Flag Timer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Team Fortress Classic        Category:   Gameplay       
SpannerSpammer
Member
Join Date: Mar 2006
Old 05-03-2015 , 19:56   [TFC] CTF Flag Timer
Reply With Quote #1


CTF Flag Timer
Version 1.2
by SpannerSpammer-[AoE]-


On wall in the respawns in the map Dustbowl you will find a red decrementing health bar
representing the time remaining for the Attacking team to capture the Defending team's Headquarters...




FEATURES:
This plugin puts a decrementing health bar sprite on dropped CTF flags representing the time remaining
before the flag returns to its home position. A sound is played when the time remaining is less than 20% of
the total drop delay. The timer is destroyed when the flag returns or is picked up.




INSTALLATION:
1. Place the ntf_bar.spr healthbar sprite file in your server's tfc/sprites folder so players can download it.
2. Place the TFC_Flagtimer.amxx file in your server's amxmodx/plugins folder
3. Open the plugins.ini file in the server's amxmodx/configs folder and add this entry: TFC_Flagtimer.amxx
4. If you are not using the default plugin CVAR setting, then add the CVAR to the amxx.cfg file in the
the server's amxmodx/configs folder.


CVARS: tfc_flagtimer
Settings:
0 = Feature Disabled.
1 = Flaginfo Team flags only. (only works on 2fort / push / rock2 style CTF maps)
2 = All CTF flags. (works on most CTF map types: 2fort / push / rock2 / dustbowl etc. )
3 = (default) All CTF flags + Server announces flag drop return time to all players.

NOTES: This feature ONLY works on CTF maps with flags that return after a delay when dropped (flagcarrier killed) or tossed.
This feature does NOT work on DM maps (no flags), or CTF maps where the flag returns immediately when dropped
(murderball etc.) or Capture Point maps like warpath (no actual flags).

TFC adds a delay (approximately 5 seconds for tossable flags) to the map's default flag return delay, during this delay
the flag's touch function is disabled and players cannot pick it up (players used to pick up and toss flags to noise/msg
spam server), the Flag Timer health bar does not decrement until the flag can picked up again and the true return
delay is in effect.

Credits:
The NeoTF DEV team, past and present: BillDoor, Crrrazzzy, Maelstrom, Muskrat, Tman, HB...
The plugin authors here at AMX who still write code for TFC: AssKicR, jRaven, pizzahut and many more.
Omni, and the FUNTOWN Central (108.61.119.170:27015) server OP for Beta testing this plugin.


Version History:
v1.0
- Initial Beta.

v1.1
- Added new default CVAR setting: 3 = server announces flag drop return time.
- Minor code cleanup, moved some Flag entvars settings to private data.

v1.2
- Public release.
- Removed some debug code.
Attached Files
File Type: sma Get Plugin or Get Source (TFC_Flagtimer.sma - 1078 views - 19.8 KB)
File Type: zip sprites.zip (1.1 KB, 310 views)
__________________
[NeoTF|DEV]SpannerSpammer-[AoE]-
NeoTF Development Team.
http://steamcommunity.com/groups/neotf

Last edited by SpannerSpammer; 05-09-2015 at 00:56.
SpannerSpammer is offline
chaves
Senior Member
Join Date: Oct 2011
Old 06-28-2015 , 12:11   Re: [TFC] CTF Flag Timer
Reply With Quote #2

hello, only works on ctf maps? could do to work on any map? I would like to add it to a paintball server if you can help thank you
chaves 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 00:32.


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