Raised This Month: $161 Target: $400
 40% 

FadeToBlack Flash Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Technical/Development       
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 12-27-2008 , 14:04   FadeToBlack Flash Fix
Reply With Quote #1

Description:
This is a simple engine bug fix plugin. Removes bug when mp_fadetoblack is enabled and spectated player gets blinded by flash - spectator is no longer blinded to black after flash fade disappears.


Additional info:
Tested with amxmodx 1.8.1.


Change-Log:

* 1.0
- First release.
Attached Files
File Type: sma Get Plugin or Get Source (fadetoblack_flash_fix.sma - 1817 views - 763 Bytes)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 12-27-2008 at 14:10.
MPNumB is offline
Send a message via Skype™ to MPNumB
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 12-27-2008 , 14:05   Re: FadeToBlack Flash Fix
Reply With Quote #2

Seems nice
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
xPaw
AMX Mod X Moderator
Join Date: Jul 2008
Old 12-27-2008 , 14:09   Re: FadeToBlack Flash Fix
Reply With Quote #3

just tested it with numb and works perfect.
__________________
xPaw is offline
Sage_UA
Junior Member
Join Date: Dec 2008
Old 12-28-2008 , 14:10   Re: FadeToBlack Flash Fix
Reply With Quote #4

thanks
Sage_UA is offline
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 12-28-2008 , 17:05   Re: FadeToBlack Flash Fix
Reply With Quote #5

I'll test it soon and edit this post..Really good for pugs..

Edit:
Tested and works fine ^^ +k
__________________

Last edited by IneedHelp; 01-12-2009 at 14:31.
IneedHelp is offline
Igoreso
Junior Member
Join Date: Aug 2008
Old 01-12-2009 , 04:50   Re: FadeToBlack Flash Fix
Reply With Quote #6

I suggest you to make cvar that changes the time of fading to black or at least removes fading to black at all.
Igoreso is offline
xPaw
AMX Mod X Moderator
Join Date: Jul 2008
Old 01-12-2009 , 07:56   Re: FadeToBlack Flash Fix
Reply With Quote #7

the fadetoblack is standart hl cvar, and why he should remove it ?
__________________
xPaw is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-12-2009 , 11:51   Re: FadeToBlack Flash Fix
Reply With Quote #8

Quote:
Originally Posted by Igoreso View Post
removes fading to black at all.
mp_fadetoblack 0
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Igoreso
Junior Member
Join Date: Aug 2008
Old 01-12-2009 , 12:40   Re: FadeToBlack Flash Fix
Reply With Quote #9

No, with mp_fadetoblack 0 you see THIRD-person-death, and with mp_fadetoblack 1 you see FIRST-person-death but with fading to black. So,
Quote:
I suggest you to make cvar that changes the time of fading to black or at least removes fading to black at all.
BUT keeps FIRST-person-death.

EDIT: And maybe add cvar that adds fading to black on THIRD-person-death (mp_fadetoblack 0) with alterable fading time.
EDIT 2: I think this can be done with single cvar, something like
Code:
amx_fadetoblack
  0   = keep original + remove the bug
  -1  = do NOT fade
  xx  = fade xx second + remove the bug
Also I think it should not depend on mp_fadetoblack, just adds or removes fading.

Last edited by Igoreso; 01-12-2009 at 13:25.
Igoreso is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 01-14-2009 , 23:06   Re: FadeToBlack Flash Fix
Reply With Quote #10

Quote:
Originally Posted by Igoreso View Post
No, with mp_fadetoblack 0 you see THIRD-person-death, and with mp_fadetoblack 1 you see FIRST-person-death but with fading to black. So,

BUT keeps FIRST-person-death.

EDIT: And maybe add cvar that adds fading to black on THIRD-person-death (mp_fadetoblack 0) with alterable fading time.
EDIT 2: I think this can be done with single cvar, something like
Code:
amx_fadetoblack
  0   = keep original + remove the bug
  -1  = do NOT fade
  xx  = fade xx second + remove the bug
Also I think it should not depend on mp_fadetoblack, just adds or removes fading.
Fade delay is not needed. And about First Person Death I'v just done it.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 01-14-2009 at 23:21.
MPNumB is offline
Send a message via Skype™ to MPNumB
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 08:54.


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