Raised This Month: $ Target: $400
 0% 

[L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
8129
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Adds a blind fade effect while on Jockey ride
    Old 07-19-2022 , 19:23   [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
    Reply With Quote #1

    L4D2 ONLY

    Description

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

    Can be used to make Jockeys more challenging.

    Features
    • Allow 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: "0.5"
    // Minimum: "0.000000"
    l4d2_ride_screen_fade_in_duration "0.5"

    // 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_ridefade / target -> sm_ridefade @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


    Related Plugins

    Recommended Plugins

    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
    File Type: sp Get Plugin or Get Source (l4d2_ride_screen_fade.sp - 199 views - 17.9 KB)
    __________________

    Last edited by Marttt; 01-25-2023 at 19:01.
    Marttt is offline
    yabi
    Senior Member
    Join Date: Jun 2021
    Location: Taiwan
    Old 07-19-2022 , 22:23   Re: [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
    Reply With Quote #2

    Wow,
    My goodness,
    Mr Matt,
    I just saw a similar plugin yesterday, no longer updated many years ago
    but
    You created him today,

    I actually want to add a similar effect to the smoke after the tongue dies,
    and even take a little damage when choked by the smoke
    yabi is offline
    choppledpickusfungus
    Junior Member
    Join Date: Dec 2022
    Location: in a cardboard box
    Old 12-22-2022 , 20:18   Re: [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
    Reply With Quote #3

    Does this disable the glows?
    choppledpickusfungus is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 12-22-2022 , 21:44   Re: [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
    Reply With Quote #4

    Quote:
    Originally Posted by choppledpickusfungus View Post
    Does this disable the glows?
    No
    __________________

    Last edited by Marttt; 12-22-2022 at 21:44.
    Marttt is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 21:01.


    Powered by vBulletin®
    Copyright ©2000 - 2023, vBulletin Solutions, Inc.
    Theme made by Freecode