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[L4D1 & L4D2] Kick Special Infected Bots After Death [v1.0.1 | 03-November-2023]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

Automatically kicks special infected bots right after death.

Why

Special infected bots take around 6 seconds to be kicked from the server upon death, consuming client slots until then.
Kicking right after death will increase their spawn rate success related to having "no slots" available.

Features
  • Allow setting which special infected bot should be kicked.
  • Allow speeding up the Tank incapacitated animation to kick.

Cvars

A configuration file named "l4d_kick_si_bot_on_death.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

PHP Code:

// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_kick_si_bot_on_death_enable "1"

// Which special infected should be kicked right after being killed.
// 1 = SMOKER, 2 = BOOMER, 4 = HUNTER, 8 = SPITTER, 16 = JOCKEY, 32 = CHARGER, 64 = TANK.
// Add numbers greater than 0 for multiple options.
// Example: "127", enables for all SI.
// -
// Default: "127"
// Minimum: "0.000000"
// Maximum: "127.000000"
l4d_kick_si_bot_on_death_si "127"

// Kicks the Tank bot when it becomes incapacitated.
// 0 = Disable, 1 = Enable.
// Note: must have TANK flag enabled on "l4d_kick_si_bot_on_death_si".
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_kick_si_bot_on_death_tank_incapacitated "1" 

Admin Commands
  • sm_print_cvars_l4d_kick_si_bot_on_death => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Notes

Related messages
  • Dropped <BOT> from server (Kicked by Console : infected team is full)
  • Dropped <BOT> from server (Kicked by Console : death anim finished)

Related Plugins

Post Reply
  • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

Thank you!

Installation
  • Put the "l4d_kick_si_bot_on_death.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.

Attached Files
File Type: sp Get Plugin or Get Source (l4d_kick_si_bot_on_death.sp - 16.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ę...