AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022] (https://forums.alliedmods.net/showthread.php?t=338664)

Marttt 07-19-2022 18:23

[L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
 
19 Attachment(s)
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.

yabi 07-19-2022 21:23

Re: [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
 
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

choppledpickusfungus 12-22-2022 19:18

Re: [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
 
Does this disable the glows?

Marttt 12-22-2022 20:44

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

Originally Posted by choppledpickusfungus (Post 2795780)
Does this disable the glows?

No

JustMadMan 12-27-2023 13:05

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

Originally Posted by Marttt (Post 2784222)
-

There is a bug in this plugin when the screen fade does not disappear, I tried to catch this bug to report the error, but I still did not understand why this happens

Marttt 12-27-2023 14:44

Re: [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
 
You don't need to quote the whole thread to report a bug. It pollutes the readability of the whole forum.

If you can provide more info about in which scenarios it happens, I can try look into.

JustMadMan 01-02-2024 02:48

Re: [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
 
1 Attachment(s)
Quote:

Originally Posted by Marttt (Post 2815022)
You don't need to quote the whole thread to report a bug. It pollutes the readability of the whole forum.

If you can provide more info about in which scenarios it happens, I can try look into.

In general, a Jockey saddled me and he died immediately, I do not know who killed him in KillFeed, it did not seem who did it, but that's how in this screenshot my black screen did not disappear.I had to return it to its place through the admin panel

P.S - I'm still trying to figure out how to trigger it.I tried to have a Tank throw him off my back, I tried to kill him through the admin menu, because I thought it was related to suicide.Unsuccessfully.If you catch him, then by some random chance

JustMadMan 01-03-2024 11:31

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

Originally Posted by Marttt (Post 2784222)
-

I made video

https://www.youtube.com/watch?v=R8lu6ekRz7Y

Maur0 03-05-2024 17:34

Re: [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
 
Marttt - What's up, I had downloaded a plugin that I really liked and it helped me.

https://forums.alliedmods.net/showthread.php?t=346469

But it turns out that there is a problem with your plugin in which when the Jockey grabs me, the other plugin blocks the first attack for a few seconds and at that moment the screen bugs, getting stuck.

https://forums.alliedmods.net/showpo...24&postcount=3

The other author lent me his edited plugin and now everything works fine. That's why I wanted to see if with that edited plugin from the other author you can update it.

Marttt 03-06-2024 08:36

Re: [L4D2] Jockey Ride Screen Fade [v1.0.0 | 19-July-2022]
 
Ty for reporting, I'm going to try to fix that. Have been busy these days, so I may provide a solution in a month.


All times are GMT -4. The time now is 16:36.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.