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[L4D1 & L4D2] Vomit Screen Fade [v1.0.0 | 31-August-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

This plugin adds a blind fade effect while on vomit, turning the screen darker for some seconds.

Can be used to make Boomers more dangerous, since some people may use addons that remove the vomit screen effect particle.

Features
  • Allow configuring the fade color and alpha.
  • Allow configuring the fade (in/hold/out) duration.

Cvars

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

PHP Code:

// Fade alpha transparency.
// 0 = Invisible, 255 = Fully Visible.
// -
// Default: "255"
// Minimum: "0.000000"
// Maximum: "255.000000"
l4d_vomit_screen_fade_alpha "255"

// Fade color.
// Use "random" for random colors.
// Use three values between 0-255 separated by spaces ("<0-255> <0-255> <0-255>").
// -
// Default: "0 0 0"
l4d_vomit_screen_fade_color "0 0 0"

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

// Fade hold (middle) duration in seconds.
// 0 = Disable.
// -
// Default: "1.0"
// Minimum: "0.000000"
l4d_vomit_screen_fade_hold_duration "3.0"

// Fade in (end) duration in seconds.
// -
// Default: "5.0"
// Minimum: "0.000000"
l4d_vomit_screen_fade_in_duration "6.0"

// Fade out (start) duration in seconds.
// -
// Default: "5.0"
// Minimum: "0.000000"
l4d_vomit_screen_fade_out_duration "6.0" 

Admin Commands
  • sm_vomitfade => Add a fade effect on self (no args) or specified targets. Example: self -> sm_vomitfade / target -> sm_vomitfade @humans Applies the fade effect. (z flag required)
  • sm_print_cvars_l4d_vomit_screen_fade => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


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

Requirements

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

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

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...