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

[L4D1+2] Weapon Amount Modifyer


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description:

All weapons and health items will have their max times they can be used by multiple players override by the desired amount, if the amount is set to 0 the weapon/item will be deleted from map.

Usually, on servers with 5+ survivors the weapons in the saferoom or in the spawnzone are not enough for everybody, usually some players end without weapons, or forced to grab a weapon that they dont like because they have no other option. Also there are some servers with 1 weapon per spot, so the first grabs the weapon is the only who gets it, this plugin fits both situations. With this plugin there can be weapons and health items for everyone. Also weapon number can be decreased or removed to make game harder.

This plugin don`t spawn any entity, only modifies pre-existing entities when the map starts, any weapon or health item spawned by another plugin after the beggining of the round will not be afected by this plugin, even a deleted weapon can be spawned by another plugin.

CVars:
PHP Code:

// Number of adrenaline shots per spot
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "20.000000"
l4d_wam_adrenaline_count "2"

// Number of defibrillators per spot
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "20.000000"
l4d_wam_defibrillator_count "1"

// Enable/disable plugin functionality
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_wam_enabled "1"

// Number of medkits per spot
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "20.000000"
l4d_wam_medkit_count "2"

// Number of melee weapons per spot
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "20.000000"
l4d_wam_melee_count "1"

// Number of pain pills per spot
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "20.000000"
l4d_wam_pain_pills_count "2"

// Number of throwables per spot
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "20.000000"
l4d_wam_throwable_count "1"

// Number of weapons per spot
// -
// Default: "9"
// Minimum: "0.000000"
// Maximum: "32.000000"
l4d_wam_weapon_count "9" 

Changelog:
- V1.0 First release.

Attached Files
File Type: sp Get Plugin or Get Source (l4d2_wam.sp - 5.2 KB)

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