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] Door Barricades (1.0) [01-Jun-2022]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Create up to 4 barricades where doors 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:
  • Common Infected may not attack the barricades and just stand there.
  • No cost system for building. Please do not request. If someone wants to write a system it can be added in.


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_door_barricade.cfg in your servers \cfg\sourcemod\ folder.

PHP Code:

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

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

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

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

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

// Health of each plank.
l4d_door_barricade_health "500"

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

// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d_door_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_door_barricade_modes_tog "0"

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

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

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

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



Changes:
Code:

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_door_barricade.sp - 27.1 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ę...