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] Unlock Finales [v1.0.0 | 28-June-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
L4D2 ONLY

Description

This plugin allows starting finale events with survivors everywhere.

There are two types of ways to unlock finales in vanilla maps:
  • Unlocked by a trigger (when all the survivors are touching a specific area).
  • Unlocked when all survivors are in a NAV area with the "FINALE" attribute.

I made this mainly cause I hate people that stay in saferoom at Parish Bridge map, preventing the rescue event to start.

May be useful for some speedrunner servers aswell. (which already does some of these changes below)

Changes:
  • Dead Center - no noticeable changes.
  • Dark Carnival - allow starting the finale even without all survivors crossing the concert stage entrance door, also keeps it open after starting the finale.
  • Swamp Fever - allow starting the finale even without all survivors reaching the finale house, also removes an invisible player block (added by TLS update) after starting the finale.
  • Hard Rain - allow starting the finale even with survivors near the saferoom area, also removes an invisible player block (added by TLS update) after starting the finale.
  • Parish - allow starting the radio while survivors are in the saferoom.
  • Passing - no noticeable changes.
  • Sacrifice - allow starting the finale even with survivors near the saferoom area, keeps the first door open after starting the finale.
  • No Mercy - allow starting the finale even without survivors getting down from the rooftop, also removes an invisible player block after starting the finale.
  • Crash Course - allow starting the finale even without survivors crossing the other side of the finale fence, also removes an invisible player block (added by TLS update) after starting the finale.
  • Death Tool - allow starting the finale even without all survivors reaching the finale house.
  • Dead Air - allow starting the finale even with survivors near the safe room area.
  • Blood Harvest - allow starting the finale even without all survivors reaching the cornfield, also removes an invisible player block (added by TLS update) after starting the finale.
  • Cold Stream - allow starting the finale even with survivors near the safe room area.
  • Last Stand - allow starting the finale even with survivors near the safe room area.

Adding a map to the blacklist prevents the behaviours above.

Features
  • Allow adding maps to a blacklist.

Cvars

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

PHP Code:

// Prevent unlocking additional finale navs on these maps.
// Separate by commas (no spaces).
// Empty = none.
// -
// Default: ""
l4d2_unlock_finales_blacklist_maps ""

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

Admin Commands
  • sm_print_cvars_l4d2_unlock_finales.sp => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Notes
  • This plugin only runs on maps with a "trigger_finale" entity.
  • This plugin uses some VScript functions (available on the 15-June-2021 2.2.1.3 update) to unlock the FINALE NAV attribute in non-finale areas.
  • This plugin may glitch some custom maps depending on how it was designed. Use the blacklist cvar to prevent the plugin from running on these maps. (also report here if possible)
  • Some custom maps may need specific coding to work properly. (gonna check by demand)

To Do
  • Maybe add a whitelist map cvar.

Thank you!
  • Nescius - for the NAV VScript snippet.
  • Derpduck and Orin - for helping me with the Dark Carnival finale map.
  • Silvers - for his map checker method (usually to prevent precaches on specific maps).

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

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

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