Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[TFC] CTF Flag Timer


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 04.05.2015 00:56




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...

Dołączona grafika


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 retuns or is picked up.

Dołączona grafika

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.

NOTE: 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 [i]warpath[/ii] (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 Dołączona grafikaGet Plugin or Get Source (TFC_Flagtimer.sma - 19.8 KB) Dołączona grafikasprites.zip (1.1 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych