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] Trapped Sandviches


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
NOTICE: This does not have a lot of features yet and is still unfinished, but if you can suggest some, they will be greatly appreciated!

This is a simplistic plugin that allows Heavies to throw out trapped versions of Sandviches that heal less, but deal damage to the opposing team.

They will deal the same amount of damage as they would've healed.
Unfortunately, this damage will cut-off if it's more than the maximum amount of health, just like a normal small health-pack.
(A Heavy with 299 health picks up a trapped sandvich; he only loses 1 HP instead of 60 HP.)
(A Scout with 115 health picks up a trapped sandvich; he only loses 10 HP instead of 25 HP.)

The trapped Sandviches can also only be picked up if the victim has less-than-max health.

-= How to Use =-
1. Take out your sandvich.
2. Press and hold the RELOAD key.
3. Throw the sandvich by pressing MOUSE2.


-= Further Info =-
- When a player changes class to Heavy, they'll be informed with a hint text.
- The difference between a normal Sandvich and it's trapped version is that the normal one floats higher off the ground, whilst the trapped version looks more as if it's laid down on the ground, like a trap.

-= ConVars =-

sm_trapped_sandvich_enable {1.0} [0.0/1.0] = Allow Heavies to throw trapped sandviches by holding RELOAD while throwing a Sandvich.
sm_trapped_sandvich_damage {0.0} [0.0/INF] = Additional damage to add to victims of trapped sandviches.
sm_trapped_sandvich_notify_classchange {1.0} [0.0/1.0] = Notify players that change to Heavy about how to throw trapped sandviches?
sm_trapped_sandvich_notify_death {1.0} [0.0/1.0] = Notify players when they ate a trapped sandvich which caused them to die?

-= Releases =-
Code:

Version 1.0.0
- Initial release.

-= Total Views (as of 8/20/2020) since Version 1.0.0 =-

Plugin File = 0

Attached Files
File Type: sp Get Plugin or Get Source ([TF2] Trapped Sandvich.sp - 16.7 KB)
File Type: txt trapped_sandvich.phrases.txt (313 Bytes)

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