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

[cstrike & csgo] Continue Bot quota order


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Date 26.12.2018

Have tested in these games (cstrike, csgo).

[Problem] When you are using bot_quota_ mode "fill" or "match":
- Bots join and disconnect automatically according to the number of players in first 25 seconds after round_start.
- When 25 seconds have passed, bots stop joinning and disconnecting regardless of number of players.
- After round_end, bots start work again automatically.

This above is game own feature.
Problem would be in really long rounds or rounds which not end. Bots not leave from teams to make room.

So I tried made plugin what keep continue order bots amount, after 25 seconds have passed of round_start.
- plugin take action only when player change team (player_team event)

I have not tested much, so no guarantee.



As a reminder:
Code:

// Determines the total number of bots in the game.
// Flags: FCVAR_GAMEDLL|FCVAR_REPLICATED|FCVAR_RELEASE
// Default: "10"

bot_quota "0"

// Determines the type of quota.
// Allowed values: 'normal', 'fill', and 'match'.
// If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota.
// If 'match', the server will maintain a 1:N ratio of humans to bots, where N is bot_quota.
// Flags: FCVAR_GAMEDLL|FCVAR_REPLICATED|FCVAR_RELEASE
// Default: "normal"

bot_quota_mode "fill"

// bot_quota_mode "normal" // plugin not take any action, this mode should work.

// examples
//
// Spawn 3 bots per 1 human player
// bot_quota 3
// bot_quota_mode "match"

// Minimi amount of players to keep in server, bots fill missing player count.
// bot_quota 6
// bot_quota_mode "fill"


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