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] Shot Warns Common [v1.0.0 | 31-December-2020]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

This plugin will make common infecteds chase any survivor that shoot by creating a info_goal_infected_chase entity attached to then.

I always felt that it was a bit unrealistic that sometimes you fire next to a zombie and it don't detect you.

Features
  • Allows configurating a % chance to trigger.
  • Allows configurating if bots should trigger it or not.
  • Allows configurating the duration that new zombie should chase after a shot.

Cvars

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

PHP Code:

// Allow plugin behaviour on survivor bots.
// 0 = OFF, 1 = ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_shot_warns_common_bots "1"

// Chance to trigger common zombies while firing.
// 0 = OFF.
// -
// Default: "100.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_shot_warns_common_chance "100.0"

// Duration (seconds) that common zombies can be warned after shooting.
// -
// Default: "1.0"
// Minimum: "0.000000"
l4d_shot_warns_common_duration "1.0"

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

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

Change Log

Spoiler


Notes
  • This plugin creates and attaches an info_goal_infected_chase to every survivor that fires.
  • When there are too many commons in the map you can hear a sound triggering, this is a game default behaviour.

To Do
  • NEW PLUGIN - Allow SI to command common attacks.

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

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

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