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[L4D2] CSO SupplyBox (v1.0, 2022-1-9)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Idea comes from Counter Strike Online Human Supply boxes
Supply boxes are spawned randomly in the map every certain seconds to provide support for the fight against the zombies.

68747470733a2f2f692e696d6775722e636f6d2f

Video:


-Convar-
cfg\sourcemod\l4d2_supply_woodbox.cfg

PHP Code:

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

// Changes how Supply box hint displays. (0: Disable, 1:In chat, 2: In Hint Box, 3: In center text)
l4d2_supply_woodbox_announce_type "3"

// Set the life time for Supply box.
l4d2_supply_woodbox_box_life "180"

// The default Supply box color. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue. (empty=disable)
l4d2_supply_woodbox_color "0 145 200"

// If 1, still dorp supply box in final stage rescue
l4d2_supply_woodbox_drop_final "0"

// Max Supply boxes that could drop once.
l4d2_supply_woodbox_drop_max "2"

// Min Supply boxes that could drop once.
l4d2_supply_woodbox_drop_min "1"

// The default Supply box glow range.
l4d2_supply_woodbox_glow_range "1800"

// Item chance to drop Weapons/Melee/Medic/Throwable/Others, separate by commas (no spaces), the sum of 5 value must be 100
l4d2_supply_woodbox_item_chance "30,5,45,15,5"

// Time in seconds to remove item if no one picks up after it drops from box (0=off)
l4d2_supply_woodbox_item_life "60"

// Max Items that could drop in woodbox.
l4d2_supply_woodbox_item_max "4"

// Min Items that could drop in woodbox.
l4d2_supply_woodbox_item_min "2"

// Set the limit for Supply box spawned by the plugin.
l4d2_supply_woodbox_limit "6"

// Turn off the plugin in these maps, separate by commas (no spaces). (0=All maps, Empty = none).
l4d2_supply_woodbox_map_off ""

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

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

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

// Supply Box - Drop sound file (relative to to sound/, empty=random helicopter sound, -1: disable)
l4d2_supply_woodbox_soundfile ""

// Set the max spawn time for Supply box drop.
l4d2_supply_woodbox_time_max "80"

// Set the min spawn time for Supply box drop.
l4d2_supply_woodbox_time_min "60"

// Supply box model type, 1: wood_crate001a, 2: wood_crate001a_damagedMAX, 3: wood_crate002a (0=random)
l4d2_supply_woodbox_type "1" 


-Change Log-
Code:

v1.0 (2022-1-9)
- Initial release
- Add convars to turn off this plugin
- Random box model available
- Item chance to drop Weapons/Melee/Medic/Throwable/Others
- Custom sound
- Translation Support
- Supply box life time
- Remove item if no one picks up after it drops from box after a while

v0.0
- Original author by Lux

-Requirements-
-Installation-
  • Download the .zip and extract the files to their respective folders in your servers \addons\sourcemod\ folder.

-Edit Github-
Latest version always here

Attached Files
File Type: zip l4d2_supply_woodbox.zip (1.12 MB)

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ę...