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] Stamina Sprinting v.1.0 [2/4/2017]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
[TF2] Stamina Sprinting
Version: 1.0


Introduction:
Quote:

Allows players to sprint using a stamina meter by double tapping w (forward button).
You can set how fast the stamina meter drains/regenerate and which class can use the sprint feature.
Installation:
Quote:

1. Download and drag files to correct directories
2. smx files goes to addons/sourcemod/plugins folder and .cfg files goes to cfg/sourcemod
3. Set up your configuration in cfg/sourcemod
4. Double tap w(forward key) and hold to sprint
5. Profit!
Dependency:
Quote:

1. Sourcemod 1.8+
2. Metamod 1.10+
3. Morecolors to compile
Convars:
Quote:

sm_stamina_enabled (default: 1) - Enables/Disables stamina sprinting.
sm_stamina_speed (default: 1.75) - Speed increase value when sprinting. (1.0 is normal speed)
sm_stamina_drain (default: 0.1) - How fast to drain stamina, 0.1 is fastest.
sm_stamina_regen (default: 0.5) - How fast to regenerate stamina, 0.1 is fastest.
sm_stamina_hudx (default: 0.0) - X coordinate of HUD display.
sm_stamina_hudy (default: 1.0) - Y coordinate of HUD display.
sm_stamina_class (default: 511) - Bit-Wise operation to determine which class can sprint.
Class Type Bit-Wise:
Quote:

Code:

Scout =                1
Sniper =        2
Soldier =        4
Demoman =        8
Medic =                16
Heavy =                32
Pyro =                64
Spy =                128
Engineer =        256

To use sm_stamina_class, add the values of whatever class you want stamina sprinting to work for
For example if i wanted only pyro and medic to have stamina sprinting, i would add 64 + 16 = 80
I would then set sm_stamina_class 80
511 will enable all class to use stamina sprinting
Overrides:
Quote:

This plugin is enabled for all clients who joins the server, if you want to limit this to an admin flag then set your admin overrides to
sm_stamina_override

Plugin must be reloaded if you change the override.
Changelog:
Quote:

1.0 - Released
Download
Source

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...