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] SI Command Chase Common [v1.0.0 | 17-February-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

Based on my [L4D1 & L4D2] Shot Warns Common plugin.

This plugin will add a new ability to special infecteds, that allow commanding common zombies to crosshair by creating an info_goal_infected_chase. (similar to vomit/vomit jar behaviour)

This may help the infected team to create new strategies against survivors.

Features
  • Allows configuring which SI should have the ability.
  • Allows configuring the duration and cooldown of the ability.
  • Allows configuring which button should trigger the ability.

Cvars

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

PHP Code:

// Button to special infected command common zombies chase.
// 0 = OFF, 1 = RELOAD (R), 2 = ZOOM (M3), 4 = USE(E).
// Add numbers greater than 0 for multiple options.
// Example: "3", activates with the (E)RELOAD (R) or ZOOM (M3) keys.
// -
// Default: "4"
// Minimum: "0.000000"
// Maximum: "7.000000"
l4d_si_command_chase_button "4"

// Cooldown (seconds) to activate the ability again.
// -
// Default: "60.0"
// Minimum: "0.000000"
l4d_si_command_chase_cooldown "60.0"

// Duration (seconds) that common zombies will chase.
// -
// Default: "10.0"
// Minimum: "0.000000"
l4d_si_command_chase_duration "10.0"

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

// Allow trigger common zombies while survivors are in the starting safe area.
// 0 = OFF, 1 = ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_si_command_chase_safe_area "1"

// Which special infected should be able to command common zombies.
// 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 command chase for all SI.
// -
// Default: "127"
// Minimum: "0.000000"
// Maximum: "127.000000"
l4d_si_command_chase_si "127" 

Admin Commands
  • sm_forcechaseaim => Force common zombies chase on self crosshair (no args) or specified targets crosshair. Example: self -> sm_forcechaseaim / target -> sm_forcechaseaim @bots. (z flag required)
  • sm_print_cvars_l4d_si_command_chase => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Notes
  • This plugin creates an info_goal_infected_chase entity at SI crosshair.
  • Some uncommon zombies can't be warned. (e.g: Road Worker / Jimmy Gibs / Fallen Survivor)
  • Common zombies may ignore non-shooting players while another player shoots.
  • When there are too many common zombies on the map you can hear a sound triggering, this is a game default behaviour.

To Do
  • Add a marker where the chase will occur.
  • Add a message about the ability (and translation aswell).


Thank you!
  • Soon

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

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

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