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[L4D & L4D2] Barricades - Doors and Windows (1.1) [03-Jun-2022]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Create up to 4 barricades where doors and windows have been broken.
  • Supports double doors with a larger plank.
  • Cvars to customize build time and delays.
  • Cvars to customize plank health and shove damage.


Issues:
  • No cost system for building. Please do not request. If someone wants to write a system it can be added in.
  • L4D2 progress bar shows the icon and text of the last action performed. Don't know if it's possible to change.


Thanks:
  • Maur0 - For the request.
  • Toranks - Lots of help testing.


Admin Commands: (requires "z" flag)

PHP Code:

sm_doors_glow          // Debug testing command to show all doors. 


Cvars:

Saved to l4d_barricade.cfg in your servers \cfg\sourcemod\ folder.

PHP Code:

// 0=Plugin off, 1=Plugin on.
l4d_barricade_allow "1"

// 0=Default game damage. Amount of damage to cause to planks when shoved by a Common Infected.
l4d_barricade_damage_common "250"

// 0=Default game damage. Amount of damage to cause to planks when shoved by a Special Infected.
l4d_barricade_damage_infected "250"

// 0=Default game damage. Amount of damage to cause to planks when shoved by a Survivor.
l4d_barricade_damage_survivor "250"

// 0=Default game damage. Amount of damage to cause to planks when shoved by a Tank.
l4d_barricade_damage_tank "0"

// Health of each plank.
l4d_barricade_health "500"

// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d_barricade_modes ""

// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d_barricade_modes_off ""

// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d_barricade_modes_tog "0"

// Range required by Survivors to an open doorway to create planks. Large values may affect other nearby doorways.
l4d_barricade_range "100.0"

// How long does it take to build 1 plank.
l4d_barricade_time "5.0"

// How long must someone be holding +USE before building starts.
l4d_barricade_time_press "0.3"

// How long after building a plank to make the player wait until they can build again.
l4d_barricade_time_wait "0.5"

// 1=Doors. 2=Windows. 3=Both. Where can barricades be built.
l4d_barricade_types "3" 



Changes:
Code:

1.1 (03-June-2022)
    - Common infected now attack the planks!
    - Plugin now supports building barricades in broken Window frames.
    - Plugin renamed to "Barricades - Doors and Windows".
    - All cvars renamed.

1.0 (01-Jun-2022)
    - Initial Release.


Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.

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