Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[TF2] Friendly - 09/14/2020


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
[TF2] Friendly


Friendly is a highly flexible plugin that allows players to enter into Friendly mode. While in it, they can't harm other players while being unable to receive damage.

Features
  • Translucent effect on Friendly players (toggleable)
  • Ammo regen on friendly players (toggleable)
  • SOAP TF2DM support for pug oriented servers - disables itself upon pug start
  • Configurable command cooldown
  • Ability to block command if player is not in spawn
  • Advertises itself once to a player who shoots at a friendly player (toggleable)
  • Translation support in English, Spanish and Portuguese
  • Real-time cvar changes

Console Variables
  • sm_friendly_version - Plugin Version
  • sm_friendly_enable - 1- Enable | 0- Disable (Default = 1)
  • sm_friendly_cooldown - Seconds before players can use the command again (Default = 3)
  • sm_friendly_translucid - 1- Set friendly players translucid | 0- Don't (Default = 1)
  • sm_friendly_jump - 1- Friendly players can jump | 0- They can't (Default = 1)
  • sm_friendly_regen - 1- Friendly players regen ammo | 0- They don't (Default = 1)
  • sm_friendly_onlyspawn - 1- Players can only become friendlies in spawn | 0- Players can become friendlies anywhere (Default = 0)
  • sm_friendly_advertise - 1- Players receive information about the plugin if they attack a friendly player (only the first time they attack, not every time) | 0- They don't (Default = 1)

Installation and Compiling

To install this plugin,unzip the attached .zip file and drop all of its folders inside your tf/addons/sourcemod folder.
To compile, I provide the folder with the source code and all its dependencies.

Follow the progress of this plugin in GitHub!

Changelog
  • v1.0 (September 14, 2020)
    • Initial release

Acknowledges

Some features of this plugin and code snippets have been taken from Phil25's Friendly Simple plugin, such as the Spawn Only feature, IsValidClient stock and transcolor render modes for the translucent feature. It server a huge base for me to create this revamped Friendly plugin version.

Attached Files
File Type: zip friendly_1.0.zip (44.7 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

×
×
  • Dodaj nową pozycję...