Jump to content

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

Posted Image Posted Image

Guest Message by DevFuse
 

Photo

[TF2] Teleporter Queue and Class Restrictions


  • You cannot start a new topic
  • Please log in to reply
No replies to this topic

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7,516
  • Lokalizacja:AMXX.PL
Offline

Posted 28.02.2017 13:52

Posted Image

Many understand the need for a priority use order for teleporters but this is not enforced or practiced by many players, and thus slowing down teamwork and gameplay in PvP.

This plugin enforces an optimal teleporter queuing order. All players waiting on top of a teleporter will be teleported automatically first based on this order, then second by first-in, first-out (FIFO).

No longer will a bunch of players simply pile on a teleporter and hope they are next. This is now deterministic. Piling on the teleporter will also not introduce delays.

Notes

- This plugin has no dependencies on any extensions but requires SMLIB to compile.
- ConVar configurations are automatically generated and stored in /tf/cfg/sourcemod/plugin.telequeue.cfg

ConVars

sm_telequeue_class (default: engineer medic soldier heavy pyro demoman spy sniper scout)
- Set this to the desired class priority order. Omitted classes are blocked from using the teleporter.

sm_telequeue_order (default: 2)
- Queue mode: 0 - Use TF2's default teleporter order, 1 - FIFO, 2 - Class order then FIFO

sm_telequeue_max (default: 5)
- Auto increases player priority after waiting for this many players ahead (so nobody waits forever). Set to 0 to disable.

Overrides

telequeue_donor
- Override this to allow donors higher queue priority



Attached Files Posted ImageGet Plugin or Get Source (telequeue.sp - 8.1 KB) Posted Imagetelequeue.smx (11.9 KB)

Wyświetl pełny artykuł




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users