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

[L4D & L4D2] Lock Doors (1.0) [07-Apr-2020]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
About:
  • Valve had originally released or were planning on implementing the ability for Survivors to lock doors.
  • This plugin brings that to life with additional features.
  • Customise the health of doors when they spawn, are opened, closed or locked.
  • This will not affect saferoom doors or existing locked doors to avoid breaking certain maps.


Thanks:
  • Cuba - For the request.
  • Lux - As standard.


Cvars:

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

PHP Code:

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

// 0=Off. Percentage of health to set when the door is locked.
l4d_lock_doors_health_lock "2.0"

// 0=Off. Percentage of health to set when the door is open.
l4d_lock_doors_health_open "0.5"

// 0=Off. Percentage of health to set when the door is shut.
l4d_lock_doors_health_shut "1.0"

// 0=Off. How much health doors have on spawn (840 game default).
l4d_lock_doors_health_total "840"

// Which key combination to lock/unlock doors: 1=Shift (walk) + E (use). 2=Ctrl (duck) + E (use).
l4d_lock_doors_keys "1"

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

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

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

// 0=Off. Display a chat message when: 1=Locking doors. 2=Unlocking doors. 4=To self. 8=To all players. Add numbers together.
l4d_lock_doors_text "7"

// 0=Off. Vocalize when locking doors.
l4d_lock_doors_vocalize "1"

// Lock Doors plugin version
l4d_lock_doors_version 



Changes:
Code:

1.0 (07-Apr-2020)
    - 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_lock_doors.sp - 19.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

×
×
  • Dodaj nową pozycję...