RSSy MYGO.pl Opublikowano Lipiec 19, 2022 o 22:23 RSSy Udostępnij Opublikowano Lipiec 19, 2022 o 22:23 Description This plugin adds a blind fade effect while on Jockey ride, turning the screen darker for some seconds. Can be used to make Jockey more dangerous. FeaturesAllow configuring the fade color and alpha. Allow configuring the fade (in/out) duration. Allow blocking other fade effects while plugin fade is active. Cvars A configuration file named "l4d_ride_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: "245" // Minimum: "0.000000" // Maximum: "255.000000" l4d2_ride_screen_fade_alpha "245" // Block other fade effects applied to the client while on plugin fade. // Example: Red screen when take damage. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_ride_screen_fade_block "1" // Fade color. // Use "random" for random colors. // Use three values between 0-255 separated by spaces ("<0-255> <0-255> <0-255>"). // - // Default: "20 0 0" l4d2_ride_screen_fade_color "20 0 0" // Enable/Disable the plugin. // 0 = Disable, 1 = Enable. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d2_ride_screen_fade_enable "1" // Fade in (end) duration in seconds. // - // Default: "3.0" // Minimum: "0.000000" l4d2_ride_screen_fade_in_duration "3.0" // Fade out (start) duration in seconds. // - // Default: "0.5" // Minimum: "0.000000" l4d2_ride_screen_fade_out_duration "0.5" Admin Commands sm_ridefade => Add a fade effect on self (no args) or specified targets. Example: self -> sm_vomitfade / target -> sm_vomitfade @humans. (z flag required) sm_print_cvars_l4d_ride_screen_fade => Print the plugin related cvars and their respective values to the console. (z flag required) Change Log Spoiler 1.0.0 (19-July-2022) - Initial release. Related Plugins [L4D1 & L4D2] Vomit Screen Fade by Marttt Post Reply Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome. Installation Put the "l4d_ride_screen_fade.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder. Attached Files Get Plugin or Get Source (l4d2_ride_screen_fade.sp - 18.0 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi