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

[forums.alliedmods.net] [TF2] Smarter Spawns - Spawn Protection


  • 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 17.05.2012 05:33

[TF2] Smarter Spawns
Version 1.0.1


Description:

Players in spawns who are being attacked from outside of spawn will take reduced damage.
Players outside spawn being attacked from players inside spawn will also take reduced damage.
Damage scaling is configurable and can also be increased instead of reduced.

Cvars:
  • smarter_spawns
    • Plugin Version
  • smarter_spawns_damage_inspawn
    • The damage percentage players inside spawn will take from players outside.
    • Min: 0.0
    • Max: 2.0
    • Default: 0.25 (or 25% of total damage)
  • smarter_spawns_damage_outsidespawn
    • The damage percentage players outside spawn will take from players inside.
    • Min: 0.0
    • Max: 2.0
    • Default: 0.50 (or 50% of total damage)

Install Instructions:

  • Place SmarterSpawns.smx into your addons/sourcemod/plugins/ folder.

Notes:

This plugin uses the func_respawnroom entity to detect if a player is inside or outside of spawn. If your map doesn't have them or is sloppy with them, it's your problem. Don't whine when it doesn't do anything.
Requires SDKHooks and will not compile on the forums. Grab the .smx or compile it yourself.


Version History:
  • V1.0.0

    • Initial Release
  • V1.0.1
    • Minor optimizations

Total downloads as prior to last edit: 2



Attached Files Dołączona grafika SmarterSpawns.smx (4.2 KB) Dołączona grafika Get Plugin or Get Source (SmarterSpawns.sp - 4.8 KB)

Wyświetl pełny artykuł




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

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