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

RSS[TF2] Medkit Drops


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
TF2 Medkit Drops

Description

With this plugin enabled, players will drop medkits when they get killed. After a while, the medkit will disappear if no one picks it up (default 15 seconds). The plugin has many convars you can customize to change the type of medkit, holiday skins, gravity, overheal and so on. You don't have to add anything to the download table like other plugins.

Installation:
Drag and drop to your plugins folder.

68747470733a2f2f692e696d6775722e636f6d2f

ConVars

HTML Code:

// Use the birthday cake model for medkits.
// -
// Default: "0"
sm_medkitdrop_birthday "0"

// Enable medkit drops on player death.
// -
// Default: "1"
sm_medkitdrop_enabled "1"

// Use the halloween candy model for medkits.
// -
// Default: "0"
sm_medkitdrop_halloween "0"

// Large medkits overheal the player when picked up.
// -
// Default: "0"
sm_medkitdrop_overheal "0"

// Allow medkits to be affected by gravity, similar to the Candy Cane.
// When disabled, medkits will float in the air where the player died.
// -
// Default: "1"
sm_medkitdrop_physics "1"

// Randomize the dropped medkit size.
// Overrides sm_medkitdrop_size.
// -
// Default: "1"
sm_medkitdrop_random "1"

// Use the Sandvich plate model for medkits.
// -
// Default: "0"
sm_medkitdrop_sandvich "0"

// The size of medkit to drop.
// 1 - Small (20.5% health)
// 2 - Medium (50% health)
// 3 - Large (100% health)
// -
// Default: "2"
// Minimum: "1.000000"
// Maximum: "3.000000"
sm_medkitdrop_size "2"

// How long (in seconds) dropped medkits remain in the world.
// -
// Default: "15.0"
// Minimum: "0.000000"
// Maximum: "60.000000"
sm_medkitdrop_time "15.0"

// Always drop medkits on death, including suicides and environmental deaths.
// -
// Default: "0"
sm_medkitdrop_unconditional "0"

Changelog

Quote:

2021-04-18 (1.0.0)
- Initial release
Developers:
You can use the plugin's forwards (with the .inc file) in case you want to prevent spawning medkits based on victim client index.

Suggestions & bug reports are welcome.

Attached Files
File Type: inc tf2medkitdrop.inc (505 Bytes)
File Type: sp Get Plugin or Get Source (tf2medkitdrop.sp - 9.4 KB)
File Type: smx tf2medkitdrop.smx (8.0 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

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

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