[L4D1 & L4D2] Vomit Screen Fade [v1.0.2 | 19-July-2022]
31 Attachment(s)
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 challenging, since some people may use addons that remove the vomit screen effect. Features
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:
Change Log
Spoiler
Thank you!
Related Plugins Post Reply
Requirements Installation
|
Re: [L4D1 & L4D2] Vomit Screen Fade [v1.0.0 | 31-August-2021]
Good idea.
|
Re: [L4D1 & L4D2] Vomit Screen Fade [v1.0.0 | 31-August-2021]
Good, thanks 馬特
|
Re: [L4D1 & L4D2] Vomit Screen Fade [v1.0.1 | 04-September-2021]
Hi, Mr. Martt.
On my server, I sometimes use [L4D & L4D2] Left 4 DHooks Direct L4D_OnITExpired to clear vomit. I don’t know how to detect that the player has cleared vomit in advance. Can you help me improve or provide some suggestions? sorry, my English is not well.:) |
Re: [L4D1 & L4D2] Vomit Screen Fade [v1.0.1 | 04-September-2021]
Not much related to the plugin, may be better to ask in the Plugin/Gameplay Ideas and Requests area.
In this plugin what I did was create a 15 seconds timer right after triggering L4D_OnVomitedUpon to control the fade duration. While it looks nice in vanilla configs, may have to adjust the values if the server sets a different time for the vomit duration. You still have some other options to detect when the "vomit" ended like hooking the game event: player_no_longer_it, but I noticed that sometimes it isn't fired. You can track through the m_itTimer netprop as well (using a prethink hook), if the vomit ended (value becomes -1 on end, and >0 when starts). |
Re: [L4D1 & L4D2] Vomit Screen Fade [v1.0.1 | 04-September-2021]
I will try. Thank you. Mr. Marttt.:)
|
Re: [L4D1 & L4D2] Vomit Screen Fade [v1.0.2 | 19-July-2022]
Plugin updated. (1.0.2)
Code:
1.0.2 (19-July-2022) |
Re: [L4D1 & L4D2] Vomit Screen Fade [v1.0.2 | 19-July-2022]
|
All times are GMT -4. The time now is 12:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.